# ReusedData-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "ReusedData",
    "description": "ReusedData schema",
    "dataTypes": null,
    "type": "object",
    "properties": {
        "title": {
            "type": "string",
            "description": "Research object title"
        },
        "description": {
            "type": "string",
            "description": "Description of the context of production of the research object"
        },
        "datasetId": {
            "type": "string",
            "description": "Research object identifier"
        },
        "idType": {
            "type": "string",
            "description": "Identification system"
        },
        "versionNumber": {
            "type": "string",
            "description": "Version number"
        },
        "license": {
            "type": "object",
            "$comment": "class=License",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "required": [
                "dbid"
            ],
            "description": "License or contract determining the conditions of reuse"
        }
    },
    "required": [
        "title",
        "datasetId",
        "idType"
    ]
}