JSON-schema Referensbeteckning
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json",
"title": "Reference Designation",
"description": "A representation of a reference designation, including its text identifier, identification standard, and the organisation responsible for the standard (if applicable).",
"type": "object",
"required": ["identifier", "identificationStandard"],
"properties": {
"identifier": {
"description": "The text identifier for the reference designation",
"type": "string",
"minLength": 1
},
"isPrimaryKey": {
"description": "Indicates whether the identifier property is a primary key for the object",
"type": "boolean",
"default": false
},
"identificationStandard": {
"description": "The denomination of the identification standard for the reference designation",
"type": "string",
"default": "internal",
"minLength": 1
},
"publisher": {
"description": "A reference to another schema defining the organisation that published the identification standard",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.organisation.1.schema.json"
}
},
"dependencies": {
"publisher": {
"description": "Specifies that the 'publisher' property is required when the 'identificationStandard' is not 'internal'.",
"not": {
"properties": {
"identificationStandard": {
"const": "internal"
}
}
}
}
},
"additionalProperties": false
}
Relaterad information
Identifiera för återanvändning
Detaljer om Referensbeteckning