1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Add schema for highscoreCreatures

This commit is contained in:
Michał Zaremba
2025-07-08 13:24:07 +02:00
parent 917fefed56
commit d005a0ebd5

View File

@@ -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
}