diff --git a/config/schemas/highscoreCreatures.json b/config/schemas/highscoreCreatures.json new file mode 100644 index 000000000..c55dc7398 --- /dev/null +++ b/config/schemas/highscoreCreatures.json @@ -0,0 +1,33 @@ +{ + "type": "object", + "$schema": "http://json-schema.org/draft-04/schema", + "title": "Highscore Creature format", + "description" : "Json format for defining highscore for creatures in VCMI", + "properties": { + "creatures": { + "type": "array", + "items": { + "type": "object", + "required": [ + "creature" + ], + "properties": { + "min": { + "type": "integer" + }, + "max": { + "type": "integer" + }, + "creature": { + "type": "string" + } + }, + "additionalProperties": false + } + } + }, + "required": [ + "creatures" + ], + "additionalProperties": false +}