1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fixed white spaces

This commit is contained in:
krs
2023-05-19 21:14:01 +03:00
parent 2e6cae80a9
commit 105dcf5a9f
23 changed files with 1062 additions and 1081 deletions

View File

@@ -4,7 +4,6 @@
"title" : "VCMI battlefield format", "title" : "VCMI battlefield format",
"description" : "Format used to define new battlefields in VCMI", "description" : "Format used to define new battlefields in VCMI",
"required" : [ "graphics" ], "required" : [ "graphics" ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"name" : { "name" : {
@@ -20,10 +19,6 @@
"format" : "imageFile", "format" : "imageFile",
"description" : "BMP battleground resource" "description" : "BMP battleground resource"
}, },
"graphics" : {
"type" : "string",
"description" : "BMP battleground resource"
},
"impassableHexes" : { "impassableHexes" : {
"type" : "array", "type" : "array",
"description" : "Battle hexes always impassable for this type of battlefield (ship to ship for instance)", "description" : "Battle hexes always impassable for this type of battlefield (ship to ship for instance)",

View File

@@ -4,7 +4,6 @@
"title" : "VCMI bonus system format", "title" : "VCMI bonus system format",
"description" : "Subsection of several formats, used to add generic bonuses to objects", "description" : "Subsection of several formats, used to add generic bonuses to objects",
"required" : ["type"], "required" : ["type"],
"definitions" : "definitions" :
{ {
"nestedLimiter" : { "nestedLimiter" : {
@@ -38,7 +37,6 @@
] ]
} }
}, },
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"type" : { "type" : {

View File

@@ -62,8 +62,7 @@
"mercury" : { "type" : "number"}, "mercury" : { "type" : "number"},
"sulfur" : { "type" : "number"}, "sulfur" : { "type" : "number"},
"crystal" : { "type" : "number"}, "crystal" : { "type" : "number"},
"gems" : { "type" : "number"}, "gems" : { "type" : "number"}
} }
}, },
"speed" : { "type" : "number" }, "speed" : { "type" : "number" },

View File

@@ -26,7 +26,6 @@
} }
} }
}, },
"type" : "object", "type" : "object",
"$schema" : "http://json-schema.org/draft-04/schema", "$schema" : "http://json-schema.org/draft-04/schema",
"title" : "VCMI faction format", "title" : "VCMI faction format",
@@ -35,7 +34,6 @@
"dependencies" : { "dependencies" : {
"town" : [ "puzzleMap" ] "town" : [ "puzzleMap" ]
}, },
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"name" : { "name" : {

View File

@@ -4,7 +4,6 @@
"title" : "VCMI hero format", "title" : "VCMI hero format",
"description" : "Format used to define new heroes in VCMI", "description" : "Format used to define new heroes in VCMI",
"required" : [ "class", "army", "skills", "texts" ], "required" : [ "class", "army", "skills", "texts" ],
"oneOf" : [ "oneOf" : [
{ {
"required" : [ "images" ] "required" : [ "images" ]
@@ -13,7 +12,6 @@
"required" : [ "index" ] "required" : [ "index" ]
} }
], ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"special" : { "special" : {

View File

@@ -8,7 +8,6 @@
"primarySkills", "secondarySkills", "lowLevelChance", "highLevelChance", "primarySkills", "secondarySkills", "lowLevelChance", "highLevelChance",
"defaultTavern", "tavern" "defaultTavern", "tavern"
], ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"name" : { "name" : {

View File

@@ -4,7 +4,6 @@
"title" : "VCMI map header format", "title" : "VCMI map header format",
"description" : "Part of map in json format, defines core settings of the map", "description" : "Part of map in json format, defines core settings of the map",
"required" : [ "victoryIconIndex", "victoryString", "defeatIconIndex", "defeatString" ], "required" : [ "victoryIconIndex", "victoryString", "defeatIconIndex", "defeatString" ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"victoryIconIndex" : { "victoryIconIndex" : {

View File

@@ -4,7 +4,6 @@
"title" : "VCMI map object template format", "title" : "VCMI map object template format",
"description" : "Description of map object tempate that describes appearence of object instance", "description" : "Description of map object tempate that describes appearence of object instance",
"required" : [ "animation", "mask" ], "required" : [ "animation", "mask" ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"animation" : { "animation" : {

View File

@@ -5,7 +5,6 @@
"description" : "Description of map object type, used only as sub-schema of object", "description" : "Description of map object type, used only as sub-schema of object",
"required" : [ ], "required" : [ ],
"additionalProperties" : true, // may have type-dependant properties "additionalProperties" : true, // may have type-dependant properties
"properties" : { "properties" : {
"index" : { "index" : {
"type" : "number" "type" : "number"

View File

@@ -4,7 +4,6 @@
"title" : "VCMI obstacle format", "title" : "VCMI obstacle format",
"description" : "Format used to define new obstacles in VCMI", "description" : "Format used to define new obstacles in VCMI",
"required" : [ "animation" ], "required" : [ "animation" ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"allowedTerrains" : { "allowedTerrains" : {

View File

@@ -4,7 +4,6 @@
"title" : "VCMI river format", "title" : "VCMI river format",
"description" : "Format used to define new rivers in VCMI", "description" : "Format used to define new rivers in VCMI",
"required" : [ "shortIdentifier", "text", "tilesFilename", "delta" ], "required" : [ "shortIdentifier", "text", "tilesFilename", "delta" ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"shortIdentifier" : "shortIdentifier" :

View File

@@ -4,7 +4,6 @@
"title" : "VCMI road format", "title" : "VCMI road format",
"description" : "Format used to define new roads in VCMI", "description" : "Format used to define new roads in VCMI",
"required" : [ "shortIdentifier", "text", "tilesFilename", "moveCost" ], "required" : [ "shortIdentifier", "text", "tilesFilename", "moveCost" ],
"additionalProperties" : false, "additionalProperties" : false,
"properties" : { "properties" : {
"shortIdentifier" : "shortIdentifier" :

View File

@@ -1,6 +1,6 @@
{ {
"type" : "object", "type" : "object",
"$schema": "", "$schema" : "http://json-schema.org/draft-04/schema",
"title" : "VCMI random map template format", "title" : "VCMI random map template format",
"description" : "Format used to define random map templates in VCMI", "description" : "Format used to define random map templates in VCMI",
"definitions" : "definitions" :