{
	"$schema": "http://json-schema.org/draft-07/schema",

	"definitions": {
		"cueFile": {
			"type": "object",
			"additionalProperties": false,
			"properties": {
				"sum": {
					"type": "string"
				},
				"base": {
					"type": "string"
				},
				"ext": {
					"type": "string"
				},
				"name": {
					"type": "string"
				},
				"url": {
					"type": "string"
				},
				"default": {
					"type": "boolean"
				},
				"namespace": {
					"type": "string"
				},
				"category": {
					"type": "string"
				}
			}
		}
	},

	"type": "array",
	"default": [],
	"items": {
		"type": "object",
		"additionalProperties": false,
		"properties": {
			"name": {
				"type": "string"
			},
			"volume": {
				"type": "number"
			},
			"channels": {
				"type": "number"
			},
			"bundleName": {
				"type": "string"
			},
			"defaultVolume": {
				"type": ["number", "null"]
			},
			"file": {
				"$ref": "#/definitions/cueFile"
			},
			"defaultFile": {
				"$ref": "#/definitions/cueFile"
			},
			"assignable": {
				"type": "boolean"
			}
		},
		"required": ["name", "volume", "assignable"]
	}
}
