OpenTravel Alliance Hospitality Offers API

The HospitalityOffers API from OpenTravel Alliance — 1 operation(s) for hospitalityoffers.

Operations 1

POST /HospitalityOffers HospitalityOffersResource - FindMultiPropertyOffers #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/opentravel-alliance-hospitalityoffers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

opentravel-alliance-hospitalityoffers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Opentravel Alliance Hospitality Offers API
  version: 1.0.0
  x-refined-note:
  - x-otm-library differs across the merged source definitions and was not carried
  description: 'Operations tagged HospitalityOffers across 2 of this provider''s published API definitions: opentravel-2018a-hospitality-offers-resource-defs-openapi.json, opentravel-2018a-hospitality-offers-resource-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://127.0.0.1/
tags:
- name: HospitalityOffers
paths:
  /HospitalityOffers:
    post:
      summary: HospitalityOffersResource - FindMultiPropertyOffers
      operationId: FindMultiPropertyOffers
      responses:
        '201':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
        '400':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
        '401':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
        '402':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
        '403':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
        '404':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
        '500':
          description: ''
          x-xml-schema:
            $ref: HospitalityOffers_1_0_0_Trim.xsd#/MultiPropertyHospitalityOffers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
            application/xml:
              schema:
                $ref: '#/components/schemas/MultiPropertyHospitalityOffers'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HospitalityOffersQueryFindHospitalityOffers'
          application/xml:
            schema:
              $ref: '#/components/schemas/HospitalityOffersQueryFindHospitalityOffers'
        required: true
      tags:
      - HospitalityOffers
    servers:
    - url: http://127.0.0.1/
