JSON-schema Källa
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.source.1.schema.json",
"title": "Source",
"description": "A representation of a source of information, which may include a type, organization, text reference, and/or web link reference.",
"type": "object",
"required": ["identity", "organisationReference"],
"properties": {
"identity": {
"description": "A reference to another schema that defines the identity of the source.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.identity.1.schema.json"
},
"sourceType": {
"description": "An alphanumeric string that describes the type of the source.",
"type": "string"
},
"organisationReference": {
"description": "A reference to another schema that defines the organization responsible for or being the source.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.organisation.1.schema.json"
},
"stakeholderReference": {
"description": "A stakeholder reference as the source.",
"type": "string",
"minLength": 1
},
"textReference": {
"description": "A text reference to the source.",
"type": "string",
"minLength": 1
},
"webLinkReference": {
"description": "A URL that provides a web link reference to the source.",
"type": "string",
"format": "uri",
"minLength": 1
}
},
"additionalProperties": false
}