# ContributorStandard-template.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "ContributorStandard",
    "description": "ContributorStandard template",
    "dataTypes": [
        "software",
        "none"
    ],
    "type": "object",
    "class": "ContributorStandard",
    "properties": {
        "person": {
            "type": "object",
            "class": "Person",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "PersonStandard",
            "required": [
                "dbid"
            ],
            "description": "Information on the person",
            "tooltip": null
        },
        "role": {
            "type": "string",
            "description": "Role of the person in data management and/or production",
            "inputType": "dropdown",
            "label@fr_FR": "Rôle",
            "label@en_GB": "Role",
            "registries": [
                "Role",
                "SoftwareRoles"
            ],
            "registryCategory": "Role",
            "tooltip@fr_FR": "Sélectionner dans la liste déroulante le rôle du contributeur",
            "tooltip@en_GB": "Choose in the dropdown the contributor's role",
            "form_label@fr_FR": "Rôle",
            "form_label@en_GB": "Role"
        }
    },
    "required": [
        "person",
        "role"
    ],
    "to_string": [
        "$.person.firstName",
        " ",
        "$.person.lastName "
    ]
}