{"openapi":"3.1.0","info":{"title":"The Beach House AI Booking API","version":"1.2.0","description":"Read-only Booking Core for one villa in Portugal. Public operations are rate-limited. Authentication, when required, is defined in security. Amounts are in EUR cents. Dates are local to Europe/Lisbon and departure is exclusive. Results reflect the current calendar and are rechecked on the booking page. Send only documented fields. Do not send names, contact details, birth dates, guest identifiers or other personal data."},"servers":[{"url":"https://thebeachhouse.eu/wp-json/tbh-ai/v1"}],"security":[],"paths":{"/accommodation":{"get":{"operationId":"get_accommodation","summary":"Get the villa profile, room layout, location and photos.","responses":{"200":{"description":"Successful read. This example is illustrative and does not hold inventory.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Accommodation"},"examples":{"success":{"value":{"language":"en","description":"Private coastal villa with a pool.","villaUrl":"https://thebeachhouse.eu/en/villa/","amenities":["private_pool","private_ensuite_bathrooms","wifi"],"id":"the-beach-house-murtinheira","propertyUri":"https://thebeachhouse.eu/en/#property","registrationNumber":"157491/AL","name":"The Beach House","locality":"Murtinheira, Figueira da Foz","countryCode":"PT","capacity":10,"bedrooms":4,"bathrooms":4,"toilets":3,"photos":["https://thebeachhouse.eu/wp-content/plugins/the-beach-house-core/assets/assets/hero-desktop.webp"],"roomLayout":[{"floor":0,"privateBathroom":true,"doubleBeds":1,"singleBeds":0,"bunkBeds":0},{"floor":1,"privateBathroom":true,"doubleBeds":1,"singleBeds":0,"bunkBeds":0},{"floor":1,"privateBathroom":true,"doubleBeds":1,"singleBeds":0,"bunkBeds":0},{"floor":1,"privateBathroom":true,"doubleBeds":0,"singleBeds":2,"bunkBeds":1}],"locationUrl":"https://thebeachhouse.eu/en/location/","surroundingsUrl":"https://thebeachhouse.eu/en/silver-coast/","galleryUrl":"https://thebeachhouse.eu/en/gallery/"}}}}}},"400":{"description":"INVALID_INPUT, INVALID_DATE, INVALID_STAY, INVALID_LANGUAGE, GUEST_LIMIT, BABY_LIMIT, INVALID_TAX_GUESTS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"name":"language","in":"query","schema":{"$ref":"#/components/schemas/Language"},"example":"nl"}],"description":"Returns the verified public villa profile and photo links in the requested language."}},"/amenities":{"get":{"operationId":"get_amenities","summary":"Get the villa amenities and localised descriptions.","responses":{"200":{"description":"Successful read. This example is illustrative and does not hold inventory.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Amenities"},"examples":{"success":{"value":{"language":"en","description":"Private coastal villa with a pool.","villaUrl":"https://thebeachhouse.eu/en/villa/","amenities":["private_pool","private_ensuite_bathrooms","wifi"]}}}}}},"400":{"description":"INVALID_INPUT, INVALID_DATE, INVALID_STAY, INVALID_LANGUAGE, GUEST_LIMIT, BABY_LIMIT, INVALID_TAX_GUESTS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"name":"language","in":"query","schema":{"$ref":"#/components/schemas/Language"},"example":"nl"}],"description":"Returns amenity identifiers, a localized description and the villa page."}},"/conditions":{"get":{"operationId":"get_booking_conditions","summary":"Get house rules and current booking conditions.","responses":{"200":{"description":"Successful read. This example is illustrative and does not hold inventory.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conditions"},"examples":{"success":{"value":{"language":"en","currency":"EUR","capacity":10,"checkInLocal":"16:00","checkOutLocal":"10:00","timeZone":"Europe/Lisbon","minimumLeadDays":3,"defaultMinimumNights":{"otherMonths":4,"julyAugust":7},"summerGapExceptionNights":[4,5,6],"maximumBookableNight":"2027-12-31","cleaningCents":18000,"securityDepositCents":25000,"depositPercent":30,"balanceDaysBeforeArrival":42,"fullPaymentWithinDays":42,"securityDepositRefundable":true,"securityDepositCashOnArrival":true,"cancellationTiers":[{"from":0,"percent":100},{"from":15,"percent":75},{"from":31,"percent":50},{"from":61,"percent":30}],"cancellationTerms":"Cancellation fees apply to the agreed rental amount.","houseRules":"Only registered guests may stay.","touristTaxCollectedOnArrival":true,"currentTouristTaxRules":{"warm_cents":200,"cold_cents":150,"min_age":16,"max_nights":7},"faqUrl":"https://thebeachhouse.eu/en/faq/"}}}}}},"400":{"description":"INVALID_INPUT, INVALID_DATE, INVALID_STAY, INVALID_LANGUAGE, GUEST_LIMIT, BABY_LIMIT, INVALID_TAX_GUESTS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"parameters":[{"name":"language","in":"query","schema":{"$ref":"#/components/schemas/Language"},"example":"nl"}],"description":"Returns public booking conditions, cancellation tiers, house rules and current tourist tax rules."}},"/availability":{"post":{"operationId":"check_availability","x-read-only":true,"summary":"Verify availability and applicable minimum stay for an itinerary.","responses":{"200":{"description":"Successful read. This example is illustrative and does not hold inventory.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AvailableStay"},{"$ref":"#/components/schemas/UnavailableStay"}]},"examples":{"success":{"value":{"language":"en","arrival":"2027-06-05","departure":"2027-06-12","guests":2,"babies":0,"guests16Plus":2,"available":true,"nights":7,"minimumNights":4,"standardMinimumNights":4,"summerGapException":false}},"occupied":{"value":{"language":"en","arrival":"2027-06-05","departure":"2027-06-12","guests":2,"babies":0,"available":false,"reason":"DATES_NO_LONGER_AVAILABLE"}}}}}},"400":{"description":"INVALID_INPUT, INVALID_DATE, INVALID_STAY, INVALID_LANGUAGE, GUEST_LIMIT, BABY_LIMIT, INVALID_TAX_GUESTS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"DATES_NO_LONGER_AVAILABLE, AVAILABILITY_OUTSIDE_COVERAGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"PAYLOAD_TOO_LARGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"MINIMUM_BOOKING_LEAD_TIME, MINIMUM_STAY, RATE_OUTSIDE_PUBLISHED_RANGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"unverified":{"value":{"code":"AVAILABILITY_UNVERIFIED","message":"Availability could not be verified. Try again later."}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StayInput"},"example":{"arrival":"2027-06-05","departure":"2027-06-12","guests":4,"babies":0,"guests16Plus":2,"language":"nl"}}}},"description":"Read-only POST. Checks dates and applicable minimum stay using the verified Booking Core calendar. It creates no hold or reservation and cannot update the calendar. An unverified calendar gives HTTP 503. Send only the documented JSON body, without query parameters or personal data."}},"/price":{"post":{"operationId":"get_stay_price","x-read-only":true,"summary":"Calculate the live accommodation price for an available stay.","responses":{"200":{"description":"Successful read. This example is illustrative and does not hold inventory.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Price"},"examples":{"success":{"value":{"language":"en","arrival":"2027-06-05","departure":"2027-06-12","guests":2,"babies":0,"guests16Plus":2,"available":true,"nights":7,"minimumNights":4,"standardMinimumNights":4,"summerGapException":false,"currency":"EUR","rentCents":210000,"cleaningCents":18000,"accommodationCents":228000,"securityDepositCents":25000,"payNowCents":68400,"payLaterCents":159600,"taxPerEligiblePersonCents":1400,"balanceDueISO":"2027-04-24","estimatedTouristTaxBeforeExemptionsCents":2800,"touristTaxAssessment":"pending","touristTaxCollectedOnArrival":true,"securityDepositRefundable":true,"securityDepositCashOnArrival":true,"nightlyLines":[{"date":"2027-06-05","cents":30000},{"date":"2027-06-06","cents":30000},{"date":"2027-06-07","cents":30000},{"date":"2027-06-08","cents":30000},{"date":"2027-06-09","cents":30000},{"date":"2027-06-10","cents":30000},{"date":"2027-06-11","cents":30000}],"totalPriceExcludingRefundableDepositCents":230800}}}}}},"400":{"description":"INVALID_INPUT, INVALID_DATE, INVALID_STAY, INVALID_LANGUAGE, GUEST_LIMIT, BABY_LIMIT, INVALID_TAX_GUESTS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"DATES_NO_LONGER_AVAILABLE, AVAILABILITY_OUTSIDE_COVERAGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"PAYLOAD_TOO_LARGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"MINIMUM_BOOKING_LEAD_TIME, MINIMUM_STAY, RATE_OUTSIDE_PUBLISHED_RANGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"unverified":{"value":{"code":"AVAILABILITY_UNVERIFIED","message":"Availability could not be verified. Try again later."}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StayInput"},"example":{"arrival":"2027-06-05","departure":"2027-06-12","guests":4,"babies":0,"guests16Plus":2,"language":"nl"}}}},"description":"Read-only POST. Calculates an indicative stay price without recording a quote or collecting payment. The estimated tax and stay total are null when the taxable age count is unknown. The website verifies exemptions separately. Send only the documented JSON body, without query parameters or personal data."}},"/booking-link":{"post":{"operationId":"get_booking_link","x-read-only":true,"summary":"Generate a localised booking link for a verified stay.","responses":{"200":{"description":"Successful read. This example is illustrative and does not hold inventory.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingLink"},"examples":{"success":{"value":{"language":"en","arrival":"2027-06-05","departure":"2027-06-12","guests":2,"babies":0,"guests16Plus":2,"available":true,"nights":7,"minimumNights":4,"standardMinimumNights":4,"summerGapException":false,"bookingUrl":"https://thebeachhouse.eu/en/book/?arrival=2027-06-05&departure=2027-06-12&guests=2&babies=0"}}}}}},"400":{"description":"INVALID_INPUT, INVALID_DATE, INVALID_STAY, INVALID_LANGUAGE, GUEST_LIMIT, BABY_LIMIT, INVALID_TAX_GUESTS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"DATES_NO_LONGER_AVAILABLE, AVAILABILITY_OUTSIDE_COVERAGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"PAYLOAD_TOO_LARGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"MINIMUM_BOOKING_LEAD_TIME, MINIMUM_STAY, RATE_OUTSIDE_PUBLISHED_RANGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"unverified":{"value":{"code":"AVAILABILITY_UNVERIFIED","message":"Availability could not be verified. Try again later."}}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StayInput"},"example":{"arrival":"2027-06-05","departure":"2027-06-12","guests":4,"babies":0,"guests16Plus":2,"language":"nl"}}}},"description":"Read-only POST. Returns a localized URL with dates and guest counts only. It does not initiate checkout, create a reservation or hold availability. The website rechecks price and availability. Send only the documented JSON body, without query parameters or personal data."}},"/openapi.json":{"get":{"operationId":"getOpenApiDocument","summary":"Get this machine-readable contract.","responses":{"200":{"description":"OpenAPI 3.1.0 document.","headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store, private, max-age=0"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"INVALID_INPUT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"FORBIDDEN_ORIGIN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"FEATURE_DISABLED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMIT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"limit":{"value":{"code":"RATE_LIMIT","message":"Request limit reached. Try again later."}}}}},"headers":{"Retry-After":{"schema":{"type":"integer","minimum":1,"maximum":60},"description":"Seconds until the next rate-limit window."}}},"503":{"description":"AVAILABILITY_UNVERIFIED, SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"description":"Returns the machine-readable public REST contract, with a link to MCP when enabled. Fetch without query parameters. The response is served as application/json and must not be cached."}}},"components":{"schemas":{"Language":{"type":"string","enum":["en","de","nl","fr","pt","pt-PT","es"],"default":"en","description":"pt is accepted as an alias for pt-PT."},"LocaleInput":{"type":"object","properties":{"language":{"$ref":"#/components/schemas/Language"}},"required":[],"additionalProperties":false},"StayInput":{"type":"object","properties":{"language":{"$ref":"#/components/schemas/Language"},"arrival":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"departure":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Check-out date, excluded from the occupied nights."},"guests":{"type":"integer","minimum":1,"maximum":10,"description":"Total party size, including children and babies."},"babies":{"type":"integer","minimum":0,"maximum":1,"default":0,"description":"Included in guests."},"guests16Plus":{"type":"integer","minimum":0,"maximum":10,"description":"Optional count aged 16 or over. Must not exceed guests minus babies. Exemptions and legal eligibility are determined separately."}},"required":["arrival","departure","guests"],"additionalProperties":false,"description":"Arrival is at least three days ahead in Europe/Lisbon. Departure is after arrival. Maximum 730 nights and within the verified booking window. Availability is a snapshot. Supply aggregate counts only. Names, contacts, dates of birth and identifiers are not accepted."},"Accommodation":{"type":"object","properties":{"propertyUri":{"type":"string","format":"uri","description":"Canonical property entity URI shared with the website's VacationRental JSON-LD in all languages."},"registrationNumber":{"type":"string","description":"Public Portuguese Alojamento Local registration number."},"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"description":{"type":"string"},"villaUrl":{"type":"string","format":"uri"},"amenities":{"type":"array","items":{"type":"string","enum":["private_pool","pool_heating_weather_dependent","beach_about_100m","private_ensuite_bathrooms","baby_cot_on_request","high_chair_on_request","wifi","bedroom_air_conditioning","equipped_kitchen","dishwasher","washing_machine","barbecue","parking_by_the_house"]}},"id":{"type":"string"},"name":{"type":"string"},"locality":{"type":"string"},"countryCode":{"const":"PT"},"capacity":{"type":"integer","minimum":1,"maximum":100},"bedrooms":{"type":"integer","minimum":0},"bathrooms":{"type":"integer","minimum":0},"toilets":{"type":"integer","minimum":0},"photos":{"type":"array","items":{"type":"string","format":"uri"}},"roomLayout":{"type":"array","items":{"type":"object","properties":{"floor":{"type":"integer","minimum":0},"privateBathroom":{"type":"boolean"},"doubleBeds":{"type":"integer","minimum":0},"singleBeds":{"type":"integer","minimum":0},"bunkBeds":{"type":"integer","minimum":0}},"required":["floor","privateBathroom","doubleBeds","singleBeds","bunkBeds"],"additionalProperties":false}},"locationUrl":{"type":"string","format":"uri"},"surroundingsUrl":{"type":"string","format":"uri"},"galleryUrl":{"type":"string","format":"uri"}},"required":["propertyUri","registrationNumber","language","description","villaUrl","amenities","id","name","locality","countryCode","capacity","bedrooms","bathrooms","toilets","photos","roomLayout","locationUrl","surroundingsUrl","galleryUrl"],"additionalProperties":false},"Amenities":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"description":{"type":"string"},"villaUrl":{"type":"string","format":"uri"},"amenities":{"type":"array","items":{"type":"string","enum":["private_pool","pool_heating_weather_dependent","beach_about_100m","private_ensuite_bathrooms","baby_cot_on_request","high_chair_on_request","wifi","bedroom_air_conditioning","equipped_kitchen","dishwasher","washing_machine","barbecue","parking_by_the_house"]}}},"required":["language","description","villaUrl","amenities"],"additionalProperties":false},"Conditions":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"currency":{"const":"EUR"},"capacity":{"type":"integer","minimum":1,"maximum":100},"checkInLocal":{"type":"string"},"checkOutLocal":{"type":"string"},"timeZone":{"const":"Europe/Lisbon"},"minimumLeadDays":{"type":"integer","minimum":0},"defaultMinimumNights":{"type":"object","properties":{"otherMonths":{"type":"integer","minimum":0},"julyAugust":{"type":"integer","minimum":0}},"required":["otherMonths","julyAugust"],"additionalProperties":false},"summerGapExceptionNights":{"type":"array","items":{"type":"integer","minimum":4,"maximum":6}},"maximumBookableNight":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"cleaningCents":{"type":"integer","minimum":0},"securityDepositCents":{"type":"integer","minimum":0},"depositPercent":{"type":"integer","minimum":0},"balanceDaysBeforeArrival":{"type":"integer","minimum":0},"fullPaymentWithinDays":{"type":"integer","minimum":0},"securityDepositRefundable":{"const":true},"securityDepositCashOnArrival":{"const":true},"cancellationTiers":{"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":0},"percent":{"type":"integer","minimum":0,"maximum":100}},"required":["from","percent"],"additionalProperties":false}},"cancellationTerms":{"type":"string"},"houseRules":{"type":"string"},"touristTaxCollectedOnArrival":{"const":true},"currentTouristTaxRules":{"type":"object","properties":{"warm_cents":{"type":"integer","minimum":0},"cold_cents":{"type":"integer","minimum":0},"min_age":{"type":"integer","minimum":0},"max_nights":{"type":"integer","minimum":0}},"required":["warm_cents","cold_cents","min_age","max_nights"],"additionalProperties":false},"faqUrl":{"type":"string","format":"uri"}},"required":["language","currency","capacity","checkInLocal","checkOutLocal","timeZone","minimumLeadDays","defaultMinimumNights","summerGapExceptionNights","maximumBookableNight","cleaningCents","securityDepositCents","depositPercent","balanceDaysBeforeArrival","fullPaymentWithinDays","securityDepositRefundable","securityDepositCashOnArrival","cancellationTiers","cancellationTerms","houseRules","touristTaxCollectedOnArrival","currentTouristTaxRules","faqUrl"],"additionalProperties":false},"AvailableStay":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"arrival":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"departure":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Check-out date, excluded from the occupied nights."},"guests":{"type":"integer","minimum":1,"maximum":10,"description":"Total party size, including children and babies."},"babies":{"type":"integer","minimum":0,"maximum":1,"default":0,"description":"Included in guests."},"guests16Plus":{"type":"integer","minimum":0,"maximum":10,"description":"Optional count aged 16 or over. Must not exceed guests minus babies. Exemptions and legal eligibility are determined separately."},"available":{"const":true},"nights":{"type":"integer","minimum":1,"maximum":730},"minimumNights":{"type":"integer","minimum":1,"maximum":730},"standardMinimumNights":{"type":"integer","minimum":1,"maximum":730},"summerGapException":{"type":"boolean"}},"required":["language","arrival","departure","guests","babies","available","nights","minimumNights","standardMinimumNights","summerGapException"],"additionalProperties":false},"UnavailableStay":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"arrival":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"departure":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Check-out date, excluded from the occupied nights."},"guests":{"type":"integer","minimum":1,"maximum":10,"description":"Total party size, including children and babies."},"babies":{"type":"integer","minimum":0,"maximum":1,"default":0,"description":"Included in guests."},"available":{"const":false},"reason":{"const":"DATES_NO_LONGER_AVAILABLE"}},"required":["language","arrival","departure","guests","babies","available","reason"],"additionalProperties":false},"Price":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"arrival":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"departure":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Check-out date, excluded from the occupied nights."},"guests":{"type":"integer","minimum":1,"maximum":10,"description":"Total party size, including children and babies."},"babies":{"type":"integer","minimum":0,"maximum":1,"default":0,"description":"Included in guests."},"guests16Plus":{"type":"integer","minimum":0,"maximum":10,"description":"Optional count aged 16 or over. Must not exceed guests minus babies. Exemptions and legal eligibility are determined separately."},"available":{"const":true},"nights":{"type":"integer","minimum":1,"maximum":730},"minimumNights":{"type":"integer","minimum":1,"maximum":730},"standardMinimumNights":{"type":"integer","minimum":1,"maximum":730},"summerGapException":{"type":"boolean"},"currency":{"const":"EUR"},"rentCents":{"type":"integer","minimum":0},"cleaningCents":{"type":"integer","minimum":0},"accommodationCents":{"type":"integer","minimum":0,"description":"Rent including mandatory cleaning. Tourist tax and refundable deposit are separate."},"securityDepositCents":{"type":"integer","minimum":0,"description":"Separate refundable cash deposit collected on arrival. Excluded from the stay total."},"payNowCents":{"type":"integer","minimum":0},"payLaterCents":{"type":"integer","minimum":0},"taxPerEligiblePersonCents":{"type":"integer","minimum":0},"balanceDueISO":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"estimatedTouristTaxBeforeExemptionsCents":{"type":["integer","null"],"minimum":0,"description":"Indicative based on the supplied age count. Null when the taxable count is unknown. Excludes verified exemptions."},"touristTaxAssessment":{"const":"pending"},"touristTaxCollectedOnArrival":{"const":true},"securityDepositRefundable":{"const":true},"securityDepositCashOnArrival":{"const":true},"nightlyLines":{"type":"array","minItems":1,"maxItems":730,"description":"Ordered rental charge for each occupied night, before cleaning and tourist tax. The sum equals rentCents.","items":{"type":"object","additionalProperties":false,"required":["date","cents"],"properties":{"date":{"type":"string","format":"date"},"cents":{"type":"integer","minimum":1}}}},"totalPriceExcludingRefundableDepositCents":{"type":["integer","null"],"minimum":0,"description":"Accommodation including cleaning plus the estimated tourist tax before exemptions. Null if that tax cannot be estimated. The refundable deposit is separate."}},"required":["language","arrival","departure","guests","babies","available","nights","minimumNights","standardMinimumNights","summerGapException","currency","rentCents","cleaningCents","accommodationCents","securityDepositCents","payNowCents","payLaterCents","taxPerEligiblePersonCents","balanceDueISO","estimatedTouristTaxBeforeExemptionsCents","touristTaxAssessment","touristTaxCollectedOnArrival","securityDepositRefundable","securityDepositCashOnArrival","nightlyLines","totalPriceExcludingRefundableDepositCents"],"additionalProperties":false},"BookingLink":{"type":"object","properties":{"language":{"type":"string","enum":["en","de","nl","fr","pt-PT","es"]},"arrival":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"departure":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Check-out date, excluded from the occupied nights."},"guests":{"type":"integer","minimum":1,"maximum":10,"description":"Total party size, including children and babies."},"babies":{"type":"integer","minimum":0,"maximum":1,"default":0,"description":"Included in guests."},"guests16Plus":{"type":"integer","minimum":0,"maximum":10,"description":"Optional count aged 16 or over. Must not exceed guests minus babies. Exemptions and legal eligibility are determined separately."},"available":{"const":true},"nights":{"type":"integer","minimum":1,"maximum":730},"minimumNights":{"type":"integer","minimum":1,"maximum":730},"standardMinimumNights":{"type":"integer","minimum":1,"maximum":730},"summerGapException":{"type":"boolean"},"bookingUrl":{"type":"string","format":"uri"}},"required":["language","arrival","departure","guests","babies","available","nights","minimumNights","standardMinimumNights","summerGapException","bookingUrl"],"additionalProperties":false},"Error":{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_INPUT","INVALID_DATE","INVALID_STAY","INVALID_LANGUAGE","GUEST_LIMIT","BABY_LIMIT","INVALID_TAX_GUESTS","UNAUTHORIZED","FORBIDDEN_ORIGIN","FEATURE_DISABLED","DATES_NO_LONGER_AVAILABLE","AVAILABILITY_OUTSIDE_COVERAGE","PAYLOAD_TOO_LARGE","UNSUPPORTED_MEDIA_TYPE","MINIMUM_BOOKING_LEAD_TIME","MINIMUM_STAY","RATE_OUTSIDE_PUBLISHED_RANGE","RATE_LIMIT","AVAILABILITY_UNVERIFIED","SERVICE_UNAVAILABLE"]},"message":{"type":"string"},"minimumNights":{"type":"integer","minimum":1,"maximum":730}},"required":["code","message"],"additionalProperties":false}}},"x-mcp-server":{"url":"https://thebeachhouse.eu/wp-json/tbh-ai/v1/mcp","transport":"streamable-http"}}