{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.IoTDataModels/AutoFocus/schema.json", "title": "Auto Focus", "description": "Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes an auto focus on/off feature.\nThe Property \"autoFocus\" is a boolean.\nAn \"autoFocus\" value of 'true' means that the auto focus feature is on.\nAn \"autoFocus\" value of 'false' means that the auto focus feature is off.\nNote that when Pan Tilt Zoom (see 'Pan Tilt Zoom' Resource definition) is used the autofocus works only in the selected area.", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" } ], "properties": { "rt": { "description": "Property. The Resource Type.", "items": { "enum": [ "oic.r.autofocus" ], "maxLength": 64, "type": "string" }, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array" }, "autoFocus": { "description": "Property. The status of the Auto Focus feature.", "type": "boolean" }, "n": { "type": "string", "maxLength": 64, "readOnly": true, "description": "Property. Friendly name of the Resource" }, "if": { "description": "Property. The OCF Interface set supported by this Resource.", "items": { "enum": [ "oic.if.a", "oic.if.baseline" ], "type": "string" }, "minItems": 2, "readOnly": true, "uniqueItems": true, "type": "array" }, "type": { "type": "string", "enum": [ "AutoFocus" ], "description": "Property. NGSI entity type. It has to be AutoFocus" } }, "derivedFrom": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/AutoFocusResURI.swagger.json", "license": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/README.md", "required": [ "id", "type" ] }