2020-11-01 17:22:42 +01:00
|
|
|
{
|
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
|
"$id": "blockception.minecraft.sound_definition.json",
|
2021-03-21 15:18:38 +01:00
|
|
|
"examples": [{ "format_version": "1.14.0", "sound_definitions": { "music.game": { "category": "music", "sounds": [""] } } }],
|
2020-11-01 17:22:42 +01:00
|
|
|
"allOf": [
|
2021-03-21 15:18:38 +01:00
|
|
|
{ "if": { "properties": { "format_version": { "type": "string" } } }, "else": { "$ref": "./sound_definitions_unknown.json" } },
|
2021-04-06 22:41:46 +02:00
|
|
|
{ "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" } } }
|
2020-11-01 17:22:42 +01:00
|
|
|
]
|
|
|
|
|
}
|