{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/aopay/main/json-schema/aopay-post-v1-hotel-search-request-schema.json", "title": "PostV1HotelSearchRequest", "x-generated": "2026-10-15", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/_ae-authored/aopay-openapi-generated.yml#/components/schemas/PostV1HotelSearchRequest", "type": "object", "properties": { "destination": { "type": "string", "description": "Destination name, e.g., \"Goa, India\"" }, "checkIn": { "type": "string", "description": "Check‑in date in YYYY‑MM‑DD format" }, "checkOut": { "type": "string", "description": "Check‑out date in YYYY‑MM‑DD format" }, "rooms": { "type": "integer", "description": "Number of rooms" }, "adults": { "type": "integer", "description": "Number of adult guests" }, "starRating": { "type": "array", "description": "Array of desired star ratings, e.g., [4,5]" }, "currency": { "type": "string", "description": "Currency code for pricing, e.g., \"INR\"" } }, "required": [ "destination", "checkIn", "checkOut", "rooms", "adults" ] }