1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/config/schemas/object.json
2023-05-19 21:14:01 +03:00

33 lines
578 B
JSON

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