{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://raw.githubusercontent.com/smart-data-models/dataModel.CallComplaints/master/User/schema.json", "title": "Call Complaints - User", "description": "This entity contains a harmonised description of a generic User made for the Call Complaints domain.", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "properties": { "type": { "type": "string", "description": "Property. NGSI-LD Entity Type. It must be equal to CallUser.", "enum": [ "CallUser" ] }, "aliasName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. The alias name of the User to protect privacy." }, "surname": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. The surname of the User." }, "contactPhone": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. The contact phone of the User." }, "makesComplaints": { "type": "array", "description": "Relationship. Array of Strings (relationships between Entities). The IDs of the Complaints that the User made.", "items": { "type": "string", "format": "uri" } } } } ], "required": [ "id", "type" ] }