{"openapi":"3.1.0","info":{"title":"FrederickBNB Booking API","version":"1.0.0","description":"Search and quote direct-bookable vacation rentals in Frederick, Maryland. Payment is completed by the guest at the returned bookingUrl."},"servers":[{"url":"https://frederickbnb.com"}],"paths":{"/api/stays.json":{"get":{"operationId":"listStays","summary":"List all stays with details","responses":{"200":{"description":"Stays","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/availability":{"get":{"operationId":"getAvailabilityAndQuote","summary":"Check availability and get a price quote + booking link for a stay","parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string","enum":["ballenger-creek-4-bedroom-group-home"]}},{"name":"checkIn","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"checkOut","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"guests","in":"query","required":false,"schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"Availability, quote and bookingUrl","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid input"},"404":{"description":"Unknown stay"}}}},"/api/calendar":{"get":{"operationId":"getStayCalendar","summary":"A stay's booked nights and check-in rules for the next 12 months","description":"Booked ranges run from `start` to `end` (the checkout day, which is free). A stay can start on a free night with enough free nights after it for the minimum stay (`minNights`, or `minNightsOn[date]`), and ends by the next booked night; `noCheckIn` / `noCheckOut` list days the host closes. `source` is null when the stay has no live calendar.","parameters":[{"name":"slug","in":"query","required":true,"schema":{"type":"string","enum":["ballenger-creek-4-bedroom-group-home"]}}],"responses":{"200":{"description":"The calendar","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown stay"}}}}}}