{ "$schema": "http://json-schema.org/schema#", "$id": "Privacy/PrivacyObject/schema.json", "title": "Smart Data Models / Privacy Object", "description": "Information about privacy for an IoT device", "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": { "type": { "type": "string", "enum": [ "PrivacyObject" ], "description": "Property. NGSI type property. It has to be PrivacyObject." }, "refDevice": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", "description": "Property. Identifier format of any NGSI entity" }, { "type": "string", "format": "uri", "description": "Relationship. Device linked to this PrivacyObject entity. Model:'https://schema.org/URL'" } ], "description": "Property. Unique identifier from the source data set." }, "isIndoor": { "type": "boolean", "description": "Property. Flag to indicate if the entity is installed indoor or outdoor." }, "floor": { "type": "number", "description": "Property. The floor where the device is installed when in building or equivalent." }, "user": { "type": "string", "format": "uri", "description": "Property. Identifier of an anonymous user. This identifier is in fact a unique URN which can be used to recognize anonymously a user." }, "purpose": { "type": "string", "description": "Property. Purpose of the data gathering." }, "category": { "$ref": "https://smart-data-models.github.io/dataModel.Device/device-schema.json#/definitions/Device-Commons/properties/category" }, "recipientList": { "type": "array", "description": "Property. List containing the recipients. A recipient is the beneficiary using the data generated by a sensor. Each recipient is represented by an URI which allows its unique identification. Privacy:'Low'. Model:'https://schema.org/URL'", "items": { "type": "string", "format": "uri" } }, "isPersonalData": { "type": "boolean", "description": "Property. Flag to indicate if the entity is providing or contains personal data." }, "retentionPeriod": { "type": "string", "description": "Property. Period of data retention." }, "legitimateInterest": { "type": "string", "description": "Property. Legitimate interest associated to the entity. This means for which high-level finality the data collection is made." }, "crossborderTransfer": { "type": "string", "description": "Property. Indication about the crossborder transfer linked to the entity." }, "image": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/PhysicalObject-Commons/properties/image" } } } ], "required": [ "id", "type" ], "$schemaVersion": "0.0.1" }