Adding format version regex
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"examples": [{ "format_version": "1.14.0", "sound_definitions": { "music.game": { "category": "music", "sounds": [""] } } }],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string" } } }, "else": { "$ref": "./sound_definitions_unknown.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/sound_definitions.json" } }
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/sound_definitions.json" } },
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user