Updated
This commit is contained in:
@@ -1,22 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.sound_definition.json",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.14.0",
|
||||
"sound_definitions": {
|
||||
"music.game": { "category": "music", "sounds": [""] }
|
||||
}
|
||||
}
|
||||
],
|
||||
"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" } } }, "else": { "$ref": "./sound_definitions_unknown.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/sound_definitions.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user