# DMP-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "DMP",
    "description": "DMP schema",
    "dataTypes": null,
    "type": "object",
    "properties": {
        "identifier": {
            "type": "number",
            "description": "Local identifier"
        },
        "meta": {
            "type": "object",
            "$comment": "class=Meta",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "required": [
                "dbid"
            ],
            "description": "Details about the data management plan"
        },
        "researchOutput": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=ResearchOutput",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Comprehensive information on research outputs produced during the project or research activity"
        },
        "budget": {
            "type": "object",
            "$comment": "class=Budget",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "required": [
                "dbid"
            ],
            "description": "Represents information on data management budget items not directly associated with a research product. This class supports the retrieval of such information when importing a Data Management Plan (DMP) compliant with the RDA DMP Common Standard"
        }
    },
    "required": [
        "identifier",
        "meta",
        "researchOutput",
        "budget"
    ]
}