{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Fibaro Home Center Zwave Internal Controller JSON Schema",
    "name": "unknown_device",
    "type": "object",
    "properties": {
        "id": {
            "description": "Fibaro Home Center device ID",
            "type": "integer",
            "enum": [
                1
            ]
        },
        "name": {
            "description": "Device name",
            "type": "string",
            "maxLength": 20
        },
        "roomID": {
            "description": "Room ID defined in Home Center GUI",
            "type": "integer",
            "minimum": 0,
            "maximum": 0
        },
        "type": {
            "description": "Zwave device type",
            "enum": [
                "unknown_device"
            ]
        },
        "properties": {
            "type": "object",
            "properties": {
                "UIMessageSendTime": {
                    "type": "string"
                },
                "autoConfig": {
                    "type": "string"
                },
                "date": {
                    "type": "string"
                },
                "dead": {
                    "type": "string"
                },
                "disabled": {
                    "type": "string"
                },
                "endPoint": {
                    "type": "string"
                },
                "log": {
                    "type": "string"
                },
                "logTemp": {
                    "type": "string"
                },
                "nodeID": {
                    "type": "string"
                },
                "pollingDeadDevice": {
                    "enum": [
                        "0",
                        "1"
                    ]
                },
                "pollingTime": {
                    "type": "string"
                },
                "pollingTimeNext": {
                    "type": "string"
                },
                "pollingTimeSec": {
                    "type": "string"
                },
                "productInfo": {
                    "type": "string"
                },
                "pushNotificationID": {
                    "type": "string"
                },
                "requestNodeNeighborStat": {
                    "type": "string"
                },
                "requestNodeNeighborStatTimeStemp": {
                    "type": "string"
                },
                "requestNodeNeighborState": {
                    "type": "string"
                },
                "requestNodeNeighborStateTimeStemp": {
                    "type": "string"
                },
                "saveLogs": {
                    "type": "string"
                },
                "showChildren": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                },
                "sunsetHour": {
                    "description": "Sunset Hour",
                    "type": "string",
                    "pattern": "^[0-9]{2}:[0-9]{2}$"
                },
                "sunriseHour": {
                    "description": "Sunrise Hour",
                    "type": "string",
                    "pattern": "^[0-9]{2}:[0-9]{2}$"
                },
                "value": {
                    "type": "string"
                },
                "zwaveCompany": {
                    "type": "string"
                },
                "zwaveInfo": {
                    "type": "string"
                },
                "zwaveVersion": {
                    "type": "string"
                }
            },
            "required": [
                "UIMessageSendTime",
                "autoConfig",
                "date",
                "dead",
                "disabled",
                "endPoint",
                "log",
                "logTemp",
                "nodeID",
                "pollingDeadDevice",
                "pollingTime",
                "pollingTimeNext",
                "pollingTimeSec",
                "productInfo",
                "pushNotificationID",
                "requestNodeNeighborStat",
                "requestNodeNeighborStatTimeStemp",
                "requestNodeNeighborState",
                "requestNodeNeighborStateTimeStemp",
                "saveLogs",
                "showChildren",
                "status",
                "sunriseHour",
                "sunsetHour",
                "value",
                "zwaveCompany",
                "zwaveInfo",
                "zwaveVersion"
            ],
            "additionalProperties": false
        },
        "actions": {
            "type": "object",
            "properties": {
                "pollingDeadDevice": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1
                },
                "pollingTimeSec": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1
                },
                "requestNodeNeighborUpdate": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1
                },
                "turnOff": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 0
                },
                "turnOn": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 0
                }
            },
            "required": [
                "pollingDeadDevice",
                "pollingTimeSec",
                "requestNodeNeighborUpdate",
                "turnOff",
                "turnOn"
            ],
            "additionalProperties": false
        },
        "created": {
            "type": "number"
        },
        "modified": {
            "type": "number"
        },
        "sortOrder": {
            "type": "number"
        }
    },
    "additionalProperties": false
}