{"openapi": "3.0.3", "info": {"title": "Basisregistratie Kadaster \u00b7 voorbeeld-API", "version": "1.0", "description": "Kadastrale percelen en geregistreerde rechten op onroerende zaken. De API bevat openbare voorbeeldgegevens."}, "servers": [{"url": "https://reperta.nl"}], "security": [], "paths": {"/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"}}}}}}}}, "components": {"schemas": {"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"}}}, "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"}}}}}}