diff --git a/docs/Modders/schemas/tileResources.json b/docs/Modders/schemas/tileResources.json index c93e95cffb..76f8fbbab9 100644 --- a/docs/Modders/schemas/tileResources.json +++ b/docs/Modders/schemas/tileResources.json @@ -12,7 +12,12 @@ }, "improvement": { "type": "string" }, "resourceType": { "enum": ["Strategic", "Luxury", "Bonus"]}, - "techRequired": { "type": "string" }, + "revealedBy": { "type": "string" }, + "improvedBy": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true + }, "improvementStats": { "$ref": "https://raw.githubusercontent.com/yairm210/Unciv/master/docs/Modders/schemas/stats.json" }, "production": { "type": "number" }, @@ -23,6 +28,9 @@ "happiness": { "type": "number" }, "faith": { "type": "number" }, + "majorDepositAmount": {"$ref": "#/definitions/resourceAmount"}, + "minorDepositAmount": {"$ref": "#/definitions/resourceAmount"}, + "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" } @@ -30,6 +38,17 @@ "required": [ "name", ], - "additionalProperties": false + "additionalProperties": false, + "definitions": { + "resourceAmount": { + "type": "object", + "properties": { + "sparse": {"type": "number"}, + "default": {"type": "number"}, + "abundant": {"type": "number"} + }, + "required": ["sparse","default","abundant"] + } + } } }