# LegalIssues-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "LegalIssues",
    "description": "LegalIssues schema",
    "dataTypes": null,
    "type": "object",
    "properties": {
        "description": {
            "type": "string",
            "description": "Free texte information on legal aspects"
        },
        "legalReference": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=ResourceReference",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "References to documents dealing with issues relating to protection, confidentiality, communication, reuse of data (intellectual property, professional secrecy, etc.) and information concerning data ownership."
        },
        "contributor": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=Contributor",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Person reponsible for addressing legal aspects"
        }
    },
    "required": [
        "legalReference"
    ]
}