mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-02 09:02:03 +02:00
09d595e385
- Updated schemas - Some bugfixing
28 lines
536 B
JSON
28 lines
536 B
JSON
{
|
|
"type":"object",
|
|
"$schema": "http://json-schema.org/draft-04/schema",
|
|
"title" : "VCMI map object type format",
|
|
"description" : "Description of map object type, used only as sub-schema of object",
|
|
"required": [ ],
|
|
"additionalProperties" : true, // may have type-dependant properties
|
|
|
|
"properties":{
|
|
"index": {
|
|
"type":"number",
|
|
},
|
|
"name": {
|
|
"type":"string",
|
|
},
|
|
|
|
"base": {
|
|
"type" : "object"
|
|
},
|
|
"templates": {
|
|
"type":"object",
|
|
"additionalProperties": {
|
|
"$ref" : "vcmi:objectTemplate"
|
|
}
|
|
}
|
|
}
|
|
}
|