{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Fibaro Home Center Settings Info JSON Schema",
    "name": "info",
    "type": "object",
    "properties": {
        "serialNumber": {
            "description": "Home Center Serial Number",
            "type": "string",
            "maxLength": 10
        },
        "mac": {
            "description": "Home Center MAC Address",
            "type": "string",
            "pattern": "^[A-Za-z0-9]{2}(:[A-Za-z0-9]{2}){5}$"
        },
        "softVersion": {
            "description": "Home Center Software Version",
            "type": "string",
            "maxLength": 10
        },
        "beta": {
            "description": "Home Center Beta Software Flag",
            "type": "boolean"
        },
        "zwaveVersion": {
            "description": "Home Center ZWave Version",
            "type": "string",
            "maxLength": 10
        },
        "serverStatus": {
            "description": "Home Center Server Timestamp",
            "type": "integer"
        },
        "defaultLanguage": {
            "description": "Default Home Center Language",
            "type": "string",
            "pattern": "^[a-z]{2}$"
        },
        "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}$"
        },
        "hotelMode": {
            "description": "Hotel Mode Flag",
            "type": "boolean"
        },
        "updateStableAvailable": {
            "description": "Stable Image Update Availability Flag",
            "type": "boolean"
        },
        "temperatureUnit": {
            "description": "Default temperature units",
            "type": "string",
            "maxLength": 1,
            "minLength": 1
        },
        "updateBetaAvailable": {
            "description": "Beta Image Update Availability Flag",
            "type": "boolean"
        },
        "batteryLowNotification": {
            "description": "Low Batery Notification Flag",
            "type": "boolean"
        },
        "newestStableVersion": {
            "description": "Newest Stable Version",
            "type": "string"
        },
        "newestBetaVersion": {
            "description": "Newest Beta Version",
            "type": "string"
        }
    },
    "additionalProperties": false
}