{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.IoTDataModels/movement/schema.json", "title": "Movement", "description": "Smart Data Models Program adaptation of the original IoTData data Models. This Resource specifies linear movement. The Property 'movementSettings' is an array of strings containing possible movement values (e.g. spin, stop, left, right). The Property 'movement' is the currently selected movement value. The Property 'movementModifier' is a modifier to the movement value (e.g. 'spin', '90') ", "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.movement.linear" ], "maxLength": 64, "type": "string" }, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array" }, "movementSettings": { "description": "Property. The array of possible movement values.", "items": { "type": "string" }, "readOnly": true, "type": "array" }, "movementModifier": { "description": "Property. The modifier to the movement value (e.g. spin-90, left-20), units are device dependent.", "type": "string" }, "movement": { "description": "Property. The current movement value.", "type": "string" }, "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.s", "oic.if.baseline" ], "type": "string" }, "minItems": 2, "uniqueItems": true, "readOnly": true, "type": "array" }, "type": { "type": "string", "enum": [ "movement" ], "description": "Property. NGSI entity type. It has to be movement" } } } ], "derivedFrom": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/movementResURI.swagger.json", "license": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/README.md", "required": [ "id", "type" ] }