{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.IoTDataModels/RemoteControl/schema.json", "title": "Remote Control", "description": "Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes a remote control function, which helps users to control a device without the actual remote controller provided by the manufacturer.", "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.remotecontrol" ], "maxLength": 64, "type": "string" }, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array" }, "supportedactions": { "type": "array", "minItems": 1, "readOnly": true, "uniqueItems": true, "items": { "type": "string", "enum": [ "arrowup", "arrowdown", "arrowleft", "arrowright", "enter", "return", "exit", "home", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-" ] }, "description": "Property. The list of of supported remote control key values." }, "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, "uniqueItems": true, "readOnly": true, "type": "array" }, "type": { "type": "string", "enum": [ "RemoteControl" ], "description": "Property. NGSI entity type. It has to be RemoteControl" } } } ], "derivedFrom": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/RemoteControlResURI.swagger.json", "license": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/README.md", "required": [ "id", "type" ] }