Adding format version regex

This commit is contained in:
DaanV2
2021-04-06 22:41:46 +02:00
parent 659442fefd
commit 7d96ec8f17
20 changed files with 53 additions and 20 deletions

View File

@@ -2,5 +2,8 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.fog",
"examples": [],
"allOf": [{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/fog.json" } }]
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/fog.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}