{
    "id": "e7186890-99fa-4c5b-8247-09c6d450d490",
    "name": "Kodi",
    "idName": "Kodi",
    "vendors": [
        {
            "id": "447bf3d6-a86e-4636-9db0-8936c0e4d9e9",
            "name": "Kodi",
            "idName": "kodi",
            "deviceClasses": [
                {
                    "deviceClassId": "d09953e3-c5bd-415b-973b-0d0bf2be3f69",
                    "idName": "kodi",
                    "name": "Kodi",
                    "createMethods": ["user", "discovery"],
                    "paramTypes": [
                        {
                            "name": "name",
                            "type": "QString",
                            "inputType": "TextLine"
                        },
                        {
                            "name": "ip",
                            "type" : "QString",
                            "inputType": "IPv4Address"
                        },
                        {
                            "name": "port",
                            "type" : "int"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "09dfbd40-c97c-4a20-9ecd-f80e389a4864",
                            "idName": "connected",
                            "name": "connected",
                            "type": "bool"
                        },
                        {
                            "id": "bc98cdb0-4d0e-48ca-afc7-922e49bb7813",
                            "idName": "mute",
                            "name": "mute",
                            "type": "bool",
                            "writable": true
                        },
                        {
                            "id": "9dfe5d78-4c3f-497c-bab1-bb9fdf7e93a9",
                            "idName": "volume",
                            "name": "volume",
                            "unit": "Percentage",
                            "type": "int",
                            "minValue": 0,
                            "maxValue": 100,
                            "writable": true
                        }
                    ],
                    "eventTypes": [
                        {
                            "id": "2535a1eb-7643-4874-98f6-b027fdff6311",
                            "idName": "onPlayerPlay",
                            "name": "player play"
                        },
                        {
                            "id": "99498b1c-e9c0-480a-9e91-662ee79ba976",
                            "idName": "onPlayerPause",
                            "name": "player pause"
                        },
                        {
                            "id": "a02ce255-3abb-435d-a92e-7f99c952ecb2",
                            "idName": "onPlayerStop",
                            "name": "player stop"
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "dc0aa3b5-4eae-4e58-a4ac-d4c124da53f1",
                            "idName": "showNotification",
                            "name": "show notification",
                            "paramTypes": [
                                {
                                    "name": "message",
                                    "type": "QString",
                                    "inputType": "TextLine"
                                },
                                {
                                    "name": "type",
                                    "type": "QString",
                                    "defaultValue": "info",
                                    "allowedValues": [
                                        "info",
                                        "warning",
                                        "error"
                                    ]
                                }
                            ]
                        },
                        {
                            "id": "28060803-aa85-44a4-9dec-ee669dfb629f",
                            "idName": "pressButton",
                            "name": "press button",
                            "paramTypes": [
                                {
                                    "name": "button",
                                    "type": "QString",
                                    "allowedValues": [
                                        "left",
                                        "right",
                                        "up",
                                        "down",
                                        "pageup",
                                        "pagedown",
                                        "select",
                                        "back",
                                        "info",
                                        "pause",
                                        "stop",
                                        "skipnext",
                                        "skipprevious",
                                        "stepforward",
                                        "stepback",
                                        "osd",
                                        "play",
                                        "playpause",
                                        "fastforward",
                                        "rewind",
                                        "fullscreen",
                                        "mute",
                                        "volumeup",
                                        "volumedown",
                                        "channelup",
                                        "channeldown",
                                        "red",
                                        "green",
                                        "yellow",
                                        "blue"
                                    ]
                                }
                            ]
                        },
                        {
                            "id": "8d51cd64-ecef-44f8-85b0-697bef252ce5",
                            "idName": "system",
                            "name": "system",
                            "paramTypes": [
                                {
                                    "name": "command",
                                    "type": "QString",
                                    "defaultValue": "shutdown",
                                    "allowedValues": [
                                        "hibernate",
                                        "reboot",
                                        "shutdown",
                                        "suspend"
                                    ]
                                }
                            ]
                        },
                        {
                            "id": "59f7ad10-16eb-40b7-a88b-c8393ae8e413",
                            "idName": "videoLibrary",
                            "name": "video library",
                            "paramTypes": [
                                {
                                    "name": "command",
                                    "type": "QString",
                                    "defaultValue": "scan",
                                    "allowedValues": [
                                        "scan",
                                        "clean"
                                    ]
                                }
                            ]
                        },
                        {
                            "id": "3d5120eb-1007-46c3-b76e-d9d4b105b9f2",
                            "idName": "audioLibrary",
                            "name": "audio library",
                            "paramTypes": [
                                {
                                    "name": "command",
                                    "type": "QString",
                                    "defaultValue": "scan",
                                    "allowedValues": [
                                        "scan",
                                        "clean"
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
