{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/logius/api-overheidsorganisaties-lmpmj_rdr/so",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"properties": {
"afkorting": {
"minLength": 1
},
"alternatieveNaam": {
"items": {
"minLength": 1
},
"minItems": 1,
"uniqueItems": true
},
"isPartOf": {
"items": {
"format": "uri",
"pattern": "^https://identifier\\.overheid\\.nl/tooi/id/(col/col[0-9]{2}|gemeente/gm[0-9]{4}|ministerie/mnre[0-9]{4}|oorg/oorg[0-9]{5}|provincie/pv[0-9]{2}|so/so[0-9]{4}|waterschap/ws[0-9]{4}|zbo/zb[0-9]{6})$"
},
"minItems": 1,
"uniqueItems": true
},
"label": {
"minLength": 1
},
"officieleNaamExclSoort": {
"minLength": 1
},
"officieleNaamInclSoort": {
"minLength": 1
},
"officieleNaamSorteer": {
"minLength": 1
},
"owmsId": {
"items": {
"format": "uri",
"pattern": "^http://standaarden\\.overheid\\.nl/owms/terms/[a-zA-Z0-9_()\\-]{1,200}$"
},
"minItems": 1
},
"voorkeursnaamExclSoort": {
"minLength": 1
},
"voorkeursnaamInclSoort": {
"minLength": 1
},
"voorkeursnaamSorteer": {
"minLength": 1
},
"wettelijkeClassificatie": {
"items": {
"anyOf": [
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_055aa18b`",
"title": "Woo-plichtig"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_df0cc565`",
"title": "overheidswerkgever"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_21bfb04e`",
"title": "WNT-instelling"
}
],
"format": "uri"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"label"
],
"title": "commonProperties"
},
{
"properties": {
"begindatum": {
"format": "date",
"readOnly": true
},
"einddatum": {
"format": "date",
"readOnly": true
},
"generatedAtTime": {
"format": "date-time",
"readOnly": true
},
"invalidatedAtTime": {
"format": "date-time",
"readOnly": true
}
},
"title": "read-only"
}
],
"properties": {
"organisatiecode": {
"pattern": "^so[0-9]{4}$"
},
"organisatiesoort": {
"items": {
"anyOf": [
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_a04c8796`",
"format": "uri",
"title": "regionaal samenwerkingsorgaan"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_c7eb524c`",
"format": "uri",
"title": "grensoverschrijdende regionale samenwerkingsorganisatie"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_ebc71fd1`",
"format": "uri",
"title": "koepelorganisatie"
}
]
},
"maxItems": 1,
"minItems": 1
},
"socode": {
"pattern": "^[0-9]{4}$"
},
"type": {
"format": "uri"
},
"uri": {
"format": "uri",
"pattern": "^https://identifier\\.overheid\\.nl/tooi/id/so/(so[0-9]{4}|hv_[0-9]{8})$"
}
},
"required": [
"organisatiecode",
"organisatiesoort",
"socode",
"type",
"uri"
],
"title": "Samenwerkingsorganisatie",
"x-derived-from": [
"https://api-organisaties.overheid.nl/v1/openapi.json#/components/schemas/so"
]
}