mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Update schemat for RMG template
This commit is contained in:
@@ -14,7 +14,10 @@
|
|||||||
"playerTowns" : {"$ref" : "#/definitions/playerTowns"},
|
"playerTowns" : {"$ref" : "#/definitions/playerTowns"},
|
||||||
"neuralTowns" : {"$ref" : "#/definitions/neuralTowns"},
|
"neuralTowns" : {"$ref" : "#/definitions/neuralTowns"},
|
||||||
"townsAreSameType" : {"$ref" : "#/definitions/townsAreSameType"},
|
"townsAreSameType" : {"$ref" : "#/definitions/townsAreSameType"},
|
||||||
|
"terrainTypes": {"$ref" : "#/definitions/terrains"},
|
||||||
|
"bannedTerrains": {"$ref" : "#/definitions/terrains"},
|
||||||
"monsters" : {"$ref" : "#/definitions/monsters"},
|
"monsters" : {"$ref" : "#/definitions/monsters"},
|
||||||
|
"bannedMonsters" : {"$ref" : "#/definitions/monsters"},
|
||||||
"mines" : {"$ref" : "#/definitions/mines"},
|
"mines" : {"$ref" : "#/definitions/mines"},
|
||||||
"treasure" : {
|
"treasure" : {
|
||||||
"type" : "array",
|
"type" : "array",
|
||||||
@@ -42,7 +45,8 @@
|
|||||||
},
|
},
|
||||||
"connection" :
|
"connection" :
|
||||||
{
|
{
|
||||||
"required" : ["a", "b", "guard"],
|
"required" : ["a", "b"],
|
||||||
|
"additionalProperties" : true,
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"a" : {
|
"a" : {
|
||||||
"type" : "string"
|
"type" : "string"
|
||||||
@@ -54,6 +58,12 @@
|
|||||||
{
|
{
|
||||||
"type" : "number",
|
"type" : "number",
|
||||||
"minimum" : 0
|
"minimum" : 0
|
||||||
|
},
|
||||||
|
"type":
|
||||||
|
{
|
||||||
|
"type" : "string",
|
||||||
|
"additionalProperties" : false,
|
||||||
|
"enum" : ["wide", "fictive", "repulsive"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -68,6 +78,9 @@
|
|||||||
{
|
{
|
||||||
"required" : ["zones", "connections"],
|
"required" : ["zones", "connections"],
|
||||||
"additionalProperties" : false,
|
"additionalProperties" : false,
|
||||||
|
"description" : {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"zones" : {
|
"zones" : {
|
||||||
"type" : "object",
|
"type" : "object",
|
||||||
"additionalProperties" : {"$ref" : "#/definitions/zone" }
|
"additionalProperties" : {"$ref" : "#/definitions/zone" }
|
||||||
|
Reference in New Issue
Block a user