{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "TechnicalResourceUsageGenci",
    "description": "TechnicalResourceUsageGenci template",
    "type": "object",
    "extensible": 1,
    "properties": {
        "facility": {
            "type": "object",
            "class": "TechnicalResource",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "TechnicalResourceStandard",
            "required": [
                "dbid"
            ],
            "description": "Identifiant interne de la ressource technique utilisée",
            "label@fr_FR": "Service géographique assurant le stockage",
            "label@en_GB": "Facility"
        },
        "startDate": {
            "type": "string",
            "format": "date",
            "description": "Date de début d'utilisation de la ressource technique",
            "label@fr_FR": "Date de début",
            "label@en_GB": "Start date"
        },
        "endDate": {
            "type": "string",
            "format": "date",
            "description": "Date de fin d'utilisation de la ressource technique",
            "label@fr_FR": "Date de fin",
            "label@en_GB": "End date"
        },
        "dataSize": {
            "type": "number",
            "description": "Volume des données concernées en octets",
            "label@fr_FR": "Taille des données",
            "label@en_GB": "Data size"
        },
        "backupPolicy": {
            "type": "object",
            "class": "BackupPolicy",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "BackupPolicyStandard",
            "required": [
                "dbid"
            ],
            "description": "Informations relatives à la politique de sauvegarde",
            "label@fr_FR": "Politique de sauvegarde",
            "label@en_GB": "Backup policy"
        },
        "contact": {
            "type": "object",
            "class": "Contributor",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "ContributorStandard",
            "required": [
                "dbid"
            ],
            "description": "Personne contact, en charge de la gestion des données, pour cette ressource technique",
            "label@fr_FR": "Personne contact",
            "label@en_GB": "Contact personne"
        },
        "cost": {
            "type": "array",
            "items": {
                "type": "object",
                "class": "Cost",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "template_name": "CostStandard",
                "required": [
                    "dbid"
                ]
            },
            "description": "Coût en lien avec l'utilisation de la ressource technique",
            "label@fr_FR": "Coût",
            "label@en_GB": "Cost",
            "example@fr_FR": "Coût lié à l'usage d'une resource extérieure",
            "example@en_GB": "Cost linked to the resource usage extérieure"
        },
        "storageType": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Support de stockage des données",
            "label@fr_FR": "Support de stockage",
            "label@en_GB": "Storage type",
            "values@en_GB": [
                "Hard disk drive",
                "Solid state drive",
                "USB key",
                "NAS server",
                "Cloud",
                "CD",
                "DVD",
                "Magnetic tape"
            ],
            "values@fr_FR": [
                "Disque dur",
                "Disque SSD",
                "Clé USB",
                "Serveur NAS",
                "Cloud",
                "CD",
                "DVD",
                "Bande magnétique"
            ]
        },
        "specificData": {
            "type": "object",
            "class": "SpecificDataStandard",
            "properties": {
                "dbid": {
                    "type": "number"
                }
            },
            "template_name": "DataStorageGenciSpecificData",
            "required": [
                "dbid"
            ],
            "description": "Informations spécifiques à une structure ou ressource",
            "label@fr_FR": "Informations spécifiques",
            "label@en_GB": "Specific data"
        }
    },
    "required": [
        "facility",
        "startDate",
        "endDate",
        "dataSize"
    ],
    "to_string": [
        "TechnicalResourceUsageGenci: to_string not defined"
    ]
}