1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Add missing schema for "rmg" section of object description

This commit is contained in:
Ivan Savenko 2023-09-18 14:04:15 +03:00
parent 0b044663d9
commit 7b8ca9fd40

View File

@ -13,8 +13,27 @@
"type" : "number"
},
"base" : {
"additionalProperties" : true, // Not validated on its own - instead data copied to main object and validated as part of it
"type" : "object"
},
"rmg" : {
"additionalProperties" : false,
"type" : "object",
"properties" : {
"value" : {
"type" : "number"
},
"mapLimit" : {
"type" : "number"
},
"zoneLimit" : {
"type" : "number"
},
"rarity" : {
"type" : "number"
}
}
},
"templates" : {
"type" : "object",
"additionalProperties" : {