mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Rename bonus instance schema to prevent name clash
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"level" : {
|
||||
"type" : "number"
|
||||
},
|
||||
"bonus" : { "$ref" : "bonus.json" }
|
||||
"bonus" : { "$ref" : "bonusInstance.json" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -68,7 +68,7 @@
|
||||
"bonuses" : {
|
||||
"type" : "array",
|
||||
"description" : "Bonuses provided by this artifact using bonus system",
|
||||
"items" : { "$ref" : "bonus.json" }
|
||||
"items" : { "$ref" : "bonusInstance.json" }
|
||||
},
|
||||
"growing" : {
|
||||
"type" : "object",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"bonuses": {
|
||||
"type":"array",
|
||||
"description": "List of bonuses that will affect all battles on this battlefield",
|
||||
"items": { "$ref" : "bonus.json" }
|
||||
"items": { "$ref" : "bonusInstance.json" }
|
||||
},
|
||||
"graphics" : {
|
||||
"type" : "string",
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
"description" : "Creature abilities described using Bonus system",
|
||||
"type" : "object",
|
||||
"additionalProperties" : {
|
||||
"$ref" : "bonus.json"
|
||||
"$ref" : "bonusInstance.json"
|
||||
}
|
||||
},
|
||||
"graphics" : {
|
||||
@@ -285,7 +285,7 @@
|
||||
"required" : [ "bonus", "values" ],
|
||||
"description" : "0",
|
||||
"properties" : {
|
||||
"bonus" : {"$ref" : "bonus.json" },
|
||||
"bonus" : {"$ref" : "bonusInstance.json" },
|
||||
"values" : {
|
||||
"type" : "array",
|
||||
"minItems" : 10,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"bonuses" : {
|
||||
"type" : "object",
|
||||
"description" : "List of bonuses provided by this map object. See bonus format for more details",
|
||||
"additionalProperties" : { "$ref" : "bonus.json" }
|
||||
"additionalProperties" : { "$ref" : "bonusInstance.json" }
|
||||
},
|
||||
|
||||
"message" : {
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
"bonuses" : {
|
||||
"type" : "object",
|
||||
"description" : "List of bonuses added by this specialty. See bonus format for more details",
|
||||
"additionalProperties" : { "$ref" : "bonus.json" }
|
||||
"additionalProperties" : { "$ref" : "bonusInstance.json" }
|
||||
},
|
||||
"creature" : {
|
||||
"type" : "string",
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
"bonuses" : {
|
||||
"type":"array",
|
||||
"description": "List of bonuses that will be granted to visiting hero",
|
||||
"items": { "$ref" : "bonus.json" }
|
||||
"items": { "$ref" : "bonusInstance.json" }
|
||||
},
|
||||
|
||||
"resources" : { "$ref" : "#/definitions/identifierWithValueList" },
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"effects" : {
|
||||
"type" : "object",
|
||||
"additionalProperties" : {
|
||||
"$ref" : "bonus.json"
|
||||
"$ref" : "bonusInstance.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,14 +84,14 @@
|
||||
"type" : "object",
|
||||
"description" : "Timed effects (updated by prolongation)",
|
||||
"additionalProperties" : {
|
||||
"$ref" : "bonus.json"
|
||||
"$ref" : "bonusInstance.json"
|
||||
}
|
||||
},
|
||||
"cumulativeEffects" : {
|
||||
"type" : "object",
|
||||
"description" : "Timed effects (updated by unique bonus)",
|
||||
"additionalProperties" : {
|
||||
"$ref" : "bonus.json"
|
||||
"$ref" : "bonusInstance.json"
|
||||
}
|
||||
},
|
||||
"battleEffects" : {
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
"bonuses" : {
|
||||
"type" : "array",
|
||||
"description" : "Bonuses that are provided by this building in any town where this building has been built. Only affects town itself (including siege), to propagate effect to player or team please use bonus propagators",
|
||||
"items" : { "$ref" : "bonus.json" }
|
||||
"items" : { "$ref" : "bonusInstance.json" }
|
||||
},
|
||||
"marketModes" : {
|
||||
"type" : "array",
|
||||
|
||||
Reference in New Issue
Block a user