{"openapi":"3.1.0","info":{"title":"MyEscapePlan Business Travel API","description":"Travel Discovery API for natural-language travel search, destination recommendation and flexible-date planning. Discovery ranks destination/date opportunities before inventory shopping; optional Verified Search performs provider-backed checks. Authenticate with X-API-KEY.","version":"1.0.0","termsOfService":"https://business.myescapeplan.app/api-terms"},"paths":{"/api/v1/business/searches":{"post":{"tags":["Business Travel API"],"summary":"Create a detached verified business travel search","operationId":"createSearch","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","title":"Idempotency-Key"}},{"name":"X-Client-Reference","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"X-Client-Reference"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessSearchCreateRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessJobResource"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}},"get":{"tags":["Business Travel API"],"summary":"List verified business searches","operationId":"listSearches","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/BusinessJobStatus"},{"type":"null"}],"title":"Status"}},{"name":"client_reference","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Client Reference"}},{"name":"created_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Inclusive ISO-8601 lower bound with timezone.","title":"Created After"},"description":"Inclusive ISO-8601 lower bound with timezone."},{"name":"created_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Exclusive ISO-8601 upper bound with timezone.","title":"Created Before"},"description":"Exclusive ISO-8601 upper bound with timezone."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessSearchListResponse"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/usage":{"get":{"tags":["Business Travel API"],"summary":"Get current Business API usage and allowances","operationId":"getUsage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessUsageResponse"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}},"security":[{"BusinessApiKey":[]}]}},"/api/v1/business/searches/{search_id}":{"get":{"tags":["Business Travel API"],"summary":"Get verified-search status","operationId":"getSearch","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessJobResource"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}},"delete":{"tags":["Business Travel API"],"summary":"Cancel a verified business search","operationId":"cancelSearch","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessJobResource"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/searches/{search_id}/results":{"get":{"tags":["Business Travel API"],"summary":"Get canonical verified travel results","operationId":"getSearchResults","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessSearchResultsResponse"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/searches/{search_id}/results/{result_id}":{"get":{"tags":["Business Travel API"],"summary":"Get one canonical verified result","operationId":"getSearchResult","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Id"}},{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessSearchResult"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/searches/{search_id}/results/{result_id}/details":{"get":{"tags":["Business Travel API"],"summary":"Get rich details for one verified result","description":"Return the consumer-grade detail payload for a Business result.","operationId":"getSearchResultDetails","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Id"}},{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"date_option_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Option Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessResultDetail"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/searches/{search_id}/events":{"get":{"tags":["Business Travel API"],"summary":"Observe progressive sanitized NDJSON events","operationId":"streamSearchEvents","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Search Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}}],"responses":{"200":{"description":"Successful Response"},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/discovery/destinations":{"get":{"tags":["Business Travel API"],"summary":"Resolve destinations from the active Discovery planner snapshot","description":"Return canonical destination IDs safe to pass back as destination_ids.","operationId":"lookupDestinations","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":100,"description":"Destination name or prefix to resolve.","title":"Q"},"description":"Destination name or prefix to resolve."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":10,"default":"en","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveryDestinationLookupResponse"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/discovery":{"post":{"tags":["Business Travel API"],"summary":"Discover destination/date opportunities without live shopping","operationId":"createDiscovery","security":[{"BusinessApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveryResponse"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}}}},"/api/v1/business/catalogue/matches":{"post":{"tags":["Business Travel API"],"summary":"Match customer catalogue products to Discovery or known destinations","description":"Project customer-owned products onto Discovery or known destinations.\n\nThis is a request-scoped BYO-candidate bridge: it does not persist customer\ninventory, call providers, claim availability, or consume a verified-search\nallowance.","operationId":"matchCatalogue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogueMatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogueMatchResponse"}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"401":{"description":"Business API authentication is required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"403":{"description":"The API key is invalid or missing the required scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"404":{"description":"The requested Business API resource was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"409":{"description":"The request conflicts with existing Business API state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"410":{"description":"The requested Business API resource has expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"422":{"description":"The request payload is invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"425":{"description":"The requested representation is not ready yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"429":{"description":"Business quota or rate limit reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"500":{"description":"Unexpected Business API failure.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"503":{"description":"The Business API is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}},"504":{"description":"The Business API request timed out.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessErrorEnvelope"}}}}},"security":[{"BusinessApiKey":[]}]}}},"components":{"schemas":{"AffiliateLink":{"properties":{"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"},"target_url":{"type":"string","title":"Target Url"},"category":{"type":"string","title":"Category"},"provider":{"type":"string","title":"Provider"},"company":{"type":"string","title":"Company"},"tracking_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Url"},"offer_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Ref"}},"type":"object","required":["url","name","target_url","category","provider","company"],"title":"AffiliateLink"},"AirportRef":{"properties":{"iata":{"type":"string","title":"Iata"},"name":{"type":"string","title":"Name"},"city":{"type":"string","title":"City"},"country":{"type":"string","title":"Country"},"place_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place Id"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"}},"type":"object","required":["iata","name","city","country"],"title":"AirportRef"},"AmenityType":{"type":"string","enum":["FREE_WIFI","POOL","AIR_CONDITIONING","PARKING","PETS_ALLOWED","SPA","GYM","BREAKFAST_INCLUDED","RESTAURANT","BAR","ROOM_SERVICE","WHEELCHAIR_ACCESSIBLE","LAUNDRY","KITCHEN","HOT_TUB","BEACH_ACCESS","ALL_INCLUSIVE","CHILD_FRIENDLY","INDOOR_POOL","OUTDOOR_POOL"],"title":"AmenityType"},"BusinessApiError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"retryable":{"type":"boolean","title":"Retryable","default":false},"details":{"additionalProperties":true,"type":"object","title":"Details"}},"type":"object","required":["code","message"],"title":"BusinessApiError"},"BusinessConcurrencyUsage":{"properties":{"active":{"type":"integer","minimum":0.0,"title":"Active"},"limit":{"type":"integer","minimum":1.0,"title":"Limit"},"remaining":{"type":"integer","minimum":0.0,"title":"Remaining"}},"type":"object","required":["active","limit","remaining"],"title":"BusinessConcurrencyUsage"},"BusinessDateOption":{"properties":{"date_option_id":{"type":"string","title":"Date Option Id"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"},"nights":{"type":"integer","minimum":1.0,"title":"Nights"},"date_type":{"type":"string","title":"Date Type","default":"unknown"},"status":{"type":"string","enum":["pending","available","partial","unavailable","failed","error","skipped"],"title":"Status","default":"pending"},"unpriced_reason":{"anyOf":[{"type":"string","const":"search_budget_reached"},{"type":"null"}],"title":"Unpriced Reason"},"pricing":{"anyOf":[{"$ref":"#/components/schemas/BusinessPrice"},{"type":"null"}]},"flights":{"anyOf":[{"$ref":"#/components/schemas/BusinessTrackSummary"},{"type":"null"}]},"hotels":{"anyOf":[{"$ref":"#/components/schemas/BusinessTrackSummary"},{"type":"null"}]},"rentals":{"anyOf":[{"$ref":"#/components/schemas/BusinessTrackSummary"},{"type":"null"}]},"events":{"anyOf":[{"$ref":"#/components/schemas/BusinessTrackSummary"},{"type":"null"}]},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"primary_price_insight":{"anyOf":[{"$ref":"#/components/schemas/PriceInsight"},{"type":"null"}]}},"type":"object","required":["date_option_id","start_date","end_date","nights"],"title":"BusinessDateOption"},"BusinessDetailDateOption":{"properties":{"dates":{"$ref":"#/components/schemas/DateRange"},"total_price":{"anyOf":[{"$ref":"#/components/schemas/TripPrice"},{"type":"null"}]},"candidate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Id"},"required_categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Required Categories"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"date_option_kind":{"anyOf":[{"$ref":"#/components/schemas/DateOptionKind"},{"type":"null"}],"default":"alternative"},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"primary_price_insight":{"anyOf":[{"$ref":"#/components/schemas/PriceInsight"},{"type":"null"}]},"flight_summary":{"anyOf":[{"$ref":"#/components/schemas/DateOptionComponentSummary"},{"type":"null"}]},"hotel_summary":{"anyOf":[{"$ref":"#/components/schemas/DateOptionComponentSummary"},{"type":"null"}]},"rental_summary":{"anyOf":[{"$ref":"#/components/schemas/DateOptionComponentSummary"},{"type":"null"}]},"event_summary":{"anyOf":[{"$ref":"#/components/schemas/DateOptionComponentSummary"},{"type":"null"}]}},"type":"object","required":["dates"],"title":"BusinessDetailDateOption","description":"Date-option detail with date-scoped component inventory."},"BusinessErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/BusinessApiError"}},"type":"object","required":["error"],"title":"BusinessErrorEnvelope"},"BusinessJobLinks":{"properties":{"status":{"type":"string","title":"Status"},"cancel":{"type":"string","title":"Cancel"},"results":{"type":"string","title":"Results"},"events":{"type":"string","title":"Events"}},"type":"object","required":["status","cancel","results","events"],"title":"BusinessJobLinks"},"BusinessJobResource":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"$ref":"#/components/schemas/BusinessJobStatus"},"environment":{"type":"string","enum":["test","live"],"title":"Environment"},"client_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Reference"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"error":{"anyOf":[{"$ref":"#/components/schemas/BusinessApiError"},{"type":"null"}]},"links":{"$ref":"#/components/schemas/BusinessJobLinks"}},"type":"object","required":["id","status","environment","created_at","links"],"title":"BusinessJobResource"},"BusinessJobStatus":{"type":"string","enum":["queued","planning","running","completed","partial","failed","cancelled"],"title":"BusinessJobStatus"},"BusinessPrice":{"properties":{"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"basis":{"type":"string","enum":["voyager_summary_total","date_option_total","component_minimum","unknown"],"title":"Basis","default":"unknown"},"bookable_package_price":{"type":"boolean","title":"Bookable Package Price","default":false}},"type":"object","title":"BusinessPrice"},"BusinessRateLimits":{"properties":{"discovery_per_minute":{"type":"integer","minimum":1.0,"title":"Discovery Per Minute"}},"type":"object","required":["discovery_per_minute"],"title":"BusinessRateLimits"},"BusinessResultDates":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"}},"type":"object","required":["start_date","end_date"],"title":"BusinessResultDates","description":"Verified stay window. A bare dict here would document as a free-form map."},"BusinessResultDetail":{"properties":{"result":{"$ref":"#/components/schemas/BusinessSearchResult"},"detail":{"$ref":"#/components/schemas/BusinessTripResultDetail"},"flights":{"items":{"$ref":"#/components/schemas/SlimStandardizedFlightOffer"},"type":"array","title":"Flights"},"hotels":{"items":{"$ref":"#/components/schemas/SlimStandardizedStay"},"type":"array","title":"Hotels"},"rentals":{"items":{"$ref":"#/components/schemas/SlimStandardizedStay"},"type":"array","title":"Rentals"},"events":{"items":{"$ref":"#/components/schemas/StandardizedEvent"},"type":"array","title":"Events"},"weather":{"anyOf":[{"$ref":"#/components/schemas/WeatherHint"},{"type":"null"}]},"weather_data":{"items":{"$ref":"#/components/schemas/WeatherObservation"},"type":"array","title":"Weather Data"},"weather_status":{"type":"string","enum":["available","unavailable","partial","failed","pending","not_requested"],"title":"Weather Status","default":"unavailable"},"affiliate_links":{"items":{"$ref":"#/components/schemas/AffiliateLink"},"type":"array","title":"Affiliate Links"},"destination_access":{"anyOf":[{"$ref":"#/components/schemas/DestinationAccessSummary"},{"type":"null"}]},"has_more_flights":{"type":"boolean","title":"Has More Flights","default":false},"has_more_hotels":{"type":"boolean","title":"Has More Hotels","default":false},"has_more_rentals":{"type":"boolean","title":"Has More Rentals","default":false},"has_more_events":{"type":"boolean","title":"Has More Events","default":false}},"type":"object","required":["result","detail"],"title":"BusinessResultDetail","description":"Rich Business result detail backed by the consumer result contract."},"BusinessSearchCreateRequest":{"properties":{"query":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Query"},"origin":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryOrigin"},{"type":"null"}]},"dates":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryDates"},{"type":"null"}]},"flight":{"anyOf":[{"$ref":"#/components/schemas/StructuredFlight"},{"type":"null"}]},"stay":{"anyOf":[{"$ref":"#/components/schemas/StructuredStay"},{"type":"null"}]},"party":{"$ref":"#/components/schemas/DiscoveryParty"},"budget":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryBudget"},{"type":"null"}]},"budget_tier":{"anyOf":[{"type":"string","enum":["budget","standard","premium"]},{"type":"null"}],"title":"Budget Tier"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Categories"},"preferences":{"$ref":"#/components/schemas/DiscoveryPreferences"},"destination_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"title":"Destination Ids"},"destination_airport_iata_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Destination Airport Iata Codes"},"currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Currency"},"locale":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Locale"},"language":{"type":"string","maxLength":10,"title":"Language","default":"en"},"max_results":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Max Results","default":10},"include_images":{"type":"boolean","title":"Include Images","description":"Whether destination and offer image metadata should be included in results and details.","default":true},"discovery_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Discovery Id"},"opportunity_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Opportunity Id"},"date_option_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Date Option Id"}},"additionalProperties":false,"type":"object","title":"BusinessSearchCreateRequest","description":"Detached verified search over the shared Business travel intent."},"BusinessSearchListResponse":{"properties":{"searches":{"items":{"$ref":"#/components/schemas/BusinessJobResource"},"type":"array","title":"Searches"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","title":"BusinessSearchListResponse"},"BusinessSearchResult":{"properties":{"result_id":{"type":"string","title":"Result Id"},"destination_id":{"type":"string","format":"uuid","title":"Destination Id"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"dates":{"anyOf":[{"$ref":"#/components/schemas/BusinessResultDates"},{"type":"null"}]},"pricing":{"anyOf":[{"$ref":"#/components/schemas/BusinessPrice"},{"type":"null"}]},"component_pricing":{"additionalProperties":{"$ref":"#/components/schemas/BusinessPrice"},"type":"object","title":"Component Pricing"},"flights":{"$ref":"#/components/schemas/BusinessTrackSummary"},"hotels":{"$ref":"#/components/schemas/BusinessTrackSummary"},"rentals":{"$ref":"#/components/schemas/BusinessTrackSummary"},"events":{"$ref":"#/components/schemas/BusinessTrackSummary"},"date_options":{"items":{"$ref":"#/components/schemas/BusinessDateOption"},"type":"array","title":"Date Options"},"weather_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weather Summary"},"weather":{"anyOf":[{"$ref":"#/components/schemas/WeatherHint"},{"type":"null"}]},"weather_data":{"items":{"$ref":"#/components/schemas/WeatherObservation"},"type":"array","title":"Weather Data"},"weather_status":{"type":"string","enum":["available","unavailable","partial","failed","pending","not_requested"],"title":"Weather Status","default":"unavailable"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"images":{"anyOf":[{"items":{"$ref":"#/components/schemas/ImageObject"},"type":"array"},{"type":"null"}],"title":"Images"},"destination_access":{"anyOf":[{"$ref":"#/components/schemas/DestinationAccessSummary"},{"type":"null"}]},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"requested_categories":{"items":{"type":"string"},"type":"array","title":"Requested Categories"},"data_status":{"additionalProperties":true,"type":"object","title":"Data Status"},"details_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Details Url"},"features":{"items":{"type":"string"},"type":"array","title":"Features"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"}},"type":"object","required":["result_id","destination_id","flights","hotels","rentals"],"title":"BusinessSearchResult"},"BusinessSearchResultsResponse":{"properties":{"search_id":{"type":"string","format":"uuid","title":"Search Id"},"status":{"$ref":"#/components/schemas/BusinessJobStatus"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"results":{"items":{"$ref":"#/components/schemas/BusinessSearchResult"},"type":"array","title":"Results"}},"type":"object","required":["search_id","status","generated_at","results"],"title":"BusinessSearchResultsResponse"},"BusinessTrackSummary":{"properties":{"status":{"type":"string","enum":["available","unavailable","partial","failed","not_requested","pending","not_confirmed"],"title":"Status"},"option_count":{"type":"integer","title":"Option Count","default":0},"min_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Total"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"price_basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Basis"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["status"],"title":"BusinessTrackSummary"},"BusinessTripResultDetail":{"properties":{"status":{"type":"string","title":"Status"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"total_price":{"anyOf":[{"$ref":"#/components/schemas/TripPrice"},{"type":"null"}]},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"primary_price_insight":{"anyOf":[{"$ref":"#/components/schemas/PriceInsight"},{"type":"null"}]},"flights":{"anyOf":[{"items":{"$ref":"#/components/schemas/FlightDetail"},"type":"array"},{"type":"null"}],"title":"Flights"},"hotels":{"anyOf":[{"items":{"$ref":"#/components/schemas/StayDetail"},"type":"array"},{"type":"null"}],"title":"Hotels"},"rentals":{"anyOf":[{"items":{"$ref":"#/components/schemas/StayDetail"},"type":"array"},{"type":"null"}],"title":"Rentals"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/EventDetail"},"type":"array"},{"type":"null"}],"title":"Events"},"has_more_flights":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has More Flights"},"has_more_hotels":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has More Hotels"},"has_more_vacation_rentals":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has More Vacation Rentals"},"has_more_events":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has More Events"},"total_flights_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Flights Count"},"total_hotels_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Hotels Count"},"total_vacation_rentals_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Vacation Rentals Count"},"total_events_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Events Count"},"requested_categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Requested Categories"},"trip_dates":{"anyOf":[{"$ref":"#/components/schemas/DateRange"},{"type":"null"}]},"date_options":{"anyOf":[{"items":{"$ref":"#/components/schemas/BusinessDetailDateOption"},"type":"array"},{"type":"null"}],"title":"Date Options"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"images":{"anyOf":[{"items":{"$ref":"#/components/schemas/ImageObject"},"type":"array"},{"type":"null"}],"title":"Images"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"destination_reason":{"anyOf":[{"$ref":"#/components/schemas/DestinationReasonPayload"},{"type":"null"}]},"affiliate_links":{"anyOf":[{"items":{"$ref":"#/components/schemas/AffiliateLink"},"type":"array"},{"type":"null"}],"title":"Affiliate Links"},"destination_access":{"anyOf":[{"$ref":"#/components/schemas/DestinationAccessSummary"},{"type":"null"}]},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"search_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Id"},"spec_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spec Hash"},"airport_refs":{"additionalProperties":{"$ref":"#/components/schemas/AirportRef"},"type":"object","title":"Airport Refs"}},"type":"object","required":["status"],"title":"BusinessTripResultDetail","description":"Rich detail projection shared by the consumer and Advisor products."},"BusinessUsageCounter":{"properties":{"used":{"type":"integer","minimum":0.0,"title":"Used"},"allowance":{"type":"integer","minimum":1.0,"title":"Allowance"},"remaining":{"type":"integer","minimum":0.0,"title":"Remaining"}},"type":"object","required":["used","allowance","remaining"],"title":"BusinessUsageCounter"},"BusinessUsagePeriod":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"}},"type":"object","required":["start","end"],"title":"BusinessUsagePeriod"},"BusinessUsageResponse":{"properties":{"allowance_scope":{"type":"string","enum":["client","account"],"title":"Allowance Scope","default":"client"},"environment":{"type":"string","enum":["test","live"],"title":"Environment"},"plan_tier":{"type":"string","enum":["trial","starter","growth","scale"],"title":"Plan Tier"},"period":{"$ref":"#/components/schemas/BusinessUsagePeriod"},"discovery":{"$ref":"#/components/schemas/BusinessUsageCounter"},"verified_searches":{"$ref":"#/components/schemas/BusinessVerifiedSearchUsage"},"concurrency":{"$ref":"#/components/schemas/BusinessConcurrencyUsage"},"rate_limits":{"$ref":"#/components/schemas/BusinessRateLimits"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"as_of":{"type":"string","format":"date-time","title":"As Of"}},"type":"object","required":["environment","plan_tier","period","discovery","verified_searches","concurrency","rate_limits","as_of"],"title":"BusinessUsageResponse"},"BusinessVerifiedSearchUsage":{"properties":{"consumed":{"type":"integer","minimum":0.0,"title":"Consumed"},"reserved":{"type":"integer","minimum":0.0,"title":"Reserved"},"allowance_used":{"type":"integer","minimum":0.0,"title":"Allowance Used"},"allowance":{"type":"integer","minimum":1.0,"title":"Allowance"},"remaining":{"type":"integer","minimum":0.0,"title":"Remaining"}},"type":"object","required":["consumed","reserved","allowance_used","allowance","remaining"],"title":"BusinessVerifiedSearchUsage"},"CatalogueDestinationMatches":{"properties":{"destination_id":{"type":"string","format":"uuid","title":"Destination Id"},"opportunity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Id"},"matches":{"items":{"$ref":"#/components/schemas/CatalogueItemMatch"},"type":"array","maxItems":200,"title":"Matches"}},"additionalProperties":false,"type":"object","required":["destination_id"],"title":"CatalogueDestinationMatches"},"CatalogueItem":{"properties":{"kind":{"type":"string","enum":["flight","activity","event","package","private_aviation","cruise","rail","transfer","yacht","stay","experience","other"],"title":"Kind"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"inclusions":{"type":"string","maxLength":1000,"title":"Inclusions","default":""},"client_description":{"type":"string","maxLength":1000,"title":"Client Description","default":""},"ref":{"$ref":"#/components/schemas/CatalogueRef"},"subtype":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subtype"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"destination_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":32,"minItems":1,"title":"Destination Ids"},"tags":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Tags"}},"additionalProperties":false,"type":"object","required":["kind","title","ref","destination_ids"],"title":"CatalogueItem","description":"Reusable customer-owned supply.\n\nCatalogue products deliberately narrow the shared component vocabulary:\nitinerary-only constructs such as notes and free time are not products.\n``subtype`` carries product specificity without widening the stable kind enum.\n``description`` is matching/internal catalogue copy; ``client_description``\nremains explicit client-facing copy when the item is materialised."},"CatalogueItemMatch":{"properties":{"ref":{"$ref":"#/components/schemas/CatalogueRef"},"match_basis":{"type":"string","const":"destination","title":"Match Basis","default":"destination"}},"additionalProperties":false,"type":"object","required":["ref"],"title":"CatalogueItemMatch"},"CatalogueMatchRequest":{"properties":{"discovery_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Discovery Id"},"destination_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"title":"Destination Ids"},"items":{"items":{"$ref":"#/components/schemas/CatalogueItem"},"type":"array","maxItems":200,"minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"CatalogueMatchRequest","description":"Match products against an owned Discovery or explicit known destinations."},"CatalogueMatchResponse":{"properties":{"discovery_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovery Id"},"destinations":{"items":{"$ref":"#/components/schemas/CatalogueDestinationMatches"},"type":"array","title":"Destinations"},"unmatched_refs":{"items":{"$ref":"#/components/schemas/CatalogueRef"},"type":"array","maxItems":200,"title":"Unmatched Refs"}},"additionalProperties":false,"type":"object","title":"CatalogueMatchResponse"},"CatalogueRef":{"properties":{"catalogue_id":{"type":"string","maxLength":80,"minLength":1,"title":"Catalogue Id","default":"default"},"external_id":{"type":"string","maxLength":160,"minLength":1,"title":"External Id"},"revision":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Revision"}},"additionalProperties":false,"type":"object","required":["external_id"],"title":"CatalogueRef","description":"Stable customer-owned identity for one reusable catalogue product."},"DateOptionComponentSummary":{"properties":{"option_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Option Count"},"min_price":{"anyOf":[{"$ref":"#/components/schemas/TripPrice"},{"type":"null"}]}},"type":"object","title":"DateOptionComponentSummary","description":"Lightweight component inventory for one exact date option.\n\nComponent metadata is deliberately scoped to the DateOption instead of the\ndestination card. This prevents a selected sibling date from displaying a\nflight/stay count or \"from\" price that belongs to another date variant.\n\nKeep property/destination metadata such as amenities, images, descriptions,\nreviews, and static events OUT of this model. Those are deduped at their\nnatural property/destination scope and selected by candidate/date identity."},"DateOptionKind":{"type":"string","enum":["requested","nearby","alternative","defaulted"],"title":"DateOptionKind"},"DateRange":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["start_date","end_date"],"title":"DateRange","description":"Represents a range between two dates (inclusive).\n\nAttributes:\n    start_date (datetime.date): The start of the date range.\n    end_date (datetime.date): The end of the date range."},"DestinationAccessSummary":{"properties":{"gateway_place_id":{"type":"string","title":"Gateway Place Id"},"gateway_name":{"type":"string","title":"Gateway Name"},"destination_place_id":{"type":"string","title":"Destination Place Id"},"destination_name":{"type":"string","title":"Destination Name"},"transfer_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transfer Mode"},"estimated_duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Duration Minutes"},"crosses_border":{"type":"boolean","title":"Crosses Border","default":false},"summary_text":{"type":"string","title":"Summary Text"},"confidence":{"type":"string","title":"Confidence","default":"medium"}},"type":"object","required":["gateway_place_id","gateway_name","destination_place_id","destination_name","summary_text"],"title":"DestinationAccessSummary"},"DestinationReasonPayload":{"properties":{"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"detailed_reasons":{"items":{"type":"string"},"type":"array","title":"Detailed Reasons"}},"type":"object","title":"DestinationReasonPayload"},"DiscoveryBudget":{"properties":{"min_amount":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Min Amount"},"amount":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"scope":{"type":"string","enum":["total","per_person","nightly","unknown"],"title":"Scope","default":"per_person"}},"additionalProperties":false,"type":"object","required":["currency"],"title":"DiscoveryBudget"},"DiscoveryDateBound":{"properties":{"earliest":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Earliest"},"latest":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Latest"}},"additionalProperties":false,"type":"object","title":"DiscoveryDateBound"},"DiscoveryDateOption":{"properties":{"date_option_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Option Id"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"},"nights":{"type":"integer","minimum":1.0,"title":"Nights"},"date_type":{"type":"string","enum":["primary","flexible_window","nearby_alternative","unknown"],"title":"Date Type","default":"unknown"}},"additionalProperties":false,"type":"object","required":["start_date","end_date","nights"],"title":"DiscoveryDateOption"},"DiscoveryDates":{"properties":{"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"date_text":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Date Text"},"duration_nights":{"anyOf":[{"type":"integer","maximum":90.0,"minimum":1.0},{"type":"null"}],"title":"Duration Nights"},"start":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryDateBound"},{"type":"null"}]},"end":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryDateBound"},{"type":"null"}]},"outer_window":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryOuterWindow"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"DiscoveryDates"},"DiscoveryDestination":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"display_name":{"type":"string","title":"Display Name"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"country_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Name"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"image":{"anyOf":[{"$ref":"#/components/schemas/ImageObject"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","name","display_name"],"title":"DiscoveryDestination"},"DiscoveryDestinationLookupResponse":{"properties":{"query":{"type":"string","title":"Query"},"destinations":{"items":{"$ref":"#/components/schemas/DiscoveryDestinationReference"},"type":"array","title":"Destinations"}},"additionalProperties":false,"type":"object","required":["query"],"title":"DiscoveryDestinationLookupResponse","description":"Public destination lookup result for clients authoring destination_ids."},"DiscoveryDestinationReference":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"display_name":{"type":"string","title":"Display Name"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Lon"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"}},"additionalProperties":false,"type":"object","required":["id","name","display_name"],"title":"DiscoveryDestinationReference","description":"Canonical destination identity from the active Discovery planner snapshot."},"DiscoveryFit":{"properties":{"label":{"type":"string","enum":["strong","possible","stretch","unknown"],"title":"Label","default":"unknown"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","title":"DiscoveryFit","description":"Stable qualitative fit. Raw planner scores are deliberately private."},"DiscoveryInterpretation":{"properties":{"title":{"type":"string","title":"Title"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"},"date_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Text"},"date_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Mode"},"duration_nights":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Nights"},"adults":{"type":"integer","title":"Adults","default":1},"children":{"type":"integer","title":"Children","default":0},"budget_min_amount":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Budget Min Amount"},"budget_amount":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Budget Amount"},"budget_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Budget Currency"},"budget_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Budget Scope"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"additionalProperties":false,"type":"object","required":["title"],"title":"DiscoveryInterpretation"},"DiscoveryMeta":{"properties":{"contract_version":{"type":"string","const":"travel.discovery.v1","title":"Contract Version","default":"travel.discovery.v1"},"snapshot_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snapshot Version"},"candidate_count":{"type":"integer","minimum":0.0,"title":"Candidate Count","default":0},"usage":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryUsage"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"DiscoveryMeta"},"DiscoveryOpportunity":{"properties":{"opportunity_id":{"type":"string","title":"Opportunity Id"},"destination":{"$ref":"#/components/schemas/DiscoveryDestination"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"},"date_options":{"items":{"$ref":"#/components/schemas/DiscoveryDateOption"},"type":"array","title":"Date Options"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"reasons":{"items":{"type":"string"},"type":"array","title":"Reasons"},"fit":{"$ref":"#/components/schemas/DiscoveryFit"},"origin_airport_iata_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Origin Airport Iata Codes"},"destination_airport_iata_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Destination Airport Iata Codes"},"search_inputs_available":{"$ref":"#/components/schemas/DiscoverySearchInputsAvailable"},"verification_status":{"type":"string","const":"not_verified","title":"Verification Status","default":"not_verified"}},"additionalProperties":false,"type":"object","required":["opportunity_id","destination","rank"],"title":"DiscoveryOpportunity"},"DiscoveryOrigin":{"properties":{"query":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Query"},"place_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Place Id"},"type":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Type"},"iata_code":{"anyOf":[{"type":"string","maxLength":3},{"type":"null"}],"title":"Iata Code"},"airport_iata_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Airport Iata Codes"},"country_code":{"anyOf":[{"type":"string","maxLength":2,"minLength":2},{"type":"null"}],"title":"Country Code"},"lat":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Lon"}},"additionalProperties":false,"type":"object","title":"DiscoveryOrigin","description":"Stable origin input independent of consumer planning artifacts."},"DiscoveryOuterWindow":{"properties":{"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"}},"additionalProperties":false,"type":"object","required":["start_date","end_date"],"title":"DiscoveryOuterWindow"},"DiscoveryParty":{"properties":{"adults":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Adults","default":1},"children":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Children","default":0}},"additionalProperties":false,"type":"object","title":"DiscoveryParty"},"DiscoveryPreferences":{"properties":{"trip_dimensions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Trip Dimensions"},"interests":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Interests"},"weather":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Weather"},"activity_preferences":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Activity Preferences"},"event_types":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Event Types"},"pace":{"anyOf":[{"type":"string","enum":["relaxed","balanced","busy"]},{"type":"null"}],"title":"Pace"}},"additionalProperties":false,"type":"object","title":"DiscoveryPreferences"},"DiscoveryRequest":{"properties":{"query":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Query"},"origin":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryOrigin"},{"type":"null"}]},"dates":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryDates"},{"type":"null"}]},"flight":{"anyOf":[{"$ref":"#/components/schemas/StructuredFlight"},{"type":"null"}]},"stay":{"anyOf":[{"$ref":"#/components/schemas/StructuredStay"},{"type":"null"}]},"party":{"$ref":"#/components/schemas/DiscoveryParty"},"budget":{"anyOf":[{"$ref":"#/components/schemas/DiscoveryBudget"},{"type":"null"}]},"budget_tier":{"anyOf":[{"type":"string","enum":["budget","standard","premium"]},{"type":"null"}],"title":"Budget Tier"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Categories"},"preferences":{"$ref":"#/components/schemas/DiscoveryPreferences"},"destination_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"title":"Destination Ids"},"destination_airport_iata_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Destination Airport Iata Codes"},"currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Currency"},"locale":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Locale"},"language":{"type":"string","maxLength":10,"title":"Language","default":"en"},"limit":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":1.0},{"type":"null"}],"title":"Limit"}},"additionalProperties":false,"type":"object","title":"DiscoveryRequest","description":"Synchronous `/api/v1/business/discovery` request body."},"DiscoveryResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"status":{"type":"string","enum":["ok","no_results"],"title":"Status"},"discovery_id":{"type":"string","title":"Discovery Id"},"interpreted_request":{"$ref":"#/components/schemas/DiscoveryInterpretation"},"opportunities":{"items":{"$ref":"#/components/schemas/DiscoveryOpportunity"},"type":"array","title":"Opportunities"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"meta":{"$ref":"#/components/schemas/DiscoveryMeta"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["request_id","status","discovery_id","interpreted_request","expires_at"],"title":"DiscoveryResponse"},"DiscoverySearchInputsAvailable":{"properties":{"flights":{"type":"boolean","title":"Flights","default":false},"accommodation":{"type":"boolean","title":"Accommodation","default":false},"events":{"type":"boolean","title":"Events","default":false}},"additionalProperties":false,"type":"object","title":"DiscoverySearchInputsAvailable","description":"Whether this opportunity contains enough safe data to search each track."},"DiscoveryUsage":{"properties":{"metering_basis":{"type":"string","const":"request","title":"Metering Basis","default":"request"},"discoveries_used":{"type":"integer","minimum":0.0,"title":"Discoveries Used"},"candidate_count":{"type":"integer","minimum":0.0,"title":"Candidate Count"},"plan_period_allowance":{"type":"integer","minimum":1.0,"title":"Plan Period Allowance"}},"additionalProperties":false,"type":"object","required":["discoveries_used","candidate_count","plan_period_allowance"],"title":"DiscoveryUsage","description":"Commercial usage snapshot for an authenticated Business API caller."},"EventDetail":{"properties":{"event":{"$ref":"#/components/schemas/StandardizedEvent"}},"type":"object","required":["event"],"title":"EventDetail"},"FlightDetail":{"properties":{"flight":{"$ref":"#/components/schemas/SlimStandardizedFlightOffer"}},"type":"object","required":["flight"],"title":"FlightDetail"},"ImageAttribution":{"properties":{"photographer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photographer Name"},"photographer_profile_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photographer Profile Url"},"provider_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Name"},"provider_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Url"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"type":"object","title":"ImageAttribution"},"ImageObject":{"properties":{"url":{"type":"string","title":"Url"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License"},"credits":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credits"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"original_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Url"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"provider_asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Asset Id"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"blur_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blur Hash"},"attribution":{"anyOf":[{"$ref":"#/components/schemas/ImageAttribution"},{"type":"null"}]},"download_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Location"},"is_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fallback"},"usage_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Kind"}},"type":"object","required":["url"],"title":"ImageObject"},"Money":{"properties":{"amount_minor":{"type":"integer","title":"Amount Minor"},"currency":{"type":"string","title":"Currency"},"raw_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Text"},"currency_source":{"type":"string","enum":["provider","symbol_inferred","default","unknown"],"title":"Currency Source","default":"unknown"},"currency_confidence":{"type":"string","enum":["high","medium","low"],"title":"Currency Confidence","default":"low"}},"type":"object","required":["amount_minor","currency"],"title":"Money","description":"Internal Money representation.\namount_minor: integer value of the currency (e.g., cents)\ncurrency: ISO 4217 currency code (e.g., \"USD\", \"EUR\")\nraw_text: original raw text string if available\ncurrency_source: source of currency inference (provider, symbol_inferred, unknown)\ncurrency_confidence: confidence level of inference"},"PriceBasis":{"type":"string","enum":["one_way_per_traveller","return_per_traveller","flight_party_total","accommodation_per_night","accommodation_per_guest","accommodation_total","bundle_per_traveller","bundle_party_total"],"title":"PriceBasis"},"PriceInsight":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"$ref":"#/components/schemas/PriceInsightKind"},"scope":{"$ref":"#/components/schemas/PriceInsightScope"},"basis":{"$ref":"#/components/schemas/PriceBasis"},"source":{"$ref":"#/components/schemas/PriceInsightSource"},"label":{"type":"string","title":"Label"},"explanation":{"type":"string","title":"Explanation"},"current_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Current Amount"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"threshold_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Threshold Amount"},"previous_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Previous Amount"},"change_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change Amount"},"change_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change Percent"},"relative_band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Relative Band"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"observation_count":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Observation Count"},"is_new_low":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is New Low"},"provider_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Name"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"comparison_key":{"type":"string","title":"Comparison Key"}},"additionalProperties":false,"type":"object","required":["id","kind","scope","basis","source","label","explanation","current_amount","currency","observed_at","comparison_key"],"title":"PriceInsight","description":"A truthful, display-ready claim about one exact price identity."},"PriceInsightKind":{"type":"string","enum":["absolute_low_price","relative_value","historical_drop","historical_low","provider_deal"],"title":"PriceInsightKind"},"PriceInsightScope":{"type":"string","enum":["flight","accommodation","bundle"],"title":"PriceInsightScope"},"PriceInsightSource":{"type":"string","enum":["verified_observation","learned_signal","historical_observations","provider"],"title":"PriceInsightSource"},"ProviderUrl":{"properties":{"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"}},"type":"object","required":["url","name"],"title":"ProviderUrl"},"SlimStandardizedFlightOffer":{"properties":{"offer_id":{"type":"string","title":"Offer Id"},"provider":{"type":"string","title":"Provider"},"outbound_selection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outbound Selection Id"},"can_unlock_return":{"type":"boolean","title":"Can Unlock Return","default":false},"provider_urls":{"items":{"$ref":"#/components/schemas/ProviderUrl"},"type":"array","title":"Provider Urls"},"trip_type":{"type":"string","title":"Trip Type"},"legs":{"items":{"$ref":"#/components/schemas/StandardizedFlightLeg"},"type":"array","title":"Legs"},"price_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Total"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"price_breakdown":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Price Breakdown"},"price_provenance":{"type":"string","title":"Price Provenance"},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"primary_price_insight":{"anyOf":[{"$ref":"#/components/schemas/PriceInsight"},{"type":"null"}]},"marketing_carriers":{"items":{"type":"string"},"type":"array","title":"Marketing Carriers"},"operating_carriers":{"items":{"type":"string"},"type":"array","title":"Operating Carriers"},"total_duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Duration Minutes"},"max_segment_duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Segment Duration Minutes"},"emissions_grams_co2e":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Emissions Grams Co2E"},"emissions_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emissions Level"}},"type":"object","required":["offer_id","provider","trip_type","legs","price_provenance"],"title":"SlimStandardizedFlightOffer"},"SlimStandardizedStay":{"properties":{"stay_kind":{"type":"string","title":"Stay Kind"},"provider":{"type":"string","title":"Provider"},"provider_property_id":{"type":"string","title":"Provider Property Id"},"property_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Property Token"},"provider_urls":{"items":{"$ref":"#/components/schemas/ProviderUrl"},"type":"array","title":"Provider Urls"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"brand_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lat"},"lon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Lon"},"distance_from_beach_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance From Beach Km"},"check_in_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check In Time"},"check_out_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check Out Time"},"property_type":{"anyOf":[{"type":"string","enum":["hotel","hostel","resort","motel","inn","bed_and_breakfast","apartment_hotel","apartment","guest_house","villa","ryokan","minshuku","vacation_rental","other"]},{"type":"null"}],"title":"Property Type"},"hotel_class":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hotel Class"},"is_vacation_rental":{"type":"boolean","title":"Is Vacation Rental"},"images":{"anyOf":[{"items":{"$ref":"#/components/schemas/ImageObject"},"type":"array"},{"type":"null"}],"title":"Images"},"bedrooms_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bedrooms Min"},"bathrooms_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bathrooms Min"},"sleeps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sleeps"},"rating_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Value"},"rating_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating Count"},"rating_bucket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rating Bucket"},"location_rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Location Rating"},"rating_distribution":{"items":{"$ref":"#/components/schemas/StayRatingBucket"},"type":"array","title":"Rating Distribution"},"review_topics":{"items":{"$ref":"#/components/schemas/StayReviewTopic"},"type":"array","title":"Review Topics"},"amenity_types":{"items":{"type":"string"},"type":"array","title":"Amenity Types"},"raw_amenities":{"items":{"type":"string"},"type":"array","title":"Raw Amenities"},"free_cancellation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Free Cancellation"},"special_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Special Offers"},"eco_certified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Eco Certified"},"deal":{"anyOf":[{"$ref":"#/components/schemas/StayDealSignal"},{"type":"null"}]},"nearby_places":{"items":{"$ref":"#/components/schemas/StayNearbyPlace"},"type":"array","title":"Nearby Places"},"offer_snapshot":{"anyOf":[{"$ref":"#/components/schemas/StandardizedStayOffer"},{"type":"null"}]},"selected_supplier_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Supplier Id"},"selected_supplier_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Supplier Name"},"supplier_match":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supplier Match"},"supplier_policy_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supplier Policy Mode"},"supplier_policy_ids":{"items":{"type":"string"},"type":"array","title":"Supplier Policy Ids"},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"primary_price_insight":{"anyOf":[{"$ref":"#/components/schemas/PriceInsight"},{"type":"null"}]},"id":{"type":"string","title":"Id","readOnly":true}},"type":"object","required":["stay_kind","provider","provider_property_id","name","is_vacation_rental","id"],"title":"SlimStandardizedStay"},"StandardizedEvent":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"title":{"type":"string","title":"Title"},"start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"date_unverified":{"type":"boolean","title":"Date Unverified","default":false},"geo_unverified":{"type":"boolean","title":"Geo Unverified","default":false},"ticket_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Ticket Url"},"provider_urls":{"items":{"$ref":"#/components/schemas/ProviderUrl"},"type":"array","title":"Provider Urls","default":[]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"image_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Image Url"},"image_urls":{"items":{"type":"string","minLength":1,"format":"uri"},"type":"array","title":"Image Urls"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"provider_product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Product Id"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"location_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Ref"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"money_original":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"money_display":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"is_approx":{"type":"boolean","title":"Is Approx","default":false},"fx_as_of":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fx As Of"},"price_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Note"},"debug_info":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Debug Info"},"kind":{"type":"string","enum":["event","activity"],"title":"Kind","default":"event"},"is_time_bounded":{"type":"boolean","title":"Is Time Bounded","default":true},"experience_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Experience Type"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"reviews":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reviews"},"venue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue"}},"type":"object","required":["title"],"title":"StandardizedEvent","description":"Provider-normalized event representation."},"StandardizedFlightLeg":{"properties":{"leg_index":{"type":"integer","title":"Leg Index"},"segments":{"items":{"$ref":"#/components/schemas/StandardizedFlightSegment"},"type":"array","title":"Segments"},"departure_time_utc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Departure Time Utc"},"arrival_time_utc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrival Time Utc"},"departure_time_local":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Time Local"},"arrival_time_local":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Time Local"},"departure_timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Timezone"},"arrival_timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Timezone"},"departure_airport":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Airport"},"arrival_airport":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Airport"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"stop_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stop Count"},"layover_minutes_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Layover Minutes Total"}},"type":"object","required":["leg_index","segments"],"title":"StandardizedFlightLeg"},"StandardizedFlightSegment":{"properties":{"segment_index":{"type":"integer","title":"Segment Index"},"marketing_carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marketing Carrier"},"operating_carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operating Carrier"},"flight_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flight Number"},"departure_airport":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Airport"},"arrival_airport":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Airport"},"departure_time_utc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Departure Time Utc"},"arrival_time_utc":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrival Time Utc"},"departure_time_local":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Time Local"},"arrival_time_local":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Time Local"},"departure_timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Departure Timezone"},"arrival_timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arrival Timezone"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"cabin_class":{"anyOf":[{"type":"string","enum":["economy","premium_economy","business","first"]},{"type":"null"}],"title":"Cabin Class"},"aircraft":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aircraft"}},"type":"object","required":["segment_index"],"title":"StandardizedFlightSegment"},"StandardizedStayOffer":{"properties":{"price_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Total"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"nightly_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nightly Price"},"taxes_fees_included":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Taxes Fees Included"},"check_in_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check In Date"},"check_out_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check Out Date"},"price_insights":{"items":{"$ref":"#/components/schemas/PriceInsight"},"type":"array","title":"Price Insights"},"primary_price_insight":{"anyOf":[{"$ref":"#/components/schemas/PriceInsight"},{"type":"null"}]}},"type":"object","title":"StandardizedStayOffer"},"StayDealSignal":{"properties":{"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"percent_delta":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percent Delta"},"direction":{"anyOf":[{"type":"string","enum":["below_usual","above_usual"]},{"type":"null"}],"title":"Direction"},"source":{"type":"string","const":"provider","title":"Source","default":"provider"}},"type":"object","title":"StayDealSignal","description":"Public provider deal context for a stay.\n\nThis is display/explainability data only. It should not be treated as a\nVoyager learned-price baseline."},"StayDetail":{"properties":{"stay":{"$ref":"#/components/schemas/SlimStandardizedStay"}},"type":"object","required":["stay"],"title":"StayDetail"},"StayNearbyPlace":{"properties":{"name":{"type":"string","title":"Name"},"transportations":{"items":{"$ref":"#/components/schemas/StayTransportOption"},"type":"array","title":"Transportations"}},"type":"object","required":["name"],"title":"StayNearbyPlace"},"StayRatingBucket":{"properties":{"stars":{"type":"integer","title":"Stars"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["stars","count"],"title":"StayRatingBucket"},"StayReviewTopic":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"total_mentioned":{"type":"integer","title":"Total Mentioned","default":0},"positive":{"type":"integer","title":"Positive","default":0},"negative":{"type":"integer","title":"Negative","default":0},"neutral":{"type":"integer","title":"Neutral","default":0},"positive_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Positive Ratio"}},"type":"object","required":["name"],"title":"StayReviewTopic"},"StayTransportOption":{"properties":{"mode":{"type":"string","title":"Mode"},"duration_text":{"type":"string","title":"Duration Text"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"}},"type":"object","required":["mode","duration_text"],"title":"StayTransportOption"},"StructuredFlight":{"properties":{"direction":{"type":"string","enum":["prefer","must"],"title":"Direction","default":"prefer"},"directions":{"additionalProperties":{"type":"string","enum":["prefer","must"]},"propertyNames":{"enum":["cabin_class","max_stops","include_airlines","exclude_airlines"]},"type":"object","title":"Directions"},"cabin_class":{"anyOf":[{"type":"string","enum":["economy","premium_economy","business","first"]},{"type":"null"}],"title":"Cabin Class"},"max_stops":{"anyOf":[{"type":"integer","const":0},{"type":"null"}],"title":"Max Stops"},"include_airlines":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Include Airlines"},"exclude_airlines":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Exclude Airlines"}},"additionalProperties":false,"type":"object","title":"StructuredFlight"},"StructuredStay":{"properties":{"direction":{"type":"string","enum":["prefer","must"],"title":"Direction","default":"prefer"},"amenities":{"items":{"type":"string","enum":["FREE_WIFI","POOL","AIR_CONDITIONING","PARKING","PETS_ALLOWED","SPA","GYM","BREAKFAST_INCLUDED","RESTAURANT","BAR","ROOM_SERVICE","WHEELCHAIR_ACCESSIBLE","BEACH_ACCESS","ALL_INCLUSIVE","CHILD_FRIENDLY","INDOOR_POOL","OUTDOOR_POOL"]},"type":"array","maxItems":17,"title":"Amenities"},"property_type":{"anyOf":[{"type":"string","enum":["resort","villa","apartment"]},{"type":"null"}],"title":"Property Type"}},"additionalProperties":false,"type":"object","title":"StructuredStay","description":"Only amenities with an existing provider parameter and post-filter."},"TripPrice":{"properties":{"total":{"type":"number","title":"Total"},"currency":{"type":"string","title":"Currency"},"breakdown":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Breakdown"}},"type":"object","required":["total","currency"],"title":"TripPrice"},"WeatherHint":{"properties":{"typical_low_c":{"type":"number","title":"Typical Low C"},"typical_high_c":{"type":"number","title":"Typical High C"},"is_approx":{"type":"boolean","title":"Is Approx"},"source":{"type":"string","title":"Source"},"confidence":{"type":"string","enum":["low","medium","high"],"title":"Confidence"}},"type":"object","required":["typical_low_c","typical_high_c","is_approx","source","confidence"],"title":"WeatherHint"},"WeatherObservation":{"properties":{"date":{"type":"string","title":"Date"},"description":{"type":"string","title":"Description"},"temperature_celsius":{"type":"number","title":"Temperature Celsius"},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition"},"max_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Temp C"},"min_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Temp C"},"avg_temp_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Temp C"},"source":{"type":"string","title":"Source"}},"type":"object","required":["date","description","temperature_celsius","source"],"title":"WeatherObservation"}},"securitySchemes":{"BusinessApiKey":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"MyEscapePlan Business API key. Required scopes depend on the operation (travel.discovery or travel.search)."}}},"servers":[{"url":"https://api.myescapeplan.app"}],"externalDocs":{"description":"MyEscapePlan Travel Discovery API developer documentation","url":"https://business.myescapeplan.app/developers"}}