{
"$id": "https://schemas.don.projects.digilab.network/schemas/api-register/digitaal-stelsel-omgevingswet-dso/crud-rtr-gegevens-g85pejgdr/organisatiemetbgcode",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"description": "Organisatie",
"properties": {
"bestuurslaag": {
"description": "Bestuurslaag van een Organisatie",
"enum": [
"rijk",
"provincie",
"waterschap",
"gemeente"
],
"type": "string"
},
"oin": {
"description": "OIN van de organisatie",
"maxLength": 20,
"minLength": 20,
"type": "string"
}
},
"required": [
"oin",
"bestuurslaag"
]
},
{
"properties": {
"organisatieCode": {
"description": "organisatieCode (CBS code, het numerieke deel van de BG code)",
"type": "string"
},
"organisatieType": {
"description": "organisatieType (niet-numerieke deel van de BG code)",
"type": "string"
}
}
}
],
"x-derived-from": [
"https://developer.omgevingswet.overheid.nl/publish/pages/167490/toepasbareregels-crud-rtr-gegevens-v2.json#/components/schemas/OrganisatieMetBgCode"
]
}