{
    "$ref": "#/definitions/oic.r.light",
    "definitions": {
        "oic.r.light": {
            "properties": {
                "if": {
                    "default": "oic.if.baseline",
                    "description": "Interface supported",
                    "type": "string"
                },
                "intensity": {
                    "default": 1,
                    "description": "brightness of the light",
                    "maximum": 9,
                    "minimum": 1,
                    "type": "integer",
                    "update_frequency": 1001
                },
                "power": {
                    "default": "on",
                    "description": "Light status",
                    "enum": [
                        "on",
                        "off"
                    ],
                    "type": "string",
                    "update_frequency": 1000
                },
                "rt": {
                    "default": "oic.r.light",
                    "description": "Description about resource type",
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "required": [
        "rt",
        "if",
        "power"
    ],
    "title": "OIC Light"
}