Flatterning entity

This commit is contained in:
DaanV2
2021-11-16 13:19:45 +01:00
parent eea99f7fd8
commit f9200aa550
6 changed files with 463 additions and 209 deletions

View File

@@ -18,9 +18,7 @@
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/entity.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/entity.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "./1.8.0/entity.json" },
"else": { "$ref": "./1.10.0/entity.json" }
}