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:
33
config/schemas/highscoreCreatures.json
Normal file
33
config/schemas/highscoreCreatures.json
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user