{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "../Documentation/Implementation/data_model/JSON/",
"title": "Preservation issues schema",
"description": "Schema describing the preservation issues",
"type": "object",
"properties": {
"description": {
"label": "Description",
"type": "string",
"pattern": "(.)*((@en)|(@fr))",
"description": "describe regulations contrainsts that apply to the data "
},
"dataSize": {
"label": "Data size",
"type": "number",
"description": "Number of octets, can be expressed with exponential notation"
},
"startDate": {
"label": "Start date",
"type": "string",
"format": "date"
},
"endDate": {
"label": "End date",
"type": "string",
"format": "date"
},
"preservation": {
"label": "Preservation",
"type": "object",
"classname": "technical_resource_usage",
"description": "internal identifier pointing to a technicalResourceUsage JSON document",
"properties": {
"dbid": {
"type": "number"
}
},
"required": ["dbid"]
},
"finalDisposition": {
"label": "Final disposition",
"type": "string",
"pattern": "(.)*((@en)|(@fr))",
"description": "what is the fate at the end of the preservation period"
},
"staffMember": {
"label": "Staff member",
"type": "array",
"items": {
"type": "object",
"classname": "staff_member",
"properties": {
"dbid": {
"type": "number"
}
},
"required": ["dbid"]
}
},
"cost": {
"label": "Cost",
"type": "array",
"items": {
"type": "object",
"classname": "cost",
"properties": {
"dbid": {
"type": "number"
}
},
"required": ["dbid"]
}
}
},
"required": [
"description",
"startDate",
"endDate",
"finalDisposition"
]
}