{"openapi": "3.0.3", "info": {"title": "Waardering Onroerende Zaken \u00b7 voorbeeld-API", "version": "1.0", "description": "WOZ-objecten en vastgestelde waarden van onroerende zaken. De API bevat openbare voorbeeldgegevens."}, "servers": [{"url": "https://titulus.nl"}], "security": [], "paths": {"/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"}}}}}}}}, "components": {"schemas": {"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"}}}, "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"}}}}}}