{"openapi": "3.0.3", "info": {"title": "Aflezen \u00b7 Gemeentelijke voorbeeld-API", "version": "1.0"}, "servers": [{"url": "https://aflezen.nl"}], "security": [], "paths": {"/api/bor/objecten/": {"get": {"tags": ["BOR"], "operationId": "borList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BORPage"}, "example": {"data": [{"id": "BOR-000123", "type": "boom", "omschrijving": "Zomereik", "status": "in gebruik"}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/bor/objecten/{id}/": {"get": {"tags": ["BOR"], "operationId": "borDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "BOR-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BORRecord"}, "example": {"id": "BOR-000123", "type": "boom", "omschrijving": "Zomereik", "status": "in gebruik"}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/bag/panden/": {"get": {"tags": ["BAG"], "operationId": "bagList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BAGPage"}, "example": {"data": [{"id": "BAG-000123", "bouwjaar": 1982}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/bag/panden/{id}/": {"get": {"tags": ["BAG"], "operationId": "bagDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "BAG-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BAGRecord"}, "example": {"id": "BAG-000123", "bouwjaar": 1982}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/bgt/kaartobjecten/": {"get": {"tags": ["BGT"], "operationId": "bgtList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BGTPage"}, "example": {"data": [{"id": "BGT-000123", "type": "waterdeel"}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/bgt/kaartobjecten/{id}/": {"get": {"tags": ["BGT"], "operationId": "bgtDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "BGT-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BGTRecord"}, "example": {"id": "BGT-000123", "type": "waterdeel"}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/brt/terreinen/": {"get": {"tags": ["BRT"], "operationId": "brtList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BRTPage"}, "example": {"data": [{"id": "BRT-000123", "type": "bos"}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/brt/terreinen/{id}/": {"get": {"tags": ["BRT"], "operationId": "brtDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "BRT-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BRTRecord"}, "example": {"id": "BRT-000123", "type": "bos"}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/bro/boringen/": {"get": {"tags": ["BRO"], "operationId": "broList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BROPage"}, "example": {"data": [{"id": "BRO-000123", "diepte_meter": 12}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/bro/boringen/{id}/": {"get": {"tags": ["BRO"], "operationId": "broDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "BRO-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BRORecord"}, "example": {"id": "BRO-000123", "diepte_meter": 12}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/brk/percelen/": {"get": {"tags": ["BRK"], "operationId": "brkList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BRKPage"}, "example": {"data": [{"id": "BRK-000123", "oppervlakte_m2": 210}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/brk/percelen/{id}/": {"get": {"tags": ["BRK"], "operationId": "brkDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "BRK-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BRKRecord"}, "example": {"id": "BRK-000123", "oppervlakte_m2": 210}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/woz/woz-objecten/": {"get": {"tags": ["WOZ"], "operationId": "wozList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/WOZPage"}, "example": {"data": [{"id": "WOZ-000123", "waardepeildatum": "2025-01-01", "vastgesteldeWaarde": 325000, "valuta": "EUR", "soortObject": "woning"}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/woz/woz-objecten/{id}/": {"get": {"tags": ["WOZ"], "operationId": "wozDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "WOZ-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/WOZRecord"}, "example": {"id": "WOZ-000123", "waardepeildatum": "2025-01-01", "vastgesteldeWaarde": 325000, "valuta": "EUR", "soortObject": "woning"}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/nwb/wegvakken/": {"get": {"tags": ["NWB"], "operationId": "nwbList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NWBPage"}, "example": {"data": [{"id": "NWB-000123", "rijrichting": "beide"}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/nwb/wegvakken/{id}/": {"get": {"tags": ["NWB"], "operationId": "nwbDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "NWB-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NWBRecord"}, "example": {"id": "NWB-000123", "rijrichting": "beide"}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/gws/aanvragen/": {"get": {"tags": ["GWS"], "operationId": "gwsList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GWSPage"}, "example": {"data": [{"id": "GWS-000123", "periode": "2025-Q1", "aantal": 32}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/gws/aanvragen/{id}/": {"get": {"tags": ["GWS"], "operationId": "gwsDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "GWS-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/GWSRecord"}, "example": {"id": "GWS-000123", "periode": "2025-Q1", "aantal": 32}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}, "/api/dgmr/metingen/": {"get": {"tags": ["DGMR"], "operationId": "dgmrList", "summary": "Lijst ophalen", "parameters": [{"name": "limit", "in": "query", "description": "Maximaal aantal records per pagina.", "schema": {"type": "integer", "minimum": 1, "maximum": 100, "default": 20}}, {"name": "offset", "in": "query", "description": "Aantal over te slaan records.", "schema": {"type": "integer", "minimum": 0, "default": 0}}], "responses": {"200": {"description": "Pagina met resultaten.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DGMRPage"}, "example": {"data": [{"id": "DGMR-000123", "geluid_db": 48}], "pagination": {"limit": 20, "offset": 0, "total": 1}}}}}, "400": {"description": "Ongeldige paginering.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Ongeldige paginering"}}}}}}}, "/api/dgmr/metingen/{id}/": {"get": {"tags": ["DGMR"], "operationId": "dgmrDetail", "summary": "E\u00e9n record ophalen", "parameters": [{"name": "id", "in": "path", "required": true, "description": "Unieke identificatie van het record.", "schema": {"type": "string"}, "example": "DGMR-000123"}], "responses": {"200": {"description": "Gevraagd record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DGMRRecord"}, "example": {"id": "DGMR-000123", "geluid_db": 48}}}}, "404": {"description": "Onbekend record.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}, "example": {"error": "Onbekend record"}}}}}}}}, "components": {"schemas": {"BORRecord": {"type": "object", "required": ["id", "type", "omschrijving", "status"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "BOR-000123"}, "type": {"type": "string", "description": "Categorie van het object.", "example": "boom"}, "omschrijving": {"type": "string", "description": "Omschrijving van het beheerobject.", "example": "Zomereik"}, "status": {"type": "string", "description": "Gebruiksstatus.", "example": "in gebruik"}}}, "BORPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/BORRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "Pagination": {"type": "object", "required": ["limit", "offset", "total"], "properties": {"limit": {"type": "integer", "example": 20}, "offset": {"type": "integer", "example": 0}, "total": {"type": "integer", "example": 1}}}, "Error": {"type": "object", "required": ["error"], "properties": {"error": {"type": "string"}}}, "BAGRecord": {"type": "object", "required": ["id", "bouwjaar"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "BAG-000123"}, "bouwjaar": {"type": "integer", "description": "Jaar waarin het pand is gebouwd.", "example": 1982}}}, "BAGPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/BAGRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "BGTRecord": {"type": "object", "required": ["id", "type"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "BGT-000123"}, "type": {"type": "string", "description": "Categorie van het object.", "example": "waterdeel"}}}, "BGTPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/BGTRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "BRTRecord": {"type": "object", "required": ["id", "type"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "BRT-000123"}, "type": {"type": "string", "description": "Categorie van het object.", "example": "bos"}}}, "BRTPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/BRTRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "BRORecord": {"type": "object", "required": ["id", "diepte_meter"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "BRO-000123"}, "diepte_meter": {"type": "integer", "description": "Diepte in meters.", "example": 12}}}, "BROPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/BRORecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "BRKRecord": {"type": "object", "required": ["id", "oppervlakte_m2"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "BRK-000123"}, "oppervlakte_m2": {"type": "integer", "description": "Oppervlakte van het perceel in vierkante meters.", "example": 210}}}, "BRKPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/BRKRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "WOZRecord": {"type": "object", "required": ["id", "waardepeildatum", "vastgesteldeWaarde", "valuta", "soortObject"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "WOZ-000123"}, "waardepeildatum": {"type": "string", "description": "Peildatum van de waardering.", "example": "2025-01-01", "format": "date"}, "vastgesteldeWaarde": {"type": "integer", "description": "Bedrag van de vastgestelde waarde.", "example": 325000}, "valuta": {"type": "string", "description": "Valutacode.", "example": "EUR"}, "soortObject": {"type": "string", "description": "Categorie van het WOZ-object.", "example": "woning"}}}, "WOZPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/WOZRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "NWBRecord": {"type": "object", "required": ["id", "rijrichting"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "NWB-000123"}, "rijrichting": {"type": "string", "description": "Toegestane rijrichting.", "example": "beide"}}}, "NWBPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/NWBRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "GWSRecord": {"type": "object", "required": ["id", "periode", "aantal"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "GWS-000123"}, "periode": {"type": "string", "description": "Rapportageperiode.", "example": "2025-Q1"}, "aantal": {"type": "integer", "description": "Aantal aanvragen in deze periode.", "example": 32}}}, "GWSPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/GWSRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}, "DGMRRecord": {"type": "object", "required": ["id", "geluid_db"], "properties": {"id": {"type": "string", "description": "Unieke identificatie van het record.", "example": "DGMR-000123"}, "geluid_db": {"type": "integer", "description": "Geluidsniveau in decibel.", "example": 48}}}, "DGMRPage": {"type": "object", "required": ["data", "pagination"], "properties": {"data": {"type": "array", "items": {"$ref": "#/components/schemas/DGMRRecord"}}, "pagination": {"$ref": "#/components/schemas/Pagination"}}}}}}