# MetaStandard-template.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "MetaStandard",
    "description": "MetaStandard template",
    "dataTypes": [
        "software",
        "none"
    ],
    "type": "object",
    "class": "MetaStandard",
    "properties": {
        "title": {
            "type": "string",
            "description": "Data Management Plan Title",
            "label@fr_FR": "Titre du plan",
            "label@en_GB": "Plan title",
            "tooltip@fr_FR": "Titre généré automatiquement à partir du titre du projet. Il est modifiable. Titre affiché dans le tableau de bord",
            "tooltip@en_GB": "Title generated automatically from the project title. It can be modified. Title displayed in the dashboard",
            "form_label@fr_FR": "Titre du plan",
            "form_label@en_GB": "Plan title"
        },
        "deliverableNumber": {
            "type": "string",
            "description": "Number of the deliverable to which the DMP is related",
            "label@fr_FR": "Livrable",
            "label@en_GB": "Deliverable",
            "tooltip": null,
            "example@fr_FR": "Livrable D8.2",
            "example@en_GB": "Deliverable D8.2",
            "form_label@fr_FR": "Numéro du livrable",
            "form_label@en_GB": "Deliverable number"
        },
        "version": {
            "type": "string",
            "description": "DMP version",
            "inputType": "dropdown",
            "label@fr_FR": "Version",
            "label@en_GB": "Version",
            "registries": [
                "DMPVersion"
            ],
            "registryCategory": "DMPVersion",
            "overridable": true,
            "tooltip": null,
            "form_label@fr_FR": "Version du PGD",
            "form_label@en_GB": "DMP version"
        },
        "description": {
            "type": "string",
            "description": "Description of the scope of the management plan",
            "inputType": "textarea",
            "label@fr_FR": "Objet/périmètre du plan",
            "label@en_GB": "Plan purpose/scope",
            "tooltip@fr_FR": "Décrire brièvement le contexte et l'objectif du PGD, la structure du document ainsi que ses relations avec les autres livrables.",
            "tooltip@en_GB": "Briefly describe the context and purpose of the DMP, the structure of the document and its relationship to other deliverables.",
            "form_label@fr_FR": "Objet/périmètre du plan et ses relations avec les autres livrables",
            "form_label@en_GB": "Plan purpose/scope and its relation to other deliverables"
        },
        "dmpKeyword": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Fields of science and technology from the OECD classification",
            "inputType": "dropdown",
            "label@fr_FR": "Domaines de recherche (selon classification de l'OCDE)",
            "label@en_GB": "Fields of science and technology (from OECD classification)",
            "registries": [
                "ClassificationOCDE"
            ],
            "registryCategory": "Subject",
            "tooltip": null,
            "form_label@fr_FR": "Domaines de recherche (selon classification de l'OCDE)",
            "form_label@en_GB": "Fields of science and technology (from OECD classification)"
        },
        "dmpLanguage": {
            "type": "string",
            "length": "3",
            "description": "DMP language (French or english)",
            "inputType": "dropdown",
            "label@fr_FR": "Langue",
            "label@en_GB": "Language",
            "registries": [
                "ISO639-3_fra_eng"
            ],
            "registryCategory": "ISO639-3_fra_eng",
            "tooltip": null,
            "form_label@fr_FR": "Langue de rédaction du plan",
            "form_label@en_GB": "Language in which the plan is drafted"
        },
        "contact": {
            "type": "array",
            "table_header@fr_FR": "Nom",
            "table_header@en_GB": "Name",
            "items": {
                "type": "object",
                "class": "Contributor",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "template_name": "ContributorConstantRole",
                "required": [
                    "dbid"
                ]
            },
            "minItems": 1,
            "description": "Person responsible for implementing and monitoring the data management plan",
            "label@fr_FR": "Responsable du plan",
            "label@en_GB": "DMP manager",
            "tooltip@fr_FR": "Personne qui coordonne la planification de la gestion des données, aussi appelée auteur ou responsable du PGD. Par défaut, la personne qui crée le PGD sur DMP OPIDoR",
            "tooltip@en_GB": "Person who coordinates data management planning, also called DMP author or manager. By default, the person who creates the DMP with DMP OPIDoR",
            "form_label@fr_FR": "Responsable du plan",
            "form_label@en_GB": "DMP manager"
        },
        "creationDate": {
            "type": "string",
            "format": "date",
            "description": "DMP creation date",
            "label@fr_FR": "Date de création",
            "label@en_GB": "Creation date",
            "tooltip": null,
            "hidden": true,
            "form_label@fr_FR": "Date de création",
            "form_label@en_GB": "Creation date"
        },
        "lastModifiedDate": {
            "type": "string",
            "format": "date",
            "description": "DMP last modification date",
            "label@fr_FR": "Date de dernière modification",
            "label@en_GB": "Last modification date",
            "tooltip": null,
            "hidden": true,
            "form_label@fr_FR": "Date de dernière modification",
            "form_label@en_GB": "Last modification date"
        },
        "dmpId": {
            "type": "string",
            "description": "Persistent identifier assigned to the data management plan",
            "label@fr_FR": "Identifiant",
            "label@en_GB": "Identifier",
            "tooltip": null,
            "example@fr_FR": "https://hal.science/hal-04043652v2",
            "example@en_GB": "https://hal.science/hal-04043652v2",
            "form_label@fr_FR": "Identifiant du plan (à compléter après publication ou dépôt dans une archive)",
            "form_label@en_GB": "Plan identifier (to fill in after publishing or deposit in an archive)"
        },
        "idType": {
            "type": "string",
            "description": "Identification system",
            "inputType": "dropdown",
            "label@fr_FR": "Type d'identifiant",
            "label@en_GB": "Identifier type",
            "registries": [
                "PIDSystem"
            ],
            "registryCategory": "PIDSystem",
            "overridable": true,
            "tooltip": null,
            "form_label@fr_FR": "Type d'identifiant",
            "form_label@en_GB": "Identifier type"
        },
        "license": {
            "type": "object",
            "class": "License",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "LicenseStandard",
            "required": [
                "dbid"
            ],
            "description": "License applied to the content of the Data Management Plan for sharing and reuse",
            "label@fr_FR": "Licence",
            "label@en_GB": "License",
            "inputType": "dropdown",
            "registries": [
                "DMPLicenses"
            ],
            "registryCategory": "DMPLicense",
            "overridable": true,
            "tooltip@fr_FR": "Choisir une licence pour définir les conditions de réutilisation du PGD en cas de diffusion",
            "tooltip@en_GB": "Choose a license to define the conditions for reuse of the PGD in case of distribution",
            "form_label@fr_FR": "Licence du plan",
            "form_label@en_GB": "Plan license"
        },
        "relatedDoc": {
            "type": "array",
            "table_header": null,
            "items": {
                "type": "object",
                "class": "ResourceReference",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "template_name": "ResourceReferenceStandard",
                "required": [
                    "dbid"
                ]
            },
            "description": "References to any documents related to the data management plan (e.g. publications)",
            "label@fr_FR": "Documents (publications, rapports, brevets, plan expérimental….), sites web associés",
            "label@en_GB": "Associated documents (publications,reports, patents, experimental plan...), website",
            "tooltip": null,
            "form_label@fr_FR": "Lister les documents (publications, rapports, brevets, plan expérimental….), sites web associés au plan ",
            "form_label@en_GB": "List the documents (publications,reports, patents, experimental plan...), website associated with the DMP "
        },
        "associatedDmp": {
            "type": "array",
            "table_header": null,
            "items": {
                "type": "object",
                "class": "ResourceReference",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "template_name": "ResourceReferenceStandard",
                "required": [
                    "dbid"
                ]
            },
            "description": "Other data management plans related to the project or the entity's activities",
            "label@fr_FR": "Plans de gestion en lien avec le projet ou l'activité de l'entité",
            "label@en_GB": "Management plans related to the project or the entity's activity",
            "tooltip": null,
            "form_label@fr_FR": "Lister les autres plans de gestion en lien avec le projet ou avec l'activité de l'entité",
            "form_label@en_GB": "List the other management plans related to the project or the entity's activity"
        }
    },
    "required": [
        "title",
        "dmpLanguage",
        "contact",
        "creationDate",
        "lastModifiedDate"
    ],
    "to_string": [],
    "default": {
        "fr_FR": {
            "contact": {
                "role": "Responsable du plan"
            }
        },
        "en_GB": {
            "contact": {
                "role": "DMP manager"
            }
        }
    }
}