Unciv/docs/Modders/schemas/buildings.json

54 lines
2.0 KiB
JSON
Raw Normal View History

2023-09-22 02:41:32 +07:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"production": { "type": "number" },
"food": { "type": "number" },
"gold": { "type": "number" },
"science": { "type": "number" },
"culture": { "type": "number" },
"happiness": { "type": "number" },
"faith": { "type": "number" },
"uniques": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/uniques.json" },
"civilopediaText": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/civilopediaText.json" },
"requiredTech": { "type": "string" },
"cost": { "type": "number" },
"maintenance": { "type": "number" },
"percentStatBonus": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" },
"specialistSlots": {
"type": "object",
"additionalProperties": {"type": "integer"}
},
"greatPersonPoints": {
"type": "object",
"additionalProperties": {"type": "integer"}
},
"hurryCostModifier": { "type": "number" },
"isWonder": { "type": "boolean" },
"isNationalWonder": { "type": "boolean" },
"requiredBuilding": { "type": "string" },
"requiredResource": { "type": "string" },
"requiredNearbyImprovedResources": {
"type": "array",
"items": { "type": "string" }
},
"cityStrength": { "type": "number" },
"cityHealth": { "type": "number" },
"replaces": { "type": "string" },
"uniqueTo": { "type": "string" },
"quote": { "type": "string" },
"replacementTextForUniques": { "type": "string" }
},
"required": [
"name"
],
"additionalProperties": false
}
2023-09-22 02:41:32 +07:00
}