{
  "openapi": "3.1.0",
  "info": {
    "title": "Huisly Data API",
    "version": "1",
    "description": "Dutch housing data as JSON: open listings, properties and neighbourhood figures.\n\nBase URL: `https://api.huisly.nl`.\n## Quick start\n\n1. **Get an API key.** In the [console](https://www.huisly.nl/business), sign in (we email you a code), create an organization, claim the free trial credits on *Home* (or choose a plan under *Billing*), and create a key under *API keys*. The key is shown once.\n2. **Make your first call.** This one is free.\n\n```bash\ncurl \"https://api.huisly.nl/data/v1/places/search?q=Amsterdam\" \\\n  -H \"X-API-Key: YOUR_API_KEY\"\n```\n\n3. **Read the response** (shortened). Each place has a `type` and a `slug`, which name it in other calls.\n\n```json\n{\n  \"data\": [\n    {\n      \"type\": \"locality\",\n      \"slug\": \"amsterdam-c7sh2t\",\n      \"displayName\": \"Amsterdam\",\n      \"parent\": null\n    },\n    {\n      \"type\": \"municipality\",\n      \"slug\": \"amsterdam-gsxxzjaz98rj\",\n      \"displayName\": \"Amsterdam\",\n      \"parent\": null\n    }\n  ]\n}\n```\n\nThen search the listings for sale in the municipality (1 credit):\n\n```bash\ncurl \"https://api.huisly.nl/data/v1/listings/search\" \\\n  -H \"X-API-Key: YOUR_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"listingType\": \"for-sale\", \"places\": [{\"type\": \"municipality\", \"slug\": \"amsterdam-gsxxzjaz98rj\"}], \"limit\": 5}'\n```\n\n## Authentication\n\nSend your API key in the `X-API-Key` header of every request. Keys start with `huis_live_`. Keep them on your server.\n\n## Credits\n\n| Operation | Request | Cost |\n| --- | --- | --- |\n| Check the balance | `GET /data/v1/balance` | Free |\n| Find places | `GET /data/v1/places/search` | Free |\n| Find addresses | `GET /data/v1/addresses/search` | Free |\n| Search listings | `POST /data/v1/listings/search` | 1 credit |\n| Look up a property | `GET /data/v1/properties/lookup` | 2 credits |\n| Get place figures | `GET /data/v1/places/insights` | 2 credits |\n| Look up a sale estimate | `GET /data/v1/valuations/lookup` | 3 credits |\n\n- Only successful (2xx) requests are charged.\n- A plan adds its credits each paid month, and unused credits expire at the end of it. See the [pricing page](https://www.huisly.nl/data/pricing).\n- `GET /data/v1/balance` returns your balance. Usage and the request log are in the console. The balance can lag a moment and dip slightly below zero, which the next month's credits cover.\n\n## Rate limits\n\nEach API key has a limit per minute, free requests included. Past it, a request gets a 429 `rate_limited` with a `Retry-After` header: the seconds to wait. It costs nothing.\n\n## Pagination\n\nThe listing search pages: 20 listings by default, up to 50 with `limit`. Send `pagination.nextCursor` as `cursor`, with the same search, until it is `null`. Each page costs 1 credit. The list of Woningrapport orders pages the same way, for free.\n\n## Errors\n\nThe body is always `{ \"error\": { \"code\": \"...\", \"message\": \"...\" } }`. Branch on `code`, not `message`.\n\n| Status | Meaning | What to do |\n| --- | --- | --- |\n| 400 | Invalid request | Fix it. Each operation lists its codes. |\n| 401 | Missing, unknown or revoked key | Check the key. |\n| 402 | Not enough credits | Add credits. |\n| 404 | No such path or method, or no such item (`unknown_order`) | Check the URL and the ID. |\n| 409 | Several matches | Narrow the request. |\n| 429 | Too many requests | Wait for `Retry-After`. |\n| 5xx | Server error, or unavailable for now (503) | Try again later. It costs nothing. |\n\nAccepted requests have an `X-Request-Id` header. Quote it to support.\n\n## Data formats\n\n- Prices are euro cents in a string: `\"42500000\"` is €425,000. WOZ values and place figures in euros are numbers.\n- Areas are in square metres, timestamps are RFC 3339 in UTC.\n- `null` means unknown. A declared field is never left out.\n- Examples are sample data.\n\n## Data and licences\n\n- Property facts come from the BAG, the Kadaster and EP-Online (RVO). Listing text, images and prices come from the providers, named on each advertisement.\n- Place figures need credit: CBS, EP-Online (RVO), the Ministry of the Interior and Kingdom Relations (Leefbaarometer) and the police via CBS (crime). Show the response's `attribution` wherever you republish them. A registered energy label carries its own.\n\n## Woningrapport\n\nThe Woningrapport is the Kadaster's report about one home (rights, mortgages, the parcel and more), which consumers buy on huisly.nl. Your organization orders it here and pays it by checkout, not with credits:\n\n1. `GET /data/v1/woningrapports/price` gives the price: the consumer price, less a discount while your organization has an active subscription (`discountApplies`).\n2. `POST /data/v1/woningrapports/orders` with the home and the version of the Business Terms your organization accepts returns the order and its `checkoutUrl`. Open it in a browser and pay; Paddle sends the invoice to the email entered there.\n3. Once paid, Huisly gets the report from the Kadaster, usually within minutes. Poll `GET /data/v1/woningrapports/orders/lookup` until `status` is `delivered`.\n4. `GET /data/v1/woningrapports/pdf` returns the PDF (`application/pdf`) in Dutch or English, until `reportAvailableUntil`, 30 days after delivery.\n\nIf the Kadaster delivers none of the paid parts, the payment is refunded in full.\n\n## Webhooks\n\nBe told when a listing changes instead of polling the listing search. Add an HTTPS endpoint in the console, on port 443 or 8443 and a public host name, and Huisly sends it a `POST` with a JSON body for each event. Webhooks are for organizations with a paid Data API plan. An endpoint can limit its listing events by listing type, places and filters, as in the listing search.\n\n### Events\n\n- `listing.created`: a new listing\n- `listing.closed`: a listing closed\n- `listing.reopened`: a listing reopened\n- `listing.price_changed`: a listing's price changed\n- `listing.state_changed`: a listing's state changed\n- `credits.low`: credits are running low\n- `credits.exhausted`: credits are used up\n- `webhook.ping`: a test event\n\nEvery body has an `id`, a `type`, a `timestamp` (when it happened) and `data`. A listing event has `data.listing`: the listing as the listing search serves it, as it is when the delivery is queued. The account events have `data: { balance, lowMark }`. Ignore fields and event types you don't know.\n\n```json\n{\n  \"id\": \"3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10\",\n  \"type\": \"listing.price_changed\",\n  \"timestamp\": \"2026-11-15T10:21:08.412Z\",\n  \"data\": {\n    \"listing\": { \"id\": \"0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10\", \"priceCents\": \"42500000\", \"...\": \"the listing, as in the listing search\" },\n    \"previousPriceCents\": \"43500000\",\n    \"priceCents\": \"42500000\"\n  }\n}\n```\n\n### Pricing\n\n- Listing events cost 1 credit per started block of 10 events per organization, charged when the block starts. An event counts once, however many endpoints get it and however often it is retried, and it stays charged if it is never delivered.\n- Tests (`webhook.ping`) and account events (`credits.low`, `credits.exhausted`) are free.\n- Without credits, listing events wait up to 72 hours, then expire undelivered.\n- `credits.low` is sent when your balance falls below 10% of the paid plan's monthly credits, and `credits.exhausted` when it is below one credit. Each is sent again only after the balance has been back above the low mark.\n\n### Verifying the signature\n\nEvery request has the headers `webhook-id`, `webhook-timestamp` and `webhook-signature`, as in [Standard Webhooks](https://www.standardwebhooks.com). Check the signature before you trust a request. The endpoint's secret (`whsec_` and base64) is shown once. The signature is the base64 HMAC-SHA256 of `<webhook-id>.<webhook-timestamp>.<raw body>`, keyed with the bytes of the base64 after `whsec_`. Use the raw body, reject a timestamp more than 5 minutes from your clock, and accept the request if any signature matches: for 24 hours after you rotate a secret, the header has two.\n\n```javascript\nconst { createHmac, timingSafeEqual } = require(\"node:crypto\");\n\n// secret: \"whsec_...\". headers: the request's headers, lower case. rawBody: the body as received.\nfunction verifyWebhook(secret, headers, rawBody) {\n  const id = headers[\"webhook-id\"], timestamp = headers[\"webhook-timestamp\"];\n  if (!(Math.abs(Date.now() / 1000 - Number(timestamp)) <= 300)) throw new Error(\"The timestamp is too far from now\");\n  const key = Buffer.from(secret.slice(\"whsec_\".length), \"base64\");\n  const expected = createHmac(\"sha256\", key).update(id + \".\" + timestamp + \".\").update(rawBody).digest();\n  const matches = (headers[\"webhook-signature\"] ?? \"\").split(\" \").some((candidate) => {\n    const [version, signature] = candidate.split(\",\");\n    const actual = Buffer.from(signature ?? \"\", \"base64\");\n    return version === \"v1\" && actual.length === expected.length && timingSafeEqual(actual, expected);\n  });\n  if (!matches) throw new Error(\"No signature matches\");\n  return JSON.parse(rawBody.toString());\n}\n```\n\n### Retries and idempotency\n\n- Reply with any 2xx status within 15 seconds, before slow work. The response body is not read.\n- Delivery is at least once and not in order. Dedupe on `webhook-id`, and keep the newest of two events of one listing by `timestamp`.\n- Anything else (another status, a timeout, a failed connection, a redirect) is tried again after 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 14 hours, 20 hours, 24 hours, then given up, after about 3 days.\n- A 410 disables the endpoint and drops its queued events.\n\n## Compatibility and versions\n\n`/data/v1` is the only version, and it only grows. Ignore response fields you don't know, treat unknown enum values (error codes too) as unknown, and handle other status codes by class (4xx, 5xx). An unknown request field is a 400.\n\n### Changelog\n\n- **2026-11-26**: Two new nullable fields, always present: a listing has `statedPriceCents` and `priceBasis` (`per-month`, `per-year`, `per-m2-year`, `per-m2-month`, `per-room`, `fixed`, `per-m2`). They are set when the advertisement states its price on another basis than `priceCents` (for example EUR 57,000 per year, where `priceCents` stays the monthly amount), and `null` otherwise. `priceCents` is unchanged.\n- **2026-11-23**: Sale estimates cover far more homes: a new `method`, `comparables`, values a home without a usable WOZ value from the asking prices nearby, with its own measured range; a new `groundLease`, `ongoing`, marks a home valued as if its ongoing ground lease were bought off. A listing that is not a plain vacant sale no longer withholds the estimate: it is only not compared.\n- **2026-11-21**: Order the Woningrapport for a home, paid by a checkout link at the consumer price less a discount for subscribers, and download it as a PDF in Dutch or English (`/data/v1/woningrapports/...`). The PDF is the first response that isn't JSON.\n- **2026-11-21**: Each sale estimate scenario carries its central estimate (`pointCents`) and a likely range (`likelyLowCents`, `likelyHighCents`), with `evidence.likelyCoverage`; a new `method`, `woz_comparables_and_ask`, also weighs the home's own asking price.\n- **2026-11-20**: A sale estimate costs 3 credits and also carries the property, the homes for sale nearby, the local market and its `method`.\n- **2026-11-19**: Sale valuation lookup for a property or new-build unit, subject to coverage.\n- **2026-11-16**: The credit cost of an operation is given as `x-huisly-credit-cost` in this document.\n- **2026-11-15**: Listings have `state`, `stateSince`, `statusLabel` and `registeredConstructionYear`. The listing search takes `excludeUnderOffer`.\n- **2026-11-13**: Property lookup by address, the free address search, and `crime` and `liveability` on places.\n- **2026-11-12**: Listings and properties carry more data: images, agencies, energy labels, parcels, WOZ values and listing history.\n- **2026-11-11**: A rate limit per API key.\n- **2026-11-10**: Property lookup and place insights.\n- **2026-11-08**: First version: balance, place search and listing search.\n\n## Support\n\nMail [sales@huisly.nl](mailto:sales@huisly.nl) with a question, and include the `X-Request-Id` if you have one.",
    "contact": {
      "name": "Huisly Data",
      "url": "https://www.huisly.nl/data",
      "email": "sales@huisly.nl"
    }
  },
  "servers": [
    {
      "url": "https://api.huisly.nl"
    }
  ],
  "security": [
    {
      "api-key": []
    }
  ],
  "tags": [
    {
      "name": "Account",
      "description": "Your API key and credits."
    },
    {
      "name": "Places",
      "description": "Find the `type` and `slug` of a place."
    },
    {
      "name": "Addresses",
      "description": "Find homes and streets as a person types."
    },
    {
      "name": "Listings",
      "description": "Open listings for sale and for rent."
    },
    {
      "name": "Properties",
      "description": "One property by slug or address."
    },
    {
      "name": "Valuations",
      "description": "Indicative residential sale-price ranges."
    },
    {
      "name": "Neighbourhoods",
      "description": "Figures for a municipality, district or neighbourhood."
    },
    {
      "name": "Webhooks",
      "description": "Events Huisly sends to your endpoint."
    }
  ],
  "paths": {
    "/data/v1/balance": {
      "get": {
        "operationId": "getBalance",
        "tags": [
          "Account"
        ],
        "summary": "Check the balance",
        "description": "Confirms the API key works and returns the organization's credit balance. Free.",
        "responses": {
          "200": {
            "description": "The API key is valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalanceResponse"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 0
      }
    },
    "/data/v1/places/search": {
      "get": {
        "operationId": "searchPlaces",
        "tags": [
          "Places"
        ],
        "summary": "Find places",
        "description": "Finds places by name, postal code or street. Each has the `type` and `slug` that the listing search and the place insights take.\n\nReturns the 5 best matches; `parent` tells places with the same name apart. Free.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "A municipality, town, district or neighbourhood name, a postal code such as `1015 DK`, or a street. 2 to 100 characters.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100,
              "examples": [
                "Amsterdam"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The places that match the query.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchPlacesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.\n\n- `validation_failed`: Invalid parameter or body. `message` says which.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 0
      }
    },
    "/data/v1/addresses/search": {
      "get": {
        "operationId": "searchAddresses",
        "tags": [
          "Addresses"
        ],
        "summary": "Find addresses",
        "description": "Finds homes and streets from what a person types. Each home has the `propertySlug` the property lookup takes.\n\n- A street finds that street in each town, with `hint` `add_house_number`.\n- A street and house number, or a postal code and house number, finds the homes with that number. Without a letter or addition it finds all of them.\n\nNothing found is a 200 with an empty `data` and `hint` `no_match`. Homes whose data is unavailable are left out.\n\nFree, but limited per second: past the limit you get a 429 with `Retry-After: 1`. Wait a moment after each keystroke.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "What a person types: a street, a street and house number, a postal code, or a postal code and house number. A town may follow after a comma. Case and accents don't matter, and a small typo is forgiven. 2 to 100 characters.",
            "schema": {
              "type": "string",
              "minLength": 2,
              "maxLength": 100,
              "pattern": "^[^\\x00-\\x1f\\x7f-\\x9f]*$",
              "examples": [
                "Don Boscostraat 429"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "The most results to return, 1 to 10; 10 when left out.",
            "schema": {
              "default": 10,
              "examples": [
                5
              ],
              "type": "integer",
              "minimum": 1,
              "maximum": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The homes and streets that match the query.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchAddressesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.\n\n- `validation_failed`: Invalid parameter or body. `message` says which.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 0
      }
    },
    "/data/v1/listings/search": {
      "post": {
        "operationId": "searchListings",
        "tags": [
          "Listings"
        ],
        "summary": "Search listings",
        "description": "Finds open listings for sale or for rent in up to 10 places, newest first, a page at a time. Take each place's `type` and `slug` from the place search. Each listing comes in full. Listings whose property's data is unavailable are left out.\n\nFollow `pagination.nextCursor` until it is `null`. The order is fixed (`listedAt`, then `id`), and paging never repeats or skips a listing that stays open and matching. There is no total count.\n\nCosts 1 credit per page.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchListingsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A page of matching listings.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchListingsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.\n\n- `validation_failed`: Invalid parameter or body. `message` says which.\n- `unknown_place`: A place in `places` doesn't exist.\n- `invalid_cursor`: `cursor` doesn't belong to this search. Start again from the first page.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support. A 400 for a JSON body that can't be parsed has none: it is rejected before the API key is checked.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchListingsBadRequestError"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits.\n\n- `insufficient_credits`: Fewer credits than the request costs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 1
      }
    },
    "/data/v1/properties/lookup": {
      "get": {
        "operationId": "lookupProperty",
        "tags": [
          "Properties"
        ],
        "summary": "Look up a property",
        "description": "Returns one property: address, places, area, building, parcel, energy label, WOZ values, images, open listings, listing history, and the open datasets Huisly holds for it: ground lease (erfpacht), foundations, flooding and heat, the planned heat transition, the building in 3D, noise, air quality, protected areas, national monuments (rijksmonumenten) and municipal housing costs.\n\nA dataset is `null` where Huisly holds nothing for the property. Show each dataset's `attribution` with its figures.\n\nSend either:\n\n- `slug`, from a listing's `propertySlug` or the address search. An unknown slug is a 400 `unknown_property`.\n- `postalCode` and `houseNumber`, plus `houseLetter` and `houseNumberAddition` if the address has them. Several matches give a 409 `ambiguous_address`, none a 400 `unknown_address`. Neither is charged.\n\nIf a property's data is unavailable, a lookup by slug returns `dataHidden: true` with only the address and location, and a lookup by address doesn't find it.\n\nCosts 2 credits.",
        "parameters": [
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "description": "The property's slug, from a listing's `propertySlug` or the address search.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "examples": [
                "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz"
              ]
            }
          },
          {
            "name": "postalCode",
            "in": "query",
            "required": false,
            "description": "The postal code, such as `1015CC` or `1015 cc`. Send it with `houseNumber`, instead of `slug`.",
            "schema": {
              "type": "string",
              "pattern": "^[1-9][0-9]{3} ?[A-Za-z]{2}$"
            }
          },
          {
            "name": "houseNumber",
            "in": "query",
            "required": false,
            "description": "The house number, such as `999`. Send it with `postalCode`.",
            "schema": {
              "type": "string",
              "pattern": "^[1-9][0-9]{0,4}$"
            }
          },
          {
            "name": "houseLetter",
            "in": "query",
            "required": false,
            "description": "The house letter, if the address has one.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z]$"
            }
          },
          {
            "name": "houseNumberAddition",
            "in": "query",
            "required": false,
            "description": "The house number addition, such as `2`, if the address has one.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]{1,4}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The property.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Property"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.\n\n- `validation_failed`: Invalid parameter or body. `message` says which.\n- `unknown_property`: No property has this `slug`.\n- `unknown_address`: No property has this address.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LookupPropertyBadRequestError"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits.\n\n- `insufficient_credits`: Fewer credits than the request costs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsError"
                }
              }
            }
          },
          "409": {
            "description": "More than one match.\n\n- `ambiguous_address`: Several properties have this address. `details.candidates` lists them: send a `houseLetter` and `houseNumberAddition`, or a `slug`.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AmbiguousAddressError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 2
      }
    },
    "/data/v1/places/insights": {
      "get": {
        "operationId": "getPlaceInsights",
        "tags": [
          "Neighbourhoods"
        ],
        "summary": "Get place figures",
        "description": "Returns the figures about the people and homes in one municipality, district or neighbourhood, with the places around it, a liveability score and registered crime.\n\nName the place with `type` (`municipality`, `district` or `neighborhood`) and the `slug` from the place search. An unknown place, or one without figures yet, is a 400 `unknown_place`.\n\n- `metrics`: each figure has its newest value (`latest`), earlier values (`history`, empty with fewer than 3 periods) and the same figure for the places around it (`comparisons`). A figure without a value is left out. Ignore a `key` you don't know.\n- `ranks` (on a figure and on `liveability`): where the place's figure stands among its peers, never better or worse. A rank is present only where at least 20 peers (for a `position`) or 50 peers (for a `percentile`) have a figure for the same period, and only for the figures that are ranked. Show it with its `period` and peer group, and only next to the figure of that period.\n- `liveability` and `crime`: `null` when none is held.\n- `attribution`: show it when you republish the figures.\n\nUpdated at most once a day. Costs 2 credits.",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PlaceInsightsPlaceType"
            }
          },
          {
            "name": "slug",
            "in": "query",
            "required": true,
            "description": "The place's slug, as the place search returns it.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "examples": [
                "langestraat-e-o-jtvr6xz675kh"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The place and its figures.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaceInsights"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.\n\n- `validation_failed`: Invalid parameter or body. `message` says which.\n- `unknown_place`: No such place, or it has no figures yet.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPlaceInsightsBadRequestError"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits.\n\n- `insufficient_credits`: Fewer credits than the request costs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 2
      }
    },
    "/data/v1/valuations/lookup": {
      "get": {
        "operationId": "lookupSaleValuation",
        "tags": [
          "Valuations"
        ],
        "summary": "Look up a sale estimate",
        "description": "Request an indicative sale-price range for an existing home, with the property's facts, the homes for sale nearby and the local market.\n\nSend either:\n\n- `slug`, from a listing's `propertySlug` or the address search.\n- `postalCode` and `houseNumber`, plus `houseLetter` and `houseNumberAddition` if the address has them. Several matches give a 409 `ambiguous_address` listing them, none a 400 `unknown_address`. Neither is charged.\n\nEvery delivered estimate costs 3 credits. An unavailable estimate, including a home outside current coverage, returns valuation_unavailable without a charge. New-build units (`projectSlug` and `unitId`) are no longer valued: such a request answers valuation_unavailable.",
        "parameters": [
          {
            "name": "slug",
            "in": "query",
            "required": false,
            "description": "The property's slug from a listing or the address search.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "examples": [
                "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz"
              ]
            }
          },
          {
            "name": "postalCode",
            "in": "query",
            "required": false,
            "description": "The postal code, such as `1015CC` or `1015 cc`. Send it with `houseNumber`, instead of `slug`.",
            "schema": {
              "type": "string",
              "pattern": "^[1-9][0-9]{3} ?[A-Za-z]{2}$"
            }
          },
          {
            "name": "houseNumber",
            "in": "query",
            "required": false,
            "description": "The house number, such as `999`. Send it with `postalCode`.",
            "schema": {
              "type": "string",
              "pattern": "^[1-9][0-9]{0,4}$"
            }
          },
          {
            "name": "houseLetter",
            "in": "query",
            "required": false,
            "description": "The house letter, if the address has one.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z]$"
            }
          },
          {
            "name": "houseNumberAddition",
            "in": "query",
            "required": false,
            "description": "The house number addition, such as `2`, if the address has one.",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]{1,4}$"
            }
          },
          {
            "name": "projectSlug",
            "in": "query",
            "required": false,
            "description": "Deprecated: new-build units are no longer valued. A request with `projectSlug` and `unitId` is still accepted and answers `valuation_unavailable`, without a charge.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          {
            "name": "unitId",
            "in": "query",
            "required": false,
            "description": "Deprecated, with `projectSlug`.",
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The sale estimate, its assumptions, the property, nearby homes for sale and the local market.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SaleValuation"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.\n\n- `validation_failed`: Invalid parameter or body. `message` says which.\n- `valuation_unavailable`: No sale estimate can be delivered for the requested home. No credits are charged.\n- `unknown_address`: No property has this address.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LookupSaleValuationBadRequestError"
                }
              }
            }
          },
          "401": {
            "description": "Not authenticated.\n\n- `invalid_api_key`: Missing, unknown or revoked API key.",
            "headers": {
              "WWW-Authenticate": {
                "description": "How to authenticate: always `ApiKey header=\"X-API-Key\"`.",
                "required": true,
                "schema": {
                  "type": "string",
                  "const": "ApiKey header=\"X-API-Key\""
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvalidApiKeyError"
                }
              }
            }
          },
          "402": {
            "description": "Not enough credits.\n\n- `insufficient_credits`: Fewer credits than the request costs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsufficientCreditsError"
                }
              }
            }
          },
          "409": {
            "description": "More than one match.\n\n- `ambiguous_address`: Several properties have this address. `details.candidates` lists them: send a `houseLetter` and `houseNumberAddition`, or a `slug`.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AmbiguousAddressError"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.\n\n- `rate_limited`: Wait for `Retry-After`, then retry. Nothing is charged.",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "required": true,
                "schema": {
                  "type": "string",
                  "pattern": "^[1-9]\\d*$"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitedError"
                }
              }
            }
          },
          "500": {
            "description": "Server error. Try again later. Nothing is charged.",
            "headers": {
              "X-Request-Id": {
                "description": "The request's ID in your organization's request log. Quote it to support.",
                "required": false,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerError"
                }
              }
            }
          }
        },
        "x-huisly-credit-cost": 3
      }
    }
  },
  "webhooks": {
    "listing.created": {
      "post": {
        "operationId": "webhookListingCreated",
        "tags": [
          "Webhooks"
        ],
        "summary": "A new listing",
        "description": "Sent when a new open listing matches the endpoint's filter. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListingCreatedEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "listing.closed": {
      "post": {
        "operationId": "webhookListingClosed",
        "tags": [
          "Webhooks"
        ],
        "summary": "A listing closed",
        "description": "Sent when a listing that matches the endpoint's filter is no longer on the market. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListingClosedEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "listing.reopened": {
      "post": {
        "operationId": "webhookListingReopened",
        "tags": [
          "Webhooks"
        ],
        "summary": "A listing reopened",
        "description": "Sent when a closed listing that matches the endpoint's filter is on the market again. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListingReopenedEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "listing.price_changed": {
      "post": {
        "operationId": "webhookListingPriceChanged",
        "tags": [
          "Webhooks"
        ],
        "summary": "A listing's price changed",
        "description": "Sent when the asking price of an open listing changes. The filter is applied to the new price. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListingPriceChangedEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "listing.state_changed": {
      "post": {
        "operationId": "webhookListingStateChanged",
        "tags": [
          "Webhooks"
        ],
        "summary": "A listing's state changed",
        "description": "Sent when a listing's state changes, such as to `under-offer` or back to `available`. A listing's first state is no event when it is `available`. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListingStateChangedEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "credits.low": {
      "post": {
        "operationId": "webhookCreditsLow",
        "tags": [
          "Webhooks"
        ],
        "summary": "Credits are running low",
        "description": "Sent once when the balance falls below 10% of the paid plan's monthly credits (without a plan, of the latest credit grant), and again only after it has been back above the low mark. Free. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditsLowEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "credits.exhausted": {
      "post": {
        "operationId": "webhookCreditsExhausted",
        "tags": [
          "Webhooks"
        ],
        "summary": "Credits are used up",
        "description": "Sent once when the balance falls below one credit, and again only after it has been back above the low mark. Listing events then wait for credits. Free. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditsExhaustedEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    },
    "webhook.ping": {
      "post": {
        "operationId": "webhookPing",
        "tags": [
          "Webhooks"
        ],
        "summary": "A test event",
        "description": "Sent when you choose to send a test from the console, to check your receiver and signature check. Free. Pricing, signatures and retries are in the introduction, under Webhooks.",
        "security": [],
        "parameters": [
          {
            "name": "webhook-id",
            "in": "header",
            "required": true,
            "description": "The event's ID, the `id` of the body. The same on every attempt: dedupe on it.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "webhook-timestamp",
            "in": "header",
            "required": true,
            "description": "When this attempt was sent, in seconds since the Unix epoch. Reject one more than 5 minutes from your clock.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$",
              "examples": [
                "1794738068"
              ]
            }
          },
          {
            "name": "webhook-signature",
            "in": "header",
            "required": true,
            "description": "Signatures separated by spaces, each `v1,` and a base64 signature. See Webhooks in the introduction.",
            "schema": {
              "type": "string",
              "examples": [
                "v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4="
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookPingEvent"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "The endpoint is gone: Huisly disables it."
          },
          "2XX": {
            "description": "Received. Any 2xx counts as delivered."
          },
          "default": {
            "description": "Anything else is a failure: the event is sent again later, for about 3 days."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api-key": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Your API key (`huis_live_…`), sent in the `X-API-Key` header. Create keys in the Huisly Data console."
      }
    },
    "schemas": {
      "AddressSearchResult": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/FoundAddress"
          },
          {
            "$ref": "#/components/schemas/FoundStreet"
          }
        ],
        "description": "A home (`type` `address`) or a street in one town (`type` `street`). More types may be added: skip a result whose `type` you don't know."
      },
      "AmbiguousAddressCandidate": {
        "type": "object",
        "properties": {
          "houseLetter": {
            "description": "The candidate's house letter, or `null` when it has none.",
            "examples": [
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseNumberAddition": {
            "description": "The candidate's house number addition, or `null` when it has none.",
            "examples": [
              "H"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "propertySlug": {
            "type": "string",
            "description": "The candidate's slug.",
            "examples": [
              "amsterdam-stolwijkstraat-49-h-k8d3m2p9x4qz"
            ]
          }
        },
        "required": [
          "houseLetter",
          "houseNumberAddition",
          "propertySlug"
        ],
        "description": "A property the address may mean."
      },
      "AmbiguousAddressError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "ambiguous_address"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              },
              "details": {
                "type": "object",
                "properties": {
                  "candidates": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AmbiguousAddressCandidate"
                    },
                    "description": "The properties the request may mean, at most 50."
                  }
                },
                "required": [
                  "candidates"
                ]
              }
            },
            "required": [
              "code",
              "message",
              "details"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of a 409 `ambiguous_address`: the error, with the candidates.",
        "examples": [
          {
            "error": {
              "code": "ambiguous_address",
              "message": "Several properties have this address. `details.candidates` lists them: send a `houseLetter` and `houseNumberAddition`, or a `slug`.",
              "details": {
                "candidates": [
                  {
                    "houseLetter": null,
                    "houseNumberAddition": "1",
                    "propertySlug": "amsterdam-stolwijkstraat-49-1-b7k2m9q4x8zp"
                  },
                  {
                    "houseLetter": null,
                    "houseNumberAddition": "2",
                    "propertySlug": "amsterdam-stolwijkstraat-49-2-c3n8p2r6y1wd"
                  },
                  {
                    "houseLetter": null,
                    "houseNumberAddition": "H",
                    "propertySlug": "amsterdam-stolwijkstraat-49-h-k8d3m2p9x4qz"
                  }
                ]
              }
            }
          }
        ]
      },
      "ApiKeyInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The API key's ID."
          },
          "name": {
            "type": "string",
            "description": "The name the key was given when it was created."
          },
          "hint": {
            "type": "string",
            "description": "The key's prefix and last four characters, to tell keys apart.",
            "examples": [
              "huis_live_…a1B2"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "hint"
        ],
        "description": "The API key the request was made with."
      },
      "BalanceResponse": {
        "type": "object",
        "properties": {
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the organization that owns the API key."
          },
          "balance": {
            "type": "string",
            "pattern": "^-?(0|[1-9][0-9]*)$",
            "description": "The organization's credits: a whole number, as a string.",
            "examples": [
              "1000"
            ]
          },
          "apiKey": {
            "$ref": "#/components/schemas/ApiKeyInfo"
          }
        },
        "required": [
          "organizationId",
          "balance",
          "apiKey"
        ],
        "examples": [
          {
            "organizationId": "4f1c2b8e-6a3d-4e2f-9b71-0c5d8a9e3f21",
            "balance": "1000",
            "apiKey": {
              "id": "7b9e1d2c-3f4a-4c5b-8d6e-1a2b3c4d5e6f",
              "name": "Production",
              "hint": "huis_live_…a1B2"
            }
          }
        ]
      },
      "CreditsExhaustedEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "credits.exhausted",
            "description": "What happened.",
            "examples": [
              "credits.exhausted"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "balance": {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]*)$",
                "description": "The organization's credits now, in whole credits, as a string. It can be below 0 when concurrent data API requests overspent it.",
                "examples": [
                  "4"
                ]
              },
              "lowMark": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^(0|[1-9][0-9]*)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The balance below which `credits.low` is sent, in whole credits, as a string: 10% of the paid plan's monthly credits, or without a plan 10% of the latest credit grant. `null` when there is nothing to take a share of.",
                "examples": [
                  "10"
                ]
              }
            },
            "required": [
              "balance",
              "lowMark"
            ],
            "description": "`balance` is the organization's credits now, in whole credits, as a string; it can be below 0 (as `GET /balance` serves it) when concurrent data API requests overspent it. `lowMark` is the balance below which `credits.low` is sent, in whole credits, as a string: 10% of the paid plan's monthly credits, or without a plan 10% of the latest credit grant. It is `null` when there is nothing to take a share of."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "The organization's credits are used up: its balance is below one credit, and listing events wait for credits. An account event: free, and sent once until the balance has been back above the low mark.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "credits.exhausted",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "balance": "0",
              "lowMark": "10"
            }
          }
        ]
      },
      "CreditsLowEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "credits.low",
            "description": "What happened.",
            "examples": [
              "credits.low"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "balance": {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]*)$",
                "description": "The organization's credits now, in whole credits, as a string. It can be below 0 when concurrent data API requests overspent it.",
                "examples": [
                  "4"
                ]
              },
              "lowMark": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^(0|[1-9][0-9]*)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The balance below which `credits.low` is sent, in whole credits, as a string: 10% of the paid plan's monthly credits, or without a plan 10% of the latest credit grant. `null` when there is nothing to take a share of.",
                "examples": [
                  "10"
                ]
              }
            },
            "required": [
              "balance",
              "lowMark"
            ],
            "description": "`balance` is the organization's credits now, in whole credits, as a string; it can be below 0 (as `GET /balance` serves it) when concurrent data API requests overspent it. `lowMark` is the balance below which `credits.low` is sent, in whole credits, as a string: 10% of the paid plan's monthly credits, or without a plan 10% of the latest credit grant. It is `null` when there is nothing to take a share of."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "The organization's credits fell below 10% of its paid plan's monthly credits (without a plan, of its latest credit grant). An account event: free, and sent once until the balance has been back above the low mark.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "credits.low",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "balance": "4",
              "lowMark": "10"
            }
          }
        ]
      },
      "CursorPagination": {
        "type": "object",
        "properties": {
          "nextCursor": {
            "description": "Send as `cursor` for the next page. `null` on the last page.",
            "examples": [
              "q8XvT2nL0aRw-Kd7ZpYc3uHe9JmFs4bG"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The most items a page has."
          }
        },
        "required": [
          "nextCursor",
          "limit"
        ],
        "description": "Where the next page starts."
      },
      "EnergyLabel": {
        "type": "string",
        "enum": [
          "a-7",
          "a-6",
          "a-5",
          "a-4",
          "a-3",
          "a-2",
          "a-1",
          "a",
          "b",
          "c",
          "d",
          "e",
          "f",
          "g"
        ],
        "description": "An energy label class, best first: `a-7` (A+++++++) down to `a-1` (A+), then `a` to `g`. More values may be added."
      },
      "EnergyLabelBuildingClass": {
        "type": "string",
        "enum": [
          "residential",
          "utility"
        ],
        "description": "A dwelling (`residential`) or a non-residential building (`utility`). More values may be added."
      },
      "EnergyLabelBuildingSubtype": {
        "type": "string",
        "enum": [
          "intermediate-middle-floor",
          "intermediate-top-floor",
          "intermediate-bottom-floor",
          "intermediate-top-and-bottom-floor",
          "corner-middle-floor",
          "corner-top-floor",
          "corner-bottom-floor",
          "corner-top-and-bottom-floor",
          "end-terrace-house",
          "semi-detached-house",
          "unknown"
        ],
        "description": "The building subtype, such as an apartment's position in its building. `unknown` is a subtype this list doesn't have yet. More values may be added."
      },
      "EnergyLabelBuildingType": {
        "type": "string",
        "enum": [
          "apartment",
          "other-apartment",
          "gallery-apartment",
          "stairwell-apartment",
          "maisonette",
          "mid-terrace-house",
          "end-terrace-house",
          "semi-detached-house",
          "semi-detached-or-end-terrace-house",
          "detached-house",
          "lodging",
          "shared-housing",
          "mobile-home",
          "houseboat-existing-berth",
          "houseboat-new-berth",
          "unknown"
        ],
        "description": "The building type, in EP-Online's terms. `unknown` is a type this list doesn't have yet. More values may be added."
      },
      "EnergyLabelCalculationType": {
        "type": "string",
        "enum": [
          "nta-8800",
          "simplified",
          "pre-nta-8800",
          "unknown"
        ],
        "description": "The method a registered energy label was calculated with: `nta-8800` (since 2021), `simplified` (2015 to 2020), `pre-nta-8800` or `unknown`. More values may be added."
      },
      "FoundAddress": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "address",
            "description": "One home: an address in the BAG."
          },
          "street": {
            "type": "string",
            "description": "The street's name (openbare ruimte in the BAG).",
            "examples": [
              "Don Boscostraat"
            ]
          },
          "houseNumber": {
            "type": "string",
            "description": "The house number (huisnummer in the BAG).",
            "examples": [
              "429"
            ]
          },
          "houseLetter": {
            "description": "The house letter, or `null`.",
            "examples": [
              null
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseNumberAddition": {
            "description": "The house number addition, or `null`.",
            "examples": [
              "H"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "postalCode": {
            "description": "Four digits and two capital letters, without a space, or `null`.",
            "examples": [
              "1066AB"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "locality": {
            "type": "string",
            "description": "The town the address or street lies in (woonplaats in the BAG).",
            "examples": [
              "Amsterdam"
            ]
          },
          "municipality": {
            "description": "The municipality the address or street lies in, or `null` when unknown.",
            "examples": [
              "Amsterdam"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "bagNummeraanduidingId": {
            "description": "BAG identification of the address (nummeraanduiding), 16 digits in a string, or `null`.",
            "examples": [
              "0363200000999999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "propertySlug": {
            "type": "string",
            "description": "The property's slug, for the property lookup.",
            "examples": [
              "amsterdam-don-boscostraat-429-k8d3m2p9x4qz"
            ]
          }
        },
        "required": [
          "type",
          "street",
          "houseNumber",
          "houseLetter",
          "houseNumberAddition",
          "postalCode",
          "locality",
          "municipality",
          "bagNummeraanduidingId",
          "propertySlug"
        ],
        "description": "A home that matches the query."
      },
      "FoundPlace": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PlaceType"
          },
          "slug": {
            "type": "string",
            "description": "The place's slug.",
            "examples": [
              "amsterdam-gsxxzjaz98rj"
            ]
          },
          "displayName": {
            "type": "string",
            "description": "The place's name, or a known other name.",
            "examples": [
              "Amsterdam"
            ]
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FoundPlaceParent"
              },
              {
                "type": "null"
              }
            ],
            "description": "The place it lies in; `null` for a municipality, town or postal code."
          }
        },
        "required": [
          "type",
          "slug",
          "displayName",
          "parent"
        ],
        "description": "A place that matches the query."
      },
      "FoundPlaceParent": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PlaceType"
          },
          "slug": {
            "type": "string",
            "description": "The parent's slug."
          },
          "displayName": {
            "type": "string",
            "description": "The parent's name.",
            "examples": [
              "Amsterdam"
            ]
          }
        },
        "required": [
          "type",
          "slug",
          "displayName"
        ],
        "description": "The place it lies in, to tell places with the same name apart."
      },
      "FoundStreet": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "street",
            "description": "A street in one town."
          },
          "street": {
            "type": "string",
            "description": "The street's name (openbare ruimte in the BAG).",
            "examples": [
              "Don Boscostraat"
            ]
          },
          "locality": {
            "type": "string",
            "description": "The town the address or street lies in (woonplaats in the BAG).",
            "examples": [
              "Amsterdam"
            ]
          },
          "municipality": {
            "description": "The municipality the address or street lies in, or `null` when unknown.",
            "examples": [
              "Amsterdam"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "addressCount": {
            "type": "integer",
            "minimum": 0,
            "description": "How many addresses the street has in this town.",
            "examples": [
              312
            ]
          }
        },
        "required": [
          "type",
          "street",
          "locality",
          "municipality",
          "addressCount"
        ],
        "description": "A street in one town."
      },
      "FurnishingStatus": {
        "type": "string",
        "enum": [
          "unfurnished",
          "semi-furnished",
          "furnished"
        ],
        "description": "How furnished the property is offered. More values may be added."
      },
      "GeoJsonPoint": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "Point",
            "description": "The GeoJSON geometry type: always `Point`."
          },
          "coordinates": {
            "minItems": 2,
            "maxItems": 2,
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "The longitude and the latitude, in that order, in degrees.",
            "examples": [
              [
                4.886431,
                52.376893
              ]
            ]
          }
        },
        "required": [
          "type",
          "coordinates"
        ],
        "description": "A point on the map: a GeoJSON Point in WGS 84."
      },
      "GetPlaceInsightsBadRequestError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "validation_failed",
                  "unknown_place"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "validation_failed",
              "message": "✖ Invalid input: expected string, received undefined\n  → at slug"
            }
          },
          {
            "error": {
              "code": "unknown_place",
              "message": "The place does not exist or has no figures yet"
            }
          }
        ]
      },
      "GroundLeaseRegister": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "description": "The register's id: `amsterdam`, `den_haag` or `utrecht`. More values may be added.",
            "examples": [
              "amsterdam"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/GroundLeaseStatus"
          },
          "issuers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "municipality",
                    "other"
                  ],
                  "description": "Who issued the ground lease: `municipality` (the municipality whose register it is) or `other` (a housing corporation, a company or a private owner, whom no register names). More values may be added."
                },
                "name": {
                  "description": "The issuing municipality's name; `null` for `other`.",
                  "examples": [
                    "Amsterdam"
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "type",
                "name"
              ]
            },
            "description": "Who issued the ground lease when `status` is `erfpacht`; empty otherwise."
          },
          "registerLabel": {
            "description": "The register's own words (Dutch) for the entry it found, or `null`.",
            "examples": [
              "Gemeentelijk eigendom belast met erfpacht"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "scope": {
            "type": "string",
            "enum": [
              "all_registered_ground_leases",
              "municipal_ground_leases"
            ],
            "description": "What the register lists. `all_registered_ground_leases`: every ground lease in the Kadaster register for the municipality, whoever issued it. `municipal_ground_leases`: only ground the municipality owns and leases out, so its `none_in_register` says nothing about leases between private parties. More values may be added."
          },
          "dataset": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string",
                "description": "The dataset's name as its publisher gives it."
              },
              "url": {
                "type": "string",
                "description": "Where the dataset is described."
              }
            },
            "required": [
              "title",
              "url"
            ]
          },
          "sourceDate": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "description": "The date of the register's data, as `YYYY-MM-DD`, or `null` when the version carries none.",
            "examples": [
              "2026-11-12"
            ]
          },
          "stale": {
            "type": "boolean",
            "description": "Whether the register's data is older than Huisly's maximum age for it (45 days today) or undated. A stale register never answers `none_in_register`, only `unknown`; a ground lease it lists is still given."
          },
          "indicative": {
            "type": "boolean",
            "description": "Whether the publisher says the data is indicative only (Den Haag); show `caveat` with it."
          },
          "caveat": {
            "description": "The publisher's caveat for an indicative register, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "citation": {
                "type": "string",
                "description": "The credit to show with the data, as the publisher asks for it."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              }
            },
            "required": [
              "publisher",
              "citation",
              "license",
              "licenseUrl"
            ]
          }
        },
        "required": [
          "source",
          "status",
          "issuers",
          "registerLabel",
          "scope",
          "dataset",
          "sourceDate",
          "stale",
          "indicative",
          "caveat",
          "attribution"
        ],
        "description": "What one municipal ground-lease register says about the property's ground."
      },
      "GroundLeaseStatus": {
        "type": "string",
        "enum": [
          "erfpacht",
          "none_in_register",
          "unknown"
        ],
        "description": "What a register says. `erfpacht`: it lists a ground lease on the property's ground. `none_in_register`: it covers the municipality and lists none, valid only as wide as its `scope`. `unknown`: it cannot tell. More values may be added."
      },
      "InsufficientCreditsError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "insufficient_credits"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "insufficient_credits",
              "message": "The organization does not have enough credits for this request"
            }
          }
        ]
      },
      "InvalidApiKeyError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "invalid_api_key"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "invalid_api_key",
              "message": "The request has no valid API key; send one in the `X-API-Key` header"
            }
          }
        ]
      },
      "Listing": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The listing's ID."
          },
          "listingType": {
            "$ref": "#/components/schemas/ListingType"
          },
          "propertyType": {
            "$ref": "#/components/schemas/PropertyType"
          },
          "priceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price asked in euro cents as a string (monthly rent for a rental), or `null`. Its meaning never changes: where the advertisement states a price on another basis, `statedPriceCents` and `priceBasis` say so beside it.",
            "examples": [
              "42500000"
            ]
          },
          "statedPriceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price as the advertisement states it, in euro cents as a string, or `null` when it states it as `priceCents` does. Set only when the advertisement states it on a basis other than `priceCents` (for example 5700000 with `priceBasis` `per-year`, where `priceCents` is the monthly 475000). Always set together with `priceBasis`.",
            "examples": [
              "5700000"
            ]
          },
          "priceBasis": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingPriceBasis"
              },
              {
                "type": "null"
              }
            ],
            "description": "How `statedPriceCents` is stated, or `null` when it is `null`: `priceCents` then is the monthly rent or the sale price, as the advertisement states it."
          },
          "livingAreaM2": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "The living area the advertisement states, in whole square metres, or `null`.",
            "examples": [
              92
            ]
          },
          "bedrooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The number of bedrooms, or `null` when unknown.",
            "examples": [
              2
            ]
          },
          "rooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The number of rooms, or `null` when unknown.",
            "examples": [
              3
            ]
          },
          "constructionYear": {
            "description": "The year the advertisement says it was built, or `null`.",
            "examples": [
              1932
            ],
            "type": [
              "integer",
              "null"
            ]
          },
          "registeredConstructionYear": {
            "description": "The year built according to the BAG, or `null`. The advertisement's `constructionYear` can differ.",
            "examples": [
              1931
            ],
            "type": [
              "integer",
              "null"
            ]
          },
          "energyLabel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnergyLabel"
              },
              {
                "type": "null"
              }
            ],
            "description": "The energy label the advertisement states, or `null`."
          },
          "furnishingStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FurnishingStatus"
              },
              {
                "type": "null"
              }
            ],
            "description": "How furnished the property is offered, or `null` when unknown."
          },
          "hasApplicationFee": {
            "type": "boolean",
            "description": "Whether applying for the listing costs a fee."
          },
          "state": {
            "$ref": "#/components/schemas/ListingState"
          },
          "stateSince": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "description": "When Huisly first saw the listing in its current `state`, or `null`.",
            "examples": [
              "2026-11-14T09:30:00.000Z"
            ]
          },
          "statusLabel": {
            "description": "The advertiser's status label (\"Onder bod\"), or `null`.",
            "examples": [
              "Onder bod"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "listedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the property was listed.",
            "examples": [
              "2026-11-08T16:04:46.864Z"
            ]
          },
          "location": {
            "$ref": "#/components/schemas/ListingLocation"
          },
          "houseNumber": {
            "description": "The house number, or `null`.",
            "examples": [
              "999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseLetter": {
            "description": "The house letter, or `null`.",
            "examples": [
              "A"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseNumberAddition": {
            "description": "The house number addition, or `null`.",
            "examples": [
              "2"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "propertySlug": {
            "description": "The slug of the listing's property, or `null`. The property lookup takes it.",
            "examples": [
              "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingImage"
            },
            "description": "All images, in order. Only their addresses are sent."
          },
          "description": {
            "description": "The advertisement's description, in its own language (usually Dutch), or `null`.",
            "examples": [
              "Ruim appartement op de tweede verdieping, met uitzicht op de gracht."
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "geometry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GeoJsonPoint"
              },
              {
                "type": "null"
              }
            ],
            "description": "The BAG's point for the listing's property, as a GeoJSON Point (WGS 84), or `null`."
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingSource"
            },
            "description": "The open advertisements, at most one per provider."
          },
          "registeredEnergyLabel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RegisteredEnergyLabel"
              },
              {
                "type": "null"
              }
            ],
            "description": "The property's registered energy label, or `null`."
          },
          "agencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingAgency"
            },
            "description": "Estate agencies with a public Huisly page, claimed ones first, at most 10."
          }
        },
        "required": [
          "id",
          "listingType",
          "propertyType",
          "priceCents",
          "statedPriceCents",
          "priceBasis",
          "livingAreaM2",
          "bedrooms",
          "rooms",
          "constructionYear",
          "registeredConstructionYear",
          "energyLabel",
          "furnishingStatus",
          "hasApplicationFee",
          "state",
          "stateSince",
          "statusLabel",
          "listedAt",
          "location",
          "houseNumber",
          "houseLetter",
          "houseNumberAddition",
          "propertySlug",
          "images",
          "description",
          "geometry",
          "sources",
          "registeredEnergyLabel",
          "agencies"
        ],
        "description": "An open listing: a property for sale or for rent."
      },
      "ListingAgency": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "The agency's slug: its page is `/agency/{slug}`.",
            "examples": [
              "makelaar-de-vries"
            ]
          },
          "name": {
            "type": "string",
            "description": "The agency's name.",
            "examples": [
              "Makelaar De Vries"
            ]
          },
          "claimed": {
            "type": "boolean",
            "description": "Whether the agency has claimed its page."
          }
        },
        "required": [
          "slug",
          "name",
          "claimed"
        ],
        "description": "An estate agency with a public Huisly page. No contact details or logo."
      },
      "ListingClosedEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "listing.closed",
            "description": "What happened.",
            "examples": [
              "listing.closed"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "listing": {
                "$ref": "#/components/schemas/Listing"
              },
              "closedAt": {
                "type": "string",
                "format": "date-time",
                "description": "When the listing closed: an RFC 3339 timestamp in UTC.",
                "examples": [
                  "2026-11-15T10:21:08.000Z"
                ]
              }
            },
            "required": [
              "listing",
              "closedAt"
            ],
            "description": "`listing` is the listing as the listing search serves it, as it is when the delivery is queued. Its `sources` list only open advertisements, so it is usually empty."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "A listing is no longer on the market.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "listing.closed",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "listing": {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "available",
                "stateSince": "2026-11-08T16:04:46.864Z",
                "statusLabel": "Beschikbaar",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              },
              "closedAt": "2026-11-15T10:21:08.000Z"
            }
          }
        ]
      },
      "ListingCreatedEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "listing.created",
            "description": "What happened.",
            "examples": [
              "listing.created"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "listing": {
                "$ref": "#/components/schemas/Listing"
              }
            },
            "required": [
              "listing"
            ],
            "description": "`listing` is the listing as the listing search serves it, as it is when the delivery is queued."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "A new listing is on the market.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "listing.created",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "listing": {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "available",
                "stateSince": "2026-11-08T16:04:46.864Z",
                "statusLabel": "Beschikbaar",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z"
                  }
                ],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              }
            }
          }
        ]
      },
      "ListingEpisode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The listing's ID."
          },
          "listingType": {
            "$ref": "#/components/schemas/ListingType"
          },
          "listedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the property was first listed in this episode.",
            "examples": [
              "2026-09-02T10:30:00.000Z"
            ]
          },
          "closedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the listing closed, or `null` while open.",
            "examples": [
              "2026-10-14T00:00:00.000Z"
            ]
          },
          "priceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The last price asked, in euro cents as a string, or `null`.",
            "examples": [
              "42500000"
            ]
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingEpisodeSource"
            },
            "description": "Every advertisement behind the listing, oldest first. Empty when Huisly holds none."
          }
        },
        "required": [
          "id",
          "listingType",
          "listedAt",
          "closedAt",
          "priceCents",
          "sources"
        ],
        "description": "One time a property was on the market."
      },
      "ListingEpisodeSource": {
        "type": "object",
        "properties": {
          "providerName": {
            "type": "string",
            "description": "The provider, as a lowercase identifier such as `ankersmit`. Don't match on values you don't know.",
            "examples": [
              "ankersmit"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The advertisement's page on the provider's website.",
            "examples": [
              "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/"
            ]
          },
          "priceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price this advertisement asks, in euro cents as a string, or `null`.",
            "examples": [
              "42500000"
            ]
          },
          "listedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the provider listed the advertisement.",
            "examples": [
              "2026-11-06T09:12:30.000Z"
            ]
          },
          "closedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the provider took the advertisement down, or `null` while it is open.",
            "examples": [
              "2026-11-20T08:00:00.000Z"
            ]
          }
        },
        "required": [
          "providerName",
          "url",
          "priceCents",
          "listedAt",
          "closedAt"
        ],
        "description": "An advertisement behind a listing episode, closed ones included."
      },
      "ListingFilters": {
        "type": "object",
        "properties": {
          "propertyTypes": {
            "description": "Only listings of these property types. Each type at most once.",
            "uniqueItems": true,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyType"
            }
          },
          "minPriceCents": {
            "description": "Only listings priced at least this, in euro cents.",
            "examples": [
              "30000000"
            ],
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,17})$"
          },
          "maxPriceCents": {
            "description": "Only listings priced at most this, in euro cents.",
            "examples": [
              "60000000"
            ],
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,17})$"
          },
          "minLivingAreaM2": {
            "description": "Only listings with at least this living area, in square metres.",
            "examples": [
              50
            ],
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "maxLivingAreaM2": {
            "description": "Only listings with at most this living area, in square metres.",
            "examples": [
              120
            ],
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "minBedrooms": {
            "description": "Only listings with at least this many bedrooms.",
            "examples": [
              2
            ],
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "minRooms": {
            "description": "Only listings with at least this many rooms.",
            "examples": [
              3
            ],
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "minConstructionYear": {
            "description": "Only listings built in this year or later.",
            "examples": [
              1990
            ],
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647
          },
          "minEnergyLabel": {
            "description": "Only listings with this energy label or a better one.",
            "examples": [
              "c"
            ],
            "$ref": "#/components/schemas/EnergyLabel"
          },
          "furnishingStatuses": {
            "description": "Only listings offered with one of these furnishing statuses. Each status at most once.",
            "uniqueItems": true,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FurnishingStatus"
            }
          },
          "hasApplicationFee": {
            "description": "Only listings that charge an application fee (`true`) or that don't (`false`). Leave it out to match both.",
            "type": "boolean"
          },
          "excludeUnderOffer": {
            "description": "`true` leaves out listings with a deal in progress (see `state`).",
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "description": "Conditions a listing must all meet. All are optional. A listing with an unknown value never matches a bound or list on that field.",
        "examples": [
          {
            "propertyTypes": [
              "apartment"
            ],
            "minPriceCents": "30000000",
            "minBedrooms": 2,
            "minEnergyLabel": "c"
          }
        ]
      },
      "ListingImage": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Where to download the image."
          }
        },
        "required": [
          "url"
        ],
        "description": "An image of a listing or a property."
      },
      "ListingLocation": {
        "type": "object",
        "properties": {
          "municipality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The municipality, or `null` when unknown."
          },
          "locality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The town or city, or `null` when unknown."
          },
          "district": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The CBS district, or `null` when unknown."
          },
          "neighborhood": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The CBS neighbourhood, or `null` when unknown."
          },
          "postalCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The postal code, whose `displayName` is the code itself, such as 1015 DK, or `null` when unknown."
          },
          "publicSpace": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The street or other public space, or `null` when unknown."
          }
        },
        "required": [
          "municipality",
          "locality",
          "district",
          "neighborhood",
          "postalCode",
          "publicSpace"
        ],
        "description": "The places a listing or property lies in."
      },
      "ListingPriceBasis": {
        "type": "string",
        "enum": [
          "per-month",
          "per-year",
          "per-m2-year",
          "per-m2-month",
          "per-room",
          "fixed",
          "per-m2"
        ],
        "description": "How an advertisement states its price: `per-month`, `per-year`, `per-m2-year` (per square metre per year, usual for commercial rent), `per-m2-month`, `per-room` (per month unless the advertisement states another period), `fixed` (one amount, no period) or `per-m2` (no period: land sold per square metre). More values may be added."
      },
      "ListingPriceChangedEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "listing.price_changed",
            "description": "What happened.",
            "examples": [
              "listing.price_changed"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "listing": {
                "$ref": "#/components/schemas/Listing"
              },
              "previousPriceCents": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[1-9][0-9]*$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The price before the change, in euro cents, as a whole number in a string, as a listing's `priceCents`. `null` when the listing stated no price.",
                "examples": [
                  "43500000"
                ]
              },
              "priceCents": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[1-9][0-9]*$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The price after the change, in euro cents, as a whole number in a string, as a listing's `priceCents`. `null` when the listing states no price now.",
                "examples": [
                  "42500000"
                ]
              }
            },
            "required": [
              "listing",
              "previousPriceCents",
              "priceCents"
            ],
            "description": "`listing` is the listing as the listing search serves it, as it is when the delivery is queued."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "The asking price of an open listing changed.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "listing.price_changed",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "listing": {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "available",
                "stateSince": "2026-11-08T16:04:46.864Z",
                "statusLabel": "Beschikbaar",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z"
                  }
                ],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              },
              "previousPriceCents": "43500000",
              "priceCents": "42500000"
            }
          }
        ]
      },
      "ListingReopenedEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "listing.reopened",
            "description": "What happened.",
            "examples": [
              "listing.reopened"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "listing": {
                "$ref": "#/components/schemas/Listing"
              }
            },
            "required": [
              "listing"
            ],
            "description": "`listing` is the listing as the listing search serves it, as it is when the delivery is queued."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "A closed listing is on the market again.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "listing.reopened",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "listing": {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "available",
                "stateSince": "2026-11-08T16:04:46.864Z",
                "statusLabel": "Beschikbaar",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z"
                  }
                ],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              }
            }
          }
        ]
      },
      "ListingSource": {
        "type": "object",
        "properties": {
          "providerName": {
            "type": "string",
            "description": "The provider, as a lowercase identifier such as `ankersmit`. Don't match on values you don't know.",
            "examples": [
              "ankersmit"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The advertisement's page on the provider's website.",
            "examples": [
              "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/"
            ]
          },
          "priceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price this advertisement asks, in euro cents as a string, or `null`.",
            "examples": [
              "42500000"
            ]
          },
          "listedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the provider listed the advertisement.",
            "examples": [
              "2026-11-06T09:12:30.000Z"
            ]
          }
        },
        "required": [
          "providerName",
          "url",
          "priceCents",
          "listedAt"
        ],
        "description": "An advertisement behind a listing."
      },
      "ListingState": {
        "type": "string",
        "enum": [
          "available",
          "under-offer",
          "under-option",
          "sold-subject-to-conditions",
          "rented-subject-to-conditions",
          "reserved",
          "sold",
          "rented",
          "unknown"
        ],
        "description": "The state of a listing, from the advertiser's status label: `available`; a deal in progress (`under-offer`, `under-option`, `sold-subject-to-conditions`, `rented-subject-to-conditions`, `reserved`), which can fall through and return to `available`; `sold` or `rented`; or `unknown` when there is no label or Huisly doesn't map it. More values may be added."
      },
      "ListingStateChangedEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "listing.state_changed",
            "description": "What happened.",
            "examples": [
              "listing.state_changed"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "listing": {
                "$ref": "#/components/schemas/Listing"
              },
              "previousState": {
                "$ref": "#/components/schemas/ListingState"
              },
              "state": {
                "$ref": "#/components/schemas/ListingState"
              },
              "stateSince": {
                "type": "string",
                "format": "date-time",
                "description": "When Huisly first saw the listing in `state`: an RFC 3339 timestamp in UTC.",
                "examples": [
                  "2026-11-15T10:20:31.000Z"
                ]
              }
            },
            "required": [
              "listing",
              "previousState",
              "state",
              "stateSince"
            ],
            "description": "`listing` is the listing as the listing search serves it, as it is when the delivery is queued."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "The state of a listing changed, for example to under offer.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "listing.state_changed",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "listing": {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "under-offer",
                "stateSince": "2026-11-15T10:20:31.000Z",
                "statusLabel": "Onder bod",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z"
                  }
                ],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              },
              "previousState": "available",
              "state": "under-offer",
              "stateSince": "2026-11-15T10:20:31.000Z"
            }
          }
        ]
      },
      "ListingType": {
        "type": "string",
        "enum": [
          "for-sale",
          "for-rent"
        ],
        "description": "For sale or for rent. More values may be added."
      },
      "LookupPropertyBadRequestError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "validation_failed",
                  "unknown_property",
                  "unknown_address"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "validation_failed",
              "message": "✖ Send `slug`, or `postalCode` and `houseNumber`\n  → at slug"
            }
          },
          {
            "error": {
              "code": "unknown_property",
              "message": "The property does not exist"
            }
          },
          {
            "error": {
              "code": "unknown_address",
              "message": "No property has this address"
            }
          }
        ]
      },
      "LookupSaleValuationBadRequestError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "validation_failed",
                  "valuation_unavailable",
                  "unknown_address"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "validation_failed",
              "message": "✖ Send `slug`, or `postalCode` and `houseNumber`\n  → at slug"
            }
          },
          {
            "error": {
              "code": "valuation_unavailable",
              "message": "No sale estimate is available"
            }
          },
          {
            "error": {
              "code": "unknown_address",
              "message": "No property has this address"
            }
          }
        ]
      },
      "MunicipalHousingCosts": {
        "type": "object",
        "properties": {
          "municipality": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "The CBS code of the municipality.",
                "examples": [
                  "GM0363"
                ]
              },
              "name": {
                "description": "The municipality's name, or `null`.",
                "examples": [
                  "Amsterdam"
                ],
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "code",
              "name"
            ]
          },
          "period": {
            "type": "string",
            "description": "The year the figures are for.",
            "examples": [
              "2024"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "final",
              "provisional"
            ],
            "description": "Whether CBS calls the year's figures final or provisional. More values may be added."
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "tenure": {
                  "type": "string",
                  "enum": [
                    "all",
                    "owner",
                    "renter"
                  ],
                  "description": "The households: all, owner-occupiers or renters. More values may be added."
                },
                "householdsThousands": {
                  "description": "Households, in thousands, or `null`.",
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "meanMonthlyTotalEuros": {
                  "description": "The mean monthly housing costs, in euros, or `null` where CBS suppresses it.",
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "meanMonthlyNetEuros": {
                  "description": "The mean monthly net rent or mortgage costs, in euros, or `null`.",
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "meanMonthlyAncillaryEuros": {
                  "description": "The mean monthly ancillary costs (energy, water, levies), in euros, or `null`.",
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "meanHousingSharePercent": {
                  "description": "The mean share of income spent on housing, in percent, or `null`.",
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "tenure",
                "householdsThousands",
                "meanMonthlyTotalEuros",
                "meanMonthlyNetEuros",
                "meanMonthlyAncillaryEuros",
                "meanHousingSharePercent"
              ]
            },
            "description": "Up to three household groups."
          },
          "sourceModifiedAt": {
            "type": "string",
            "description": "When CBS last changed the table."
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "dataset": {
                "type": "string",
                "description": "The dataset's name."
              },
              "sourceUrl": {
                "type": "string",
                "description": "Where the dataset is published."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              },
              "transformation": {
                "type": "string",
                "description": "What Huisly did with the data."
              }
            },
            "required": [
              "publisher",
              "dataset",
              "sourceUrl",
              "license",
              "licenseUrl",
              "transformation"
            ]
          }
        },
        "required": [
          "municipality",
          "period",
          "status",
          "groups",
          "sourceModifiedAt",
          "attribution"
        ],
        "description": "What households in the property's municipality spent on housing in a past year (CBS Woonbase, table 85950NED). Municipal averages, not this home's costs or taxes."
      },
      "PlaceAlternativeNames": {
        "type": "object",
        "properties": {
          "language": {
            "type": "string",
            "description": "The language of the names, as a BCP 47 language tag.",
            "examples": [
              "nl"
            ]
          },
          "names": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The names in that language, the preferred one first.",
            "examples": [
              [
                "Mokum"
              ]
            ]
          }
        },
        "required": [
          "language",
          "names"
        ],
        "description": "Names people use for a place besides its `displayName`, in one language."
      },
      "PlaceCrime": {
        "type": "object",
        "properties": {
          "releaseDate": {
            "type": "string",
            "format": "date",
            "description": "When the publisher last updated the table. Earlier years are revised too.",
            "examples": [
              "2026-04-15"
            ]
          },
          "areaDivisionYear": {
            "type": "integer",
            "description": "The CBS area division, as of this year, that all years are given in.",
            "examples": [
              2025
            ]
          },
          "years": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceCrimeYear"
            },
            "description": "Every year with published figures, newest first. The newest can still be provisional."
          },
          "attribution": {
            "description": "Credit due: the police, published by CBS, CC BY 4.0. Show it when you republish, and say the data was selected per place.",
            "$ref": "#/components/schemas/PlaceMetricAttribution"
          }
        },
        "required": [
          "releaseDate",
          "areaDivisionYear",
          "years",
          "attribution"
        ],
        "description": "Crimes registered by the police, per category and year, published through CBS. Counts, not rates: nothing is computed. They include attempts, and small areas have small counts. Be careful comparing years across 2018 (since July 2018 a registration holds one crime). Sexual offences are not published at this level."
      },
      "PlaceCrimeCategory": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The police's category code, such as `1.1.1` (home burglary). `0.0.0` is the publisher's total, not the sum of the listed categories.",
            "examples": [
              "1.1.1"
            ]
          },
          "name": {
            "type": "string",
            "description": "Our stable English name, such as `burglary_home`. Accept names you don't know.",
            "examples": [
              "burglary_home"
            ]
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "description": "Registered crimes, attempts included. `0` is a published zero; a category the publisher withholds is absent.",
            "examples": [
              3
            ]
          }
        },
        "required": [
          "code",
          "name",
          "count"
        ],
        "description": "The number of registered crimes of one category in a place in one year."
      },
      "PlaceCrimeYear": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "description": "The calendar year the crimes were registered in.",
            "examples": [
              2025
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "final",
              "provisional",
              "further_provisional"
            ],
            "description": "`final`, `provisional` or `further_provisional`. Show a year that is not `final` as provisional. More values may be added.",
            "examples": [
              "final"
            ]
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceCrimeCategory"
            },
            "description": "The categories with a published number, by `code`. A withheld category is absent, never zero."
          }
        },
        "required": [
          "year",
          "status",
          "categories"
        ],
        "description": "The registered crime counts of a place for one year."
      },
      "PlaceInsights": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PlaceInsightsPlaceType"
          },
          "slug": {
            "type": "string",
            "description": "The place's slug, as in the request.",
            "examples": [
              "langestraat-e-o-jtvr6xz675kh"
            ]
          },
          "displayName": {
            "type": "string",
            "description": "The place's name.",
            "examples": [
              "Langestraat e.o."
            ]
          },
          "cbsCode": {
            "type": "string",
            "description": "CBS code (`GM`, `WK` or `BU` and digits). It can change when areas merge: `slug` is the stable key.",
            "examples": [
              "BU0363AC01"
            ]
          },
          "alternativeNames": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceAlternativeNames"
            },
            "description": "Other names Huisly uses for the place, by language, the preferred name first. Empty when there are none."
          },
          "archived": {
            "type": "boolean",
            "description": "Whether the place no longer exists, for example after a merger."
          },
          "municipality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The municipality the place lies in, or `null`., or `null` when unknown."
          },
          "district": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The district the place lies in, or `null`., or `null` when unknown."
          },
          "districts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceReference"
            },
            "description": "A municipality's districts, by name. Empty for a district and a neighbourhood."
          },
          "neighborhoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceReference"
            },
            "description": "A district's neighbourhoods, by name. Empty for a municipality and a neighbourhood."
          },
          "metrics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceMetric"
            },
            "description": "The figures, in no fixed order. Look one up by `key`."
          },
          "liveability": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceLiveability"
              },
              {
                "type": "null"
              }
            ],
            "description": "The Leefbaarometer score, or `null` when none is held."
          },
          "crime": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlaceCrime"
              },
              {
                "type": "null"
              }
            ],
            "description": "Registered crime, or `null` when none is held."
          },
          "attribution": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceMetricAttribution"
            },
            "description": "Credit due for `metrics` and `liveability`. `crime` has its own."
          }
        },
        "required": [
          "type",
          "slug",
          "displayName",
          "cbsCode",
          "alternativeNames",
          "archived",
          "municipality",
          "district",
          "districts",
          "neighborhoods",
          "metrics",
          "liveability",
          "crime",
          "attribution"
        ],
        "description": "A place with its figures, the places around it and the credit they require. The example's place, slugs and CBS code are real; its figures are illustrative.",
        "examples": [
          {
            "type": "neighborhood",
            "slug": "langestraat-e-o-jtvr6xz675kh",
            "displayName": "Langestraat e.o.",
            "cbsCode": "BU0363AC01",
            "alternativeNames": [],
            "archived": false,
            "municipality": {
              "slug": "amsterdam-gsxxzjaz98rj",
              "displayName": "Amsterdam"
            },
            "district": {
              "slug": "grachtengordel-west-mavt2wcj84gj",
              "displayName": "Grachtengordel-West"
            },
            "districts": [],
            "neighborhoods": [],
            "metrics": [
              {
                "key": "population.total",
                "unit": "count",
                "latest": {
                  "period": {
                    "type": "date",
                    "start": "2026-01-01",
                    "end": "2026-01-01"
                  },
                  "value": 1180
                },
                "history": [
                  {
                    "period": {
                      "type": "date",
                      "start": "2026-01-01",
                      "end": "2026-01-01"
                    },
                    "value": 1180
                  },
                  {
                    "period": {
                      "type": "date",
                      "start": "2025-01-01",
                      "end": "2025-01-01"
                    },
                    "value": 1165
                  },
                  {
                    "period": {
                      "type": "date",
                      "start": "2024-01-01",
                      "end": "2024-01-01"
                    },
                    "value": 1140
                  }
                ],
                "comparisons": [
                  {
                    "place": "district",
                    "value": 9870
                  },
                  {
                    "place": "municipality",
                    "value": 934900
                  },
                  {
                    "place": "country",
                    "value": 17942942
                  }
                ],
                "ranks": []
              },
              {
                "key": "housing.woz_value.average",
                "unit": "euro",
                "latest": {
                  "period": {
                    "type": "year",
                    "start": "2025-01-01",
                    "end": "2025-12-31"
                  },
                  "value": 648000
                },
                "history": [
                  {
                    "period": {
                      "type": "year",
                      "start": "2025-01-01",
                      "end": "2025-12-31"
                    },
                    "value": 648000
                  },
                  {
                    "period": {
                      "type": "year",
                      "start": "2024-01-01",
                      "end": "2024-12-31"
                    },
                    "value": 612000
                  },
                  {
                    "period": {
                      "type": "year",
                      "start": "2023-01-01",
                      "end": "2023-12-31"
                    },
                    "value": 585000
                  }
                ],
                "comparisons": [
                  {
                    "place": "municipality",
                    "value": 470000
                  },
                  {
                    "place": "country",
                    "value": 411000
                  }
                ],
                "ranks": [
                  {
                    "peerGroup": "neighborhoods_in_municipality",
                    "period": {
                      "type": "year",
                      "start": "2025-01-01",
                      "end": "2025-12-31"
                    },
                    "position": 12,
                    "of": 93,
                    "percentile": 88,
                    "tied": 0,
                    "direction": "higher_is_more",
                    "calculatedAt": "2026-11-22T06:30:00.000Z",
                    "basis": "published_value"
                  },
                  {
                    "peerGroup": "neighborhoods_in_country",
                    "period": {
                      "type": "year",
                      "start": "2025-01-01",
                      "end": "2025-12-31"
                    },
                    "position": null,
                    "of": 12891,
                    "percentile": 91,
                    "tied": 0,
                    "direction": "higher_is_more",
                    "calculatedAt": "2026-11-22T06:30:00.000Z",
                    "basis": "published_value"
                  }
                ]
              },
              {
                "key": "housing.ownership.owner_occupied_share",
                "unit": "percentage",
                "latest": {
                  "period": {
                    "type": "date",
                    "start": "2026-01-01",
                    "end": "2026-01-01"
                  },
                  "value": 38
                },
                "history": [],
                "comparisons": [
                  {
                    "place": "country",
                    "value": 57
                  }
                ],
                "ranks": []
              },
              {
                "key": "energy_label.homes.labelled_share",
                "unit": "percentage",
                "latest": {
                  "period": {
                    "type": "date",
                    "start": "2026-11-12",
                    "end": "2026-11-12"
                  },
                  "value": 82.4
                },
                "history": [],
                "comparisons": [
                  {
                    "place": "municipality",
                    "value": 79.1
                  }
                ],
                "ranks": []
              }
            ],
            "liveability": {
              "measurementYear": 2024,
              "score": 4.13,
              "history": [
                {
                  "measurementYear": 2024,
                  "score": 4.13
                },
                {
                  "measurementYear": 2022,
                  "score": 4.09
                },
                {
                  "measurementYear": 2020,
                  "score": 4.02
                }
              ],
              "ranks": [
                {
                  "peerGroup": "neighborhoods_in_country",
                  "period": {
                    "type": "year",
                    "start": "2024-01-01",
                    "end": "2024-12-31"
                  },
                  "position": null,
                  "of": 13663,
                  "percentile": 72,
                  "tied": 0,
                  "direction": "higher_is_more",
                  "calculatedAt": "2026-11-22T06:30:00.000Z",
                  "basis": "published_value"
                }
              ]
            },
            "crime": {
              "releaseDate": "2026-04-15",
              "areaDivisionYear": 2025,
              "years": [
                {
                  "year": 2025,
                  "status": "final",
                  "categories": [
                    {
                      "code": "0.0.0",
                      "name": "total",
                      "count": 38
                    },
                    {
                      "code": "1.1.1",
                      "name": "burglary_home",
                      "count": 3
                    },
                    {
                      "code": "1.2.3",
                      "name": "theft_of_bike_moped",
                      "count": 0
                    }
                  ]
                },
                {
                  "year": 2024,
                  "status": "final",
                  "categories": [
                    {
                      "code": "0.0.0",
                      "name": "total",
                      "count": 41
                    },
                    {
                      "code": "1.1.1",
                      "name": "burglary_home",
                      "count": 5
                    }
                  ]
                }
              ],
              "attribution": {
                "provider": "police_crime",
                "publisher": "Politie (published by Statistics Netherlands, CBS)",
                "license": "CC BY 4.0",
                "licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
              }
            },
            "attribution": [
              {
                "provider": "cbs-statistics",
                "publisher": "Centraal Bureau voor de Statistiek (CBS)",
                "license": "CC-BY-4.0",
                "licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
              },
              {
                "provider": "ep-online",
                "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                "license": "EP-Online terms of use",
                "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
              },
              {
                "provider": "leefbaarometer",
                "publisher": "Ministerie van Binnenlandse Zaken en Koninkrijksrelaties",
                "license": "CC0 1.0",
                "licenseUrl": "http://creativecommons.nl/publiek-domein/"
              }
            ]
          }
        ]
      },
      "PlaceInsightsPlaceType": {
        "type": "string",
        "enum": [
          "municipality",
          "district",
          "neighborhood"
        ],
        "description": "The kinds of place with figures: `municipality`, `district` (wijk) or `neighborhood` (buurt). More values may be added."
      },
      "PlaceLiveability": {
        "type": "object",
        "properties": {
          "measurementYear": {
            "type": "integer",
            "description": "The newest measurement year.",
            "examples": [
              2024
            ]
          },
          "score": {
            "type": "number",
            "description": "The total score for `measurementYear`.",
            "examples": [
              4.13
            ]
          },
          "history": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceLiveabilityScore"
            },
            "description": "The total score for every year held, newest first."
          },
          "ranks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceMetricRank"
            },
            "description": "Where the total score of `measurementYear` stands among the places the Leefbaarometer scored, one entry per peer group with enough peers. Empty when there are none."
          }
        },
        "required": [
          "measurementYear",
          "score",
          "history",
          "ranks"
        ],
        "description": "The Leefbaarometer score, a modelled liveability estimate by the Ministry of the Interior and Kingdom Relations (public domain, CC0). Total score only."
      },
      "PlaceLiveabilityScore": {
        "type": "object",
        "properties": {
          "measurementYear": {
            "type": "integer",
            "description": "The measurement year.",
            "examples": [
              2024
            ]
          },
          "score": {
            "type": "number",
            "description": "Total score for that year, up to two decimals. Higher is more liveable. Compare only with other Leefbaarometer scores.",
            "examples": [
              4.13
            ]
          }
        },
        "required": [
          "measurementYear",
          "score"
        ],
        "description": "The Leefbaarometer's total liveability score of a place for one measurement year."
      },
      "PlaceMetric": {
        "type": "object",
        "properties": {
          "key": {
            "$ref": "#/components/schemas/PlaceMetricKey"
          },
          "unit": {
            "$ref": "#/components/schemas/PlaceMetricUnit"
          },
          "latest": {
            "$ref": "#/components/schemas/PlaceMetricValue"
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceMetricValue"
            },
            "description": "Every available value, newest first. Empty with fewer than 3 periods."
          },
          "comparisons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceMetricComparison"
            },
            "description": "The same figure for the district, municipality and the Netherlands, for the period of `latest`, where one exists."
          },
          "ranks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceMetricRank"
            },
            "description": "Where the place's figure for the period of `latest` stands among its peers, one entry per peer group with enough peers. Empty for a figure that is not ranked, and for a place without enough peers."
          }
        },
        "required": [
          "key",
          "unit",
          "latest",
          "history",
          "comparisons",
          "ranks"
        ],
        "description": "One figure: its newest value, earlier values and comparisons."
      },
      "PlaceMetricAttribution": {
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/PlaceMetricProvider"
          },
          "publisher": {
            "type": "string",
            "description": "The publisher to credit.",
            "examples": [
              "Centraal Bureau voor de Statistiek (CBS)"
            ]
          },
          "license": {
            "type": "string",
            "description": "The license the data is published under.",
            "examples": [
              "CC-BY-4.0"
            ]
          },
          "licenseUrl": {
            "type": "string",
            "description": "The license's text.",
            "examples": [
              "https://creativecommons.org/licenses/by/4.0/"
            ]
          }
        },
        "required": [
          "provider",
          "publisher",
          "license",
          "licenseUrl"
        ],
        "description": "The credit a provider's licence requires."
      },
      "PlaceMetricComparison": {
        "type": "object",
        "properties": {
          "place": {
            "$ref": "#/components/schemas/PlaceMetricComparisonPlace"
          },
          "value": {
            "type": "number",
            "description": "That place's figure for the period of `latest`.",
            "examples": [
              17942942
            ]
          }
        },
        "required": [
          "place",
          "value"
        ],
        "description": "Another place's figure for the period of `latest`."
      },
      "PlaceMetricComparisonPlace": {
        "type": "string",
        "enum": [
          "district",
          "municipality",
          "country"
        ],
        "description": "The place a figure is compared with: the `district` or `municipality` the place lies in, or the `country` (the Netherlands). More values may be added."
      },
      "PlaceMetricKey": {
        "type": "string",
        "enum": [
          "population.total",
          "population.sex.male",
          "population.sex.female",
          "population.age.0_14",
          "population.age.15_24",
          "population.age.25_44",
          "population.age.45_64",
          "population.age.65_79",
          "population.age.80_plus",
          "population.marital_status.never_married",
          "population.marital_status.married",
          "population.marital_status.divorced",
          "population.marital_status.widowed",
          "population.origin.netherlands",
          "population.origin.europe_excluding_netherlands",
          "population.origin.outside_europe",
          "population.origin.born_in_netherlands_dutch_origin",
          "population.origin.born_in_netherlands_european_origin",
          "population.origin.born_in_netherlands_non_european_origin",
          "population.origin.born_abroad_europe",
          "population.origin.born_abroad_outside_europe",
          "population.births",
          "population.births_per_thousand",
          "population.deaths",
          "population.deaths_per_thousand",
          "population.density",
          "population.age.65_plus",
          "population.age.15_plus",
          "population.age.15_to_state_pension_age",
          "population.age.state_pension_age_plus",
          "households.total",
          "households.single_person",
          "households.without_children",
          "households.with_children",
          "households.average_size",
          "housing.stock",
          "housing.new_builds",
          "housing.woz_value.average",
          "housing.type.single_family_share",
          "housing.type.terraced_house_share",
          "housing.type.corner_house_share",
          "housing.type.semi_detached_share",
          "housing.type.detached_share",
          "housing.type.multi_family_share",
          "housing.unoccupied_share",
          "housing.ownership.owner_occupied_share",
          "housing.ownership.rental_housing_association_share",
          "housing.ownership.rental_other_landlord_share",
          "housing.built.over_10_years_ago_share",
          "housing.built.last_10_years_share",
          "housing.ownership.rental_share",
          "housing.sale_price.average",
          "buildings.non_residential.stock",
          "buildings.non_residential.new_builds",
          "energy.electricity_consumption.average",
          "energy.electricity_feed_in.average",
          "energy.gas_consumption.average",
          "energy.homes.district_heating_share",
          "energy.homes.gas_free_share",
          "energy.homes.gas_heated_share",
          "energy.homes.solar_panels_share",
          "energy.homes.electrically_heated_share",
          "energy.public_charging_points",
          "education.pupils.primary",
          "education.pupils.secondary",
          "education.students.vocational",
          "education.students.higher_professional",
          "education.students.university",
          "education.level.low",
          "education.level.medium",
          "education.level.high",
          "education.level.low.lower_95",
          "education.level.low.upper_95",
          "education.level.medium.lower_95",
          "education.level.medium.upper_95",
          "education.level.high.lower_95",
          "education.level.high.upper_95",
          "labor.employed",
          "labor.net_participation_rate",
          "labor.employees_share",
          "labor.employees_permanent_contract_share",
          "labor.employees_flexible_contract_share",
          "labor.self_employed_share",
          "labor_participation.population.all",
          "labor_participation.population.male",
          "labor_participation.population.female",
          "labor_participation.population.age_15_24",
          "labor_participation.population.age_25_44",
          "labor_participation.population.age_45_74",
          "labor_participation.population.education_low",
          "labor_participation.population.education_medium",
          "labor_participation.population.education_high",
          "labor_participation.population.education_unknown",
          "labor_participation.labor_force.all",
          "labor_participation.labor_force.male",
          "labor_participation.labor_force.female",
          "labor_participation.labor_force.age_15_24",
          "labor_participation.labor_force.age_25_44",
          "labor_participation.labor_force.age_45_74",
          "labor_participation.labor_force.education_low",
          "labor_participation.labor_force.education_medium",
          "labor_participation.labor_force.education_high",
          "labor_participation.labor_force.education_unknown",
          "labor_participation.employed.all",
          "labor_participation.employed.male",
          "labor_participation.employed.female",
          "labor_participation.employed.age_15_24",
          "labor_participation.employed.age_25_44",
          "labor_participation.employed.age_45_74",
          "labor_participation.employed.education_low",
          "labor_participation.employed.education_medium",
          "labor_participation.employed.education_high",
          "labor_participation.employed.education_unknown",
          "labor_participation.employed_as_employee.all",
          "labor_participation.employed_as_employee.male",
          "labor_participation.employed_as_employee.female",
          "labor_participation.employed_as_employee.age_15_24",
          "labor_participation.employed_as_employee.age_25_44",
          "labor_participation.employed_as_employee.age_45_74",
          "labor_participation.employed_as_employee.education_low",
          "labor_participation.employed_as_employee.education_medium",
          "labor_participation.employed_as_employee.education_high",
          "labor_participation.employed_as_employee.education_unknown",
          "labor_participation.employed_as_self_employed.all",
          "labor_participation.employed_as_self_employed.male",
          "labor_participation.employed_as_self_employed.female",
          "labor_participation.employed_as_self_employed.age_15_24",
          "labor_participation.employed_as_self_employed.age_25_44",
          "labor_participation.employed_as_self_employed.age_45_74",
          "labor_participation.employed_as_self_employed.education_low",
          "labor_participation.employed_as_self_employed.education_medium",
          "labor_participation.employed_as_self_employed.education_high",
          "labor_participation.employed_as_self_employed.education_unknown",
          "labor_participation.employed_position_unknown.all",
          "labor_participation.employed_position_unknown.male",
          "labor_participation.employed_position_unknown.female",
          "labor_participation.employed_position_unknown.age_15_24",
          "labor_participation.employed_position_unknown.age_25_44",
          "labor_participation.employed_position_unknown.age_45_74",
          "labor_participation.employed_position_unknown.education_low",
          "labor_participation.employed_position_unknown.education_medium",
          "labor_participation.employed_position_unknown.education_high",
          "labor_participation.employed_position_unknown.education_unknown",
          "labor_participation.employed_occupation_level_1.all",
          "labor_participation.employed_occupation_level_1.male",
          "labor_participation.employed_occupation_level_1.female",
          "labor_participation.employed_occupation_level_1.age_15_24",
          "labor_participation.employed_occupation_level_1.age_25_44",
          "labor_participation.employed_occupation_level_1.age_45_74",
          "labor_participation.employed_occupation_level_1.education_low",
          "labor_participation.employed_occupation_level_1.education_medium",
          "labor_participation.employed_occupation_level_1.education_high",
          "labor_participation.employed_occupation_level_1.education_unknown",
          "labor_participation.employed_occupation_level_2.all",
          "labor_participation.employed_occupation_level_2.male",
          "labor_participation.employed_occupation_level_2.female",
          "labor_participation.employed_occupation_level_2.age_15_24",
          "labor_participation.employed_occupation_level_2.age_25_44",
          "labor_participation.employed_occupation_level_2.age_45_74",
          "labor_participation.employed_occupation_level_2.education_low",
          "labor_participation.employed_occupation_level_2.education_medium",
          "labor_participation.employed_occupation_level_2.education_high",
          "labor_participation.employed_occupation_level_2.education_unknown",
          "labor_participation.employed_occupation_level_3.all",
          "labor_participation.employed_occupation_level_3.male",
          "labor_participation.employed_occupation_level_3.female",
          "labor_participation.employed_occupation_level_3.age_15_24",
          "labor_participation.employed_occupation_level_3.age_25_44",
          "labor_participation.employed_occupation_level_3.age_45_74",
          "labor_participation.employed_occupation_level_3.education_low",
          "labor_participation.employed_occupation_level_3.education_medium",
          "labor_participation.employed_occupation_level_3.education_high",
          "labor_participation.employed_occupation_level_3.education_unknown",
          "labor_participation.employed_occupation_level_4.all",
          "labor_participation.employed_occupation_level_4.male",
          "labor_participation.employed_occupation_level_4.female",
          "labor_participation.employed_occupation_level_4.age_15_24",
          "labor_participation.employed_occupation_level_4.age_25_44",
          "labor_participation.employed_occupation_level_4.age_45_74",
          "labor_participation.employed_occupation_level_4.education_low",
          "labor_participation.employed_occupation_level_4.education_medium",
          "labor_participation.employed_occupation_level_4.education_high",
          "labor_participation.employed_occupation_level_4.education_unknown",
          "labor_participation.employed_occupation_level_unknown.all",
          "labor_participation.employed_occupation_level_unknown.male",
          "labor_participation.employed_occupation_level_unknown.female",
          "labor_participation.employed_occupation_level_unknown.age_15_24",
          "labor_participation.employed_occupation_level_unknown.age_25_44",
          "labor_participation.employed_occupation_level_unknown.age_45_74",
          "labor_participation.employed_occupation_level_unknown.education_low",
          "labor_participation.employed_occupation_level_unknown.education_medium",
          "labor_participation.employed_occupation_level_unknown.education_high",
          "labor_participation.employed_occupation_level_unknown.education_unknown",
          "labor_participation.unemployed.all",
          "labor_participation.unemployed.male",
          "labor_participation.unemployed.female",
          "labor_participation.unemployed.age_15_24",
          "labor_participation.unemployed.age_25_44",
          "labor_participation.unemployed.age_45_74",
          "labor_participation.unemployed.education_low",
          "labor_participation.unemployed.education_medium",
          "labor_participation.unemployed.education_high",
          "labor_participation.unemployed.education_unknown",
          "labor_participation.unemployment_rate.all",
          "labor_participation.unemployment_rate.male",
          "labor_participation.unemployment_rate.female",
          "labor_participation.unemployment_rate.age_15_24",
          "labor_participation.unemployment_rate.age_25_44",
          "labor_participation.unemployment_rate.age_45_74",
          "labor_participation.unemployment_rate.education_low",
          "labor_participation.unemployment_rate.education_medium",
          "labor_participation.unemployment_rate.education_high",
          "labor_participation.unemployment_rate.education_unknown",
          "labor_participation.not_in_labor_force.all",
          "labor_participation.not_in_labor_force.male",
          "labor_participation.not_in_labor_force.female",
          "labor_participation.not_in_labor_force.age_15_24",
          "labor_participation.not_in_labor_force.age_25_44",
          "labor_participation.not_in_labor_force.age_45_74",
          "labor_participation.not_in_labor_force.education_low",
          "labor_participation.not_in_labor_force.education_medium",
          "labor_participation.not_in_labor_force.education_high",
          "labor_participation.not_in_labor_force.education_unknown",
          "labor_participation.gross_participation_rate.all",
          "labor_participation.gross_participation_rate.male",
          "labor_participation.gross_participation_rate.female",
          "labor_participation.gross_participation_rate.age_15_24",
          "labor_participation.gross_participation_rate.age_25_44",
          "labor_participation.gross_participation_rate.age_45_74",
          "labor_participation.gross_participation_rate.education_low",
          "labor_participation.gross_participation_rate.education_medium",
          "labor_participation.gross_participation_rate.education_high",
          "labor_participation.gross_participation_rate.education_unknown",
          "labor_participation.net_participation_rate.all",
          "labor_participation.net_participation_rate.male",
          "labor_participation.net_participation_rate.female",
          "labor_participation.net_participation_rate.age_15_24",
          "labor_participation.net_participation_rate.age_25_44",
          "labor_participation.net_participation_rate.age_45_74",
          "labor_participation.net_participation_rate.education_low",
          "labor_participation.net_participation_rate.education_medium",
          "labor_participation.net_participation_rate.education_high",
          "labor_participation.net_participation_rate.education_unknown",
          "income.recipients",
          "income.average_per_recipient",
          "income.average_per_resident",
          "income.persons.bottom_40_percent_share",
          "income.persons.top_20_percent_share",
          "income.persons.poverty_share",
          "income.persons.near_poverty_share",
          "income.households.average_standardized_income",
          "income.households.bottom_40_percent_share",
          "income.households.top_20_percent_share",
          "income.households.median_wealth",
          "social_security.social_assistance.recipients",
          "social_security.disability_benefit.recipients",
          "social_security.unemployment_benefit.recipients",
          "social_security.state_pension.recipients",
          "social_security.unemployment_benefit.recipients_share",
          "social_security.social_assistance.recipients_share",
          "social_security.disability_benefit.recipients_share",
          "social_security.state_pension.recipients_share",
          "care.youth_care.recipients",
          "care.youth_care.recipients_share",
          "care.wmo.clients",
          "care.wmo.clients_per_thousand",
          "business.establishments.total",
          "business.establishments.agriculture",
          "business.establishments.industry_and_energy",
          "business.establishments.trade_and_hospitality",
          "business.establishments.transport_and_communication",
          "business.establishments.finance_and_real_estate",
          "business.establishments.business_services",
          "business.establishments.government_education_and_care",
          "business.establishments.culture_recreation_and_other",
          "vehicles.cars.total",
          "vehicles.cars.petrol",
          "vehicles.cars.other_fuel",
          "vehicles.cars.per_household",
          "vehicles.cars.density",
          "vehicles.motorcycles",
          "area.total",
          "area.land",
          "area.water",
          "area.address_density",
          "proximity.gp_practice.distance",
          "proximity.large_supermarket.distance",
          "proximity.daycare.distance",
          "proximity.primary_school.distance",
          "proximity.primary_school.within_3_km",
          "proximity.gp_practice.within_1_km",
          "proximity.gp_practice.within_3_km",
          "proximity.gp_practice.within_5_km",
          "proximity.gp_out_of_hours.distance",
          "proximity.pharmacy.distance",
          "proximity.hospital_or_outpatient_clinic.distance",
          "proximity.hospital_or_outpatient_clinic.within_5_km",
          "proximity.hospital_or_outpatient_clinic.within_10_km",
          "proximity.hospital_or_outpatient_clinic.within_20_km",
          "proximity.hospital.distance",
          "proximity.hospital.within_5_km",
          "proximity.hospital.within_10_km",
          "proximity.hospital.within_20_km",
          "proximity.child_health_clinic.distance",
          "proximity.physiotherapist.distance",
          "proximity.physiotherapist.within_1_km",
          "proximity.physiotherapist.within_3_km",
          "proximity.physiotherapist.within_5_km",
          "proximity.large_supermarket.within_1_km",
          "proximity.large_supermarket.within_3_km",
          "proximity.large_supermarket.within_5_km",
          "proximity.grocery_store.distance",
          "proximity.grocery_store.within_1_km",
          "proximity.grocery_store.within_3_km",
          "proximity.grocery_store.within_5_km",
          "proximity.department_store.distance",
          "proximity.department_store.within_5_km",
          "proximity.department_store.within_10_km",
          "proximity.department_store.within_20_km",
          "proximity.cafe.distance",
          "proximity.cafe.within_1_km",
          "proximity.cafe.within_3_km",
          "proximity.cafe.within_5_km",
          "proximity.snack_bar.distance",
          "proximity.snack_bar.within_1_km",
          "proximity.snack_bar.within_3_km",
          "proximity.snack_bar.within_5_km",
          "proximity.restaurant.distance",
          "proximity.restaurant.within_1_km",
          "proximity.restaurant.within_3_km",
          "proximity.restaurant.within_5_km",
          "proximity.hotel.distance",
          "proximity.hotel.within_5_km",
          "proximity.hotel.within_10_km",
          "proximity.hotel.within_20_km",
          "proximity.daycare.within_1_km",
          "proximity.daycare.within_3_km",
          "proximity.daycare.within_5_km",
          "proximity.after_school_care.distance",
          "proximity.after_school_care.within_1_km",
          "proximity.after_school_care.within_3_km",
          "proximity.after_school_care.within_5_km",
          "proximity.primary_school.within_1_km",
          "proximity.primary_school.within_5_km",
          "proximity.secondary_school.distance",
          "proximity.secondary_school.within_3_km",
          "proximity.secondary_school.within_5_km",
          "proximity.secondary_school.within_10_km",
          "proximity.vmbo_school.distance",
          "proximity.vmbo_school.within_3_km",
          "proximity.vmbo_school.within_5_km",
          "proximity.vmbo_school.within_10_km",
          "proximity.havo_vwo_school.distance",
          "proximity.havo_vwo_school.within_3_km",
          "proximity.havo_vwo_school.within_5_km",
          "proximity.havo_vwo_school.within_10_km",
          "proximity.public_green_space.distance",
          "proximity.park.distance",
          "proximity.day_recreation_area.distance",
          "proximity.forest.distance",
          "proximity.open_nature.distance",
          "proximity.open_dry_nature.distance",
          "proximity.open_wet_nature.distance",
          "proximity.semi_public_green_space.distance",
          "proximity.sports_ground.distance",
          "proximity.allotment_garden.distance",
          "proximity.holiday_park.distance",
          "proximity.cemetery.distance",
          "proximity.recreational_water.distance",
          "proximity.motorway_ramp.distance",
          "proximity.train_station.distance",
          "proximity.major_train_station.distance",
          "proximity.library.distance",
          "proximity.indoor_swimming_pool.distance",
          "proximity.ice_rink.distance",
          "proximity.museum.distance",
          "proximity.museum.within_5_km",
          "proximity.museum.within_10_km",
          "proximity.museum.within_20_km",
          "proximity.performing_arts.distance",
          "proximity.performing_arts.within_5_km",
          "proximity.performing_arts.within_10_km",
          "proximity.performing_arts.within_20_km",
          "proximity.pop_venue.distance",
          "proximity.cinema.distance",
          "proximity.cinema.within_5_km",
          "proximity.cinema.within_10_km",
          "proximity.cinema.within_20_km",
          "proximity.sauna.distance",
          "proximity.tanning_salon.distance",
          "proximity.attraction.distance",
          "proximity.attraction.within_10_km",
          "proximity.attraction.within_20_km",
          "proximity.attraction.within_50_km",
          "proximity.fire_station.distance",
          "energy_label.homes.labelled",
          "energy_label.homes.labelled_share",
          "energy_label.homes.class_a_plus_5_share",
          "energy_label.homes.class_a_plus_4_share",
          "energy_label.homes.class_a_plus_3_share",
          "energy_label.homes.class_a_plus_2_share",
          "energy_label.homes.class_a_plus_1_share",
          "energy_label.homes.class_a_share",
          "energy_label.homes.class_b_share",
          "energy_label.homes.class_c_share",
          "energy_label.homes.class_d_share",
          "energy_label.homes.class_e_share",
          "energy_label.homes.class_f_share",
          "energy_label.homes.class_g_share",
          "energy_label.homes.class_a_or_better_share",
          "energy_label.homes.class_e_to_g_share"
        ],
        "description": "A dotted name such as `population.total`; you supply the label. The `energy_label.homes.*` keys count homes with a valid registered label (from EP-Online): `labelled`, `labelled_share` of all homes and `class_*_share` of the labelled homes. A place with fewer than 10 homes has none, and a class share of fewer than 10 labelled homes is left out. More values may be added."
      },
      "PlaceMetricPeriod": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PlaceMetricPeriodType"
          },
          "start": {
            "type": "string",
            "format": "date",
            "description": "First day of the period, `YYYY-MM-DD`, inclusive.",
            "examples": [
              "2026-01-01"
            ]
          },
          "end": {
            "type": "string",
            "format": "date",
            "description": "Last day of the period, `YYYY-MM-DD`, inclusive.",
            "examples": [
              "2026-12-31"
            ]
          }
        },
        "required": [
          "type",
          "start",
          "end"
        ],
        "description": "The period a figure is about. Both ends are inclusive dates."
      },
      "PlaceMetricPeriodType": {
        "type": "string",
        "enum": [
          "date",
          "month",
          "quarter",
          "year"
        ],
        "description": "What a period stands for: one `date` (start and end are equal), a `month`, a `quarter` or a `year`. More values may be added."
      },
      "PlaceMetricProvider": {
        "type": "string",
        "description": "The provider to credit: `cbs-statistics`, `ep-online`, `leefbaarometer` or `police_crime`. More may be added.",
        "examples": [
          "cbs-statistics",
          "ep-online",
          "leefbaarometer",
          "police_crime"
        ]
      },
      "PlaceMetricRank": {
        "type": "object",
        "properties": {
          "peerGroup": {
            "$ref": "#/components/schemas/PlaceMetricRankPeerGroup"
          },
          "period": {
            "description": "The period every peer's figure is about, the same as the period of the figure it ranks (`latest`, or the liveability's `measurementYear`). Ignore a rank whose period differs from the figure you show.",
            "$ref": "#/components/schemas/PlaceMetricPeriod"
          },
          "position": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "The place's position among its peers (competition ranking: ties share the position, so 1, 2, 2, 4), or `null` when none is served: fewer than 20 peers, or a metric that is not ranked by position.",
            "examples": [
              41
            ]
          },
          "of": {
            "type": "integer",
            "minimum": 2,
            "description": "How many peers have a published figure for the period, the place included. Withheld and missing figures are not counted.",
            "examples": [
              93
            ]
          },
          "percentile": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              {
                "type": "null"
              }
            ],
            "description": "The share of peers (not of residents or homes) whose figure is lower than the place's, 0 to 100, rounded down; for `nearer_is_more` the share that is farther. `null` with fewer than 50 peers.",
            "examples": [
              72
            ]
          },
          "tied": {
            "type": "integer",
            "minimum": 0,
            "description": "How many other peers have exactly the same figure; 0 when none.",
            "examples": [
              0
            ]
          },
          "direction": {
            "$ref": "#/components/schemas/PlaceMetricRankDirection"
          },
          "calculatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the ranks were calculated. Every peer's rank in a group is from the same calculation."
          },
          "basis": {
            "$ref": "#/components/schemas/PlaceMetricRankBasis"
          }
        },
        "required": [
          "peerGroup",
          "period",
          "position",
          "of",
          "percentile",
          "tied",
          "direction",
          "calculatedAt",
          "basis"
        ],
        "description": "Where a place's published figure stands among its peers for one period. It describes the figure, not whether it is good. A rank is present only where enough peers have a figure for the same period."
      },
      "PlaceMetricRankBasis": {
        "type": "string",
        "enum": [
          "published_value",
          "publisher_rate"
        ],
        "description": "What was ranked: `published_value`, the publisher's figure as served, or `publisher_rate`, a rate the publisher itself publishes. We never rank a figure we computed from counts and population. More values may be added."
      },
      "PlaceMetricRankDirection": {
        "type": "string",
        "enum": [
          "higher_is_more",
          "nearer_is_more",
          "neutral"
        ],
        "description": "Which way a rank reads, a property of the metric and not of the data: `higher_is_more` (position 1 is the highest figure; the percentile is the share of peers with a lower figure), `nearer_is_more` (a distance: position 1 is the nearest; the percentile is the share of peers that are farther) or `neutral`. It never means better or worse. More values may be added."
      },
      "PlaceMetricRankPeerGroup": {
        "type": "string",
        "enum": [
          "neighborhoods_in_municipality",
          "neighborhoods_in_country",
          "districts_in_municipality",
          "districts_in_country",
          "municipalities_in_country"
        ],
        "description": "The places a figure is ranked among, always of the same kind as the place: `neighborhoods_in_municipality` (the neighbourhoods of the place's municipality), `neighborhoods_in_country`, `districts_in_municipality`, `districts_in_country` or `municipalities_in_country`. A place is never ranked against places of another kind. More values may be added."
      },
      "PlaceMetricUnit": {
        "type": "string",
        "enum": [
          "count",
          "percentage",
          "euro",
          "kilometer",
          "hectare",
          "cubic-meter",
          "kilowatt-hour",
          "per-square-kilometer",
          "per-thousand-residents",
          "per-household"
        ],
        "description": "What a figure is in: `count`, `percentage` (50 means 50 percent), `euro` (a statistic, not a price), `kilometer`, `hectare`, `cubic-meter`, `kilowatt-hour`, `per-square-kilometer`, `per-thousand-residents` or `per-household`. More values may be added."
      },
      "PlaceMetricValue": {
        "type": "object",
        "properties": {
          "period": {
            "$ref": "#/components/schemas/PlaceMetricPeriod"
          },
          "value": {
            "type": "number",
            "description": "The figure, in the metric's `unit`. A percentage of 50 means 50 percent.",
            "examples": [
              1180
            ]
          }
        },
        "required": [
          "period",
          "value"
        ],
        "description": "A figure and the period it is about."
      },
      "PlaceReference": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "The place's slug.",
            "examples": [
              "amsterdam-gsxxzjaz98rj"
            ]
          },
          "displayName": {
            "type": "string",
            "description": "The place's name.",
            "examples": [
              "Amsterdam"
            ]
          }
        },
        "required": [
          "slug",
          "displayName"
        ],
        "description": "A place, by its slug and name."
      },
      "PlaceSelector": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/PlaceType"
          },
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The place's slug, from the place search.",
            "examples": [
              "amsterdam-gsxxzjaz98rj"
            ]
          }
        },
        "required": [
          "type",
          "slug"
        ],
        "additionalProperties": false,
        "description": "A place, by its type and slug."
      },
      "PlaceType": {
        "type": "string",
        "enum": [
          "municipality",
          "locality",
          "district",
          "neighborhood",
          "postal-code",
          "public-space"
        ],
        "description": "The kind of place: `municipality` (gemeente), `locality` (town or city), `district` (wijk), `neighborhood` (buurt), `postal-code` or `public-space` (a street). More values may be added."
      },
      "Property": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "The property's slug, as in a listing's `propertySlug`.",
            "examples": [
              "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz"
            ]
          },
          "bagVerblijfsobjectId": {
            "description": "BAG identification of the property (verblijfsobject), 16 digits in a string, or `null`.",
            "examples": [
              "0363019999999999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "bagNummeraanduidingId": {
            "description": "BAG identification of the address (nummeraanduiding), 16 digits in a string, or `null`.",
            "examples": [
              "0363200000999999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "bagPandIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "BAG identification of each active building (pand), 16 digits in a string.",
            "examples": [
              [
                "0363100012345678"
              ]
            ]
          },
          "houseNumber": {
            "description": "The house number, or `null`.",
            "examples": [
              "999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseLetter": {
            "description": "The house letter, or `null`.",
            "examples": [
              "A"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseNumberAddition": {
            "description": "The house number addition, or `null`.",
            "examples": [
              "2"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "postalCode": {
            "description": "Four digits and two capital letters, without a space, or `null`.",
            "examples": [
              "1015CC"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "location": {
            "$ref": "#/components/schemas/ListingLocation"
          },
          "geometry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GeoJsonPoint"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where the property is: the point the BAG has for it, or `null` when unknown."
          },
          "livingAreaM2": {
            "description": "Usable floor area (gebruiksoppervlakte) of the dwelling unit as registered in the BAG, in square metres, up to two decimals, or `null`. A listing's advertised `livingAreaM2` can differ.",
            "examples": [
              92
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "constructionYear": {
            "description": "The year the building was built, or `null`.",
            "examples": [
              1932
            ],
            "type": [
              "integer",
              "null"
            ]
          },
          "parcels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyParcel"
            },
            "description": "The cadastral parcel the property lies on: at most 1 today. Empty when none matches."
          },
          "building": {
            "$ref": "#/components/schemas/PropertyBuilding"
          },
          "registeredEnergyLabel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RegisteredEnergyLabel"
              },
              {
                "type": "null"
              }
            ],
            "description": "The registered energy label, or `null`."
          },
          "wozValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WozValue"
            },
            "description": "The WOZ values Huisly holds, newest first. Empty does not mean no value was set."
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingImage"
            },
            "description": "The property's images, kept after a listing closes."
          },
          "activeListings": {
            "$ref": "#/components/schemas/PropertyActiveListings"
          },
          "listingHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingEpisode"
            },
            "description": "Every time the property was on the market that Huisly knows of, newest first. Not the complete market history, and one price per listing."
          },
          "groundLease": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyGroundLease"
              },
              {
                "type": "null"
              }
            ],
            "description": "Ground lease (erfpacht): the municipal registers and the seller's statement, or `null`. Registers cover Amsterdam, Den Haag and Utrecht; elsewhere `coverage.covered` is `false` and the answer is unknown."
          },
          "foundationRisk": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyFoundationRisk"
              },
              {
                "type": "null"
              }
            ],
            "description": "The foundation indicator for the property's postcode area, or `null`."
          },
          "climate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyClimate"
              },
              {
                "type": "null"
              }
            ],
            "description": "Flood depths and heat at the property, or `null`."
          },
          "heatTransition": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyHeatTransition"
              },
              {
                "type": "null"
              }
            ],
            "description": "The municipality's plan for the area's switch off natural gas, or `null`."
          },
          "building3d": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyBuilding3d"
              },
              {
                "type": "null"
              }
            ],
            "description": "The building in 3D (3D BAG), or `null`."
          },
          "noise": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyNoise"
              },
              {
                "type": "null"
              }
            ],
            "description": "Noise at the property's address point, or `null`."
          },
          "airQuality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyAirQuality"
              },
              {
                "type": "null"
              }
            ],
            "description": "Air quality at the property's address point, or `null`."
          },
          "protectedAreas": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyProtectedAreas"
              },
              {
                "type": "null"
              }
            ],
            "description": "The protected areas the property's address point lies in, or `null` when it lies in none."
          },
          "monument": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyMonument"
              },
              {
                "type": "null"
              }
            ],
            "description": "The rijksmonumenten the property is (part of), or `null` when the register links none."
          },
          "housingCosts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MunicipalHousingCosts"
              },
              {
                "type": "null"
              }
            ],
            "description": "What households in the property's municipality spent on housing in a past year, or `null`."
          },
          "dataHidden": {
            "type": "boolean",
            "description": "Whether the property's data is unavailable. If `true`, only `slug`, the house number, `location` and `geometry` are given, and every other field is `null` or empty."
          }
        },
        "required": [
          "slug",
          "bagVerblijfsobjectId",
          "bagNummeraanduidingId",
          "bagPandIds",
          "houseNumber",
          "houseLetter",
          "houseNumberAddition",
          "postalCode",
          "location",
          "geometry",
          "livingAreaM2",
          "constructionYear",
          "parcels",
          "building",
          "registeredEnergyLabel",
          "wozValues",
          "images",
          "activeListings",
          "listingHistory",
          "groundLease",
          "foundationRisk",
          "climate",
          "heatTransition",
          "building3d",
          "noise",
          "airQuality",
          "protectedAreas",
          "monument",
          "housingCosts",
          "dataHidden"
        ],
        "description": "A property: one address, with its registered facts, WOZ values, images, open listings, listing history and the open datasets Huisly holds for it: ground lease, foundations, flooding and heat, heat transition, the building in 3D, noise, air quality, protected areas, national monuments (rijksmonumenten) and municipal housing costs. Each dataset carries the credit its licence asks for.",
        "examples": [
          {
            "slug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
            "bagVerblijfsobjectId": "0363019999999999",
            "bagNummeraanduidingId": "0363200000999999",
            "bagPandIds": [
              "0363100012345678"
            ],
            "houseNumber": "999",
            "houseLetter": null,
            "houseNumberAddition": "2",
            "postalCode": "1015CC",
            "location": {
              "municipality": {
                "slug": "amsterdam-gsxxzjaz98rj",
                "displayName": "Amsterdam"
              },
              "locality": {
                "slug": "amsterdam-c7sh2t",
                "displayName": "Amsterdam"
              },
              "district": {
                "slug": "grachtengordel-west-mavt2wcj84gj",
                "displayName": "Grachtengordel-West"
              },
              "neighborhood": {
                "slug": "langestraat-e-o-jtvr6xz675kh",
                "displayName": "Langestraat e.o."
              },
              "postalCode": {
                "slug": "1015-cc-7j7dqke625ht",
                "displayName": "1015 CC"
              },
              "publicSpace": {
                "slug": "keizersgracht-9z4dabpr",
                "displayName": "Keizersgracht"
              }
            },
            "geometry": {
              "type": "Point",
              "coordinates": [
                4.886431,
                52.376893
              ]
            },
            "livingAreaM2": 92,
            "constructionYear": 1932,
            "parcels": [
              {
                "cadastralId": "60000670000",
                "areaM2": 215,
                "designation": null
              }
            ],
            "building": {
              "footprintAreaM2": 187.42,
              "unitCount": 4
            },
            "registeredEnergyLabel": {
              "energyClass": "b",
              "registeredOn": "2024-09-12",
              "validUntil": "2034-09-12",
              "buildingClass": "residential",
              "buildingType": "apartment",
              "buildingSubtype": "intermediate-middle-floor",
              "calculationType": "nta-8800",
              "calculated": {
                "energyDemand": 112.38,
                "primaryFossilEnergy": 149.32,
                "renewableShare": 21.4,
                "energyIndex": null,
                "thermalZoneArea": 86.5
              },
              "attribution": {
                "provider": "ep-online",
                "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                "license": "EP-Online terms of use",
                "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
              }
            },
            "wozValues": [
              {
                "referenceDate": "2025-01-01",
                "value": 585000
              }
            ],
            "images": [
              {
                "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
              }
            ],
            "activeListings": {
              "forSale": {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "available",
                "stateSince": "2026-11-08T16:04:46.864Z",
                "statusLabel": "Beschikbaar",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z"
                  }
                ],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              },
              "forRent": null
            },
            "listingHistory": [
              {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "closedAt": null,
                "priceCents": "42500000",
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z",
                    "closedAt": null
                  }
                ]
              },
              {
                "id": "5d2b9f60-7c1a-4a3e-8f4b-1e6c0a9d2b37",
                "listingType": "for-sale",
                "listedAt": "2024-03-02T10:30:00.000Z",
                "closedAt": "2024-05-14T00:00:00.000Z",
                "priceCents": "39500000",
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2-2024/",
                    "priceCents": "39500000",
                    "listedAt": "2024-03-02T10:30:00.000Z",
                    "closedAt": "2024-05-14T00:00:00.000Z"
                  }
                ]
              }
            ],
            "groundLease": {
              "status": "erfpacht",
              "registers": [
                {
                  "source": "amsterdam",
                  "status": "erfpacht",
                  "issuers": [
                    {
                      "type": "municipality",
                      "name": "Amsterdam"
                    }
                  ],
                  "registerLabel": "Gemeentelijk eigendom belast met erfpacht",
                  "scope": "all_registered_ground_leases",
                  "dataset": {
                    "title": "Erfpachtuitgevers (BRK)",
                    "url": "https://api.data.amsterdam.nl/v1/docs/datasets/benkagg.html"
                  },
                  "sourceDate": "2026-11-12",
                  "stale": false,
                  "indicative": false,
                  "caveat": null,
                  "attribution": {
                    "publisher": "Gemeente Amsterdam (Basisregistratie Kadaster, BRK)",
                    "citation": "Gemeente Amsterdam, Basisregistratie Kadaster (BRK), open data, kaartlaag erfpachtuitgevers",
                    "license": "CC0 1.0",
                    "licenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/"
                  }
                }
              ],
              "coverage": {
                "municipalityCode": "GM0363",
                "municipalityName": "Amsterdam",
                "covered": true,
                "registers": [
                  "amsterdam"
                ]
              },
              "listing": {
                "source": "listing",
                "claimedBy": "seller",
                "status": "ground_lease_bought_off",
                "annualCanonEur": null,
                "boughtOffUntilYear": 2068,
                "quote": "Erfpacht is afgekocht tot 2068.",
                "readAt": "2026-11-15",
                "listingOpen": true
              }
            },
            "foundationRisk": {
              "scope": "postal_code_area",
              "postalCode": "1015CC",
              "level": "elevated",
              "areaKind": "vulnerable_soil",
              "pre1970Band": {
                "fromPercent": 80,
                "toPercent": 100
              },
              "pre1970Share": 91.3,
              "buildingCount": 46,
              "pre1970Count": 42,
              "smallSample": false,
              "soilRegion": {
                "code": "lv",
                "name": "Laagveengebied",
                "sharePercent": 100
              },
              "dataYear": 2019,
              "attribution": {
                "publisher": "Kenniscentrum Aanpak Funderingsproblematiek (KCAF)",
                "citation": "KCAF, Indicatieve aandachtsgebieden funderingsproblematiek (Funderingsrisicokaart), via PDOK",
                "license": "Public Domain Mark 1.0",
                "licenseUrl": "https://creativecommons.org/publicdomain/mark/1.0/deed.nl",
                "datasetTitle": "Indicatieve aandachtsgebieden funderingsproblematiek",
                "datasetUrl": "https://www.funderingsrisicokaart.nl/"
              }
            },
            "climate": {
              "flood": {
                "scenarios": [
                  {
                    "key": "large",
                    "returnPeriodYears": 10,
                    "depthCm": 0
                  },
                  {
                    "key": "medium",
                    "returnPeriodYears": 100,
                    "depthCm": 0
                  },
                  {
                    "key": "small",
                    "returnPeriodYears": 1000,
                    "depthCm": 0
                  },
                  {
                    "key": "verySmall",
                    "returnPeriodYears": 10000,
                    "depthCm": 42
                  },
                  {
                    "key": "extremelySmall",
                    "returnPeriodYears": 100000,
                    "depthCm": 118
                  }
                ],
                "modelDate": "2024-07-01",
                "attribution": {
                  "publisher": "Klimaateffectatlas, with the national flood scenario maps of Rijkswaterstaat (LIWO)",
                  "citation": "Klimaateffectatlas, 2026",
                  "license": "CC BY 4.0",
                  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                  "sourceUrl": "https://www.klimaateffectatlas.nl/nl/overstromingsdiepte"
                }
              },
              "heat": null
            },
            "heatTransition": null,
            "building3d": {
              "bagPandId": "0363100012345678",
              "releaseDate": "2025-09-03",
              "pointCloudYear": 2023,
              "groundLevelNapM": 0.4,
              "roof": {
                "type": "slanted",
                "medianNapM": 13.1,
                "p70NapM": 13.9,
                "maxNapM": 14.7,
                "minNapM": 10.2,
                "flatAreaM2": 12.5,
                "slopedAreaM2": 96.8
              },
              "heightAboveGroundM": 14.3,
              "volumeM3": 1680,
              "volumeLevelOfDetail": "2.2",
              "estimatedFloors": 4,
              "attribution": {
                "publisher": "3D BAG (TU Delft, 3DGI)",
                "license": "CC BY 4.0",
                "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                "text": "3D BAG by tudelft3d and 3DGI, CC BY 4.0"
              }
            },
            "noise": null,
            "airQuality": null,
            "protectedAreas": {
              "method": "public-label-point-covered-by-polygon",
              "sourceDate": "2026-06-01T00:00:00Z",
              "importedAt": "2026-11-20T03:00:00.000Z",
              "items": [
                {
                  "sourceId": "rce.beschermdgezicht.1",
                  "kind": "townscape",
                  "name": "Amsterdam - Binnen de Singelgracht",
                  "citationUrl": null,
                  "designationDate": "1999-12-16",
                  "featureVersion": null
                }
              ],
              "truncated": false,
              "attribution": {
                "publisher": "Rijksdienst voor het Cultureel Erfgoed, via PDOK",
                "dataset": "Beschermde gebieden cultuurhistorie (INSPIRE geharmoniseerd)",
                "sourceUrl": "https://www.pdok.nl/introductie/-/article/beschermde-gebieden-cultuurhistorie-inspire-geharmoniseerd-",
                "license": "CC BY 4.0",
                "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                "transformation": "Huisly computes public label-point membership in the published polygons."
              }
            },
            "monument": {
              "monuments": [
                {
                  "number": "3451",
                  "kind": "built",
                  "registeredOn": "1970-03-26",
                  "registerUrl": "https://monumentenregister.cultureelerfgoed.nl/monumenten/3451"
                }
              ],
              "truncated": false,
              "count": 1,
              "sourceDate": "2026-11-20",
              "attribution": {
                "publisher": "Rijksdienst voor het Cultureel Erfgoed (RCE)",
                "citation": "Bron: Rijksdienst voor het Cultureel Erfgoed, Rijksmonumentenregister",
                "license": "CC BY 4.0",
                "licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
              }
            },
            "housingCosts": null,
            "dataHidden": false
          },
          {
            "slug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
            "bagVerblijfsobjectId": null,
            "bagNummeraanduidingId": null,
            "bagPandIds": [],
            "houseNumber": "999",
            "houseLetter": null,
            "houseNumberAddition": "2",
            "postalCode": null,
            "location": {
              "municipality": {
                "slug": "amsterdam-gsxxzjaz98rj",
                "displayName": "Amsterdam"
              },
              "locality": {
                "slug": "amsterdam-c7sh2t",
                "displayName": "Amsterdam"
              },
              "district": {
                "slug": "grachtengordel-west-mavt2wcj84gj",
                "displayName": "Grachtengordel-West"
              },
              "neighborhood": {
                "slug": "langestraat-e-o-jtvr6xz675kh",
                "displayName": "Langestraat e.o."
              },
              "postalCode": {
                "slug": "1015-cc-7j7dqke625ht",
                "displayName": "1015 CC"
              },
              "publicSpace": {
                "slug": "keizersgracht-9z4dabpr",
                "displayName": "Keizersgracht"
              }
            },
            "geometry": {
              "type": "Point",
              "coordinates": [
                4.886431,
                52.376893
              ]
            },
            "livingAreaM2": null,
            "constructionYear": null,
            "parcels": [],
            "building": {
              "footprintAreaM2": null,
              "unitCount": null
            },
            "registeredEnergyLabel": null,
            "wozValues": [],
            "images": [],
            "activeListings": {
              "forSale": null,
              "forRent": null
            },
            "listingHistory": [],
            "groundLease": null,
            "foundationRisk": null,
            "climate": null,
            "heatTransition": null,
            "building3d": null,
            "noise": null,
            "airQuality": null,
            "protectedAreas": null,
            "monument": null,
            "housingCosts": null,
            "dataHidden": true
          }
        ]
      },
      "PropertyActiveListings": {
        "type": "object",
        "properties": {
          "forSale": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyListing"
              },
              {
                "type": "null"
              }
            ],
            "description": "The open listing for sale, or `null`."
          },
          "forRent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyListing"
              },
              {
                "type": "null"
              }
            ],
            "description": "The open listing for rent, or `null`."
          }
        },
        "required": [
          "forSale",
          "forRent"
        ],
        "description": "A property's open listings: at most one for sale and one for rent."
      },
      "PropertyAirQuality": {
        "type": "object",
        "properties": {
          "no2UgM3": {
            "description": "Yearly mean nitrogen dioxide in µg/m³, one decimal, in the 25 m map cell of the address point; `null` without a figure.",
            "type": [
              "number",
              "null"
            ]
          },
          "pm10UgM3": {
            "description": "Yearly mean PM10 in µg/m³, or `null`.",
            "type": [
              "number",
              "null"
            ]
          },
          "pm25UgM3": {
            "description": "Yearly mean PM2.5 in µg/m³, or `null`.",
            "type": [
              "number",
              "null"
            ]
          },
          "year": {
            "type": "integer",
            "description": "The year the maps describe."
          },
          "level": {
            "type": "string",
            "enum": [
              "low",
              "moderate",
              "elevated"
            ],
            "description": "`low` at or below the WHO's 2021 guideline, `moderate` above it and at or below the EU limit from 2030, `elevated` above that. More values may be added."
          },
          "levels": {
            "type": "object",
            "properties": {
              "no2": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "low",
                      "moderate",
                      "elevated"
                    ],
                    "description": "`low` at or below the WHO's 2021 guideline, `moderate` above it and at or below the EU limit from 2030, `elevated` above that. More values may be added."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pm10": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "low",
                      "moderate",
                      "elevated"
                    ],
                    "description": "`low` at or below the WHO's 2021 guideline, `moderate` above it and at or below the EU limit from 2030, `elevated` above that. More values may be added."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pm25": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "low",
                      "moderate",
                      "elevated"
                    ],
                    "description": "`low` at or below the WHO's 2021 guideline, `moderate` above it and at or below the EU limit from 2030, `elevated` above that. More values may be added."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "no2",
              "pm10",
              "pm25"
            ]
          },
          "references": {
            "type": "object",
            "properties": {
              "whoGuideline2021": {
                "type": "object",
                "properties": {
                  "no2": {
                    "type": "number",
                    "description": "Nitrogen dioxide, µg/m³."
                  },
                  "pm10": {
                    "type": "number",
                    "description": "PM10, µg/m³."
                  },
                  "pm25": {
                    "type": "number",
                    "description": "PM2.5, µg/m³."
                  }
                },
                "required": [
                  "no2",
                  "pm10",
                  "pm25"
                ],
                "description": "The WHO's 2021 guideline levels for the yearly mean."
              },
              "euLimitFrom2030": {
                "type": "object",
                "properties": {
                  "no2": {
                    "type": "number",
                    "description": "Nitrogen dioxide, µg/m³."
                  },
                  "pm10": {
                    "type": "number",
                    "description": "PM10, µg/m³."
                  },
                  "pm25": {
                    "type": "number",
                    "description": "PM2.5, µg/m³."
                  }
                },
                "required": [
                  "no2",
                  "pm10",
                  "pm25"
                ],
                "description": "The EU limit values for the yearly mean from 1 January 2030 (Directive (EU) 2024/2881)."
              }
            },
            "required": [
              "whoGuideline2021",
              "euLimitFrom2030"
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "citation": {
                "type": "string",
                "description": "The credit to show with the data, as the publisher asks for it."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              }
            },
            "required": [
              "publisher",
              "citation",
              "license",
              "licenseUrl"
            ]
          }
        },
        "required": [
          "no2UgM3",
          "pm10UgM3",
          "pm25UgM3",
          "year",
          "level",
          "levels",
          "references",
          "attribution"
        ],
        "description": "Air quality at the property's address point, from the RIVM's yearly maps."
      },
      "PropertyBuilding": {
        "type": "object",
        "properties": {
          "footprintAreaM2": {
            "description": "Area of the building's outline from above, in square metres, or `null`.",
            "examples": [
              187.42
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "unitCount": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "Number of units in the building, or `null`.",
            "examples": [
              4
            ]
          }
        },
        "required": [
          "footprintAreaM2",
          "unitCount"
        ],
        "description": "The building (pand) the property is part of."
      },
      "PropertyBuilding3d": {
        "type": "object",
        "properties": {
          "bagPandId": {
            "type": "string",
            "description": "The BAG building (pand) the figures describe, 16 digits.",
            "examples": [
              "0363100012345678"
            ]
          },
          "releaseDate": {
            "type": "string",
            "format": "date",
            "description": "The date in the 3D BAG release label, not the flight year.",
            "examples": [
              "2025-09-03"
            ]
          },
          "pointCloudYear": {
            "type": "integer",
            "description": "The year the point cloud the model is built on was flown."
          },
          "groundLevelNapM": {
            "type": "number",
            "description": "The publisher's ground level at the building, in metres above NAP."
          },
          "roof": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "slanted",
                  "horizontal",
                  "multiple-horizontal",
                  "unknown"
                ],
                "description": "The roof's shape. More values may be added."
              },
              "medianNapM": {
                "description": "The roof's median height, metres above NAP.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "p70NapM": {
                "description": "The roof's 70th-percentile height, metres above NAP.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "maxNapM": {
                "description": "The roof's highest point, metres above NAP.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "minNapM": {
                "description": "The roof's lowest point, metres above NAP.",
                "type": [
                  "number",
                  "null"
                ]
              },
              "flatAreaM2": {
                "type": "number",
                "description": "Flat roof area, in square metres."
              },
              "slopedAreaM2": {
                "type": "number",
                "description": "Sloped roof area, in square metres."
              }
            },
            "required": [
              "type",
              "medianNapM",
              "p70NapM",
              "maxNapM",
              "minNapM",
              "flatAreaM2",
              "slopedAreaM2"
            ],
            "description": "The roof, as the 3D model has it."
          },
          "heightAboveGroundM": {
            "description": "The roof's highest point minus the ground level, in metres, or `null`.",
            "examples": [
              14.3
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "volumeM3": {
            "type": "number",
            "description": "The volume of the building's 3D model, in cubic metres."
          },
          "volumeLevelOfDetail": {
            "type": "string",
            "enum": [
              "2.2"
            ],
            "description": "The level of detail of the model the volume is of. More values may be added."
          },
          "estimatedFloors": {
            "description": "The publisher's estimate of the floors, given for buildings of up to 5 floors only; `null` otherwise.",
            "type": [
              "integer",
              "null"
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              },
              "text": {
                "type": "string",
                "description": "The credit to show with the figures."
              }
            },
            "required": [
              "publisher",
              "license",
              "licenseUrl",
              "text"
            ]
          }
        },
        "required": [
          "bagPandId",
          "releaseDate",
          "pointCloudYear",
          "groundLevelNapM",
          "roof",
          "heightAboveGroundM",
          "volumeM3",
          "volumeLevelOfDetail",
          "estimatedFloors",
          "attribution"
        ],
        "description": "The whole BAG building the property is in, as the 3D BAG models it: not this home alone. Heights and areas are the publisher's estimates."
      },
      "PropertyClimate": {
        "type": "object",
        "properties": {
          "flood": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "scenarios": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "type": "string",
                          "enum": [
                            "large",
                            "medium",
                            "small",
                            "verySmall",
                            "extremelySmall"
                          ],
                          "description": "The probability class of the national flood model, most likely first. More values may be added."
                        },
                        "returnPeriodYears": {
                          "type": "integer",
                          "description": "The class's approximate return period in years: 10, 100, 1,000, 10,000 or 100,000.",
                          "examples": [
                            100
                          ]
                        },
                        "depthCm": {
                          "description": "The maximum water depth in centimetres at the home when a flood from the sea or the large rivers of this class happens; 0 is dry, `null` is no value. Indicative: the model's cells are 25 to 100 metres.",
                          "examples": [
                            35
                          ],
                          "type": [
                            "integer",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "key",
                        "returnPeriodYears",
                        "depthCm"
                      ]
                    },
                    "description": "The probability classes, most likely first. They do not happen at the same time."
                  },
                  "modelDate": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The version date of the national flood model (LIWO) the maps are made from, or `null`."
                  },
                  "attribution": {
                    "type": "object",
                    "properties": {
                      "publisher": {
                        "type": "string",
                        "description": "The publisher to credit."
                      },
                      "citation": {
                        "type": "string",
                        "description": "The credit to show with the data, as the publisher asks for it."
                      },
                      "license": {
                        "type": "string",
                        "description": "The licence the data is published under."
                      },
                      "licenseUrl": {
                        "type": "string",
                        "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
                      },
                      "sourceUrl": {
                        "type": "string",
                        "description": "The page that explains the map the figures come from."
                      }
                    },
                    "required": [
                      "publisher",
                      "citation",
                      "license",
                      "licenseUrl",
                      "sourceUrl"
                    ]
                  }
                },
                "required": [
                  "scenarios",
                  "modelDate",
                  "attribution"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Flood depths at the home for flooding from the sea and the large rivers, or `null`. Flooding from heavy rain is not covered."
          },
          "heat": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "perceivedTemperature": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "celsius": {
                            "type": "number",
                            "description": "The neighbourhood's average perceived temperature (PET) outdoors between 12:00 and 18:00 on a tropical summer day. It averages sun-exposed surfaces, so it is high everywhere: compare with `warmerThanPercent`."
                          },
                          "warmerThanPercent": {
                            "type": "integer",
                            "description": "The share of Dutch neighbourhoods, in whole percent, that are cooler than this one."
                          },
                          "neighborhoodName": {
                            "type": "string",
                            "description": "The neighbourhood's name as the publisher's file states it."
                          },
                          "attribution": {
                            "type": "object",
                            "properties": {
                              "publisher": {
                                "type": "string",
                                "description": "The publisher to credit."
                              },
                              "citation": {
                                "type": "string",
                                "description": "The credit to show with the data, as the publisher asks for it."
                              },
                              "license": {
                                "type": "string",
                                "description": "The licence the data is published under."
                              },
                              "licenseUrl": {
                                "type": "string",
                                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
                              },
                              "sourceUrl": {
                                "type": "string",
                                "description": "The page that explains the map the figures come from."
                              }
                            },
                            "required": [
                              "publisher",
                              "citation",
                              "license",
                              "licenseUrl",
                              "sourceUrl"
                            ]
                          }
                        },
                        "required": [
                          "celsius",
                          "warmerThanPercent",
                          "neighborhoodName",
                          "attribution"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The neighbourhood's perceived temperature, or `null`."
                  },
                  "warmNights": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "eveningsAbove20": {
                            "description": "Average evenings (20:00 to 23:00) a year above 20 °C, in the current climate.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "nightsAbove20": {
                            "description": "Average nights (23:00 to 07:00) a year above 20 °C.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "eveningsAbove24": {
                            "description": "Average evenings a year above 24 °C.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "nightsAbove24": {
                            "description": "Average nights a year above 24 °C.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "attribution": {
                            "type": "object",
                            "properties": {
                              "publisher": {
                                "type": "string",
                                "description": "The publisher to credit."
                              },
                              "citation": {
                                "type": "string",
                                "description": "The credit to show with the data, as the publisher asks for it."
                              },
                              "license": {
                                "type": "string",
                                "description": "The licence the data is published under."
                              },
                              "licenseUrl": {
                                "type": "string",
                                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
                              },
                              "sourceUrl": {
                                "type": "string",
                                "description": "The page that explains the map the figures come from."
                              }
                            },
                            "required": [
                              "publisher",
                              "citation",
                              "license",
                              "licenseUrl",
                              "sourceUrl"
                            ]
                          }
                        },
                        "required": [
                          "eveningsAbove20",
                          "nightsAbove20",
                          "eveningsAbove24",
                          "nightsAbove24",
                          "attribution"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Warm evenings and nights at the home, from a grid of about 860 metres, or `null`."
                  }
                },
                "required": [
                  "perceivedTemperature",
                  "warmNights"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Heat figures, or `null` when none is known."
          }
        },
        "required": [
          "flood",
          "heat"
        ],
        "description": "Flooding and heat at the property, from the Klimaateffectatlas."
      },
      "PropertyFoundationRisk": {
        "type": "object",
        "properties": {
          "scope": {
            "type": "string",
            "enum": [
              "postal_code_area"
            ],
            "description": "Always `postal_code_area`: every figure is for the whole postcode area, not for the home. It is no inspection of this home's foundation. More values may be added."
          },
          "postalCode": {
            "type": "string",
            "description": "The postcode the figures are for, without a space.",
            "examples": [
              "1015CC"
            ]
          },
          "level": {
            "type": "string",
            "enum": [
              "low",
              "moderate",
              "elevated"
            ],
            "description": "How much attention the postcode area asks for, Huisly's reading of the publisher's two legends. On soil that carries well always `low`. On vulnerable or unclassified urban soil it follows the share of buildings built before 1970: under 20% `low`, 20 to 60% `moderate`, 60% and above `elevated`. An indication for the area, never a verdict on the home. More values may be added."
          },
          "areaKind": {
            "type": "string",
            "enum": [
              "vulnerable_soil",
              "not_vulnerable_soil",
              "urban_unclassified"
            ],
            "description": "How the publisher drew the area: soil with limited bearing capacity (peat, sea clay, river clay), soil that carries well, or built-up area whose soil could not be classified. More values may be added."
          },
          "pre1970Band": {
            "type": "object",
            "properties": {
              "fromPercent": {
                "type": "number",
                "description": "The band's lower edge, in percent."
              },
              "toPercent": {
                "type": "number",
                "description": "The band's upper edge, in percent."
              }
            },
            "required": [
              "fromPercent",
              "toPercent"
            ],
            "description": "The publisher's legend band for the share of buildings built before 1970."
          },
          "pre1970Share": {
            "type": "number",
            "description": "Share of the area's BAG buildings built before 1970, 0 to 100, one decimal.",
            "examples": [
              72.4
            ]
          },
          "buildingCount": {
            "type": "integer",
            "minimum": 0,
            "description": "BAG buildings in the postcode area."
          },
          "pre1970Count": {
            "type": "integer",
            "minimum": 0,
            "description": "Of those, the buildings built before 1970."
          },
          "smallSample": {
            "type": "boolean",
            "description": "Whether the area has fewer than 10 buildings, so one building moves the share a lot."
          },
          "soilRegion": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "The publisher's two-letter soil region code, such as `lv` (low peat) or `zk` (sea clay). More values may be added.",
                "examples": [
                  "lv"
                ]
              },
              "name": {
                "type": "string",
                "description": "The region's name in Dutch, as the publisher writes it."
              },
              "sharePercent": {
                "type": "number",
                "description": "Share of the area's ground in that region, 0 to 100."
              }
            },
            "required": [
              "code",
              "name",
              "sharePercent"
            ],
            "description": "The dominant soil region of the postcode area."
          },
          "dataYear": {
            "type": "integer",
            "description": "The year the publisher's data dates from. Show it: the data is not recent.",
            "examples": [
              2019
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "citation": {
                "type": "string",
                "description": "The credit to show with the data, as the publisher asks for it."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              },
              "datasetTitle": {
                "type": "string",
                "description": "The dataset's name as its publisher gives it."
              },
              "datasetUrl": {
                "type": "string",
                "description": "Where the dataset is shown and explained."
              }
            },
            "required": [
              "publisher",
              "citation",
              "license",
              "licenseUrl",
              "datasetTitle",
              "datasetUrl"
            ]
          }
        },
        "required": [
          "scope",
          "postalCode",
          "level",
          "areaKind",
          "pre1970Band",
          "pre1970Share",
          "buildingCount",
          "pre1970Count",
          "smallSample",
          "soilRegion",
          "dataYear",
          "attribution"
        ],
        "description": "The foundation indicator of the KCAF (Kennis Centrum Aanpak Funderingsproblematiek) for the property's postcode area."
      },
      "PropertyGroundLease": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "erfpacht",
              "none_in_register",
              "unknown"
            ],
            "description": "What the registers say, together: `erfpacht` when any register lists a ground lease; `none_in_register` only when a register of every registered ground lease (Amsterdam) lists none; `unknown` otherwise, which includes every property outside the covered municipalities. Never the seller's statement. More values may be added."
          },
          "registers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroundLeaseRegister"
            },
            "description": "One entry for each register that covers the property's municipality; empty when none does."
          },
          "coverage": {
            "type": "object",
            "properties": {
              "municipalityCode": {
                "description": "The CBS code of the property's municipality, or `null`.",
                "examples": [
                  "GM0363"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "municipalityName": {
                "description": "The municipality's name, or `null`.",
                "examples": [
                  "Amsterdam"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "covered": {
                "type": "boolean",
                "description": "Whether a register covers the municipality. When `false` the answer is unknown: never read it as no ground lease."
              },
              "registers": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "The ids of the registers that cover it, as in `registers[].source`."
              }
            },
            "required": [
              "municipalityCode",
              "municipalityName",
              "covered",
              "registers"
            ],
            "description": "Whether a register covers the property's municipality."
          },
          "listing": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string",
                    "enum": [
                      "listing"
                    ],
                    "description": "Always `listing`: this is no register fact. More values may be added."
                  },
                  "claimedBy": {
                    "type": "string",
                    "enum": [
                      "seller"
                    ],
                    "description": "Always `seller`: what the seller or their agent wrote in the listing, read by Huisly's AI pipeline and checked against the text. Label it as the seller's statement; it can be wrong. More values may be added."
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "own_land",
                      "ground_lease",
                      "ground_lease_bought_off"
                    ],
                    "description": "`own_land` (eigen grond), `ground_lease` (erfpacht) or `ground_lease_bought_off` (erfpacht, canon bought off). More values may be added."
                  },
                  "annualCanonEur": {
                    "description": "The yearly canon in euros where the text states it per year, or `null`.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "boughtOffUntilYear": {
                    "description": "The year the canon is bought off until, or `null` for none or an eternal buy-off.",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "quote": {
                    "type": "string",
                    "description": "The passage of the listing text the statement was read from."
                  },
                  "readAt": {
                    "type": "string",
                    "format": "date",
                    "description": "When the statement was read, as `YYYY-MM-DD`.",
                    "examples": [
                      "2026-11-15"
                    ]
                  },
                  "listingOpen": {
                    "type": "boolean",
                    "description": "Whether the listing it comes from is still open."
                  }
                },
                "required": [
                  "source",
                  "claimedBy",
                  "status",
                  "annualCanonEur",
                  "boughtOffUntilYear",
                  "quote",
                  "readAt",
                  "listingOpen"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "The seller's statement from the open (else newest closed) listing, or `null`. Kept apart from the registers: where the two differ, show both."
          }
        },
        "required": [
          "status",
          "registers",
          "coverage",
          "listing"
        ],
        "description": "Ground lease (erfpacht): what the municipal registers of Amsterdam, Den Haag and Utrecht say about the property's ground, and what the seller's listing says, as separate statements."
      },
      "PropertyHeatTransition": {
        "type": "object",
        "properties": {
          "municipalityCode": {
            "type": "string",
            "description": "The CBS code of the municipality.",
            "examples": [
              "GM0363"
            ]
          },
          "municipalityName": {
            "type": "string",
            "description": "The municipality's name.",
            "examples": [
              "Amsterdam"
            ]
          },
          "planName": {
            "description": "The plan's name for the area, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "planType": {
            "type": "string",
            "enum": [
              "preparing",
              "executing"
            ],
            "description": "Whether the municipality is preparing the area's switch or carrying it out. More values may be added."
          },
          "planStatus": {
            "description": "The plan's status as the municipality writes it, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "startYear": {
            "description": "The year the switch starts, or `null`.",
            "type": [
              "integer",
              "null"
            ]
          },
          "endYear": {
            "type": "integer",
            "description": "The year the area should be free of natural gas."
          },
          "gasGrid": {
            "type": "string",
            "enum": [
              "removed",
              "kept",
              "unknown"
            ],
            "description": "What happens to the gas grid in the area. More values may be added."
          },
          "documentTitle": {
            "description": "The title of the municipality's plan, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "documentDate": {
            "description": "The plan's date as published, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "sourceUrl": {
            "description": "Where the plan is published, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "dataDate": {
            "description": "The date of the national dataset, or `null`.",
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "citation": {
                "type": "string",
                "description": "The credit to show with the data, as the publisher asks for it."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              }
            },
            "required": [
              "publisher",
              "citation",
              "license",
              "licenseUrl"
            ]
          }
        },
        "required": [
          "municipalityCode",
          "municipalityName",
          "planName",
          "planType",
          "planStatus",
          "startYear",
          "endYear",
          "gasGrid",
          "documentTitle",
          "documentDate",
          "sourceUrl",
          "dataDate",
          "attribution"
        ],
        "description": "The municipality's plan for moving the property's area off natural gas (Transitievisie Warmte), as published nationally. A plan, not a decision about this home."
      },
      "PropertyListing": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The listing's ID."
          },
          "listingType": {
            "$ref": "#/components/schemas/ListingType"
          },
          "propertyType": {
            "$ref": "#/components/schemas/PropertyType"
          },
          "priceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price asked in euro cents as a string (monthly rent for a rental), or `null`. Its meaning never changes: where the advertisement states a price on another basis, `statedPriceCents` and `priceBasis` say so beside it.",
            "examples": [
              "42500000"
            ]
          },
          "statedPriceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price as the advertisement states it, in euro cents as a string, or `null` when it states it as `priceCents` does. Set only when the advertisement states it on a basis other than `priceCents` (for example 5700000 with `priceBasis` `per-year`, where `priceCents` is the monthly 475000). Always set together with `priceBasis`.",
            "examples": [
              "5700000"
            ]
          },
          "priceBasis": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ListingPriceBasis"
              },
              {
                "type": "null"
              }
            ],
            "description": "How `statedPriceCents` is stated, or `null` when it is `null`: `priceCents` then is the monthly rent or the sale price, as the advertisement states it."
          },
          "livingAreaM2": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "The living area the advertisement states, in whole square metres, or `null`.",
            "examples": [
              92
            ]
          },
          "bedrooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The number of bedrooms, or `null` when unknown.",
            "examples": [
              2
            ]
          },
          "rooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The number of rooms, or `null` when unknown.",
            "examples": [
              3
            ]
          },
          "constructionYear": {
            "description": "The year the advertisement says it was built, or `null`.",
            "examples": [
              1932
            ],
            "type": [
              "integer",
              "null"
            ]
          },
          "registeredConstructionYear": {
            "description": "The year built according to the BAG, or `null`. The advertisement's `constructionYear` can differ.",
            "examples": [
              1931
            ],
            "type": [
              "integer",
              "null"
            ]
          },
          "energyLabel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnergyLabel"
              },
              {
                "type": "null"
              }
            ],
            "description": "The energy label the advertisement states, or `null`."
          },
          "furnishingStatus": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FurnishingStatus"
              },
              {
                "type": "null"
              }
            ],
            "description": "How furnished the property is offered, or `null` when unknown."
          },
          "hasApplicationFee": {
            "type": "boolean",
            "description": "Whether applying for the listing costs a fee."
          },
          "state": {
            "$ref": "#/components/schemas/ListingState"
          },
          "stateSince": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "description": "When Huisly first saw the listing in its current `state`, or `null`.",
            "examples": [
              "2026-11-14T09:30:00.000Z"
            ]
          },
          "statusLabel": {
            "description": "The advertiser's status label (\"Onder bod\"), or `null`.",
            "examples": [
              "Onder bod"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "listedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the property was listed.",
            "examples": [
              "2026-11-08T16:04:46.864Z"
            ]
          },
          "location": {
            "$ref": "#/components/schemas/ListingLocation"
          },
          "houseNumber": {
            "description": "The house number, or `null`.",
            "examples": [
              "999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseLetter": {
            "description": "The house letter, or `null`.",
            "examples": [
              "A"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseNumberAddition": {
            "description": "The house number addition, or `null`.",
            "examples": [
              "2"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "propertySlug": {
            "description": "The slug of the listing's property, or `null`. The property lookup takes it.",
            "examples": [
              "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingImage"
            },
            "description": "All images, in order. Only their addresses are sent."
          },
          "description": {
            "description": "The advertisement's description, in its own language (usually Dutch), or `null`.",
            "examples": [
              "Ruim appartement op de tweede verdieping, met uitzicht op de gracht."
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "geometry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GeoJsonPoint"
              },
              {
                "type": "null"
              }
            ],
            "description": "The BAG's point for the listing's property, as a GeoJSON Point (WGS 84), or `null`."
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingSource"
            },
            "description": "The open advertisements, at most one per provider."
          },
          "registeredEnergyLabel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RegisteredEnergyLabel"
              },
              {
                "type": "null"
              }
            ],
            "description": "The property's registered energy label, or `null`."
          },
          "agencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ListingAgency"
            },
            "description": "Estate agencies with a public Huisly page, claimed ones first, at most 10."
          }
        },
        "required": [
          "id",
          "listingType",
          "propertyType",
          "priceCents",
          "statedPriceCents",
          "priceBasis",
          "livingAreaM2",
          "bedrooms",
          "rooms",
          "constructionYear",
          "registeredConstructionYear",
          "energyLabel",
          "furnishingStatus",
          "hasApplicationFee",
          "state",
          "stateSince",
          "statusLabel",
          "listedAt",
          "location",
          "houseNumber",
          "houseLetter",
          "houseNumberAddition",
          "propertySlug",
          "images",
          "description",
          "geometry",
          "sources",
          "registeredEnergyLabel",
          "agencies"
        ],
        "description": "An open listing, as in the listing search."
      },
      "PropertyMonument": {
        "type": "object",
        "properties": {
          "monuments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "number": {
                  "type": "string",
                  "description": "The number the register shows (Monumentnummer).",
                  "examples": [
                    "3451"
                  ]
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "built",
                    "archaeological"
                  ],
                  "description": "`built` (onroerend gebouwd) or `archaeological` (archeologisch). More values may be added."
                },
                "registeredOn": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "The day it was entered in the register, or `null`.",
                  "examples": [
                    "1970-03-26"
                  ]
                },
                "registerUrl": {
                  "type": "string",
                  "description": "The monument's page in the register."
                }
              },
              "required": [
                "number",
                "kind",
                "registeredOn",
                "registerUrl"
              ]
            },
            "description": "The rijksmonumenten, by number, at most 20."
          },
          "truncated": {
            "type": "boolean",
            "description": "Whether more than 20 are linked."
          },
          "count": {
            "type": "integer",
            "minimum": 1,
            "description": "How many rijksmonumenten are linked."
          },
          "sourceDate": {
            "type": "string",
            "format": "date",
            "description": "The date of the register export the facts come from.",
            "examples": [
              "2026-11-20"
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "citation": {
                "type": "string",
                "description": "The credit to show with the data, as the publisher asks for it."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              }
            },
            "required": [
              "publisher",
              "citation",
              "license",
              "licenseUrl"
            ]
          }
        },
        "required": [
          "monuments",
          "truncated",
          "count",
          "sourceDate",
          "attribution"
        ],
        "description": "The rijksmonumenten the RCE's national monuments register links to the property's BAG address with its highest certainty (HOOG): the home is a rijksmonument or part of one. RCE's links can be missing, so `null` is no proof the home is no monument."
      },
      "PropertyNoise": {
        "type": "object",
        "properties": {
          "allSourcesDb": {
            "type": "integer",
            "description": "All sources together (road, rail, aircraft, industry, wind turbines) as Lden, the weighted yearly average, in whole dB, in the 10 m map cell of the home's address point. Indicative, not a facade measurement.",
            "examples": [
              58
            ]
          },
          "roadDb": {
            "description": "Road traffic, Lden in dB; `null` when absent or below 35 dB.",
            "type": [
              "integer",
              "null"
            ]
          },
          "railDb": {
            "description": "Rail traffic, Lden in dB; `null` as `roadDb`.",
            "type": [
              "integer",
              "null"
            ]
          },
          "band": {
            "type": "string",
            "enum": [
              "quiet",
              "moderate",
              "loud",
              "very_loud"
            ],
            "description": "A band of `allSourcesDb`: below 50, 50 to 59, 60 to 69, 70 and above. A level, not a health outcome. More values may be added."
          },
          "mainSource": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "road",
                  "rail",
                  "other"
                ],
                "description": "Huisly's inferred main source: `road` or `rail` within 2 dB of the total, `other` for aircraft, industry, wind turbines or a mix; `null` below 45 dB. More values may be added."
              },
              {
                "type": "null"
              }
            ]
          },
          "references": {
            "type": "object",
            "properties": {
              "whoRoadDb": {
                "type": "number",
                "description": "The WHO's 2018 guideline for road traffic noise, dB Lden."
              },
              "whoRailDb": {
                "type": "number",
                "description": "The WHO's 2018 guideline for railway noise, dB Lden."
              },
              "euMappingThresholdDb": {
                "type": "number",
                "description": "The level from which the EU Environmental Noise Directive requires noise mapping, dB Lden."
              }
            },
            "required": [
              "whoRoadDb",
              "whoRailDb",
              "euMappingThresholdDb"
            ]
          },
          "years": {
            "type": "object",
            "properties": {
              "allSources": {
                "type": "integer",
                "description": "The reference year of the combined map."
              },
              "allSourcesInputs": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "description": "The documented input years of the combined map; empty where they are not verified."
              },
              "road": {
                "description": "The road map's year; `null` while `roadDb` is.",
                "type": [
                  "integer",
                  "null"
                ]
              },
              "rail": {
                "description": "The rail map's year; `null` while `railDb` is.",
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "required": [
              "allSources",
              "allSourcesInputs",
              "road",
              "rail"
            ]
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "citation": {
                "type": "string",
                "description": "The credit to show with the data, as the publisher asks for it."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              }
            },
            "required": [
              "publisher",
              "citation",
              "license",
              "licenseUrl"
            ]
          }
        },
        "required": [
          "allSourcesDb",
          "roadDb",
          "railDb",
          "band",
          "mainSource",
          "references",
          "years",
          "attribution"
        ],
        "description": "Noise at the property's address point, from the RIVM's noise maps."
      },
      "PropertyParcel": {
        "type": "object",
        "properties": {
          "cadastralId": {
            "type": "string",
            "description": "The Kadaster's identifier of the parcel.",
            "examples": [
              "60000670000"
            ]
          },
          "areaM2": {
            "type": "number",
            "description": "The parcel's area in square metres, as the Kadaster has it.",
            "examples": [
              215
            ]
          },
          "designation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PropertyParcelDesignation"
              },
              {
                "type": "null"
              }
            ],
            "description": "The designation, or `null` until Huisly has read it from the Kadaster."
          }
        },
        "required": [
          "cadastralId",
          "areaM2",
          "designation"
        ],
        "description": "A cadastral parcel a property lies on.",
        "examples": [
          {
            "cadastralId": "60000670000",
            "areaM2": 215,
            "designation": {
              "municipalityCode": "ADB00",
              "municipalityName": "Aardenburg",
              "section": "F",
              "number": 6
            }
          },
          {
            "cadastralId": "60000670000",
            "areaM2": 215,
            "designation": null
          }
        ]
      },
      "PropertyParcelDesignation": {
        "type": "object",
        "properties": {
          "municipalityCode": {
            "type": "string",
            "description": "Code of the cadastral municipality (kadastrale gemeente).",
            "examples": [
              "ADB00"
            ]
          },
          "municipalityName": {
            "description": "Name of the cadastral municipality, or `null`.",
            "examples": [
              "Aardenburg"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "section": {
            "type": "string",
            "description": "The section (sectie) of the cadastral municipality.",
            "examples": [
              "F"
            ]
          },
          "number": {
            "type": "integer",
            "description": "The parcel number within the section.",
            "examples": [
              6
            ]
          }
        },
        "required": [
          "municipalityCode",
          "municipalityName",
          "section",
          "number"
        ],
        "description": "The parcel's designation as a deed writes it, for example `ADB00 F 6`."
      },
      "PropertyProtectedAreas": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string",
            "enum": [
              "public-label-point-covered-by-polygon"
            ],
            "description": "How membership is decided: the property's public BAG address point lies inside the published polygon. More values may be added."
          },
          "sourceDate": {
            "type": "string",
            "description": "When the publisher last updated the dataset, as its feed states it (RFC 3339).",
            "examples": [
              "2026-06-01T00:00:00Z"
            ]
          },
          "importedAt": {
            "type": "string",
            "description": "When Huisly loaded that revision (RFC 3339).",
            "examples": [
              "2026-11-20T03:00:00.000Z"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "description": "The area's opaque id in the dataset."
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "townscape",
                    "cultural_world_heritage"
                  ],
                  "description": "`townscape`: a nationally protected town or village view (rijksbeschermd stads- of dorpsgezicht). `cultural_world_heritage`: a cultural World Heritage area. More values may be added."
                },
                "name": {
                  "description": "The area's name, or `null`.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "citationUrl": {
                  "description": "The area's page at the publisher, or `null`.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "designationDate": {
                  "description": "The legal designation date, or `null`; not the dataset's revision.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "featureVersion": {
                  "description": "The area's version in the dataset, or `null`.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "sourceId",
                "kind",
                "name",
                "citationUrl",
                "designationDate",
                "featureVersion"
              ]
            },
            "description": "The areas the address point lies in, at most 20."
          },
          "truncated": {
            "type": "boolean",
            "description": "Whether more than 20 areas matched."
          },
          "attribution": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "string",
                "description": "The publisher to credit."
              },
              "dataset": {
                "type": "string",
                "description": "The dataset's name."
              },
              "sourceUrl": {
                "type": "string",
                "description": "Where the dataset is published."
              },
              "license": {
                "type": "string",
                "description": "The licence the data is published under."
              },
              "licenseUrl": {
                "type": "string",
                "description": "A link to the licence; empty when the publisher states none (then `license` says so)."
              },
              "transformation": {
                "type": "string",
                "description": "What Huisly did with the data."
              }
            },
            "required": [
              "publisher",
              "dataset",
              "sourceUrl",
              "license",
              "licenseUrl",
              "transformation"
            ]
          }
        },
        "required": [
          "method",
          "sourceDate",
          "importedAt",
          "items",
          "truncated",
          "attribution"
        ],
        "description": "The RCE's protected areas the property's address point lies in. Being in one does not make the home a monument."
      },
      "PropertyType": {
        "type": "string",
        "enum": [
          "apartment",
          "house",
          "room",
          "studio",
          "land",
          "storage",
          "parking",
          "boat",
          "commercial"
        ],
        "description": "The kind of property a listing offers. More values may be added."
      },
      "RateLimitedError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "rate_limited"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "rate_limited",
              "message": "Too many requests; retry after the number of seconds in the `Retry-After` header"
            }
          }
        ]
      },
      "RegisteredEnergyLabel": {
        "type": "object",
        "properties": {
          "energyClass": {
            "description": "The registered class, on the scale of a listing's energy label.",
            "examples": [
              "b"
            ],
            "$ref": "#/components/schemas/EnergyLabel"
          },
          "registeredOn": {
            "type": "string",
            "format": "date",
            "description": "Registration day, as `YYYY-MM-DD`.",
            "examples": [
              "2024-09-12"
            ]
          },
          "validUntil": {
            "type": "string",
            "format": "date",
            "description": "Last valid day, as `YYYY-MM-DD`. An expired label is still returned.",
            "examples": [
              "2034-09-12"
            ]
          },
          "buildingClass": {
            "$ref": "#/components/schemas/EnergyLabelBuildingClass"
          },
          "buildingType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnergyLabelBuildingType"
              },
              {
                "type": "null"
              }
            ],
            "description": "The building type, or `null` for non-residential buildings.",
            "examples": [
              "apartment"
            ]
          },
          "buildingSubtype": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnergyLabelBuildingSubtype"
              },
              {
                "type": "null"
              }
            ],
            "description": "The building subtype, or `null`.",
            "examples": [
              "intermediate-middle-floor"
            ]
          },
          "calculationType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnergyLabelCalculationType"
              },
              {
                "type": "null"
              }
            ],
            "description": "The calculation method, or `null`.",
            "examples": [
              "nta-8800"
            ]
          },
          "calculated": {
            "$ref": "#/components/schemas/RegisteredEnergyLabelFigures"
          },
          "attribution": {
            "description": "The credit EP-Online's terms require.",
            "$ref": "#/components/schemas/PlaceMetricAttribution"
          }
        },
        "required": [
          "energyClass",
          "registeredOn",
          "validUntil",
          "buildingClass",
          "buildingType",
          "buildingSubtype",
          "calculationType",
          "calculated",
          "attribution"
        ],
        "description": "The official energy label registered at EP-Online (RVO), with the values it was calculated from. A listing's `energyLabel` is what the advertisement says and can differ. A property without a label has `null`, never `g`."
      },
      "RegisteredEnergyLabelFigures": {
        "type": "object",
        "properties": {
          "energyDemand": {
            "description": "EP1, energy demand in kWh per m² per year. NTA 8800 labels only, else `null`.",
            "examples": [
              112.38
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "primaryFossilEnergy": {
            "description": "EP2, primary fossil energy use in kWh per m² per year. NTA 8800 labels only, else `null`.",
            "examples": [
              149.32
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "renewableShare": {
            "description": "EP3, share of renewable energy in percent. NTA 8800 labels only, else `null`.",
            "examples": [
              21.4
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "energyIndex": {
            "description": "Energy index (lower is better). Labels from before NTA 8800 only, else `null`.",
            "examples": [
              1.21
            ],
            "type": [
              "number",
              "null"
            ]
          },
          "thermalZoneArea": {
            "description": "Usable floor area of the calculation's thermal zone in m². NTA 8800 labels only, else `null`.",
            "examples": [
              86.5
            ],
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "energyDemand",
          "primaryFossilEnergy",
          "renewableShare",
          "energyIndex",
          "thermalZoneArea"
        ],
        "description": "The values the label was calculated from. A missing one is `null`."
      },
      "SaleValuation": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "available"
            ],
            "description": "A delivered estimate. More values may be added."
          },
          "asOf": {
            "type": "string",
            "format": "date",
            "description": "The valuation date in the Netherlands."
          },
          "modelVersion": {
            "type": "string",
            "minLength": 1,
            "description": "The released model version that produced the estimate."
          },
          "method": {
            "type": "string",
            "enum": [
              "public_sales",
              "woz_and_comparables",
              "woz_comparables_and_ask",
              "comparables"
            ],
            "description": "How the range was made. `public_sales`: a model fitted on reused public sale records. `woz_and_comparables` (beta): the home's WOZ value brought to today with the CBS price index, blended with the asking prices of comparable homes for sale nearby, and adjusted using published sales. `woz_comparables_and_ask` (beta): that estimate weighed equally with the home's own asking price raised by the typical difference between published sale prices and asking prices; the asking price can move the estimate by a limited amount only. `comparables` (beta): for a home without a usable WOZ value (none yet, one set before the home was built, or one shared by several addresses), the weighted median asking price per m² of at least five comparable homes for sale nearby times the home's registered area, adjusted by the ratio of published sale prices to that estimate. A home whose WOZ value the asking prices nearby contradict gets no estimate. Its range and `evidence` are measured separately on held-out published sales and are usually wider. Beta: an indication of the sale price, not an appraisal. More values may be added."
          },
          "askingPriceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "Asking price used for the comparison, in euro cents, or null."
          },
          "badge": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "below",
                  "within",
                  "above",
                  "conditional"
                ],
                "description": "Where the asking price falls relative to the range. Conditional means the area assumption affects the comparison. More values may be added."
              },
              {
                "type": "null"
              }
            ],
            "description": "Comparison across the scenarios, or null without a comparable asking price."
          },
          "groundLease": {
            "type": "string",
            "enum": [
              "own_land",
              "assumed_bought_off",
              "ongoing"
            ],
            "description": "The ground-lease (erfpacht) basis of the estimate. `own_land`: the home's listing states that the land is the home's own. `assumed_bought_off`: the estimate assumes any ground lease is bought off, because the land is not known to be the home's own or the terms of a ground lease are unknown; show this assumption with the estimate. `ongoing`: a listing of the home states a ground lease that is not bought off (or bought off only until a past year); the estimate is still for the home with the ground lease bought off (the canon or a buy-off is not deducted), and the home's own asking price, which reflects the lease, is not compared. Show this with the estimate. More values may be added."
          },
          "scenarios": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleValuationScenario"
            },
            "description": "One range per applicable area or completion assumption."
          },
          "marketContext": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleValuationMarketContext"
            },
            "description": "Published market indicators and official notices relevant to the home. Empty when none are available."
          },
          "evidence": {
            "$ref": "#/components/schemas/SaleValuationEvidence"
          },
          "property": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Property"
              },
              {
                "type": "null"
              }
            ],
            "description": "The valued property, exactly as the property lookup returns it, or `null` for a new-build unit without a registered address."
          },
          "comparables": {
            "$ref": "#/components/schemas/SaleValuationComparables"
          },
          "market": {
            "$ref": "#/components/schemas/SaleValuationMarket"
          },
          "sources": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The public source's name."
                },
                "license": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The source licence or public reuse basis."
                },
                "url": {
                  "type": "string",
                  "format": "uri",
                  "description": "The public source's HTTPS page."
                }
              },
              "required": [
                "label",
                "license",
                "url"
              ]
            },
            "description": "Public source references accompanying the estimate."
          }
        },
        "required": [
          "status",
          "asOf",
          "modelVersion",
          "method",
          "askingPriceCents",
          "badge",
          "groundLease",
          "scenarios",
          "marketContext",
          "evidence",
          "property",
          "comparables",
          "market",
          "sources"
        ],
        "description": "An indicative range for a residential sale. It is not a formal appraisal, a transaction price or a rental estimate.",
        "examples": [
          {
            "status": "available",
            "asOf": "2026-11-19",
            "modelVersion": "9c41e7a2d85b3f60c1e4a7d29b8f05e3a6c2d17f48b93e05a1c6d72f8e4b39a0",
            "method": "woz_and_comparables",
            "askingPriceCents": "42500000",
            "badge": "within",
            "groundLease": "assumed_bought_off",
            "scenarios": [
              {
                "basis": "registered_area",
                "areaM2": 92,
                "lowCents": "39000000",
                "highCents": "47500000",
                "pointCents": "43000000",
                "likelyLowCents": "40000000",
                "likelyHighCents": "46000000",
                "badge": "within"
              }
            ],
            "property": {
              "slug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
              "bagVerblijfsobjectId": "0363019999999999",
              "bagNummeraanduidingId": "0363200000999999",
              "bagPandIds": [
                "0363100012345678"
              ],
              "houseNumber": "999",
              "houseLetter": null,
              "houseNumberAddition": "2",
              "postalCode": "1015CC",
              "location": {
                "municipality": {
                  "slug": "amsterdam-gsxxzjaz98rj",
                  "displayName": "Amsterdam"
                },
                "locality": {
                  "slug": "amsterdam-c7sh2t",
                  "displayName": "Amsterdam"
                },
                "district": {
                  "slug": "grachtengordel-west-mavt2wcj84gj",
                  "displayName": "Grachtengordel-West"
                },
                "neighborhood": {
                  "slug": "langestraat-e-o-jtvr6xz675kh",
                  "displayName": "Langestraat e.o."
                },
                "postalCode": {
                  "slug": "1015-cc-7j7dqke625ht",
                  "displayName": "1015 CC"
                },
                "publicSpace": {
                  "slug": "keizersgracht-9z4dabpr",
                  "displayName": "Keizersgracht"
                }
              },
              "geometry": {
                "type": "Point",
                "coordinates": [
                  4.886431,
                  52.376893
                ]
              },
              "livingAreaM2": 92,
              "constructionYear": 1932,
              "parcels": [
                {
                  "cadastralId": "60000670000",
                  "areaM2": 215,
                  "designation": null
                }
              ],
              "building": {
                "footprintAreaM2": 187.42,
                "unitCount": 4
              },
              "registeredEnergyLabel": {
                "energyClass": "b",
                "registeredOn": "2024-09-12",
                "validUntil": "2034-09-12",
                "buildingClass": "residential",
                "buildingType": "apartment",
                "buildingSubtype": "intermediate-middle-floor",
                "calculationType": "nta-8800",
                "calculated": {
                  "energyDemand": 112.38,
                  "primaryFossilEnergy": 149.32,
                  "renewableShare": 21.4,
                  "energyIndex": null,
                  "thermalZoneArea": 86.5
                },
                "attribution": {
                  "provider": "ep-online",
                  "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                  "license": "EP-Online terms of use",
                  "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                }
              },
              "wozValues": [
                {
                  "referenceDate": "2025-01-01",
                  "value": 585000
                }
              ],
              "images": [
                {
                  "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                }
              ],
              "activeListings": {
                "forSale": {
                  "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                  "listingType": "for-sale",
                  "propertyType": "apartment",
                  "priceCents": "42500000",
                  "statedPriceCents": null,
                  "priceBasis": null,
                  "livingAreaM2": 92,
                  "bedrooms": 2,
                  "rooms": 3,
                  "constructionYear": 1932,
                  "registeredConstructionYear": 1931,
                  "energyLabel": "c",
                  "furnishingStatus": null,
                  "hasApplicationFee": false,
                  "state": "available",
                  "stateSince": "2026-11-08T16:04:46.864Z",
                  "statusLabel": "Beschikbaar",
                  "listedAt": "2026-11-08T16:04:46.864Z",
                  "location": {
                    "municipality": {
                      "slug": "amsterdam-gsxxzjaz98rj",
                      "displayName": "Amsterdam"
                    },
                    "locality": {
                      "slug": "amsterdam-c7sh2t",
                      "displayName": "Amsterdam"
                    },
                    "district": {
                      "slug": "grachtengordel-west-mavt2wcj84gj",
                      "displayName": "Grachtengordel-West"
                    },
                    "neighborhood": {
                      "slug": "langestraat-e-o-jtvr6xz675kh",
                      "displayName": "Langestraat e.o."
                    },
                    "postalCode": {
                      "slug": "1015-cc-7j7dqke625ht",
                      "displayName": "1015 CC"
                    },
                    "publicSpace": {
                      "slug": "keizersgracht-9z4dabpr",
                      "displayName": "Keizersgracht"
                    }
                  },
                  "houseNumber": "999",
                  "houseLetter": null,
                  "houseNumberAddition": "2",
                  "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                  "images": [
                    {
                      "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                    },
                    {
                      "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                    }
                  ],
                  "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                  "geometry": {
                    "type": "Point",
                    "coordinates": [
                      4.886431,
                      52.376893
                    ]
                  },
                  "sources": [
                    {
                      "providerName": "ankersmit",
                      "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                      "priceCents": "42500000",
                      "listedAt": "2026-11-06T09:12:30.000Z"
                    }
                  ],
                  "registeredEnergyLabel": {
                    "energyClass": "b",
                    "registeredOn": "2024-09-12",
                    "validUntil": "2034-09-12",
                    "buildingClass": "residential",
                    "buildingType": "apartment",
                    "buildingSubtype": "intermediate-middle-floor",
                    "calculationType": "nta-8800",
                    "calculated": {
                      "energyDemand": 112.38,
                      "primaryFossilEnergy": 149.32,
                      "renewableShare": 21.4,
                      "energyIndex": null,
                      "thermalZoneArea": 86.5
                    },
                    "attribution": {
                      "provider": "ep-online",
                      "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                      "license": "EP-Online terms of use",
                      "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                    }
                  },
                  "agencies": [
                    {
                      "slug": "makelaar-de-vries",
                      "name": "Makelaar De Vries",
                      "claimed": true
                    }
                  ]
                },
                "forRent": null
              },
              "listingHistory": [
                {
                  "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                  "listingType": "for-sale",
                  "listedAt": "2026-11-08T16:04:46.864Z",
                  "closedAt": null,
                  "priceCents": "42500000",
                  "sources": [
                    {
                      "providerName": "ankersmit",
                      "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                      "priceCents": "42500000",
                      "listedAt": "2026-11-06T09:12:30.000Z",
                      "closedAt": null
                    }
                  ]
                },
                {
                  "id": "5d2b9f60-7c1a-4a3e-8f4b-1e6c0a9d2b37",
                  "listingType": "for-sale",
                  "listedAt": "2024-03-02T10:30:00.000Z",
                  "closedAt": "2024-05-14T00:00:00.000Z",
                  "priceCents": "39500000",
                  "sources": [
                    {
                      "providerName": "ankersmit",
                      "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2-2024/",
                      "priceCents": "39500000",
                      "listedAt": "2024-03-02T10:30:00.000Z",
                      "closedAt": "2024-05-14T00:00:00.000Z"
                    }
                  ]
                }
              ],
              "groundLease": {
                "status": "erfpacht",
                "registers": [
                  {
                    "source": "amsterdam",
                    "status": "erfpacht",
                    "issuers": [
                      {
                        "type": "municipality",
                        "name": "Amsterdam"
                      }
                    ],
                    "registerLabel": "Gemeentelijk eigendom belast met erfpacht",
                    "scope": "all_registered_ground_leases",
                    "dataset": {
                      "title": "Erfpachtuitgevers (BRK)",
                      "url": "https://api.data.amsterdam.nl/v1/docs/datasets/benkagg.html"
                    },
                    "sourceDate": "2026-11-12",
                    "stale": false,
                    "indicative": false,
                    "caveat": null,
                    "attribution": {
                      "publisher": "Gemeente Amsterdam (Basisregistratie Kadaster, BRK)",
                      "citation": "Gemeente Amsterdam, Basisregistratie Kadaster (BRK), open data, kaartlaag erfpachtuitgevers",
                      "license": "CC0 1.0",
                      "licenseUrl": "https://creativecommons.org/publicdomain/zero/1.0/"
                    }
                  }
                ],
                "coverage": {
                  "municipalityCode": "GM0363",
                  "municipalityName": "Amsterdam",
                  "covered": true,
                  "registers": [
                    "amsterdam"
                  ]
                },
                "listing": {
                  "source": "listing",
                  "claimedBy": "seller",
                  "status": "ground_lease_bought_off",
                  "annualCanonEur": null,
                  "boughtOffUntilYear": 2068,
                  "quote": "Erfpacht is afgekocht tot 2068.",
                  "readAt": "2026-11-15",
                  "listingOpen": true
                }
              },
              "foundationRisk": {
                "scope": "postal_code_area",
                "postalCode": "1015CC",
                "level": "elevated",
                "areaKind": "vulnerable_soil",
                "pre1970Band": {
                  "fromPercent": 80,
                  "toPercent": 100
                },
                "pre1970Share": 91.3,
                "buildingCount": 46,
                "pre1970Count": 42,
                "smallSample": false,
                "soilRegion": {
                  "code": "lv",
                  "name": "Laagveengebied",
                  "sharePercent": 100
                },
                "dataYear": 2019,
                "attribution": {
                  "publisher": "Kenniscentrum Aanpak Funderingsproblematiek (KCAF)",
                  "citation": "KCAF, Indicatieve aandachtsgebieden funderingsproblematiek (Funderingsrisicokaart), via PDOK",
                  "license": "Public Domain Mark 1.0",
                  "licenseUrl": "https://creativecommons.org/publicdomain/mark/1.0/deed.nl",
                  "datasetTitle": "Indicatieve aandachtsgebieden funderingsproblematiek",
                  "datasetUrl": "https://www.funderingsrisicokaart.nl/"
                }
              },
              "climate": {
                "flood": {
                  "scenarios": [
                    {
                      "key": "large",
                      "returnPeriodYears": 10,
                      "depthCm": 0
                    },
                    {
                      "key": "medium",
                      "returnPeriodYears": 100,
                      "depthCm": 0
                    },
                    {
                      "key": "small",
                      "returnPeriodYears": 1000,
                      "depthCm": 0
                    },
                    {
                      "key": "verySmall",
                      "returnPeriodYears": 10000,
                      "depthCm": 42
                    },
                    {
                      "key": "extremelySmall",
                      "returnPeriodYears": 100000,
                      "depthCm": 118
                    }
                  ],
                  "modelDate": "2024-07-01",
                  "attribution": {
                    "publisher": "Klimaateffectatlas, with the national flood scenario maps of Rijkswaterstaat (LIWO)",
                    "citation": "Klimaateffectatlas, 2026",
                    "license": "CC BY 4.0",
                    "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                    "sourceUrl": "https://www.klimaateffectatlas.nl/nl/overstromingsdiepte"
                  }
                },
                "heat": null
              },
              "heatTransition": null,
              "building3d": {
                "bagPandId": "0363100012345678",
                "releaseDate": "2025-09-03",
                "pointCloudYear": 2023,
                "groundLevelNapM": 0.4,
                "roof": {
                  "type": "slanted",
                  "medianNapM": 13.1,
                  "p70NapM": 13.9,
                  "maxNapM": 14.7,
                  "minNapM": 10.2,
                  "flatAreaM2": 12.5,
                  "slopedAreaM2": 96.8
                },
                "heightAboveGroundM": 14.3,
                "volumeM3": 1680,
                "volumeLevelOfDetail": "2.2",
                "estimatedFloors": 4,
                "attribution": {
                  "publisher": "3D BAG (TU Delft, 3DGI)",
                  "license": "CC BY 4.0",
                  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                  "text": "3D BAG by tudelft3d and 3DGI, CC BY 4.0"
                }
              },
              "noise": null,
              "airQuality": null,
              "protectedAreas": {
                "method": "public-label-point-covered-by-polygon",
                "sourceDate": "2026-06-01T00:00:00Z",
                "importedAt": "2026-11-20T03:00:00.000Z",
                "items": [
                  {
                    "sourceId": "rce.beschermdgezicht.1",
                    "kind": "townscape",
                    "name": "Amsterdam - Binnen de Singelgracht",
                    "citationUrl": null,
                    "designationDate": "1999-12-16",
                    "featureVersion": null
                  }
                ],
                "truncated": false,
                "attribution": {
                  "publisher": "Rijksdienst voor het Cultureel Erfgoed, via PDOK",
                  "dataset": "Beschermde gebieden cultuurhistorie (INSPIRE geharmoniseerd)",
                  "sourceUrl": "https://www.pdok.nl/introductie/-/article/beschermde-gebieden-cultuurhistorie-inspire-geharmoniseerd-",
                  "license": "CC BY 4.0",
                  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                  "transformation": "Huisly computes public label-point membership in the published polygons."
                }
              },
              "monument": {
                "monuments": [
                  {
                    "number": "3451",
                    "kind": "built",
                    "registeredOn": "1970-03-26",
                    "registerUrl": "https://monumentenregister.cultureelerfgoed.nl/monumenten/3451"
                  }
                ],
                "truncated": false,
                "count": 1,
                "sourceDate": "2026-11-20",
                "attribution": {
                  "publisher": "Rijksdienst voor het Cultureel Erfgoed (RCE)",
                  "citation": "Bron: Rijksdienst voor het Cultureel Erfgoed, Rijksmonumentenregister",
                  "license": "CC BY 4.0",
                  "licenseUrl": "https://creativecommons.org/licenses/by/4.0/"
                }
              },
              "housingCosts": null,
              "dataHidden": false
            },
            "comparables": {
              "radiusM": 1000,
              "total": 2,
              "items": [
                {
                  "id": "7a1c2e4b-3d5f-4e6a-9b8c-0d1e2f3a4b5c",
                  "propertyType": "apartment",
                  "priceCents": "39500000",
                  "livingAreaM2": 86,
                  "bedrooms": 2,
                  "rooms": 3,
                  "constructionYear": 1932,
                  "energyLabel": "c",
                  "state": "available",
                  "stateSince": "2026-11-08T16:04:46.864Z",
                  "statusLabel": "Beschikbaar",
                  "listedAt": "2026-11-08T16:04:46.864Z",
                  "location": {
                    "municipality": {
                      "slug": "amsterdam-gsxxzjaz98rj",
                      "displayName": "Amsterdam"
                    },
                    "locality": {
                      "slug": "amsterdam-c7sh2t",
                      "displayName": "Amsterdam"
                    },
                    "district": {
                      "slug": "grachtengordel-west-mavt2wcj84gj",
                      "displayName": "Grachtengordel-West"
                    },
                    "neighborhood": {
                      "slug": "langestraat-e-o-jtvr6xz675kh",
                      "displayName": "Langestraat e.o."
                    },
                    "postalCode": {
                      "slug": "1015-cc-7j7dqke625ht",
                      "displayName": "1015 CC"
                    },
                    "publicSpace": {
                      "slug": "keizersgracht-9z4dabpr",
                      "displayName": "Keizersgracht"
                    }
                  },
                  "houseNumber": "941",
                  "houseLetter": null,
                  "houseNumberAddition": "1",
                  "propertySlug": "amsterdam-keizersgracht-941-1-p3x8m2k7d4qz",
                  "geometry": {
                    "type": "Point",
                    "coordinates": [
                      4.88472,
                      52.37491
                    ]
                  },
                  "distanceM": 240,
                  "pricePerM2Cents": "459302",
                  "daysOnMarket": 11,
                  "usedInEstimate": true
                },
                {
                  "id": "c4d5e6f7-0a1b-4c2d-8e3f-9a0b1c2d3e4f",
                  "propertyType": "house",
                  "priceCents": "89500000",
                  "livingAreaM2": 180,
                  "bedrooms": 2,
                  "rooms": 3,
                  "constructionYear": 1932,
                  "energyLabel": "c",
                  "state": "available",
                  "stateSince": "2026-11-08T16:04:46.864Z",
                  "statusLabel": "Beschikbaar",
                  "listedAt": "2026-11-08T16:04:46.864Z",
                  "location": {
                    "municipality": {
                      "slug": "amsterdam-gsxxzjaz98rj",
                      "displayName": "Amsterdam"
                    },
                    "locality": {
                      "slug": "amsterdam-c7sh2t",
                      "displayName": "Amsterdam"
                    },
                    "district": {
                      "slug": "grachtengordel-west-mavt2wcj84gj",
                      "displayName": "Grachtengordel-West"
                    },
                    "neighborhood": {
                      "slug": "langestraat-e-o-jtvr6xz675kh",
                      "displayName": "Langestraat e.o."
                    },
                    "postalCode": {
                      "slug": "1015-cc-7j7dqke625ht",
                      "displayName": "1015 CC"
                    },
                    "publicSpace": {
                      "slug": "keizersgracht-9z4dabpr",
                      "displayName": "Keizersgracht"
                    }
                  },
                  "houseNumber": "1012",
                  "houseLetter": null,
                  "houseNumberAddition": null,
                  "propertySlug": "amsterdam-keizersgracht-1012-t6h2w9q4m8zs",
                  "geometry": {
                    "type": "Point",
                    "coordinates": [
                      4.89093,
                      52.37862
                    ]
                  },
                  "distanceM": 410,
                  "pricePerM2Cents": "497222",
                  "daysOnMarket": 11,
                  "usedInEstimate": false
                }
              ]
            },
            "market": {
              "medianAskingPricePerM2Cents": "459302",
              "medianDaysOnMarket": 11,
              "dealInProgressShare": 0
            },
            "marketContext": [
              {
                "kind": "sale_index",
                "label": "Index of sale prices for existing owner-occupied homes",
                "value": 124.8,
                "unit": "index_2020_100",
                "period": "2026-09",
                "publishedOn": "2026-10-22",
                "url": "https://www.cbs.nl/"
              }
            ],
            "evidence": {
              "through": "2026-09-01",
              "testedSales": 105,
              "coverage": 0.76,
              "targetCoverage": 0.8,
              "likelyCoverage": 0.51
            },
            "sources": [
              {
                "label": "CBS",
                "license": "CC BY 4.0",
                "url": "https://www.cbs.nl/"
              }
            ]
          }
        ]
      },
      "SaleValuationComparable": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The listing's ID."
          },
          "propertyType": {
            "$ref": "#/components/schemas/PropertyType"
          },
          "priceCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price asked in euro cents as a string (monthly rent for a rental), or `null`. Its meaning never changes: where the advertisement states a price on another basis, `statedPriceCents` and `priceBasis` say so beside it.",
            "examples": [
              "42500000"
            ]
          },
          "livingAreaM2": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "The living area the advertisement states, in whole square metres, or `null`.",
            "examples": [
              92
            ]
          },
          "bedrooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The number of bedrooms, or `null` when unknown.",
            "examples": [
              2
            ]
          },
          "rooms": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "The number of rooms, or `null` when unknown.",
            "examples": [
              3
            ]
          },
          "constructionYear": {
            "description": "The year the advertisement says it was built, or `null`.",
            "examples": [
              1932
            ],
            "type": [
              "integer",
              "null"
            ]
          },
          "energyLabel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnergyLabel"
              },
              {
                "type": "null"
              }
            ],
            "description": "The energy label the advertisement states, or `null`."
          },
          "state": {
            "$ref": "#/components/schemas/ListingState"
          },
          "stateSince": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "description": "When Huisly first saw the listing in its current `state`, or `null`.",
            "examples": [
              "2026-11-14T09:30:00.000Z"
            ]
          },
          "statusLabel": {
            "description": "The advertiser's status label (\"Onder bod\"), or `null`.",
            "examples": [
              "Onder bod"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "listedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the property was listed.",
            "examples": [
              "2026-11-08T16:04:46.864Z"
            ]
          },
          "location": {
            "$ref": "#/components/schemas/ListingLocation"
          },
          "houseNumber": {
            "description": "The house number, or `null`.",
            "examples": [
              "999"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseLetter": {
            "description": "The house letter, or `null`.",
            "examples": [
              "A"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "houseNumberAddition": {
            "description": "The house number addition, or `null`.",
            "examples": [
              "2"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "propertySlug": {
            "description": "The slug of the listing's property, or `null`. The property lookup takes it.",
            "examples": [
              "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "geometry": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GeoJsonPoint"
              },
              {
                "type": "null"
              }
            ],
            "description": "The BAG's point for the listing's property, as a GeoJSON Point (WGS 84), or `null`."
          },
          "distanceM": {
            "type": "integer",
            "minimum": 0,
            "description": "Straight-line distance from the valued home, in metres.",
            "examples": [
              240
            ]
          },
          "pricePerM2Cents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "Asking price per square metre of the advertised living area, in euro cents rounded to a whole cent, or null without a price or an area.",
            "examples": [
              "459302"
            ]
          },
          "daysOnMarket": {
            "type": "integer",
            "minimum": 0,
            "description": "Days since the home was listed, counted to the valuation date.",
            "examples": [
              12
            ]
          },
          "usedInEstimate": {
            "type": "boolean",
            "description": "Whether its asking price entered the estimate. Homes of another type, a very different size or an implausible price per square metre are shown but not used."
          }
        },
        "required": [
          "id",
          "propertyType",
          "priceCents",
          "livingAreaM2",
          "bedrooms",
          "rooms",
          "constructionYear",
          "energyLabel",
          "state",
          "stateSince",
          "statusLabel",
          "listedAt",
          "location",
          "houseNumber",
          "houseLetter",
          "houseNumberAddition",
          "propertySlug",
          "geometry",
          "distanceM",
          "pricePerM2Cents",
          "daysOnMarket",
          "usedInEstimate"
        ],
        "description": "A home for sale near the valued home, with the same fields as a listing in the listing search (its `priceCents` is the asking price). The valued home's own listing is never included, nor a listing Huisly has closed or that is marked sold or rented."
      },
      "SaleValuationComparables": {
        "type": "object",
        "properties": {
          "radiusM": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "description": "Radius searched around the home, in metres.",
            "examples": [
              1000
            ]
          },
          "total": {
            "type": "integer",
            "minimum": 0,
            "description": "Homes for sale found within the radius, counted up to 400. More than `items` when the list is capped at 50.",
            "examples": [
              2
            ]
          },
          "items": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleValuationComparable"
            },
            "description": "The nearest homes for sale, nearest first, at most 50."
          }
        },
        "required": [
          "radiusM",
          "total",
          "items"
        ],
        "description": "Homes for sale near the valued home on the valuation date."
      },
      "SaleValuationEvidence": {
        "type": "object",
        "properties": {
          "through": {
            "type": "string",
            "format": "date",
            "description": "Date of the latest sale used as evidence for the applicable segment."
          },
          "testedSales": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "description": "Number of published sales held out from fitting and used to evaluate the range."
          },
          "coverage": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Fraction of held-out sales whose prices fell inside the estimated ranges."
          },
          "targetCoverage": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1,
            "description": "Nominal target fraction for the model's intervals."
          },
          "likelyCoverage": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "Fraction of held-out sales inside their likely ranges, or null without a likely range."
          }
        },
        "required": [
          "through",
          "testedSales",
          "coverage",
          "targetCoverage",
          "likelyCoverage"
        ],
        "description": "Aggregate validation evidence for this estimate."
      },
      "SaleValuationMarket": {
        "type": "object",
        "properties": {
          "medianAskingPricePerM2Cents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "Median asking price per square metre of the comparables used in the estimate, in euro cents, or null. Used comparables beyond the items listed count too.",
            "examples": [
              "455000"
            ]
          },
          "medianDaysOnMarket": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ],
            "description": "Median days since listing of the homes for sale within the radius, or null.",
            "examples": [
              21
            ]
          },
          "dealInProgressShare": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ],
            "description": "Share of the homes for sale within the radius that are under offer, under option, reserved or sold subject to conditions, or null.",
            "examples": [
              0.35
            ]
          }
        },
        "required": [
          "medianAskingPricePerM2Cents",
          "medianDaysOnMarket",
          "dealInProgressShare"
        ],
        "description": "How the local market looks on the valuation date, measured from the homes for sale within the radius."
      },
      "SaleValuationMarketContext": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "mortgage_rate",
              "sale_index",
              "official_notice"
            ],
            "description": "Mortgage lending rate, sale-price index, or official notice. More values may be added."
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "description": "Public source's measure or notice title, including the stage of an official notice."
          },
          "value": {
            "description": "Published numeric value when applicable. An official notice has no numeric value.",
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "percent",
                  "index_2020_100"
                ],
                "description": "Unit of the published figure. The index base is 2020 = 100. More values may be added."
              },
              {
                "type": "null"
              }
            ]
          },
          "period": {
            "type": "string",
            "minLength": 1,
            "description": "Period or effective date of the figure or notice, for example 2026-09 or 2026-Q3."
          },
          "publishedOn": {
            "anyOf": [
              {
                "type": "string",
                "format": "date"
              },
              {
                "type": "null"
              }
            ],
            "description": "Source publication date when known."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "HTTPS source page for this figure or notice."
          }
        },
        "required": [
          "kind",
          "label",
          "value",
          "unit",
          "period",
          "publishedOn",
          "url"
        ],
        "description": "A dated observation published by the linked source. It gives context for interpreting the estimate."
      },
      "SaleValuationScenario": {
        "type": "object",
        "properties": {
          "basis": {
            "type": "string",
            "enum": [
              "registered_area",
              "advertised_area",
              "completed_unit"
            ],
            "description": "Area used for the estimate. A completed-unit scenario assumes completion. More values may be added."
          },
          "areaM2": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "The living area assumed in this scenario, in square metres."
          },
          "lowCents": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "description": "Lower end of the estimated sale-price range in euro cents."
          },
          "highCents": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "description": "Upper end of the estimated sale-price range in euro cents."
          },
          "pointCents": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$",
            "description": "The model's central estimate in euro cents, inside the range."
          },
          "likelyLowCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "Lower end of the likely range in euro cents: a narrower range aimed at half of the calibration sales; `evidence.likelyCoverage` says what it held. Null together with `likelyHighCents` when the release has none."
          },
          "likelyHighCents": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[1-9][0-9]*$"
              },
              {
                "type": "null"
              }
            ],
            "description": "Upper end of the likely range in euro cents, or null."
          },
          "badge": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "below",
                  "within",
                  "above",
                  "conditional"
                ],
                "description": "Where the asking price falls relative to the range. Conditional means the area assumption affects the comparison. More values may be added."
              },
              {
                "type": "null"
              }
            ],
            "description": "Comparison for this scenario, or null when no asking price can be compared."
          }
        },
        "required": [
          "basis",
          "areaM2",
          "lowCents",
          "highCents",
          "pointCents",
          "likelyLowCents",
          "likelyHighCents",
          "badge"
        ],
        "description": "An indicative sale-price range under one explicit assumption."
      },
      "SearchAddressesResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressSearchResult"
            },
            "description": "The best matches, best first, homes before streets."
          },
          "hint": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "add_house_number",
                  "no_match"
                ],
                "description": "What would make the query find homes, or `null`: `add_house_number` (the results are streets or the first homes of a postal code) or `no_match`. More values may be added."
              },
              {
                "type": "null"
              }
            ],
            "description": "What would make the query find homes, or `null`."
          }
        },
        "required": [
          "data",
          "hint"
        ],
        "examples": [
          {
            "data": [
              {
                "type": "address",
                "street": "Don Boscostraat",
                "houseNumber": "429",
                "houseLetter": null,
                "houseNumberAddition": null,
                "postalCode": "1066AB",
                "locality": "Amsterdam",
                "municipality": "Amsterdam",
                "bagNummeraanduidingId": "0363200000999999",
                "propertySlug": "amsterdam-don-boscostraat-429-k8d3m2p9x4qz"
              }
            ],
            "hint": null
          },
          {
            "data": [
              {
                "type": "street",
                "street": "Don Boscostraat",
                "locality": "Amsterdam",
                "municipality": "Amsterdam",
                "addressCount": 312
              },
              {
                "type": "street",
                "street": "Don Boscostraat",
                "locality": "Eindhoven",
                "municipality": "Eindhoven",
                "addressCount": 48
              }
            ],
            "hint": "add_house_number"
          },
          {
            "data": [],
            "hint": "no_match"
          }
        ]
      },
      "SearchListingsBadRequestError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "validation_failed",
                  "unknown_place",
                  "invalid_cursor"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "validation_failed",
              "message": "✖ Too small: expected array to have >=1 items\n  → at places"
            }
          },
          {
            "error": {
              "code": "unknown_place",
              "message": "A place in places does not exist"
            }
          },
          {
            "error": {
              "code": "invalid_cursor",
              "message": "The cursor does not belong to this search"
            }
          }
        ]
      },
      "SearchListingsRequest": {
        "type": "object",
        "properties": {
          "listingType": {
            "$ref": "#/components/schemas/ListingType"
          },
          "places": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlaceSelector"
            },
            "description": "The places to search, each once. A listing in any of them matches.",
            "uniqueItems": true
          },
          "filters": {
            "description": "Conditions on listing fields. Leave it out to match every listing in the places.",
            "$ref": "#/components/schemas/ListingFilters"
          },
          "cursor": {
            "description": "The previous page's `pagination.nextCursor`. Leave it out for the first page. Send the same search with it: only `limit` may change, or you get a 400 `invalid_cursor`.",
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          },
          "limit": {
            "default": 20,
            "description": "The most listings on the page, 1 to 50.",
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          }
        },
        "required": [
          "listingType",
          "places"
        ],
        "additionalProperties": false,
        "description": "Which open listings to find, and where the page starts.",
        "examples": [
          {
            "listingType": "for-sale",
            "places": [
              {
                "type": "municipality",
                "slug": "amsterdam-gsxxzjaz98rj"
              },
              {
                "type": "postal-code",
                "slug": "1015-dk-sxjnefgamna5"
              }
            ],
            "filters": {
              "propertyTypes": [
                "apartment",
                "house"
              ],
              "minPriceCents": "30000000",
              "maxPriceCents": "60000000",
              "minLivingAreaM2": 50,
              "minBedrooms": 2,
              "minEnergyLabel": "c"
            },
            "limit": 20
          }
        ]
      },
      "SearchListingsResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Listing"
            },
            "description": "The listings on this page, newest first."
          },
          "pagination": {
            "$ref": "#/components/schemas/CursorPagination"
          }
        },
        "required": [
          "data",
          "pagination"
        ],
        "examples": [
          {
            "data": [
              {
                "id": "0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10",
                "listingType": "for-sale",
                "propertyType": "apartment",
                "priceCents": "42500000",
                "statedPriceCents": null,
                "priceBasis": null,
                "livingAreaM2": 92,
                "bedrooms": 2,
                "rooms": 3,
                "constructionYear": 1932,
                "registeredConstructionYear": 1931,
                "energyLabel": "c",
                "furnishingStatus": null,
                "hasApplicationFee": false,
                "state": "available",
                "stateSince": "2026-11-08T16:04:46.864Z",
                "statusLabel": "Beschikbaar",
                "listedAt": "2026-11-08T16:04:46.864Z",
                "location": {
                  "municipality": {
                    "slug": "amsterdam-gsxxzjaz98rj",
                    "displayName": "Amsterdam"
                  },
                  "locality": {
                    "slug": "amsterdam-c7sh2t",
                    "displayName": "Amsterdam"
                  },
                  "district": {
                    "slug": "grachtengordel-west-mavt2wcj84gj",
                    "displayName": "Grachtengordel-West"
                  },
                  "neighborhood": {
                    "slug": "langestraat-e-o-jtvr6xz675kh",
                    "displayName": "Langestraat e.o."
                  },
                  "postalCode": {
                    "slug": "1015-cc-7j7dqke625ht",
                    "displayName": "1015 CC"
                  },
                  "publicSpace": {
                    "slug": "keizersgracht-9z4dabpr",
                    "displayName": "Keizersgracht"
                  }
                },
                "houseNumber": "999",
                "houseLetter": null,
                "houseNumberAddition": "2",
                "propertySlug": "amsterdam-keizersgracht-999-2-k8d3m2p9x4qz",
                "images": [
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-1.webp"
                  },
                  {
                    "url": "https://media.huisly.nl/images/0b7c7a8e-4f3e-4a51-9a39-2f1d3f5c6a10-2.webp"
                  }
                ],
                "description": "Ruim appartement op de tweede verdieping, met uitzicht op de gracht.",
                "geometry": {
                  "type": "Point",
                  "coordinates": [
                    4.886431,
                    52.376893
                  ]
                },
                "sources": [
                  {
                    "providerName": "ankersmit",
                    "url": "https://www.example.com/koop/amsterdam/appartement-keizersgracht-999-2/",
                    "priceCents": "42500000",
                    "listedAt": "2026-11-06T09:12:30.000Z"
                  }
                ],
                "registeredEnergyLabel": {
                  "energyClass": "b",
                  "registeredOn": "2024-09-12",
                  "validUntil": "2034-09-12",
                  "buildingClass": "residential",
                  "buildingType": "apartment",
                  "buildingSubtype": "intermediate-middle-floor",
                  "calculationType": "nta-8800",
                  "calculated": {
                    "energyDemand": 112.38,
                    "primaryFossilEnergy": 149.32,
                    "renewableShare": 21.4,
                    "energyIndex": null,
                    "thermalZoneArea": 86.5
                  },
                  "attribution": {
                    "provider": "ep-online",
                    "publisher": "Rijksdienst voor Ondernemend Nederland (RVO), EP-Online",
                    "license": "EP-Online terms of use",
                    "licenseUrl": "https://apikey.ep-online.nl/Home/TermsOfUse"
                  }
                },
                "agencies": [
                  {
                    "slug": "makelaar-de-vries",
                    "name": "Makelaar De Vries",
                    "claimed": true
                  }
                ]
              }
            ],
            "pagination": {
              "nextCursor": null,
              "limit": 20
            }
          }
        ]
      },
      "SearchPlacesResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoundPlace"
            },
            "description": "The best matches, best first, at most 5."
          }
        },
        "required": [
          "data"
        ],
        "examples": [
          {
            "data": [
              {
                "type": "locality",
                "slug": "amsterdam-c7sh2t",
                "displayName": "Amsterdam",
                "parent": null
              },
              {
                "type": "municipality",
                "slug": "amsterdam-gsxxzjaz98rj",
                "displayName": "Amsterdam",
                "parent": null
              },
              {
                "type": "district",
                "slug": "grachtengordel-west-mavt2wcj84gj",
                "displayName": "Grachtengordel-West",
                "parent": {
                  "type": "municipality",
                  "slug": "amsterdam-gsxxzjaz98rj",
                  "displayName": "Amsterdam"
                }
              }
            ]
          }
        ]
      },
      "ServerError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "Identifies the error, for example `internal_error`.",
                "examples": [
                  "internal_error"
                ]
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "internal_error",
              "message": "An unexpected error occurred"
            }
          }
        ]
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "validation_failed"
                ],
                "description": "The error code. Branch on it. More values may be added."
              },
              "message": {
                "type": "string",
                "description": "What went wrong, for people. It may change: branch on `code`."
              }
            },
            "required": [
              "code",
              "message"
            ]
          }
        },
        "required": [
          "error"
        ],
        "description": "The body of an error response.",
        "examples": [
          {
            "error": {
              "code": "validation_failed",
              "message": "✖ Invalid input: expected string, received undefined\n  → at q"
            }
          }
        ]
      },
      "WebhookPingEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event's ID, the same as the `webhook-id` header. It is the same on every attempt to deliver the event and on every endpoint it goes to: dedupe on it.",
            "examples": [
              "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10"
            ]
          },
          "type": {
            "type": "string",
            "const": "webhook.ping",
            "description": "What happened.",
            "examples": [
              "webhook.ping"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened: an RFC 3339 timestamp in UTC.",
            "examples": [
              "2026-11-15T10:21:08.412Z"
            ]
          },
          "data": {
            "type": "object",
            "properties": {
              "endpointId": {
                "type": "string",
                "format": "uuid",
                "description": "The ID of the endpoint the test was sent to.",
                "examples": [
                  "c1a9d5b2-6e47-4f38-9a0d-7b3e2f8c1d65"
                ]
              }
            },
            "required": [
              "endpointId"
            ],
            "description": "The endpoint the test went to."
          }
        },
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "description": "A test an organization sent itself from the console, to check its receiver and its signature check. It is never subscribed to, and has no listing.",
        "examples": [
          {
            "id": "3f6d8a52-91c4-4b0e-8f1a-5d2c7e9b4a10",
            "type": "webhook.ping",
            "timestamp": "2026-11-15T10:21:08.412Z",
            "data": {
              "endpointId": "c1a9d5b2-6e47-4f38-9a0d-7b3e2f8c1d65"
            }
          }
        ]
      },
      "WozValue": {
        "type": "object",
        "properties": {
          "referenceDate": {
            "type": "string",
            "format": "date",
            "description": "Reference date (waardepeildatum), as `YYYY-MM-DD`.",
            "examples": [
              "2025-01-01"
            ]
          },
          "value": {
            "type": "integer",
            "minimum": 0,
            "description": "The WOZ value in whole euros, as a number.",
            "examples": [
              585000
            ]
          }
        },
        "required": [
          "referenceDate",
          "value"
        ],
        "description": "The value a municipality sets for property tax."
      }
    }
  }
}
