{
    "$ref": "#/definitions/light",
    "definitions": {
        "light": {
            "properties": {
                "intensity": {
                    "default": 1,
                    "description": "brightness of the light",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "integer",
                    "update_frequency": 1001
                },
                "power": {
                    "default": "on",
                    "description": "Light status",
                    "enum": [
                        "on",
                        "off"
                    ],
                    "type": "string",
                    "update_frequency": 1000
                },
                "resourceType": {
                    "default": "sample.light",
                    "description": "Description about resource type",
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "required": [
        "resourceType",
        "power"
    ],
    "title": "Simple Light"
}