2023-09-22 14:31:45 +07:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"unitType": { "type": "string" },
|
|
|
|
|
|
|
|
"movement": { "type": "number" },
|
|
|
|
|
|
|
|
"strength": { "type": "number" },
|
|
|
|
"rangedStrength": { "type": "number" },
|
|
|
|
"religiousStrength": { "type": "number" },
|
|
|
|
"range": { "type": "number" },
|
|
|
|
"interceptRange": { "type": "number" },
|
|
|
|
|
|
|
|
"cost": { "type": "number" },
|
|
|
|
"hurryCostModifier": { "type": "number" },
|
|
|
|
|
|
|
|
"requiredResource": { "type": "string" },
|
|
|
|
"requiredTech": { "type": "string" },
|
|
|
|
"obsoleteTech": { "type": "string" },
|
|
|
|
"upgradesTo": { "type": "string" },
|
|
|
|
|
|
|
|
"uniqueTo": { "type": "string" },
|
|
|
|
"replaces": { "type": "string" },
|
|
|
|
|
2023-09-22 14:36:51 +07:00
|
|
|
"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
|
2023-09-22 14:31:45 +07:00
|
|
|
|
|
|
|
"promotions": {
|
|
|
|
"type": "array",
|
|
|
|
"items": { "type": "string" },
|
|
|
|
"uniqueItems": true
|
|
|
|
},
|
|
|
|
|
|
|
|
"attackSound": { "type": "string" },
|
|
|
|
"replacementTextForUniques": { "type": "string" },
|
2023-09-22 14:36:51 +07:00
|
|
|
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" }
|
2023-09-22 14:31:45 +07:00
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"name", "unitType"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"definitions": {
|
|
|
|
"uniques": {
|
|
|
|
"type": "array",
|
|
|
|
"items": { "type": "string" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|