1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-04 09:42:40 +02:00
vcmi/config/schemas/object.json

33 lines
578 B
JSON
Raw Normal View History

{
2023-05-19 20:14:01 +02:00
"type" : "object",
"$schema" : "http://json-schema.org/draft-04/schema",
"title" : "VCMI map object format",
"description" : "Description of map object class",
2023-05-19 20:14:01 +02:00
"required" : [ "name", "handler" ],
"additionalProperties" : false,
2023-05-19 20:14:01 +02:00
"properties" : {
"name" : {
"type" : "string"
},
2023-05-19 20:14:01 +02:00
"index" : {
"type" : "number"
},
2023-01-01 20:51:56 +02:00
"lastReservedIndex" : {
2023-05-19 20:14:01 +02:00
"type" : "number"
2023-01-01 20:51:56 +02:00
},
2023-05-19 20:14:01 +02:00
"handler" : {
"type" : "string"
},
2023-05-19 20:14:01 +02:00
"base" : {
"type" : "object"
},
2023-05-19 20:14:01 +02:00
"types" : {
"type" : "object",
"additionalProperties" : {
"$ref" : "objectType.json"
}
}
}
}