Formatted

This commit is contained in:
DaanV2
2021-01-10 17:34:21 +01:00
parent 140814d503
commit e2b7b27654

View File

@@ -190,12 +190,8 @@
"description": "A single block sound definition", "description": "A single block sound definition",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"volume": { "volume": { "$ref": "#/definitions/volume" },
"$ref": "#/definitions/volume" "pitch": { "$ref": "#/definitions/pitch" },
},
"pitch": {
"$ref": "#/definitions/pitch"
},
"events": { "events": {
"type": "object", "type": "object",
"title": "Events", "title": "Events",
@@ -206,17 +202,13 @@
"title": "Sound event definition", "title": "Sound event definition",
"description": "A single sound event definition", "description": "A single sound event definition",
"oneOf": [ "oneOf": [
{ { "type": "string" },
"type": "string"
},
{ {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"minProperties": 1, "minProperties": 1,
"properties": { "properties": {
"volume": { "volume": { "$ref": "#/definitions/volume" },
"$ref": "#/definitions/volume"
},
"sound": { "sound": {
"type": "string", "type": "string",
"title": "Sound event", "title": "Sound event",
@@ -227,9 +219,7 @@
"title": "Sound event", "title": "Sound event",
"description": "The sound event described in sound_definitions.json" "description": "The sound event described in sound_definitions.json"
}, },
"pitch": { "pitch": { "$ref": "#/definitions/pitch" }
"$ref": "#/definitions/pitch"
}
} }
} }
] ]