1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

allow json schema references to use relative file path

This commit is contained in:
godric3
2018-10-30 22:30:56 +01:00
parent e5397c1e23
commit 8650a8eea8
11 changed files with 37 additions and 36 deletions

View File

@@ -156,7 +156,7 @@
"buildings": {
"type" : "object",
"additionalProperties" : {
"$ref" : "vcmi:townBuilding"
"$ref" : "townBuilding.json"
}
},
"creatures": {
@@ -241,12 +241,12 @@
"format" : "musicFile"
},
"siege": {
"$ref" : "vcmi:townSiege"
"$ref" : "townSiege.json"
},
"structures": {
"type" : "object",
"additionalProperties" : {
"$ref" : "vcmi:townStructure"
"$ref" : "townStructure.json"
}
},
"townBackground": {