1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/config/schemas/object.json
Ivan Savenko 6f324216db Bugfixing
2023-01-26 23:27:24 +02:00

34 lines
585 B
JSON

{
"type":"object",
"$schema": "http://json-schema.org/draft-04/schema",
"title" : "VCMI map object format",
"description" : "Description of map object class",
"required": [ "handler" ],
"additionalProperties" : false,
"properties":{
"index": {
"type":"number"
},
"lastReservedIndex" : {
"type":"number"
},
"subObjects" : {
"type" : "array",
"additionalItems" : true
},
"handler": {
"type":"string"
},
"base": {
"type" : "object"
},
"types": {
"type":"object",
"additionalProperties": {
"$ref" : "objectType.json"
}
}
}
}