{
    "$schema": "http://json-schema.org/draft-04/schema",
    "definitions": {
        "TcHmi.Controls.Beckhoff.TcHmiAudio": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "type": "object",
            "frameworkInstanceOf": "TcHmi.Controls.System.TcHmiControl",
            "frameworkControlType": "TcHmiAudio",
            "frameworkControlNamespace": "TcHmi.Controls.Beckhoff"
        },
        "TcHmi.Controls.Beckhoff.TcHmiAudio.AudioSourceList": {
            "title": "AudioSourceList",
            "description": "Audio Source List",
            "type": "array",
            "items": {
                "type": "object",
                "title": "Audio Source",
                "engineeringColumns": ["source", "type"],
                "properties": {
                    "source": {
                        "$ref": "tchmi:framework#/definitions/Path"
                    },
                    "type": {
                        "type": "string",
                        "category": "Common",
                        "enum": [
                            "",
                            "audio/mpeg",
                            "audio/ogg",
                            "audio/wav",
                            "application/dash+xml",
                            "application/vnd.apple.mpegurl"
                        ],
                        "options": [
                            {
                                "label": "<auto detect>",
                                "value": ""
                            }
                        ],
                        "default": ""
                    }
                },
                "propertiesMeta": [
                    {
                        "name": "source",
                        "displayName": "Source",
                        "category": "General",
                        "displayPriority": 10,
                        "description": "The source path of the audio source",
                        "defaultValue": null,
                        "defaultValueInternal": null
                    },
                    {
                        "name": "type",
                        "displayName": "Audio Type",
                        "category": "General",
                        "displayPriority": 10,
                        "description": "The type of the audio source.",
                        "defaultValue": null,
                        "defaultValueInternal": null
                    }
                ],
                "required": ["source"]
            }
        },
        "TcHmiAudio": {
            "$ref": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiAudio"
        }
    }
}
