{"$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.OCF/UserID/schema.json", "title": "Smart Data models - UserID schema derived from the open connectivity foundation repository https://github.com/openconnectivityfoundation/IoTDataModels", "description": "This Resource describes the Properties associated with user id of an OCF Client.The userid Property is a single value of type string.The userid Property is a read-only value that is provided by the Server.", "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. Resource Type", "items": {"enum": ["oic.r.userid"], "type": "string", "maxLength": 64}, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array"}, "userid": {"description": "Property. Id of a patient/user of healthcare devices", "readOnly": true, "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.r", "oic.if.baseline"], "type": "string", "maxLength": 64}, "minItems": 1, "readOnly": true, "uniqueItems": true, "type": "array"}, "type": {"type": "string", "enum": ["UserID"], "description": "Property. NGSI entity type. It has to be UserID"}}}], "license": "https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md", "derivedFrom": "https://raw.githubusercontent.com/openconnectivityfoundation/IoTDataModels/master/UserIDResURI.swagger.json", "required": ["userid", "id", "type"]}