# SoftwarePreservationStandard-template.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "../Documentation/Implementation/data_model/Json/",
"title": "SoftwarePreservationStandard",
"description": "SoftwarePreservationStandard template",
"dataTypes": [
"software"
],
"type": "object",
"class": "SoftwarePreservationStandard",
"properties": {
"identifier": {
"type": "string",
"format": "url",
"description": "SWHID identifier assigned to the source code in the Software Heritage archive",
"label@fr_FR": "Identifiant SWHID",
"label@en_GB": "SWHID Identifier",
"tooltip@fr_FR": "Pour obtenir l'identifiant SWHID, aller sur la page de votre projet à partir de https://archive.softwareheritage.org/. Déplier l'onglet \"Permalinks\" puis cliquer sur \"Copy permalink\". Ne pas décocher la case \"Add contextual information\".",
"tooltip@en_GB": "To obtain the SWHID identifier, find your project page on https://archive.softwareheritage.org . Unfold the \"Permalinks\" tab then click \"Copy permalink\". Do not uncheck the \"Add contextual information\" box.",
"form_label@fr_FR": "Si votre logiciel est archivé dans l'archive Software Heritage, indiquer l'identifiant SWHID du dépôt",
"form_label@en_GB": "If the software is archived in the Software Heritage archive, indicate its SWHID identifier"
},
"idType": {
"type": "string",
"description": "Resource ID Type",
"label@fr_FR": "Type d'identifiant",
"label@en_GB": "Identifier type",
"tooltip": null,
"hidden": true,
"isConst": true,
"form_label@fr_FR": "Puis préciser le type d'identifiant",
"form_label@en_GB": "Then specify the ID type"
}
},
"required": [],
"to_string": [],
"default": {
"fr_FR": {
"idType": "SWHID"
},
"en_GB": {
"idType": "SWHID"
}
}
}