{"openapi":"3.1.0","info":{"title":"SDEP - Listing Monitoring Authority (LMA) API","description":"Read-only endpoints for the listing monitoring authority to view all listings (random checks) in every lifecycle status, and to view platforms, competent authorities and areas. Status: alpha.","contact":{"name":"Nationaal Coordinator SDEP","url":"https://minvro.nl/","email":"nationaalcoordinatorsdep@minbzk.nl"},"version":"1.10.0"},"paths":{"/listings":{"get":{"tags":["lma"],"summary":"Get all listings across all platforms and competent authorities","description":"Get all current listings across all platforms and competent authorities, in every lifecycle status, for monitoring purposes. Returns at most 1000 listings per request (the default and maximum `limit`). Use the `offset` and `limit` pagination parameters to page through results. Optional filters use AND semantics: every provided filter narrows the result set. The `createdAtFrom` and `createdAtTo` form an inclusive `createdAt` range; the other filters are exact-match, except `flags` which matches any of the given codes. The `status` filter narrows to one lifecycle status.\n\n**Each listing contains:**\n- `listingId`: Functional ID identifying this listing\n- `listingName`: Display name (optional) of the listing\n- `status`: Lifecycle status: `pending`, `clear`, `flagged` or `acknowledged`\n- `flags`: Flag codes raised by the screening (`ABS`, `UNK`, `EXP`, `MIS`, `NPR`, `UNX`, `UDS`); empty until screened\n- `areaId`: Functional ID referencing the area where the listing is posted\n- `areaName`: Display name (optional) of the area\n- `competentAuthorityId`: Functional ID referencing the competent authority that owns the area\n- `competentAuthorityName`: Display name (optional) of the competent authority\n- `url`: URL referencing the listing online\n- `address`: Address composite (`thoroughfare`, `locatorDesignatorNumber` (optional), `locatorDesignatorLetter` (optional), `locatorDesignatorAddition` (optional), `postCode`, `postName`, `fullAddress`)\n- `declaredAsShortTermRental`: Host self-declaration\n- `registrationNumber`: Registration number shown on the listing (optional)\n- `submittedAt`: Timestamp of the platform's submission (UTC)\n- `screenedAt`: Timestamp of the screening (UTC, null until screened)\n- `acknowledgedAt`: Timestamp of the acknowledgement (UTC, null until acknowledged)\n- `platformId`: Functional ID referencing the platform that submitted the listing\n- `platformName`: Display name (optional) of the platform\n- `createdAt`: Timestamp when this listing version was created (UTC); the version token for screening and acknowledgement","operationId":"getListingsForMonitoring","security":[{"OAuth2ClientCredentials":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of records to skip (default: 0)","default":0,"title":"Offset"},"description":"Number of records to skip (default: 0)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Maximum number of records to return (default: 1000, max: 1000)","default":1000,"title":"Limit"},"description":"Maximum number of records to return (default: 1000, max: 1000)"},{"name":"createdAtFrom","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter listings whose createdAt timestamp is greater than or equal to this UTC value","examples":["2026-09-01T00:00:00Z"],"title":"Createdatfrom"},"description":"Filter listings whose createdAt timestamp is greater than or equal to this UTC value"},{"name":"createdAtTo","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter listings whose createdAt timestamp is less than or equal to this UTC value","examples":["2026-09-30T23:59:59Z"],"title":"Createdatto"},"description":"Filter listings whose createdAt timestamp is less than or equal to this UTC value"},{"name":"areaId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9-]+$"},{"type":"null"}],"description":"Filter by area functional ID","examples":["58ff0814-3aa1-5019-9afb-3cd9f398602c"],"title":"Areaid"},"description":"Filter by area functional ID"},{"name":"competentAuthorityId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9-]+$"},{"type":"null"}],"description":"Filter by competent authority functional ID","examples":["c4ac8ccf-a281-5789-bad7-28dfac20ca7f"],"title":"Competentauthorityid"},"description":"Filter by competent authority functional ID"},{"name":"platformId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9-]+$"},{"type":"null"}],"description":"Filter by platform functional ID","examples":["8e70f1e2-4c61-477b-89b8-0dbf25ab8b21"],"title":"Platformid"},"description":"Filter by platform functional ID"},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by flag codes, comma-separated; a listing matches when it carries any of them (`ABS`, `UNK`, `EXP`, `MIS`, `NPR`, `UNX`, `UDS`)","examples":["UDS,EXP"],"title":"Flags"},"description":"Filter by flag codes, comma-separated; a listing matches when it carries any of them (`ABS`, `UNK`, `EXP`, `MIS`, `NPR`, `UNX`, `UDS`)"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ListingStatus"},{"type":"null"}],"description":"Filter by lifecycle status (`pending`, `clear`, `flagged`, `acknowledged`)","examples":["flagged"],"title":"Status"},"description":"Filter by lifecycle status (`pending`, `clear`, `flagged`, `acknowledged`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingListResponse"},"example":{"listings":[{"listingId":"550e8400-e29b-41d4-a716-446655440000","listingName":"Amsterdam Canal Apartment","status":"acknowledged","flags":["UNK"],"areaId":"58ff0814-3aa1-5019-9afb-3cd9f398602c","areaName":"Amsterdam","competentAuthorityId":"c4ac8ccf-a281-5789-bad7-28dfac20ca7f","competentAuthorityName":"Amsterdam (inclusief Weesp)","url":"http://example.com/amsterdam-canal-apartment","address":{"thoroughfare":"Prinsengracht","locatorDesignatorNumber":263,"postCode":"1016GV","postName":"Amsterdam","fullAddress":"Prinsengracht 263, 1016GV Amsterdam"},"declaredAsShortTermRental":true,"registrationNumber":"REG0001","submittedAt":"2026-09-07T08:00:00Z","screenedAt":"2026-09-08T06:00:00Z","acknowledgedAt":"2026-09-09T10:00:00Z","platformId":"8e70f1e2-4c61-477b-89b8-0dbf25ab8b21","platformName":"Test STR 01","createdAt":"2026-09-09T10:00:00Z"},{"listingId":"550e8400-e29b-41d4-a716-446655440000","listingName":"Amsterdam Canal Apartment","status":"pending","flags":[],"areaId":"58ff0814-3aa1-5019-9afb-3cd9f398602c","areaName":"Amsterdam","competentAuthorityId":"c4ac8ccf-a281-5789-bad7-28dfac20ca7f","competentAuthorityName":"Amsterdam (inclusief Weesp)","url":"http://example.com/amsterdam-canal-apartment","address":{"thoroughfare":"Prinsengracht","locatorDesignatorNumber":263,"postCode":"1016GV","postName":"Amsterdam","fullAddress":"Prinsengracht 263, 1016GV Amsterdam"},"declaredAsShortTermRental":true,"registrationNumber":"REG0001","submittedAt":"2026-09-07T08:00:00Z","platformId":"8e70f1e2-4c61-477b-89b8-0dbf25ab8b21","platformName":"Test STR 01","createdAt":"2026-09-07T08:00:00Z"}]}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"400":{"description":"Bad request - invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}}}},"/listings/count":{"get":{"tags":["lma"],"summary":"Get the count of all listings across all platforms and competent authorities (optional, to support pagination)","description":"Get the count of all current listings across all platforms and competent authorities (optional, to support pagination). Optional filters use AND semantics: every provided filter narrows the result set. The `createdAtFrom` and `createdAtTo` form an inclusive `createdAt` range; the other filters are exact-match, except `flags` which matches any of the given codes.","operationId":"countListingsForMonitoring","security":[{"OAuth2ClientCredentials":[]}],"parameters":[{"name":"createdAtFrom","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter listings whose createdAt timestamp is greater than or equal to this UTC value","examples":["2026-09-01T00:00:00Z"],"title":"Createdatfrom"},"description":"Filter listings whose createdAt timestamp is greater than or equal to this UTC value"},{"name":"createdAtTo","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter listings whose createdAt timestamp is less than or equal to this UTC value","examples":["2026-09-30T23:59:59Z"],"title":"Createdatto"},"description":"Filter listings whose createdAt timestamp is less than or equal to this UTC value"},{"name":"areaId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9-]+$"},{"type":"null"}],"description":"Filter by area functional ID","examples":["58ff0814-3aa1-5019-9afb-3cd9f398602c"],"title":"Areaid"},"description":"Filter by area functional ID"},{"name":"competentAuthorityId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9-]+$"},{"type":"null"}],"description":"Filter by competent authority functional ID","examples":["c4ac8ccf-a281-5789-bad7-28dfac20ca7f"],"title":"Competentauthorityid"},"description":"Filter by competent authority functional ID"},{"name":"platformId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9-]+$"},{"type":"null"}],"description":"Filter by platform functional ID","examples":["8e70f1e2-4c61-477b-89b8-0dbf25ab8b21"],"title":"Platformid"},"description":"Filter by platform functional ID"},{"name":"flags","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by flag codes, comma-separated; a listing matches when it carries any of them (`ABS`, `UNK`, `EXP`, `MIS`, `NPR`, `UNX`, `UDS`)","examples":["UDS,EXP"],"title":"Flags"},"description":"Filter by flag codes, comma-separated; a listing matches when it carries any of them (`ABS`, `UNK`, `EXP`, `MIS`, `NPR`, `UNX`, `UDS`)"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ListingStatus"},{"type":"null"}],"description":"Filter by lifecycle status (`pending`, `clear`, `flagged`, `acknowledged`)","examples":["flagged"],"title":"Status"},"description":"Filter by lifecycle status (`pending`, `clear`, `flagged`, `acknowledged`)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingCountResponse"}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"400":{"description":"Bad request - invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}}}},"/platforms":{"get":{"tags":["lma"],"summary":"Get all platforms","description":"Get all current platforms. Returns at most 1000 records per request (the default and maximum `limit`). Use the `offset` and `limit` pagination parameters to page through results, and the `/count` endpoint for the total. Use `platformId` as the `platformId` filter of the activity and listing reads.\n\n**Each platform contains:**\n- `platformId`: Functional ID identifying this platform\n- `platformName`: Display name (optional) of the platform\n- `createdAt`: Timestamp when this platform version was created (UTC)","operationId":"getPlatforms","security":[{"OAuth2ClientCredentials":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of records to skip (default: 0)","default":0,"title":"Offset"},"description":"Number of records to skip (default: 0)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Maximum number of records to return (default: 1000, max: 1000)","default":1000,"title":"Limit"},"description":"Maximum number of records to return (default: 1000, max: 1000)"}],"responses":{"200":{"description":"List of platforms","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformListResponse"},"example":{"platforms":[{"platformId":"8e70f1e2-4c61-477b-89b8-0dbf25ab8b21","platformName":"Test STR 01","createdAt":"2025-01-01T00:00:00Z"}]}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"400":{"description":"Bad request - invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}}}},"/platforms/count":{"get":{"tags":["lma"],"summary":"Get platforms count (optional, to support pagination)","description":"Get platforms count (optional, to support pagination)","operationId":"countPlatforms","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCountResponse"}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}},"security":[{"OAuth2ClientCredentials":[]}]}},"/competent-authorities":{"get":{"tags":["lma"],"summary":"Get all competent authorities","description":"Get all current competent authorities. Returns at most 1000 records per request (the default and maximum `limit`). Use the `offset` and `limit` pagination parameters to page through results, and the `/count` endpoint for the total. Use `competentAuthorityId` as the `competentAuthorityId` filter of the activity and listing reads.\n\n**Each competent authority contains:**\n- `competentAuthorityId`: Functional ID identifying this competent authority\n- `competentAuthorityName`: Display name (optional) of the competent authority\n- `createdAt`: Timestamp when this competent authority version was created (UTC)","operationId":"getCompetentAuthorities","security":[{"OAuth2ClientCredentials":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of records to skip (default: 0)","default":0,"title":"Offset"},"description":"Number of records to skip (default: 0)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Maximum number of records to return (default: 1000, max: 1000)","default":1000,"title":"Limit"},"description":"Maximum number of records to return (default: 1000, max: 1000)"}],"responses":{"200":{"description":"List of competent authorities","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetentAuthorityListResponse"},"example":{"competentAuthorities":[{"competentAuthorityId":"c4ac8ccf-a281-5789-bad7-28dfac20ca7f","competentAuthorityName":"Amsterdam (inclusief Weesp)","createdAt":"2025-01-01T00:00:00Z"}]}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"400":{"description":"Bad request - invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}}}},"/competent-authorities/count":{"get":{"tags":["lma"],"summary":"Get competent authorities count (optional, to support pagination)","description":"Get competent authorities count (optional, to support pagination)","operationId":"countCompetentAuthorities","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetentAuthorityCountResponse"}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}},"security":[{"OAuth2ClientCredentials":[]}]}},"/areas":{"get":{"tags":["lma"],"summary":"Get all areas","description":"Get all areas, maximum 1000 per page. `limit` defaults to 1000 (the maximum); use `offset` and `limit` to page through the result set, and `GET /areas/count` for the total.\n\n**Each area contains:**\n- `areaId`: Functional ID identifying this area\n- `areaName`: Display name (optional) of the area\n- `regulation`: Regulation type of the area - 'listing', 'activity', or 'all'\n- `filename`: Name of the area shapefile (e.g., 'area.zip')\n- `competentAuthorityId`: Functional ID referencing the competent authority that owns the area\n- `competentAuthorityName`: Display name (optional) of the competent authority\n- `createdAt`: Timestamp when this area version was created (UTC)","operationId":"getAreas","security":[{"OAuth2ClientCredentials":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of records to skip (default: 0)","default":0,"title":"Offset"},"description":"Number of records to skip (default: 0)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Maximum number of records to return (default: 1000, max: 1000)","default":1000,"title":"Limit"},"description":"Maximum number of records to return (default: 1000, max: 1000)"}],"responses":{"200":{"description":"List of areas","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AreaListResponse"},"example":{"areas":[{"areaId":"58ff0814-3aa1-5019-9afb-3cd9f398602c","areaName":"Amsterdam","regulation":"all","filename":"Amsterdam.zip","competentAuthorityId":"c4ac8ccf-a281-5789-bad7-28dfac20ca7f","competentAuthorityName":"Amsterdam (inclusief Weesp)","createdAt":"2025-01-01T00:00:00Z"},{"areaId":"974e2c23-b666-5044-a05c-9479a4c293a1","areaName":"Rotterdam","regulation":"all","filename":"Rotterdam.zip","competentAuthorityId":"a30df3a7-7e38-534c-b9c0-7666bad077d2","competentAuthorityName":"Rotterdam","createdAt":"2025-01-01T00:00:00Z"}]}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"400":{"description":"Bad request - invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}}}},"/areas/count":{"get":{"tags":["lma"],"summary":"Get areas count (optional, to support pagination)","description":"Get areas count (optional, to support pagination).","operationId":"countAreas","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AreaCountResponse"}}}},"500":{"description":"Internal Server Error - an unexpected issue occurred that prevented the request from being completed"},"503":{"description":"Service Unavailable - temporarily unable to process requests due to overload, maintenance, or dependency issues (database/authorization server)"},"401":{"description":"Unauthorized - missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden - insufficient permissions"}},"security":[{"OAuth2ClientCredentials":[]}]}}},"components":{"schemas":{"AreaCountResponse":{"properties":{"count":{"type":"integer","minimum":0.0,"title":"Count","description":"Total number of areas in context of the current SDEP/member state","examples":[42]}},"type":"object","required":["count"],"title":"Area.CountResponse","description":"Count of areas response schema."},"AreaListResponse":{"properties":{"areas":{"items":{"$ref":"#/components/schemas/AreaResponse"},"type":"array","title":"Areas","description":"List of areas in context of the current SDEP/member state"}},"type":"object","required":["areas"],"title":"Area.ListResponse","description":"List of areas response schema."},"AreaResponse":{"properties":{"areaId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Areaid","description":"Functional ID identifying this area","examples":["58ff0814-3aa1-5019-9afb-3cd9f398602c"]},"areaName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Areaname","description":"Display name (optional) of the area","examples":["Amsterdam"]},"regulation":{"$ref":"#/components/schemas/Regulation","description":"Regulation type of the area - 'listing', 'activity', or 'all'","default":"all","examples":["all"]},"filename":{"type":"string","maxLength":64,"title":"Filename","description":"Name of the area shapefile (e.g., 'area.zip')","examples":["Amsterdam.zip"]},"competentAuthorityId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Competentauthorityid","description":"Functional ID of the competent authority that owns the area","examples":["c4ac8ccf-a281-5789-bad7-28dfac20ca7f"]},"competentAuthorityName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Competentauthorityname","description":"Display name (optional) of the competent authority","examples":["Amsterdam (inclusief Weesp)"]},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"Timestamp when this area version was created (UTC)","examples":["2025-01-01T00:00:00Z"]}},"type":"object","required":["areaId","filename","competentAuthorityId","createdAt"],"title":"Area.Response","description":"Area response schema."},"CommonAddressResponse":{"properties":{"thoroughfare":{"type":"string","maxLength":80,"title":"Thoroughfare","description":"Street / public space name (max 80 chars)"},"locatorDesignatorNumber":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Locatordesignatornumber","description":"Numeric house number component (optional, >= 0 when provided)"},"locatorDesignatorLetter":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Locatordesignatorletter","description":"Letter/character suffix (optional, max 10 chars)"},"locatorDesignatorAddition":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Locatordesignatoraddition","description":"Additional qualifier (optional, max 128 chars)"},"postCode":{"type":"string","maxLength":10,"title":"Postcode","description":"Postal code (max 10 chars)"},"postName":{"type":"string","maxLength":80,"title":"Postname","description":"City / town / village (max 80 chars)"},"fullAddress":{"type":"string","maxLength":328,"title":"Fulladdress","description":"Full address as a single string (max 328 chars)"}},"type":"object","required":["thoroughfare","postCode","postName","fullAddress"],"title":"Common.AddressResponse","description":"Address composite schema for activity responses (INSPIRE/STR-AP field names)."},"Regulation":{"type":"string","enum":["listing","activity","all"],"title":"Common.Regulation","description":"Regulation type for an area: 'listing', 'activity', or 'all' (covers both)."},"CompetentAuthorityCountResponse":{"properties":{"count":{"type":"integer","minimum":0.0,"title":"Count","description":"Total number of competent authorities in context of the current SDEP/member state","examples":[42]}},"type":"object","required":["count"],"title":"CompetentAuthority.CountResponse","description":"Count of competent authorities response schema."},"CompetentAuthorityListResponse":{"properties":{"competentAuthorities":{"items":{"$ref":"#/components/schemas/CompetentAuthorityResponse"},"type":"array","title":"Competentauthorities","description":"List of competent authorities in context of the current SDEP/member state"}},"type":"object","required":["competentAuthorities"],"title":"CompetentAuthority.ListResponse","description":"List of competent authorities response schema."},"CompetentAuthorityResponse":{"properties":{"competentAuthorityId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Competentauthorityid","description":"Functional ID identifying this competent authority","examples":["c4ac8ccf-a281-5789-bad7-28dfac20ca7f"]},"competentAuthorityName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Competentauthorityname","description":"Display name (optional) of the competent authority","examples":["Amsterdam (inclusief Weesp)"]},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"Timestamp when this competent authority version was created (UTC)","examples":["2025-01-01T00:00:00Z"]}},"type":"object","required":["competentAuthorityId","createdAt"],"title":"CompetentAuthority.Response","description":"Competent authority response schema. The private client_id is never exposed."},"ErrorDetail":{"properties":{"msg":{"type":"string","title":"Msg","description":"Human-readable error message"},"type":{"type":"string","title":"Type","description":"Error type identifier"},"loc":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array"},{"type":"null"}],"title":"Loc","description":"Location of the error (e.g. ['body', 'fieldName'])"}},"type":"object","required":["msg","type"],"title":"Error.Detail","description":"Detail of a single error."},"ErrorResponse":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ErrorDetail"},"type":"array","title":"Detail","description":"List of error details"}},"type":"object","required":["detail"],"title":"Error.Response","description":"Standardized error response format."},"ListingCountResponse":{"properties":{"count":{"type":"integer","minimum":0.0,"title":"Count","description":"Total number of listing records","examples":[42]}},"type":"object","required":["count"],"title":"Listing.CountResponse","description":"Count of listings response schema."},"ListingFlag":{"type":"string","enum":["ABS","UNK","EXP","MIS","NPR","UNX","UDS"],"title":"Listing.Flag","description":"Flag code raised by listing screening, see docs/LISTING_FUNC.md."},"ListingListResponse":{"properties":{"listings":{"items":{"$ref":"#/components/schemas/ListingResponse"},"type":"array","title":"Listings","description":"List of listings"}},"type":"object","required":["listings"],"title":"Listing.ListResponse","description":"List of listings for GET responses."},"ListingResponse":{"properties":{"listingId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Listingid","description":"Functional ID identifying this listing","examples":["550e8400-e29b-41d4-a716-446655440000"]},"listingName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Listingname","description":"Display name (optional) of the listing"},"status":{"$ref":"#/components/schemas/ListingStatus","description":"Lifecycle status: `pending`, `clear`, `flagged` or `acknowledged`","examples":["flagged"]},"flags":{"items":{"$ref":"#/components/schemas/ListingFlag"},"type":"array","title":"Flags","description":"Flag codes raised by the screening (empty until screened; non-empty when `flagged` or `acknowledged`)","examples":[["UNK"]]},"areaId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Areaid","description":"Functional ID referencing the area where the listing is posted (case-sensitive)","examples":["58ff0814-3aa1-5019-9afb-3cd9f398602c"]},"areaName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Areaname","description":"Display name (optional) of the area"},"competentAuthorityId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Competentauthorityid","description":"Functional ID referencing the competent authority that owns the area","examples":["c4ac8ccf-a281-5789-bad7-28dfac20ca7f"]},"competentAuthorityName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Competentauthorityname","description":"Display name (optional) of the competent authority"},"url":{"type":"string","maxLength":2048,"title":"Url","description":"URL referencing the listing online (max 2048 chars)"},"address":{"$ref":"#/components/schemas/CommonAddressResponse","description":"Address composite (`thoroughfare`, `locatorDesignatorNumber` (optional), `locatorDesignatorLetter` (optional), `locatorDesignatorAddition` (optional), `postCode`, `postName`, `fullAddress`)"},"declaredAsShortTermRental":{"type":"boolean","title":"Declaredasshorttermrental","description":"Host self-declaration: `true` when the host declared the listing as a short-term rental"},"registrationNumber":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Registrationnumber","description":"Registration number shown on the listing (optional, max 128 chars)"},"submittedAt":{"type":"string","format":"date-time","title":"Submittedat","description":"Timestamp of the platform's submission (UTC); unchanged by screening and acknowledgement"},"screenedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Screenedat","description":"Timestamp of the screening (UTC); null until screened"},"acknowledgedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acknowledgedat","description":"Timestamp of the acknowledgement (UTC); null until acknowledged"},"platformId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Platformid","description":"Functional ID referencing the platform that submitted the listing","examples":["8e70f1e2-4c61-477b-89b8-0dbf25ab8b21"]},"platformName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Platformname","description":"Display name (optional) of the platform"},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"Timestamp when this listing version was created (UTC); the version token for screening and acknowledgement"}},"type":"object","required":["listingId","status","flags","areaId","competentAuthorityId","url","address","declaredAsShortTermRental","submittedAt","platformId","createdAt"],"title":"Listing.Response","description":"Listing response schema, the same for every audience."},"ListingStatus":{"type":"string","enum":["pending","clear","flagged","acknowledged"],"title":"Listing.Status","description":"Lifecycle status for a listing (random check) record."},"PlatformCountResponse":{"properties":{"count":{"type":"integer","minimum":0.0,"title":"Count","description":"Total number of platforms in context of the current SDEP/member state","examples":[12]}},"type":"object","required":["count"],"title":"Platform.CountResponse","description":"Count of platforms response schema."},"PlatformListResponse":{"properties":{"platforms":{"items":{"$ref":"#/components/schemas/PlatformResponse"},"type":"array","title":"Platforms","description":"List of platforms in context of the current SDEP/member state"}},"type":"object","required":["platforms"],"title":"Platform.ListResponse","description":"List of platforms response schema."},"PlatformResponse":{"properties":{"platformId":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9-]+$","title":"Platformid","description":"Functional ID identifying this platform","examples":["8e70f1e2-4c61-477b-89b8-0dbf25ab8b21"]},"platformName":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Platformname","description":"Display name (optional) of the platform","examples":["Example.com"]},"createdAt":{"type":"string","format":"date-time","title":"Createdat","description":"Timestamp when this platform version was created (UTC)","examples":["2025-01-01T00:00:00Z"]}},"type":"object","required":["platformId","createdAt"],"title":"Platform.Response","description":"Platform response schema. The private client_id is never exposed."}},"securitySchemes":{"OAuth2ClientCredentials":{"type":"oauth2","flows":{"clientCredentials":{"scopes":{},"tokenUrl":"https://pre-sdep.minvro.nl/api/auth/v1/token"}}}}},"servers":[{"url":"/api/lma/v2"}]}