# PartnerStandard-template.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "PartnerStandard",
    "description": "PartnerStandard template",
    "dataTypes": [
        "software",
        "none"
    ],
    "type": "object",
    "class": "PartnerStandard",
    "externalImports": {
        "ror": {
            "name": "name",
            "ror": "orgId",
            "acronyms[0]": "acronym",
            "type": "idType"
        }
    },
    "properties": {
        "name": {
            "type": "string",
            "description": "Name of the partner",
            "label@fr_FR": "Nom",
            "label@en_GB": "Name",
            "tooltip": null,
            "form_label@fr_FR": "Nom",
            "form_label@en_GB": "Name"
        },
        "acronym": {
            "type": "string",
            "description": "Acronym of the partner",
            "label@fr_FR": "Acronyme",
            "label@en_GB": "Acronym",
            "tooltip": null,
            "form_label@fr_FR": "Acronyme",
            "form_label@en_GB": "Acronym"
        },
        "orgId": {
            "type": "string",
            "description": "Partner identifier",
            "label@fr_FR": "Identifiant",
            "label@en_GB": "Identifier",
            "tooltip": null,
            "form_label@fr_FR": "Identifiant",
            "form_label@en_GB": "Identifier"
        },
        "idType": {
            "type": "string",
            "description": "Identifier system (eg. ROR)",
            "inputType": "dropdown",
            "label@fr_FR": "Type d'identifiant",
            "label@en_GB": "Identifier type",
            "registries": [
                "OrganizationIdSystem"
            ],
            "registryCategory": "OrganizationIdSystem",
            "overridable": true,
            "tooltip": null,
            "form_label@fr_FR": "Type d'identifiant",
            "form_label@en_GB": "Identifier type"
        },
        "rnsr": {
            "type": "string",
            "description": "RNSR identifier (Identifier for French research structures)",
            "label@fr_FR": "Identifiant RNSR",
            "label@en_GB": "RNSR identifier",
            "tooltip": null,
            "form_label@fr_FR": "Identifiant RNSR",
            "form_label@en_GB": "RNSR identifier"
        }
    },
    "required": [
        "name"
    ],
    "to_string": [
        "$.name",
        " ",
        "<a href=\"",
        "$.orgId",
        "\">",
        "$.orgId",
        "</a>"
    ]
}