# ResearchOutputDescription-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "ResearchOutputDescription",
    "description": "ResearchOutputDescription schema",
    "type": "object",
    "properties": {
        "title": {
            "type": "string",
            "description": "Titre du produit de recherche généré au cours du projet"
        },
        "description": {
            "type": "string",
            "description": "Description succincte du produit de recherche"
        },
        "type": {
            "type": "string",
            "description": "Type de produit de recherche généré",
            "enum": [
                "Jeu de données",
                "Logiciel",
                "Modèle",
                "Objet physique",
                "Workflow",
                "Audiovisuel",
                "Collection",
                "Image",
                "Resource interactive",
                "Service",
                "Son",
                "Texte",
                "Autre"
            ]
        },
        "workPackage": {
            "type": "string",
            "description": "Nom du workpackage"
        },
        "controlledKeyword": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=ControlledKeyword",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Mot(s)-clé(s) issu(s) de vocabulaire(s) contrôlé(s) ou d'ontologie(s)"
        },
        "uncontrolledKeywords": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Mots clés libres"
        },
        "language": {
            "type": "string",
            "length": "3",
            "description": "Code langue des données (ISO 639-3)"
        },
        "contact": {
            "type": "object",
            "$comment": "class=Person",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "required": [
                "dbid"
            ],
            "description": "Producteur ou titulaire des données"
        },
        "issuedDate": {
            "type": "string",
            "format": "date",
            "description": "Date à laquelle les données sont publiées"
        },
        "datasetId": {
            "type": "string",
            "description": "Identifiant pérenne attribué au produit de recherche"
        },
        "idType": {
            "type": "string",
            "description": "Type d'identifiant ressource",
            "enum": [
                "DOI",
                "ARK",
                "Handle",
                "IGSN",
                "URL",
                "Identifiant local",
                "SWHID"
            ]
        },
        "containsPersonalData": {
            "type": "string",
            "description": "Indique si les données incluent des données personnelles",
            "enum": [
                "Oui",
                "Non",
                "Ne sais pas"
            ]
        },
        "containsSensitiveData": {
            "type": "string",
            "description": "Indique si les données sont sensibles en raison de droit de propriété intellectuelle ou de contrat",
            "enum": [
                "Oui",
                "Non",
                "Ne sais pas"
            ]
        },
        "hasEthicalIssues": {
            "type": "string",
            "description": "Indique si le contexte de production du produit de recherche inclut des implications éthiques",
            "enum": [
                "Oui",
                "Non",
                "Ne sais pas"
            ]
        }
    },
    "required": [
        "title",
        "description",
        "type",
        "controlledKeyword",
        "language",
        "containsPersonalData",
        "containsSensitiveData",
        "hasEthicalIssues"
    ]
}