components:
  schemas:
    ExtensionPoint_Summary: {}
    DetailedHotelSearchCriteria:
      x-otm-entity:
        EntityType: CoreObject
        EntityName: DetailedHotelSearchCriteria
      properties:
        '@type':
          type: string
        hotelCodeContext:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}StringLength1to32'
            examples:
            - context: orghs
              value: Sabre
          type: string
          maxLength: 32
        tTIcode:
          description: 'Note:   This code is maintained by the Travel Technology Initiative (TTI) and provides a unique way to identify a property across a multiplicity of channels, service providers, tour companies, representation companies and third parties involved in the booking, administration and fulfillment of travel within the hospitality industry. For more information: http:\/\/www.tti.org\/tticodes.html'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}positiveInteger'
          type: integer
          format: int32
        Features:
          description: 'Assigned Type: ota2-0400:Features'
          $ref: '#/components/schemas/Features'
        BedType:
          description: 'Assigned Type: ota2-0300:BedType_Enum'
          $ref: '#/components/schemas/BedType_Enum'
        HotelAmenity:
          type: array
          items:
            $ref: '#/components/schemas/Code'
          maxItems: 100
        RoomAmenities:
          type: array
          items:
            $ref: '#/components/schemas/Code'
          maxItems: 100
        Rating:
          description: The minimum hotel rating value of the hotels to be returned (e.g. only return hotels with a 3.5 rating or higher).
          type: number
          format: float
          maximum: 5
          minimum: 0
        petsAllowedInd:
          description: When true, pets are allowed at the facility.
          type: boolean
        smokingRoomsInd:
          description: When true, this hotel facility offers smoking rooms.
          type: boolean
        aDACompliantInd:
          description: When true, this hotel facility is ADA compliant.
          type: boolean
        exactMatchInd:
          description: When true, only properties\/rate plans that exactly match the search criteria should be returned.
          type: boolean
        ExtensionPoint:
          $ref: '#/components/schemas/ExtensionPoint'
      required:
      - '@type'
      discriminator:
        propertyName: '@type'
    ExtensionPoint_Shared: {}
    Promotion:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: Promotion
      description: Description of the promotion.
      properties:
        value:
          type: string
          maxLength: 128
        promotionVendorCode:
          description: 'Assigned Type: ota2-0400:ListOfTinyStrings'
          type: array
          items:
            type: string
            maxLength: 32
        code:
          description: 'Assigned Type: ota2-0400:StringTiny'
          type: string
          maxLength: 32
        name:
          description: 'Assigned Type: ota2-0400:StringShort'
          type: string
          maxLength: 128
    TimeUnit_Enum:
      x-otm-entity:
        EntityType: EnumerationClosed
        EntityName: TimeUnit_Enum
      type: string
      enum:
      - Day
      - Full duration
      - Hour
      - Minute
      - Month
      - Second
      - Week
      - Year
    DateTimeStamp:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: DateTimeStamp
      description: Time stamp of the creation.
      x-otm-annotations:
        documentation:
          implementers:
          - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}dateTime'
      properties:
        value:
          type: string
          format: date-time
        create:
          description: Time stamp of the creation.
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}dateTime'
            equivalents:
            - context: Common
              value: CreateDateTime
          type: string
          format: date-time
        creatorID:
          description: 'Assigned Type: ota2-0400:StringShort'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
            equivalents:
            - context: Common
              value: CreatorID
            examples:
            - context: Common
              value: c123456789
          type: string
          maxLength: 128
        lastModify:
          description: Time stamp of last modification.
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}dateTime'
            equivalents:
            - context: Common
              value: LastModifyDateTime
          type: string
          format: date-time
        lastModifierID:
          description: 'Assigned Type: ota2-0400:StringShort'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
            equivalents:
            - context: Common
              value: LastModifierID
            examples:
            - context: Common
              value: m987654321
          type: string
          maxLength: 128
        purge:
          description: Date an item will be purged from a database (e.g., from a live database to an archive).
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}date'
            equivalents:
            - context: Common
              value: PurgeDate
          type: string
          format: date
    RatePlanType_Enum_Base:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: RatePlanType_Enum
      description: 'Note: Typically used for rate plans that may be published, e.g. have no qualifying criteria, or may be restricted or negotiated, e.g. has qualifying criteria for eligibility and\/or has been negotiated between parties.'
      type: string
      enum:
      - Other_
      - Weekly
      - Weekend
      - TravelIndustry
      - TourWholesale
      - SeniorCitizen
      - RegularRack
      - Published
      - PromotionalPackageTour
      - Promotional
      - Package
      - NonLastRoomAvailable
      - Net
      - Negotiated
      - Multi-DayPackage
      - Monthly
      - Military
      - LastRoomAvailable
      - Group
      - Government
      - FamilyPlan
      - DistressedInventory
      - DayRate
      - Corporate
      - Convention
      - Contract
      - Consortia
      - ClubConcierge
      - Association
      - Other_
    CompanyName:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: CompanyName
      description: Identifies a company by name.
      x-otm-annotations:
        documentation:
          implementers:
          - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength0to128'
      properties:
        value:
          type: string
          maxLength: 512
        division:
          description: 'Assigned Type: ota2-0400:StringShort'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
            equivalents:
            - context: Common
              value: Division
            examples:
            - context: Common
              value: Travel Division
          type: string
          maxLength: 128
        department:
          description: 'Assigned Type: ota2-0400:StringShort'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
            equivalents:
            - context: Common
              value: Department
            examples:
            - context: Common
              value: Adventure department
          type: string
          maxLength: 128
        shortName:
          description: 'Assigned Type: ota2-0400:StringShort'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
            equivalents:
            - context: Common
              value: CompanyShortName
            examples:
            - context: Common
              value: Adventure Inc
          type: string
          maxLength: 128
        code:
          description: 'Assigned Type: ota2-0400:Code'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to16'
            equivalents:
            - context: Common
              value: Code
            examples:
            - context: Common
              value: AI
          type: string
          maxLength: 32
        codeContext:
          description: 'Assigned Type: ota2-0400:StringTiny'
          type: string
          maxLength: 32
        description:
          description: 'Assigned Type: ota2-0400:String'
          type: string
          maxLength: 512
    UnitOfMeasure_Enum:
      x-otm-entity:
        EntityType: EnumerationClosed
        EntityName: UnitOfMeasure_Enum
      description: The unit of measure in a code format. Refer to OpenTravel Code List Unit of Measure Code (UOM).
      type: string
      enum:
      - Miles
      - Kilometers
      - Meters
      - Millimeters
      - Centimeters
      - Yards
      - Feet
      - Inches
      - Pixels
      - Block
      - Megabytes
      - Gigabytes
      - Square feet
      - Square meters
      - Pounds
      - Kilograms
      - Square inch
      - Square yard
      - Acre
      - Square millimeter
      - Square centimeter
      - Hectare
      - Ounce
      - Gram
      - Gallons
      - Liters
      - Kilowatts
      - Cubic meters
    BookingChannel_Enum_Base:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: BookingChannel_Enum
      description: Specifies a type of booking channel.
      type: string
      enum:
      - Agent
      - Alternative distribution system (ADS)
      - Central reservation system (CRS)
      - Global distribution system (GDS)
      - Internet
      - Kiosk
      - Property management system (PMS)
      - Sales and catering system (SCS)
      - Tour operator system (TOS)
      - Other_
    Status_Enum_Base:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: Status_Enum
      description: The status condition.
      type: string
      enum:
      - Complete
      - Incomplete
      - Not processed
      - Unknown
      - Other_
    BookingChannel_Enum:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: BookingChannel_Enum
      description: Specifies a type of booking channel.
      properties:
        value:
          $ref: '#/components/schemas/BookingChannel_Enum_Base'
        extension:
          type: string
          maxLength: 128
          minLength: 1
    PriceModifiers:
      x-otm-entity:
        EntityType: CoreObject
        EntityName: PriceModifiers
      properties:
        '@type':
          type: string
        Promotion:
          type: array
          items:
            $ref: '#/components/schemas/Promotion'
          maxItems: 99
        RateQualifier:
          type: array
          items:
            $ref: '#/components/schemas/RateQualifier'
          maxItems: 99
        PersonIdentifier:
          type: array
          items:
            $ref: '#/components/schemas/PersonID'
          maxItems: 99
        ProductRef:
          description: A reference to the product for which the rate modifier applies.
          type: string
        ExtensionPoint:
          $ref: '#/components/schemas/ExtensionPoint'
      required:
      - '@type'
      discriminator:
        propertyName: '@type'
    BedType_Enum:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: BedType_Enum
      description: The type(s) of sleeping option(s) in a guest accommodation.
      properties:
        value:
          $ref: '#/components/schemas/BedType_Enum_Base'
        extension:
          type: string
          maxLength: 128
          minLength: 1
    RateRange:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: RateRange
      description: A range of monetary values within which the cost of the available products are requested.
      properties:
        minRate:
          description: 'Assigned Type: ota2-0400:Money'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}Money'
          type: number
          format: float
        maxRate:
          description: 'Assigned Type: ota2-0400:Money'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}Money'
          type: number
          format: float
        fixedRate:
          description: 'Assigned Type: ota2-0400:Money'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}Money'
          type: number
          format: float
        rateTimeUnit:
          description: Used to specify the period of time to which the rates apply.
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}TimeUnitType'
          $ref: '#/components/schemas/TimeUnit_Enum'
        currencyCode:
          description: 'Assigned Type: ota2-0400:CurrencyCode_ISO4217'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}AlphaLength3'
          type: string
          pattern: '[a-zA-Z]{3}'
    ErrorWarningType_Enum_Base:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: ErrorWarningType_Enum
      description: Tthe category of error or warning.
      type: string
      enum:
      - Advisory
      - Application error
      - Authentication
      - Authentication timeout
      - Authorization
      - Business rule
      - No implementation
      - Processing exception
      - Protocol violation
      - Required field missing
      - Unknown
      - Other_
    ProductQueriesHospitality:
      x-otm-entity:
        EntityType: ChoiceObject
        EntityName: ProductQueries
      allOf:
      - $ref: '#/components/schemas/ProductQueries'
      - properties:
          RoomStayQueryProduct:
            description: 'Assigned Type: prod-0400:RoomStay_Query_Product'
            $ref: '#/components/schemas/RoomStayQueryProduct'
          ExtensionPoint:
            $ref: '#/components/schemas/ExtensionPoint'
    LoyaltyProgram:
      x-otm-entity:
        EntityType: CoreObject
        EntityName: LoyaltyProgram
      x-otm-annotations:
        documentation:
          implementers:
          - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength0to32'
          - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength0to32'
      properties:
        '@type':
          type: string
        id:
          description: 'Assigned Type: ota2-0400:StringShort'
          type: string
          maxLength: 128
        loyaltyLevel:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to16'
            equivalents:
            - context: Common
              value: LoyaltyLevel
            examples:
            - context: Common
              value: Platinum
          type: string
          maxLength: 32
        ProgramCode:
          description: 'Assigned Type: ota2-0400:Code'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to16'
            equivalents:
            - context: Common
              value: ProgramCode
          $ref: '#/components/schemas/Code'
        TravelSector:
          description: 'Assigned Type: ota2-0300:TravelSector_Enum'
          $ref: '#/components/schemas/TravelSector_Enum'
        primaryInd:
          description: When true, indicates this is the primary loyalty program and when absent or false, indicates this is not the primary loyalty program.
          type: boolean
        ExtensionPoint:
          $ref: '#/components/schemas/ExtensionPoint'
      required:
      - '@type'
      discriminator:
        propertyName: '@type'
    RateQualifier:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: RateQualifier
      description: Name of the rate qualifier
      properties:
        value:
          type: string
          maxLength: 128
        code:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'AttributeGroup: RateQualifierCoreGroup'
          type: string
          maxLength: 32
        rateAuthorizationCode:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
          type: string
          maxLength: 32
        rateID:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/chameleon.anonymous\/ns}StringLength1to32'
          type: string
          maxLength: 32
        ratePeriod:
          description: The RatePeriod attribute defines the type of rate that may be applied. For example, typically car rental rates differ based upon the duration of the rental, and the actual rate is then expressed in terms of the period of the rental.
          x-otm-annotations:
            documentation:
              implementers:
              - 'LocalAnonymousType: RateQualifierCoreGroup_RatePeriod'
          $ref: '#/components/schemas/RatePeriod_Enum'
        description:
          description: 'Assigned Type: ota2-0400:StringLong'
          type: string
          maxLength: 4096
    HospitalityOffersID:
      x-otm-entity:
        EntityType: BusinessObject
        EntityName: HospitalityOffers
      properties:
        '@type':
          type: string
        objID:
          description: A unique identifier within this document for this object.
          type: string
        Identifier:
          description: 'Assigned Type: ota2-0400:Identifier'
          $ref: '#/components/schemas/Identifier'
        HospitalityOffersRef:
          description: Refers to the obj ID on an object defined elsewhere in the current document.
          type: string
      required:
      - '@type'
      discriminator:
        propertyName: '@type'
    Status_Enum:
      x-otm-entity:
        EntityType: EnumerationOpen
        EntityName: Status_Enum
      description: The status condition.
      properties:
        value:
          $ref: '#/components/schemas/Status_Enum_Base'
        extension:
          type: string
          maxLength: 128
          minLength: 1
    Code:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: Code
      description: Any code used to specify an item, for example, type of traveler, service code, room amenity, etc.  May be used to reference the OpenTravel RMA Codelist.
      properties:
        value:
          type: string
          maxLength: 32
        codeContext:
          description: 'Assigned Type: ota2-0400:StringTiny'
          type: string
          maxLength: 32
        description:
          description: 'Assigned Type: ota2-0400:String'
          type: string
          maxLength: 512
    BasePayload:
      x-otm-entity:
        EntityType: CoreObject
        EntityName: BasePayload
      properties:
        '@type':
          type: string
        PayloadStdAttributes:
          description: 'Assigned Type: ota2-0400:PayloadStdAttributes'
          $ref: '#/components/schemas/PayloadStdAttributes'
        POS:
          description: 'Assigned Type: ota2-0400:POS'
          $ref: '#/components/schemas/POS'
        ProcessingInfo:
          description: 'Assigned Type: ota2-0400:ProcessingInfo'
          $ref: '#/components/schemas/ProcessingInfo'
        ExtensionPoint:
          $ref: '#/components/schemas/ExtensionPoint'
      required:
      - '@type'
      discriminator:
        propertyName: '@type'
    Geolocation:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: Geolocation
      description: TODO-(use enums and other for lat,long??  Format for the lat and long, is there a XML format)Used to specify the geographic coordinates of a location.
      properties:
        latitude:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}StringLength1to16'
            equivalents:
            - context: Common
              value: Latitude
          type: string
          maxLength: 32
        longitude:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}StringLength1to16'
            equivalents:
            - context: Common
              value: Longitude
          type: string
          maxLength: 32
        altitude:
          description: 'Assigned Type: ota2-0400:StringTiny'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}StringLength1to16'
            equivalents:
            - context: Common
              value: Altitude
          type: string
          maxLength: 32
        altitudeUnitOfMeasure_Enum:
          description: Provides the unit of measure for the altitude (e.g., feet, meters, miles, kilometers). Refer to OpenTravel Code List Unit of Measure Code (UOM).
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}OTA_CodeType'
            equivalents:
            - context: Common
              value: AltitudeUnitOfMeasureCode
          $ref: '#/components/schemas/UnitOfMeasure_Enum'
        mapURL:
          description: The URL of a map image.
          type: string
        formatURL:
          description: The URL to the format for the latitude and longitude for this location.
          type: string
    POS:
      x-otm-entity:
        EntityType: CoreObject
        EntityName: POS
      properties:
        '@type':
          type: string
        Source:
          type: array
          items:
            $ref: '#/components/schemas/Source'
          maxItems: 10
          minItems: 1
        ExtensionPoint:
          $ref: '#/components/schemas/ExtensionPoint'
      required:
      - '@type'
      - Source
      discriminator:
        propertyName: '@type'
    Text:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: Text
      description: Provides text and indicates whether it is formatted or not.
      x-otm-annotations:
        documentation:
          implementers:
          - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}string'
      properties:
        value:
          type: string
          maxLength: 4096
        language:
          description: The language in which the text is provided.
          x-otm-annotations:
            documentation:
              implementers:
              - 'AttributeGroup: LanguageGroup'
            examples:
            - context: Common
              value: en
          type: string
        textFormat:
          description: Indicates the format of text used in the description e.g. unformatted  or html.
          x-otm-annotations:
            documentation:
              implementers:
              - 'LocalAnonymousType: FormattedTextTextType_TextFormat'
            equivalents:
            - context: Common
              value: TextFormat
            examples:
            - context: Common
              value: Sample Formatted text
          $ref: '#/components/schemas/TextFormatType'
    ErrorWarning:
      x-otm-entity:
        EntityType: ValueWithAttributes
        EntityName: ErrorWarning
      description: The error in textual format.
      x-otm-annotations:
        documentation:
          implementers:
          - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}StringLength1to64'
      properties:
        value:
          type: string
          maxLength: 512
        language:
          description: 'Assigned Type: ota2-0400:LanguageCode'
          type: string
        type:
          $ref: '#/components/schemas/ErrorWarningType_Enum_Base'
        typeExtension:
          type: string
          maxLength: 128
          minLength: 1
        shortText:
          description: 'Assigned Type: ota2-0400:StringShort'
          type: string
          maxLength: 128
        code:
          description: 'Assigned Type: ota2-0400:OTA_Code'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}OTA_CodeType'
            equivalents:
            - context: Common
              value: Code
          type: string
          pattern: '[0-9A-Z]{1,4}(\.[A-Z]{3}(\.X){0,1}){0,1}'
        docURL:
          description: If present, this URL refers to an online description of the error that occurred.
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}anyURI'
            equivalents:
            - context: Common
              value: DocURL
          type: string
        tag:
          description: 'Assigned Type: ota2-0400:String'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}string'
            equivalents:
            - context: Common
              value: Tag
          type: string
          maxLength: 512
        recordID:
          description: 'Assigned Type: ota2-0400:StringShort'
          x-otm-annotations:
            documentation:
              implementers:
              - 'Assigned XSD Type: {http:\/\/www.w3.org\/2001\/XMLSchema}StringLength1to64'
            equivalents:
            - context: Common
              value: RecordID
          type: string
          maxLength: 128
        nodeList:
          description: 'Assigned Type: ota2-0400:String'
          type: string
          maxLength: 512
        status:
          $ref: '#/components/schemas/Status_Enum_Base'
        statusExtension:
          type: string
          maxLength: 128
          minLength: 1
    ImageID:
      x-otm-entity:
        EntityType: BusinessObject
        EntityName: Image
      description: 'Warning:  This will be redesigned in the next release.'
      x-otm-annotations:
        documentation:
          implementers:
          - 'Extension: VideoItemType'
      properties:
        '@type':
          type: string
        objID:
          description: A unique identifier within this document for this object.
          type: string
        Identifier:
          description: 'Assigned Type: ota2-0400:Identifier'
          $ref: '#/compon

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/opentravel-alliance/refs/heads/main/openapi/opentravel-alliance-hospitalityoffers-api-openapi.yml