# PersonalDataIssues-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "PersonalDataIssues",
    "description": "PersonalDataIssues schema",
    "dataTypes": null,
    "type": "object",
    "properties": {
        "description": {
            "type": "string",
            "description": "Description of measures to be followed to protect privacy: informed consent, anonymization"
        },
        "documentReference": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=ResourceReference",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Reference to a document produced by a data protection service"
        },
        "contributor": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=Contributor",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Person(s) responsible for ensuring the protection of personal data"
        }
    },
    "required": [
        "description"
    ]
}