{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/logius/api-overheidsorganisaties-lmpmj_rdr/oorg",
"$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": "^oorg[0-9]{5}$"
},
"organisatiesoort": {
"items": {
"anyOf": [
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_ab4cf250`",
"format": "uri",
"title": "openbaar lichaam voor beroep en bedrijf"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_1d008550`",
"format": "uri",
"title": "kabinet van de koning"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_29b489f7`",
"format": "uri",
"title": "Hoog College van Staat"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_81c05ccd`",
"format": "uri",
"title": "agentschap"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_cb42e80a`",
"format": "uri",
"title": "inspectiedienst"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_690094b5`",
"format": "uri",
"title": "eenmalig adviescollege"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_4dec446b`",
"format": "uri",
"title": "tijdelijk adviescollege"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_2c4326b9`",
"format": "uri",
"title": "vast adviescollege"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_b9b318a5`",
"format": "uri",
"title": "landelijk politiekorps"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_43418c0b`",
"format": "uri",
"title": "rechtspraak"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_bbb05295`",
"format": "uri",
"title": "gerechtshof"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_c6d95aea`",
"format": "uri",
"title": "rechtbank"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_ebc71fd1`",
"format": "uri",
"title": "koepelorganisatie"
},
{
"description": "`https://identifier.overheid.nl/tooi/def/thes/kern/c_07d0ec18`",
"format": "uri",
"title": "organisatieonderdeel"
}
]
},
"maxItems": 1,
"minItems": 1
},
"type": {
"format": "uri"
},
"uri": {
"format": "uri",
"pattern": "^https://identifier\\.overheid\\.nl/tooi/id/oorg/(oorg[0-9]{5}|hv_[0-9]{8})$"
}
},
"required": [
"organisatiecode",
"organisatiesoort",
"type",
"uri"
],
"title": "Overige overheidsorganisatie",
"x-derived-from": [
"https://api-organisaties.overheid.nl/v1/openapi.json#/components/schemas/oorg"
]
}