{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.OCF/threeAxis/schema.json", "title": "Smart Data models - threeAxis schema derived from the open connectivity foundation repository https://github.com/openconnectivityfoundation/IoTDataModels", "description": "This Resource provides a representation of the measurement from a three-axis sensor.The Property 'orientation' is an array of numbers representing x-plane, y-plane and z-plane values.The unit of measurement for each pane is 'g'.", "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.sensor.threeaxis" ], "maxLength": 64, "type": "string" }, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array" }, "orientation": { "description": "Property. The array containing x-plane, y-plane and z-plane orientation in 'g'", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "readOnly": true, "type": "array" }, "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": [ "threeAxis" ], "description": "Property. NGSI entity type. It has to be threeAxis" } } } ], "license": "https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md", "derivedFrom": "https://raw.githubusercontent.com/openconnectivityfoundation/IoTDataModels/master/ThreeAxisResURI.swagger.json", "required": [ "orientation", "id", "type" ] }