{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "knx-item": {
            "properties": {
                "read": {
                    "pattern": "^\\\\d+/\\\\d+/\\\\d+$",
                    "type": "string"
                },
                "write": {
                    "pattern": "^\\\\d+/\\\\d+/\\\\d+$",
                    "type": "string"
                }
            },
            "required": [
                "read",
                "write"
            ],
            "type": "object"
        }
    },
    "properties": {
        "knx": {
            "properties": {
                "direction": {
                    "$ref": "#/definitions/knx-item"
                },
                "fully-down": {
                    "$ref": "#/definitions/knx-item"
                },
                "fully-up": {
                    "$ref": "#/definitions/knx-item"
                },
                "position": {
                    "$ref": "#/definitions/knx-item"
                },
                "stop": {
                    "$ref": "#/definitions/knx-item"
                },
                "up-down": {
                    "$ref": "#/definitions/knx-item"
                }
            },
            "required": [
                "up-down",
                "stop",
                "position",
                "fully-down",
                "fully-up",
                "direction"
            ],
            "type": "object"
        },
        "uuid": {
            "pattern": "^[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}$",
            "type": "string"
        }
    },
    "required": [
        "uuid",
        "knx"
    ],
    "type": "object"
}