# ResearchOutputDescription-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "ResearchOutputDescription",
    "description": "ResearchOutputDescription schema",
    "dataTypes": null,
    "type": "object",
    "properties": {
        "title": {
            "type": "string",
            "description": "Title of the research output"
        },
        "shortName": {
            "type": "string",
            "description": "Short name of the research output"
        },
        "description": {
            "type": "string",
            "description": "Brief description of the research output"
        },
        "type": {
            "type": "string",
            "description": "Type of the research output, as defined in DataCite schema",
            "enum": [
                "Dataset",
                "Software",
                "Model",
                "Physical object",
                "Workflow",
                "Audiovisual",
                "Collection",
                "Image",
                "Interactive resource",
                "Service",
                "Sound",
                "Text",
                "Other"
            ]
        },
        "workPackage": {
            "type": "string",
            "description": "Workpackage name"
        },
        "controlledKeyword": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=ControlledKeyword",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Keyword(s) from controlled vocabulary(ies) or ontology(ies)"
        },
        "uncontrolledKeywords": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Free text keywords"
        },
        "language": {
            "type": "string",
            "length": "3",
            "description": "Data language code (ISO 639-3)"
        },
        "contact": {
            "type": "object",
            "$comment": "class=Person",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "required": [
                "dbid"
            ],
            "description": "Producer or holder of research data"
        },
        "issuedDate": {
            "type": "string",
            "format": "date",
            "description": "Date of data publication"
        },
        "datasetId": {
            "type": "string",
            "description": "Persistent identifier assigned to the research product"
        },
        "idType": {
            "type": "string",
            "description": "Identification system"
        },
        "containsPersonalData": {
            "type": "string",
            "description": "Indicates whether the data contains personal data"
        },
        "containsSensitiveData": {
            "type": "string",
            "description": "Indicates whether the data is sensitive due to intellectual property rights or contract"
        },
        "hasEthicalIssues": {
            "type": "string",
            "description": "Indicates whether the context of production of the research product includes ethical implications"
        }
    },
    "required": [
        "title",
        "description",
        "type",
        "controlledKeyword",
        "language",
        "containsPersonalData",
        "containsSensitiveData",
        "hasEthicalIssues"
    ]
}