{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "device": {
            "properties": {
                "name": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 255
                }
            },
            "required": [
                "name"
            ],
            "additionalProperties": false
        }
    },
    "required": [
        "device"
    ],
    "additionalProperties": false
}