2022-06-28 10:05:30 +02:00
|
|
|
{
|
2023-05-19 20:04:31 +02:00
|
|
|
"type" : "object",
|
|
|
|
"$schema" : "http://json-schema.org/draft-04/schema",
|
2022-06-28 10:05:30 +02:00
|
|
|
"title" : "VCMI battlefield format",
|
2022-09-15 10:06:54 +02:00
|
|
|
"description" : "Format used to define new battlefields in VCMI",
|
2022-06-28 10:05:30 +02:00
|
|
|
"required" : [ "graphics" ],
|
|
|
|
"additionalProperties" : false,
|
2023-05-19 20:04:31 +02:00
|
|
|
"properties" : {
|
|
|
|
"name" : {
|
|
|
|
"type" : "string",
|
|
|
|
"description" : "Name of the battleground"
|
2022-06-28 10:05:30 +02:00
|
|
|
},
|
2023-05-19 20:04:31 +02:00
|
|
|
"isSpecial" : {
|
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Shows if this battleground has own obstacles"
|
2022-06-28 10:05:30 +02:00
|
|
|
},
|
2023-05-19 20:23:08 +02:00
|
|
|
"bonuses": {
|
|
|
|
"type":"array",
|
|
|
|
"description": "Bonuses provided by this battleground using bonus system",
|
|
|
|
"items": { "$ref" : "bonus.json" }
|
|
|
|
},
|
2023-05-19 20:04:31 +02:00
|
|
|
"graphics" : {
|
|
|
|
"type" : "string",
|
2023-05-19 20:14:01 +02:00
|
|
|
"format" : "imageFile",
|
2023-05-19 20:04:31 +02:00
|
|
|
"description" : "BMP battleground resource"
|
2022-06-28 10:05:30 +02:00
|
|
|
},
|
2023-05-19 20:04:31 +02:00
|
|
|
"impassableHexes" : {
|
|
|
|
"type" : "array",
|
|
|
|
"description" : "Battle hexes always impassable for this type of battlefield (ship to ship for instance)",
|
|
|
|
"items" : {
|
|
|
|
"type" : "number"
|
2022-06-28 10:05:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|