# DataPreservation-schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "../Documentation/Implementation/data_model/Json/",
"title": "DataPreservation",
"description": "DataPreservation schema",
"dataTypes": null,
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of the preservation procedure, retention requirements and compliance with regulations"
},
"dataSize": {
"type": "number",
"description": "Size of data"
},
"unitVolume": {
"type": "string",
"description": "Unit for the size of data",
"enum": [
"Bytes",
"KB",
"MB",
"GB",
"TB",
"PB"
]
},
"startDate": {
"type": "string",
"format": "date",
"description": "Preservation start date"
},
"endDate": {
"type": "string",
"format": "date",
"description": "Preservation end date"
},
"host": {
"type": "object",
"$comment": "class=Host",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
],
"description": "Repository or service that archives and manages the long-term storage of digital resources, according to regulation and/or long-term value of data"
},
"finalDisposition": {
"type": "string",
"description": "Decisions regarding data retention : data destruction, data review, extended data retention"
},
"contributor": {
"type": "array",
"items": {
"type": "object",
"$comment": "class=Contributor",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
]
},
"description": "Person(s) responsible for the long-term preservation of the data"
},
"cost": {
"type": "array",
"items": {
"type": "object",
"$comment": "class=Cost",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
]
},
"description": "Costs associated with long-term preservation of the data"
}
},
"required": [
"dataSize",
"startDate",
"endDate",
"finalDisposition"
]
}