# ContributorConstantRole-template.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "ContributorConstantRole",
    "description": "ContributorConstantRole template",
    "dataTypes": [
        "software",
        "none"
    ],
    "type": "object",
    "class": "ContributorConstantRole",
    "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",
            "label@fr_FR": "Rôle",
            "label@en_GB": "Role",
            "tooltip": null,
            "isConst": true,
            "form_label@fr_FR": "Rôle",
            "form_label@en_GB": "Role"
        }
    },
    "required": [
        "person",
        "role"
    ],
    "to_string": [
        "$.person.firstName",
        " ",
        "$.person.lastName "
    ]
}