Unciv/docs/Modders/schemas/tileResources.json

36 lines
1.3 KiB
JSON
Raw Normal View History

2024-02-26 04:27:23 +07:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"terrainsCanBeFoundOn": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true
},
"improvement": { "type": "string" },
"resourceType": { "enum": ["Strategic", "Luxury", "Bonus"]},
2024-02-26 04:27:23 +07:00
"techRequired": { "type": "string" },
"improvementStats": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" },
"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" }
},
"required": [
"name",
],
"additionalProperties": false
}
}