{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "TechnicalResourceStandard",
    "description": "TechnicalResourceStandard template",
    "type": "object",
    "properties": {
        "title": {
            "type": "string",
            "description": "Intitulé de la resource technique",
            "label@fr_FR": "Titre",
            "label@en_GB": "Title"
        },
        "description": {
            "type": "string",
            "description": "Description succinte de la ressource technique",
            "inputType": "textarea",
            "label@fr_FR": "Description",
            "label@en_GB": "Description"
        },
        "technicalResourceId": {
            "type": "object",
            "class": "Identifier",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "ResourceIdentifier",
            "required": [
                "dbid"
            ],
            "description": "Identifiant pérenne ou Url de référence",
            "label@fr_FR": "Identifiant de la ressource technique",
            "label@en_GB": "Technical resource ID"
        },
        "geoLocation": {
            "type": "string",
            "description": "Code du pays de localisation de la ressource technique",
            "inputType": "dropdown",
            "label@fr_FR": "Localisation géographique (pays)",
            "label@en_GB": "Geo location (country",
            "values@fr_FR": [
                "FR",
                "GB",
                "US",
                "DE"
            ],
            "values@en_GB": [
                "FR",
                "GB",
                "US",
                "DE"
            ]
        },
        "certification": {
            "type": "string",
            "description": "Certificat de qualité obtenu par les ressource techniques (CoreTrustSEal, DSA, WDS, ISO-9001, …)",
            "inputType": "dropdown",
            "label@fr_FR": "Certification",
            "label@en_GB": "Certification",
            "values@fr_FR": [
                "CoreTrustSeal",
                "WDS",
                "DSA",
                "ISO-9001",
                "ISO-27000",
                "Autres"
            ],
            "values@en_GB": [
                "CoreTrustSeal",
                "WDS",
                "DSA",
                "ISO-9001",
                "ISO-27000",
                "Other"
            ]
        },
        "pidSystem": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Système d'identifiants pérennes utilisé par la ressource technique",
            "inputType": "dropdown",
            "label@fr_FR": "Système d'identifiants",
            "label@en_GB": "PID system",
            "values@fr_FR": [
                "DOI",
                "ARK",
                "Handle",
                "IGSN",
                "Autres"
            ],
            "values@en_GB": [
                "DOI",
                "ARK",
                "Handle",
                "IGSN",
                "Other"
            ]
        },
        "hasVersioningPolicy": {
            "type": "string",
            "description": "Contrôle des versions",
            "inputType": "dropdown",
            "label@fr_FR": "Politique de gestion des versions",
            "label@en_GB": "Versioning policy",
            "values@fr_FR": [
                "Oui",
                "Non",
                "Ne sais pas"
            ],
            "values@en_GB": [
                "Yes",
                "No",
                "Unknown"
            ]
        },
        "availability": {
            "type": "number",
            "description": "Disponibilité/pérennité de la ressource technique en années",
            "label@fr_FR": "Disponibilité (années)",
            "label@en_GB": "Availability (years)"
        }
    },
    "required": [
        "title",
        "technicalResourceId",
        "geoLocation",
        "hasVersioningPolicy"
    ],
    "to_string": [
        "TechnicalResourceStandard: to_string not defined"
    ]
}