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