JSON-schema Metadata
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.metadata.1.schema.json",
"title": "Metadata",
"description": "A representation of the metadata associated with a information objects, including its identity, description, lifecycle status, publication status, relevance review date, source, applicability, term, and label.",
"required": ["identity", "publicationStatus"],
"type": "object",
"properties": {
"identity": {
"description": "A reference to the schema defining the identity of the information object.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.identity.1.schema.json"
},
"description": {
"description": "A description of the information object.",
"type": "string",
"minLength": 1
},
"lifeCycleStatus": {
"description": "The current lifecycle status of the information object.",
"type": "string",
"minLength": 1
},
"publicationStatus": {
"description": "A reference to the schema defining the publication status of the information object.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.publication-status.1.schema.json"
},
"latestRelevanceReviewDate": {
"description": "The date of the most recent review of the relevance of the information object.",
"type": "string",
"format": "date",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
},
"sources": {
"description": "A list of sources associated with the information object, each referencing the 'identifier' property in the 'reference designation' schema file.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/Identifier"
}
},
"applicabilities": {
"description": "A list specifying when, where or for what an information object is applicable.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.applicability.1.schema.json"
}
},
"terms": {
"description": "A list of terms associated with the information object, each referencing the 'identifier' property in the 'reference designation' schema file.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/Identifier"
}
},
"labels": {
"description": "A list of labels associated with the information object.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
}