{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Fibaro Home Center Section JSON Schema",
    "name": "section",
    "type": "object",
    "properties": {
        "id": {
            "description": "Identifier for the section",
            "type": "integer",
            "minimum": 0
        },
        "name": {
            "description": "Name for the section",
            "type": "string",
            "maxLength": 20
        },
        "created": {
            "description": "Section creation timestamp",
            "type": "integer",
            "minimum": 0
        },
        "modified": {
            "description": "Section modification timestamp",
            "type": "integer",
            "minimum": 0
        },
        "sortOrder": {
            "description": "Sort order when displayed in GUI",
            "type": "integer",
            "minimum": 0
        }
    },
    "required": [
        "name"
    ],
    "additionalProperties": false
}