mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
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",
|
|
"enum" : [
|
|
"configurable", "dwelling", "hero", "town", "boat", "market", "hillFort", "shipyard", "monster", "resource", "static", "randomArtifact",
|
|
"randomHero", "randomResource", "randomTown", "randomMonster", "randomDwelling", "generic", "artifact", "borderGate", "borderGuard", "denOfThieves",
|
|
"event", "garrison", "heroPlaceholder", "keymaster", "flaggable", "magi", "mine", "obelisk", "pandora", "prison", "questGuard", "seerHut", "sign",
|
|
"siren", "monolith", "subterraneanGate", "whirlpool", "terrain"
|
|
]
|
|
},
|
|
"base" : {
|
|
"type" : "object"
|
|
},
|
|
"types" : {
|
|
"type" : "object",
|
|
"additionalProperties" : {
|
|
"$ref" : "objectType.json"
|
|
}
|
|
}
|
|
}
|
|
}
|