Schema OTA_HotelAvailRS.xsd


schema location:  http://xmlprosdk.wspan.com/msgdoc/wsdl/OTA_HotelAvailRS.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://www.opentravel.org/OTA_RS/2003/05
 
Elements  Complex types  Simple types  Attr. groups 
OTA_HotelAvailRS  AdditionalGuestAmountType  AlphaLength3  AgeQualifyingGroup 
TPA_Extensions  AmountPercentType  AvailabilityStatusType  CurrencyAmountGroup 
AmountType  DateOrTimeOrDateTimeType  CurrencyCodeGroup 
AreasType  ISO3166  DateTimeSpanGroup 
CancelPenaltiesType  Money  DeadlineGroup 
CancelPenaltyType  Numeric0to999  ErrorWarningAttributeGroup 
CommentType  Numeric1to999  FeeTaxGroup 
DateTimeSpanType  OTA_CodeType  GuestCountGroup 
ErrorsType  Percentage  HotelReferenceGroup 
ErrorType  RateIndicatorType  MealsIncludedGroup 
FormattedTextTextType  StateProvCodeType  OTA_PayloadStdAttributes 
FreeTextType  StringLength1to128  RatePlanGroup 
GuaranteeType  StringLength1to16  RestrictionStatusGroup 
GuestCountType  StringLength1to32 
HotelSearchCriterionType  StringLength1to64 
ItemSearchCriterionType  StringLength1to8 
ParagraphType  TimeOrDateTimeType 
RatePlanType  TimeUnitType 
RateType 
RequiredPaymentsType 
ResCommonDetailType 
RoomRateType 
RoomStayCandidateType 
RoomStayType 
ServicesType 
SuccessType 
TaxesType 
TaxType 
TotalType 
TPA_Extensions_Type 
WarningsType 
WarningType 


element OTA_HotelAvailRS
diagram OTA_HotelAvailRS_p1.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
content complex
children Success Warnings RoomStays Services Areas Criteria TPA_Extensions Errors
attributes
Name  Type  Use  Default  Fixed  annotation
Versionxs:decimalrequired      
documentation
For all OTA versioned messages, the version of the message is indicated by a decimal value.
TransactionIdentifierStringLength1to32optional      
documentation
A unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).
annotation
documentation
Returns information about hotel properties that meet the requested criteria, indicating whether the requested service, rate, room stay, etc. is available within the date(s) specified. The response message may include Warnings from business processing rules, or Errors if the request did not succeed.
source <xs:element name="OTA_HotelAvailRS">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Returns information about hotel properties that meet the requested criteria, indicating whether the requested service, rate, room stay, etc. is available within the date(s) specified. The response message may include Warnings from business processing rules, or Errors if the request did not succeed.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:choice>
       
<xs:sequence>
         
<xs:element name="Success" type="SuccessType"/>
         
<xs:element name="Warnings" type="WarningsType" minOccurs="0"/>
         
<xs:element name="RoomStays" minOccurs="0">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="RoomStay" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation xml:lang="en">Details on the Room Stay including Guest Counts, Time Span of this Room Stay, and financial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:complexContent>
                     
<xs:extension base="RoomStayType"/>
                   
</xs:complexContent>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="Services" type="ServicesType" minOccurs="0"/>
         
<xs:element name="Areas" type="AreasType" minOccurs="0"/>
         
<xs:element name="Criteria" minOccurs="0">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Criterion" type="HotelSearchCriterionType" maxOccurs="unbounded"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element ref="TPA_Extensions" minOccurs="0"/>
       
</xs:sequence>
       
<xs:element name="Errors" type="ErrorsType"/>
     
</xs:choice>
   
</xs:sequence>
   
<xs:attributeGroup ref="OTA_PayloadStdAttributes"/>
 
</xs:complexType>
</xs:element>

element OTA_HotelAvailRS/Success
diagram OTA_HotelAvailRS_p2.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type SuccessType
properties
isRef 0
content complex
source <xs:element name="Success" type="SuccessType"/>

element OTA_HotelAvailRS/Warnings
diagram OTA_HotelAvailRS_p3.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type WarningsType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Warning
source <xs:element name="Warnings" type="WarningsType" minOccurs="0"/>

element OTA_HotelAvailRS/RoomStays
diagram OTA_HotelAvailRS_p4.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children RoomStay
source <xs:element name="RoomStays" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="RoomStay" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Details on the Room Stay including Guest Counts, Time Span of this Room Stay, and financial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="RoomStayType"/>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OTA_HotelAvailRS/RoomStays/RoomStay
diagram OTA_HotelAvailRS_p5.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of RoomStayType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children RatePlans RoomRates Guarantee DepositPayments Total
annotation
documentation
Details on the Room Stay including Guest Counts, Time Span of this Room Stay, and financial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.
source <xs:element name="RoomStay" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Details on the Room Stay including Guest Counts, Time Span of this Room Stay, and financial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="RoomStayType"/>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element OTA_HotelAvailRS/Services
diagram OTA_HotelAvailRS_p6.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ServicesType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Service
source <xs:element name="Services" type="ServicesType" minOccurs="0"/>

element OTA_HotelAvailRS/Areas
diagram OTA_HotelAvailRS_p7.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type AreasType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Area
source <xs:element name="Areas" type="AreasType" minOccurs="0"/>

element OTA_HotelAvailRS/Criteria
diagram OTA_HotelAvailRS_p8.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Criterion
source <xs:element name="Criteria" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Criterion" type="HotelSearchCriterionType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OTA_HotelAvailRS/Criteria/Criterion
diagram OTA_HotelAvailRS_p9.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type HotelSearchCriterionType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children HotelRef StayDateRange RoomStayCandidates
source <xs:element name="Criterion" type="HotelSearchCriterionType" maxOccurs="unbounded"/>

element OTA_HotelAvailRS/Errors
diagram OTA_HotelAvailRS_p10.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ErrorsType
properties
isRef 0
content complex
children Error
source <xs:element name="Errors" type="ErrorsType"/>

element TPA_Extensions
diagram OTA_HotelAvailRS_p11.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TPA_Extensions_Type
properties
content complex
used by
element OTA_HotelAvailRS
annotation
documentation
A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).
source <xs:element name="TPA_Extensions" type="TPA_Extensions_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AdditionalGuestAmountType
diagram OTA_HotelAvailRS_p12.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Amount
used by
element AmountType/AdditionalGuestAmounts/AdditionalGuestAmount
attributes
Name  Type  Use  Default  Fixed  annotation
AgeQualifyingCodeOTA_CodeTypeoptional      
documentation
Defines an age range or age category of a guest (e.g., under 21, over 65, teen, infant). Refer to OTA Code List Age Qualifying Code (AQC).
annotation
documentation
Charges related to additional guests.
source <xs:complexType name="AdditionalGuestAmountType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Charges related to additional guests.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Amount" type="TotalType">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The amount charged for an additional guest.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
 
<xs:attributeGroup ref="AgeQualifyingGroup"/>
</xs:complexType>

element AdditionalGuestAmountType/Amount
diagram OTA_HotelAvailRS_p13.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TotalType
properties
isRef 0
content complex
children Taxes
attributes
Name  Type  Use  Default  Fixed  annotation
AmountBeforeTaxMoneyoptional      
AmountAfterTaxMoneyoptional      
CurrencyCodeAlphaLength3optional      
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
annotation
documentation
The amount charged for an additional guest.
source <xs:element name="Amount" type="TotalType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The amount charged for an additional guest.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AmountPercentType
diagram OTA_HotelAvailRS_p14.png
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element RequiredPaymentsType/GuaranteePayment/AmountPercent
attributes
Name  Type  Use  Default  Fixed  annotation
NmbrOfNightsxs:nonNegativeIntegeroptional      
documentation
The number of nights of the hotel stay that are used to calculate the fee amount.
PercentPercentageoptional      
documentation
The percentage used to calculate the amount.
AmountMoneyoptional      
annotation
documentation
Defines the percentage basis  for calculating the fee amount or the amount .
source <xs:complexType name="AmountPercentType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines the percentage basis  for calculating the fee amount or the amount .</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="NmbrOfNights" type="xs:nonNegativeInteger" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The number of nights of the hotel stay that are used to calculate the fee amount.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="Percent" type="Percentage" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The percentage used to calculate the amount.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attributeGroup ref="CurrencyAmountGroup"/>
</xs:complexType>

attribute AmountPercentType/@NmbrOfNights
type xs:nonNegativeInteger
properties
isRef 0
use optional
annotation
documentation
The number of nights of the hotel stay that are used to calculate the fee amount.
source <xs:attribute name="NmbrOfNights" type="xs:nonNegativeInteger" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The number of nights of the hotel stay that are used to calculate the fee amount.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AmountPercentType/@Percent
type Percentage
properties
isRef 0
use optional
facets
Kind Value annotation 
minInclusive 0.01 
maxInclusive 100.00 
annotation
documentation
The percentage used to calculate the amount.
source <xs:attribute name="Percent" type="Percentage" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The percentage used to calculate the amount.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType AmountType
diagram OTA_HotelAvailRS_p15.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Base AdditionalGuestAmounts CancelPolicies RateDescription AdditionalCharges
used by
elements ServicesType/Service/Price RateType/Rate
attributes
Name  Type  Use  Default  Fixed  annotation
MaxGuestApplicablexs:positiveIntegeroptional      
documentation
Indicates the maximum number of guests at this rate.
MinLOSxs:nonNegativeIntegeroptional      
documentation
Indicates the minimum length of stay.
annotation
documentation
Base charge and additional charges related to a room that includes such things as additional guest amounts, cancel fees, etc. Also includes Discount percentages, total amount, and the rate description.
source <xs:complexType name="AmountType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Base charge and additional charges related to a room that includes such things as additional guest amounts, cancel fees, etc. Also includes Discount percentages, total amount, and the rate description.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Base" type="TotalType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The base amount charged for the accommodation or service per unit of time (ex: Nightly, Weekly, etc). If TaxInclusive is set to True, then taxes are included in the base amount. Note that any additional charges should itemized in the other elements.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AdditionalGuestAmounts" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of charges that apply to for additional occupants, guests or service users (over and above the rate's MaxGuest Applicable) </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="AdditionalGuestAmount" type="AdditionalGuestAmountType" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Collection of incremental charges per age qualifying code for additional guests. Amount charged for additional occupant is with respect to age group of the base guests.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="CancelPolicies" type="CancelPenaltiesType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of Cancellation Policies</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="RateDescription" type="ParagraphType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Description of the rate associated with the various monetary amounts and policies.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AdditionalCharges" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Collection of additional charges.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="AdditionalCharge" maxOccurs="99">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Amenities or services to which a charge applies.</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Amount" type="TotalType" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation xml:lang="en">The amount charged for an amenity or service. </xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
             
<xs:attribute name="RoomAmenityCode" type="OTA_CodeType" use="optional">
               
<xs:annotation>
                 
<xs:documentation xml:lang="en">Identifes the types of room amenities to which a charge applies. Refer to OTA Code List Room Amenity Type (RMA).</xs:documentation>
               
</xs:annotation>
             
</xs:attribute>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
 
<xs:attribute name="MaxGuestApplicable" type="xs:positiveInteger" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">Indicates the maximum number of guests at this rate.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="MinLOS" type="xs:nonNegativeInteger" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">Indicates the minimum length of stay.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute AmountType/@MaxGuestApplicable
type xs:positiveInteger
properties
isRef 0
use optional
annotation
documentation
Indicates the maximum number of guests at this rate.
source <xs:attribute name="MaxGuestApplicable" type="xs:positiveInteger" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Indicates the maximum number of guests at this rate.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AmountType/@MinLOS
type xs:nonNegativeInteger
properties
isRef 0
use optional
annotation
documentation
Indicates the minimum length of stay.
source <xs:attribute name="MinLOS" type="xs:nonNegativeInteger" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Indicates the minimum length of stay.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element AmountType/Base
diagram OTA_HotelAvailRS_p16.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TotalType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Taxes
attributes
Name  Type  Use  Default  Fixed  annotation
AmountBeforeTaxMoneyoptional      
AmountAfterTaxMoneyoptional      
CurrencyCodeAlphaLength3optional      
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
annotation
documentation
The base amount charged for the accommodation or service per unit of time (ex: Nightly, Weekly, etc). If TaxInclusive is set to True, then taxes are included in the base amount. Note that any additional charges should itemized in the other elements.
source <xs:element name="Base" type="TotalType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The base amount charged for the accommodation or service per unit of time (ex: Nightly, Weekly, etc). If TaxInclusive is set to True, then taxes are included in the base amount. Note that any additional charges should itemized in the other elements.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AmountType/AdditionalGuestAmounts
diagram OTA_HotelAvailRS_p17.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children AdditionalGuestAmount
annotation
documentation
A collection of charges that apply to for additional occupants, guests or service users (over and above the rate's MaxGuest Applicable)
source <xs:element name="AdditionalGuestAmounts" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of charges that apply to for additional occupants, guests or service users (over and above the rate's MaxGuest Applicable) </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AdditionalGuestAmount" type="AdditionalGuestAmountType" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Collection of incremental charges per age qualifying code for additional guests. Amount charged for additional occupant is with respect to age group of the base guests.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AmountType/AdditionalGuestAmounts/AdditionalGuestAmount
diagram OTA_HotelAvailRS_p18.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type AdditionalGuestAmountType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children Amount
attributes
Name  Type  Use  Default  Fixed  annotation
AgeQualifyingCodeOTA_CodeTypeoptional      
documentation
Defines an age range or age category of a guest (e.g., under 21, over 65, teen, infant). Refer to OTA Code List Age Qualifying Code (AQC).
annotation
documentation
Collection of incremental charges per age qualifying code for additional guests. Amount charged for additional occupant is with respect to age group of the base guests.
source <xs:element name="AdditionalGuestAmount" type="AdditionalGuestAmountType" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Collection of incremental charges per age qualifying code for additional guests. Amount charged for additional occupant is with respect to age group of the base guests.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AmountType/CancelPolicies
diagram OTA_HotelAvailRS_p19.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type CancelPenaltiesType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children CancelPenalty
annotation
documentation
A collection of Cancellation Policies
source <xs:element name="CancelPolicies" type="CancelPenaltiesType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Cancellation Policies</xs:documentation>
 
</xs:annotation>
</xs:element>

element AmountType/RateDescription
diagram OTA_HotelAvailRS_p20.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ParagraphType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Text
attributes
Name  Type  Use  Default  Fixed  annotation
NameStringLength1to64optional      
documentation
In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.
annotation
documentation
Description of the rate associated with the various monetary amounts and policies.
source <xs:element name="RateDescription" type="ParagraphType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Description of the rate associated with the various monetary amounts and policies.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AmountType/AdditionalCharges
diagram OTA_HotelAvailRS_p21.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children AdditionalCharge
annotation
documentation
Collection of additional charges.
source <xs:element name="AdditionalCharges" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Collection of additional charges.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AdditionalCharge" maxOccurs="99">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Amenities or services to which a charge applies.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Amount" type="TotalType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation xml:lang="en">The amount charged for an amenity or service. </xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
         
<xs:attribute name="RoomAmenityCode" type="OTA_CodeType" use="optional">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Identifes the types of room amenities to which a charge applies. Refer to OTA Code List Room Amenity Type (RMA).</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AmountType/AdditionalCharges/AdditionalCharge
diagram OTA_HotelAvailRS_p22.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 1
maxOcc 99
content complex
children Amount
attributes
Name  Type  Use  Default  Fixed  annotation
RoomAmenityCodeOTA_CodeTypeoptional      
documentation
Identifes the types of room amenities to which a charge applies. Refer to OTA Code List Room Amenity Type (RMA).
annotation
documentation
Amenities or services to which a charge applies.
source <xs:element name="AdditionalCharge" maxOccurs="99">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Amenities or services to which a charge applies.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Amount" type="TotalType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">The amount charged for an amenity or service. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="RoomAmenityCode" type="OTA_CodeType" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Identifes the types of room amenities to which a charge applies. Refer to OTA Code List Room Amenity Type (RMA).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute AmountType/AdditionalCharges/AdditionalCharge/@RoomAmenityCode
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
Identifes the types of room amenities to which a charge applies. Refer to OTA Code List Room Amenity Type (RMA).
source <xs:attribute name="RoomAmenityCode" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Identifes the types of room amenities to which a charge applies. Refer to OTA Code List Room Amenity Type (RMA).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element AmountType/AdditionalCharges/AdditionalCharge/Amount
diagram OTA_HotelAvailRS_p23.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TotalType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Taxes
attributes
Name  Type  Use  Default  Fixed  annotation
AmountBeforeTaxMoneyoptional      
AmountAfterTaxMoneyoptional      
CurrencyCodeAlphaLength3optional      
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
annotation
documentation
The amount charged for an amenity or service.
source <xs:element name="Amount" type="TotalType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The amount charged for an amenity or service. </xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AreasType
diagram OTA_HotelAvailRS_p24.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Area
used by
element OTA_HotelAvailRS/Areas
annotation
documentation
Defines an area determined by the hotel reservation system. 
source <xs:complexType name="AreasType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines an area determined by the hotel reservation system.  </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Area" maxOccurs="99">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">An area determined by the hotel reservation system.  </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="AreaDescription" type="ParagraphType" minOccurs="0"/>
       
</xs:sequence>
       
<xs:attribute name="CityCode" type="StringLength1to8" use="optional">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">The IATA city code; for example DCA, ORD.</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="StateProvCode" type="StateProvCodeType" use="optional">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">The standard code or abbreviation for the state, province, or region.</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="CountryCode" type="ISO3166" use="optional">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">The country in which the area is located.</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AreasType/Area
diagram OTA_HotelAvailRS_p25.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 1
maxOcc 99
content complex
children AreaDescription
attributes
Name  Type  Use  Default  Fixed  annotation
CityCodeStringLength1to8optional      
documentation
The IATA city code; for example DCA, ORD.
StateProvCodeStateProvCodeTypeoptional      
documentation
The standard code or abbreviation for the state, province, or region.
CountryCodeISO3166optional      
documentation
The country in which the area is located.
annotation
documentation
An area determined by the hotel reservation system. 
source <xs:element name="Area" maxOccurs="99">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An area determined by the hotel reservation system.  </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AreaDescription" type="ParagraphType" minOccurs="0"/>
   
</xs:sequence>
   
<xs:attribute name="CityCode" type="StringLength1to8" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The IATA city code; for example DCA, ORD.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="StateProvCode" type="StateProvCodeType" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The standard code or abbreviation for the state, province, or region.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="CountryCode" type="ISO3166" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The country in which the area is located.</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute AreasType/Area/@CityCode
type StringLength1to8
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 
annotation
documentation
The IATA city code; for example DCA, ORD.
source <xs:attribute name="CityCode" type="StringLength1to8" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The IATA city code; for example DCA, ORD.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AreasType/Area/@StateProvCode
type StateProvCodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 
annotation
documentation
The standard code or abbreviation for the state, province, or region.
source <xs:attribute name="StateProvCode" type="StateProvCodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The standard code or abbreviation for the state, province, or region.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AreasType/Area/@CountryCode
type ISO3166
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [a-zA-Z]{2} 
annotation
documentation
The country in which the area is located.
source <xs:attribute name="CountryCode" type="ISO3166" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The country in which the area is located.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element AreasType/Area/AreaDescription
diagram OTA_HotelAvailRS_p26.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ParagraphType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Text
attributes
Name  Type  Use  Default  Fixed  annotation
NameStringLength1to64optional      
documentation
In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.
source <xs:element name="AreaDescription" type="ParagraphType" minOccurs="0"/>

complexType CancelPenaltiesType
diagram OTA_HotelAvailRS_p27.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children CancelPenalty
used by
element AmountType/CancelPolicies
annotation
documentation
A collection of CancelPenalty.
source <xs:complexType name="CancelPenaltiesType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of CancelPenalty.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="CancelPenalty" type="CancelPenaltyType" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Defines the cancellation penalty of the hotel facility. </xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element CancelPenaltiesType/CancelPenalty
diagram OTA_HotelAvailRS_p28.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type CancelPenaltyType
properties
isRef 0
minOcc 0
maxOcc unbounded
content complex
children Deadline PenaltyDescription
annotation
documentation
Defines the cancellation penalty of the hotel facility.
source <xs:element name="CancelPenalty" type="CancelPenaltyType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines the cancellation penalty of the hotel facility. </xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CancelPenaltyType
diagram OTA_HotelAvailRS_p29.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Deadline PenaltyDescription
used by
element CancelPenaltiesType/CancelPenalty
annotation
documentation
The CancelPenalty class defines the cancellation policy of the hotel facility.
source <xs:complexType name="CancelPenaltyType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The CancelPenalty class defines the cancellation policy of the hotel facility. </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Deadline" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Cancellation deadline, absolute or relative. </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attributeGroup ref="DeadlineGroup"/>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="PenaltyDescription" type="ParagraphType" minOccurs="0" maxOccurs="9">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Text description of the Penalty in a given language.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element CancelPenaltyType/Deadline
diagram OTA_HotelAvailRS_p30.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
AbsoluteDeadlineTimeOrDateTimeTypeoptional      
documentation
Defines the absolute deadline.  Either this or the offset attributes may be used.
OffsetTimeUnitTimeUnitTypeoptional      
documentation
The units of time, e.g.: days, hours, etc., that apply to the deadline.
OffsetUnitMultiplierNumeric0to999optional      
documentation
The number of units of DeadlineTimeUnit.
annotation
documentation
Cancellation deadline, absolute or relative.
source <xs:element name="Deadline" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Cancellation deadline, absolute or relative. </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attributeGroup ref="DeadlineGroup"/>
 
</xs:complexType>
</xs:element>

element CancelPenaltyType/PenaltyDescription
diagram OTA_HotelAvailRS_p31.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ParagraphType
properties
isRef 0
minOcc 0
maxOcc 9
content complex
children Text
attributes
Name  Type  Use  Default  Fixed  annotation
NameStringLength1to64optional      
documentation
In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.
annotation
documentation
Text description of the Penalty in a given language.
source <xs:element name="PenaltyDescription" type="ParagraphType" minOccurs="0" maxOccurs="9">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Text description of the Penalty in a given language.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CommentType
diagram OTA_HotelAvailRS_p32.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Comment
used by
element ResCommonDetailType/Comments
annotation
documentation
A collection of Comment objects. Comments which apply to any part of the reservation (the reservation in its entirety, one or more guests,
one or more services, or one or more roomstays).  Which comments apply to which part is determined by each object's ResCommentsRPHs collection.
source <xs:complexType name="CommentType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Comment objects. Comments which apply to any part of the reservation (the reservation in its entirety, one or more guests,
one or more services, or one or more roomstays).  Which comments apply to which part is determined by each object's ResCommentsRPHs collection.
</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Comment" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">ResComment : The ResComment object is used to store a further information (comments) pertaining to a reservation. Comments appended to the reservation may be retained as the reservation passes through multiple channels.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="ParagraphType"/>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element CommentType/Comment
diagram OTA_HotelAvailRS_p33.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of ParagraphType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children Text
attributes
Name  Type  Use  Default  Fixed  annotation
NameStringLength1to64optional      
documentation
In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.
annotation
documentation
ResComment : The ResComment object is used to store a further information (comments) pertaining to a reservation. Comments appended to the reservation may be retained as the reservation passes through multiple channels.
source <xs:element name="Comment" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">ResComment : The ResComment object is used to store a further information (comments) pertaining to a reservation. Comments appended to the reservation may be retained as the reservation passes through multiple channels.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="ParagraphType"/>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

complexType DateTimeSpanType
diagram OTA_HotelAvailRS_p34.png
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element HotelSearchCriterionType/StayDateRange
attributes
Name  Type  Use  Default  Fixed  annotation
StartDateOrTimeOrDateTimeTypeoptional      
documentation
The starting value of the time span.
EndDateOrTimeOrDateTimeTypeoptional      
documentation
The ending value of the time span.
annotation
documentation
Used to specify a time window range by either specifying an earliest and latest date for the start date and end date or by giving a date with a time period that can be applied before and/or after the start date.
source <xs:complexType name="DateTimeSpanType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to specify a time window range by either specifying an earliest and latest date for the start date and end date or by giving a date with a time period that can be applied before and/or after the start date.</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="DateTimeSpanGroup"/>
</xs:complexType>

complexType ErrorsType
diagram OTA_HotelAvailRS_p35.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Error
used by
element OTA_HotelAvailRS/Errors
annotation
documentation
A collection of errors that occurred during the processing of a message.
source <xs:complexType name="ErrorsType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of errors that occurred during the processing of a message.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Error" type="ErrorType" maxOccurs="99"/>
 
</xs:sequence>
</xs:complexType>

element ErrorsType/Error
diagram OTA_HotelAvailRS_p36.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ErrorType
properties
isRef 0
minOcc 1
maxOcc 99
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
TypeOTA_CodeTyperequired      
documentation
The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).
ShortTextStringLength1to128optional      
CodeOTA_CodeTypeoptional      
documentation
If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).
source <xs:element name="Error" type="ErrorType" maxOccurs="99"/>

complexType ErrorType
diagram OTA_HotelAvailRS_p37.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of FreeTextType
properties
base FreeTextType
used by
element ErrorsType/Error
attributes
Name  Type  Use  Default  Fixed  annotation
TypeOTA_CodeTyperequired      
documentation
The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).
ShortTextStringLength1to128optional      
CodeOTA_CodeTypeoptional      
documentation
If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).
annotation
documentation
Standard way to indicate that an error occurred during the processing of an OTA message
source <xs:complexType name="ErrorType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Standard way to indicate that an error occurred during the processing of an OTA message</xs:documentation>
 
</xs:annotation>
 
<xs:simpleContent>
   
<xs:extension base="FreeTextType">
     
<xs:attribute name="Type" type="OTA_CodeType" use="required">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).</xs:documentation>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attributeGroup ref="ErrorWarningAttributeGroup"/>
   
</xs:extension>
 
</xs:simpleContent>
</xs:complexType>

attribute ErrorType/@Type
type OTA_CodeType
properties
isRef 0
use required
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).
source <xs:attribute name="Type" type="OTA_CodeType" use="required">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType FormattedTextTextType
diagram OTA_HotelAvailRS_p38.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of xs:string
properties
base xs:string
used by
element ParagraphType/Text
annotation
documentation
Provides text and indicates whether it is formatted or not.
source <xs:complexType name="FormattedTextTextType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Provides text and indicates whether it is formatted or not.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleContent>
   
<xs:extension base="xs:string"/>
 
</xs:simpleContent>
</xs:complexType>

complexType FreeTextType
diagram OTA_HotelAvailRS_p39.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of xs:string
properties
base xs:string
used by
complexTypes ErrorType WarningType
annotation
documentation
Textual information to provide descriptions and/or additional information.
source <xs:complexType name="FreeTextType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Textual information to provide descriptions and/or additional information.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleContent>
   
<xs:extension base="xs:string"/>
 
</xs:simpleContent>
</xs:complexType>

complexType GuaranteeType
diagram OTA_HotelAvailRS_p40.png
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element RoomStayType/Guarantee
attributes
Name  Type  Use  Default  Fixed  annotation
GuaranteeTypederived by: StringLength1to32optional      
documentation
GuaranteeType : GuaranteeType An enumerated type defining the guarantee to be applied to this reservation.
HoldTimexs:timeoptional      
documentation
The room will held up until this time without a guarantee.
annotation
documentation
The guarantee information to hold a reservation
source <xs:complexType name="GuaranteeType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The guarantee information to hold a reservation</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="GuaranteeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">GuaranteeType : GuaranteeType An enumerated type defining the guarantee to be applied to this reservation.</xs:documentation>
   
</xs:annotation>
   
<xs:simpleType>
     
<xs:restriction base="StringLength1to32">
       
<xs:enumeration value="GuaranteeRequired"/>
       
<xs:enumeration value="None"/>
       
<xs:enumeration value="CC/DC/Voucher"/>
       
<xs:enumeration value="Profile"/>
       
<xs:enumeration value="Deposit"/>
       
<xs:enumeration value="PrePay">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">Indicates prepayment, typically this means payment is required at booking.</xs:documentation>
         
</xs:annotation>
       
</xs:enumeration>
     
</xs:restriction>
   
</xs:simpleType>
 
</xs:attribute>
 
<xs:attribute name="HoldTime" type="xs:time" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The room will held up until this time without a guarantee.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute GuaranteeType/@GuaranteeType
type restriction of StringLength1to32
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 32 
enumeration GuaranteeRequired 
enumeration None 
enumeration CC/DC/Voucher 
enumeration Profile 
enumeration Deposit 
enumeration PrePay 
documentation
Indicates prepayment, typically this means payment is required at booking.
annotation
documentation
GuaranteeType : GuaranteeType An enumerated type defining the guarantee to be applied to this reservation.
source <xs:attribute name="GuaranteeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">GuaranteeType : GuaranteeType An enumerated type defining the guarantee to be applied to this reservation.</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="StringLength1to32">
     
<xs:enumeration value="GuaranteeRequired"/>
     
<xs:enumeration value="None"/>
     
<xs:enumeration value="CC/DC/Voucher"/>
     
<xs:enumeration value="Profile"/>
     
<xs:enumeration value="Deposit"/>
     
<xs:enumeration value="PrePay">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Indicates prepayment, typically this means payment is required at booking.</xs:documentation>
       
</xs:annotation>
     
</xs:enumeration>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute GuaranteeType/@HoldTime
type xs:time
properties
isRef 0
use optional
annotation
documentation
The room will held up until this time without a guarantee.
source <xs:attribute name="HoldTime" type="xs:time" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The room will held up until this time without a guarantee.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType GuestCountType
diagram OTA_HotelAvailRS_p41.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children GuestCount
used by
element RoomStayCandidateType/GuestCounts
annotation
documentation
A collection of GuestCount by age group.
source <xs:complexType name="GuestCountType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of GuestCount by age group.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="GuestCount" maxOccurs="99">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A recurring element that identifies the number of guests and ages of the guests in the request that determines the rates based on business rules for occupancy at each property. </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attributeGroup ref="GuestCountGroup"/>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element GuestCountType/GuestCount
diagram OTA_HotelAvailRS_p42.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 1
maxOcc 99
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
AgeQualifyingCodeOTA_CodeTypeoptional      
documentation
A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OTA Code List Age Qualifying Code (AQC).
CountNumeric1to999optional      
documentation
The number of guests in one AgeQualifyingCode or Count.
annotation
documentation
A recurring element that identifies the number of guests and ages of the guests in the request that determines the rates based on business rules for occupancy at each property.
source <xs:element name="GuestCount" maxOccurs="99">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A recurring element that identifies the number of guests and ages of the guests in the request that determines the rates based on business rules for occupancy at each property. </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attributeGroup ref="GuestCountGroup"/>
 
</xs:complexType>
</xs:element>

complexType HotelSearchCriterionType
diagram OTA_HotelAvailRS_p43.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of ItemSearchCriterionType
properties
base ItemSearchCriterionType
children HotelRef StayDateRange RoomStayCandidates
used by
element OTA_HotelAvailRS/Criteria/Criterion
annotation
documentation
A collection of Profile objects or Unique IDs of Profiles.
source <xs:complexType name="HotelSearchCriterionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Profile objects or Unique IDs of Profiles.</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ItemSearchCriterionType">
     
<xs:sequence>
       
<xs:element name="StayDateRange" type="DateTimeSpanType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">Range of dates, or fixed set of dates for Availability Request. Date range can also be specified by using start dates and number of nights (minimum, maximum or fixed).</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="RoomStayCandidates" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">Collection of room stay candidates.</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="RoomStayCandidate" type="RoomStayCandidateType" maxOccurs="unbounded">
               
<xs:annotation>
                 
<xs:documentation xml:lang="en">Element used to identify available room products.</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element HotelSearchCriterionType/StayDateRange
diagram OTA_HotelAvailRS_p44.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type DateTimeSpanType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
StartDateOrTimeOrDateTimeTypeoptional      
documentation
The starting value of the time span.
EndDateOrTimeOrDateTimeTypeoptional      
documentation
The ending value of the time span.
annotation
documentation
Range of dates, or fixed set of dates for Availability Request. Date range can also be specified by using start dates and number of nights (minimum, maximum or fixed).
source <xs:element name="StayDateRange" type="DateTimeSpanType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Range of dates, or fixed set of dates for Availability Request. Date range can also be specified by using start dates and number of nights (minimum, maximum or fixed).</xs:documentation>
 
</xs:annotation>
</xs:element>

element HotelSearchCriterionType/RoomStayCandidates
diagram OTA_HotelAvailRS_p45.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children RoomStayCandidate
annotation
documentation
Collection of room stay candidates.
source <xs:element name="RoomStayCandidates" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Collection of room stay candidates.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="RoomStayCandidate" type="RoomStayCandidateType" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Element used to identify available room products.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element HotelSearchCriterionType/RoomStayCandidates/RoomStayCandidate
diagram OTA_HotelAvailRS_p46.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type RoomStayCandidateType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children GuestCounts
annotation
documentation
Element used to identify available room products.
source <xs:element name="RoomStayCandidate" type="RoomStayCandidateType" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Element used to identify available room products.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ItemSearchCriterionType
diagram OTA_HotelAvailRS_p47.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children HotelRef
used by
complexType HotelSearchCriterionType
annotation
documentation
Identifies the criterion for a search.
source <xs:complexType name="ItemSearchCriterionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Identifies the criterion for a search.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="HotelRef" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Indicates the detail of hotel reference information.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attributeGroup ref="HotelReferenceGroup"/>
       
<xs:attribute name="SupplierIntegrationLevel" type="xs:nonNegativeInteger" use="optional">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">The level of integration of a property to provide automated transaction information. The lower the number, the higher the integration (e.g., a 1 means the supplier has the highest level of integration automation).</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ItemSearchCriterionType/HotelRef
diagram OTA_HotelAvailRS_p48.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
ChainCodeStringLength1to8optional      
documentation
The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors.  This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.
HotelCodeStringLength1to16optional      
documentation
The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.
HotelNameStringLength1to128optional      
documentation
A text field used to communicate the proper name of the hotel.
SupplierIntegrationLevelxs:nonNegativeIntegeroptional      
documentation
The level of integration of a property to provide automated transaction information. The lower the number, the higher the integration (e.g., a 1 means the supplier has the highest level of integration automation).
annotation
documentation
Indicates the detail of hotel reference information.
source <xs:element name="HotelRef" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Indicates the detail of hotel reference information.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attributeGroup ref="HotelReferenceGroup"/>
   
<xs:attribute name="SupplierIntegrationLevel" type="xs:nonNegativeInteger" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The level of integration of a property to provide automated transaction information. The lower the number, the higher the integration (e.g., a 1 means the supplier has the highest level of integration automation).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute ItemSearchCriterionType/HotelRef/@SupplierIntegrationLevel
type xs:nonNegativeInteger
properties
isRef 0
use optional
annotation
documentation
The level of integration of a property to provide automated transaction information. The lower the number, the higher the integration (e.g., a 1 means the supplier has the highest level of integration automation).
source <xs:attribute name="SupplierIntegrationLevel" type="xs:nonNegativeInteger" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The level of integration of a property to provide automated transaction information. The lower the number, the higher the integration (e.g., a 1 means the supplier has the highest level of integration automation).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType ParagraphType
diagram OTA_HotelAvailRS_p49.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Text
used by
elements AreasType/Area/AreaDescription CommentType/Comment CancelPenaltyType/PenaltyDescription AmountType/RateDescription
attributes
Name  Type  Use  Default  Fixed  annotation
NameStringLength1to64optional      
documentation
In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.
annotation
documentation
An indication of a new paragraph for a sub-section of a formatted text message.
source <xs:complexType name="ParagraphType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An indication of a new paragraph for a sub-section of a formatted text message.</xs:documentation>
 
</xs:annotation>
 
<xs:choice minOccurs="0" maxOccurs="3">
   
<xs:element name="Text" type="FormattedTextTextType"/>
 
</xs:choice>
 
<xs:attribute name="Name" type="StringLength1to64" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute ParagraphType/@Name
type StringLength1to64
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 64 
annotation
documentation
In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.
source <xs:attribute name="Name" type="StringLength1to64" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element ParagraphType/Text
diagram OTA_HotelAvailRS_p50.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type FormattedTextTextType
properties
isRef 0
content complex
source <xs:element name="Text" type="FormattedTextTextType"/>

complexType RatePlanType
diagram OTA_HotelAvailRS_p51.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children RatePlanInclusions MealsIncluded
used by
element RoomStayType/RatePlans/RatePlan
attributes
Name  Type  Use  Default  Fixed  annotation
RatePlanIDStringLength1to64optional      
documentation
A text field used to provide a special  ID code that is associated with the rate and is required in the reservation request in order to obtain the rate.  Examples are a corporate ID number, a promotion code or a membership number.
annotation
documentation
Combination of the rate plan core type and rate plan additional information to define the details of the rate plan.
documentation
Policies and descriptions that apply to a rate plan.
documentation
Information significant to defining a rate plan.
source <xs:complexType name="RatePlanType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Combination of the rate plan core type and rate plan additional information to define the details of the rate plan.</xs:documentation>
   
<xs:documentation xml:lang="en">Policies and descriptions that apply to a rate plan.</xs:documentation>
   
<xs:documentation xml:lang="en">Information significant to defining a rate plan.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence minOccurs="0">
   
<xs:element name="RatePlanInclusions" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Defines charges that are included in this rate plan.This element allows for future extension should there be a need.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attribute name="TaxInclusive" type="xs:boolean" use="optional"/>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="MealsIncluded" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Defines which meals are included with this rate program.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attributeGroup ref="MealsIncludedGroup">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">Defines which meals are included with this rate program.</xs:documentation>
         
</xs:annotation>
       
</xs:attributeGroup>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
 
<xs:attribute name="RatePlanID" type="StringLength1to64" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">A text field used to provide a special  ID code that is associated with the rate and is required in the reservation request in order to obtain the rate.  Examples are a corporate ID number, a promotion code or a membership number.
</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute RatePlanType/@RatePlanID
type StringLength1to64
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 64 
annotation
documentation
A text field used to provide a special  ID code that is associated with the rate and is required in the reservation request in order to obtain the rate.  Examples are a corporate ID number, a promotion code or a membership number.
source <xs:attribute name="RatePlanID" type="StringLength1to64" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A text field used to provide a special  ID code that is associated with the rate and is required in the reservation request in order to obtain the rate.  Examples are a corporate ID number, a promotion code or a membership number.
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element RatePlanType/RatePlanInclusions
diagram OTA_HotelAvailRS_p52.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
TaxInclusivexs:booleanoptional      
annotation
documentation
Defines charges that are included in this rate plan.This element allows for future extension should there be a need.
source <xs:element name="RatePlanInclusions" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines charges that are included in this rate plan.This element allows for future extension should there be a need.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="TaxInclusive" type="xs:boolean" use="optional"/>
 
</xs:complexType>
</xs:element>

attribute RatePlanType/RatePlanInclusions/@TaxInclusive
type xs:boolean
properties
isRef 0
use optional
source <xs:attribute name="TaxInclusive" type="xs:boolean" use="optional"/>

element RatePlanType/MealsIncluded
diagram OTA_HotelAvailRS_p53.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
Breakfastxs:booleanoptional      
documentation
When true, indicates breakfast is included.
annotation
documentation
Defines which meals are included with this rate program.
source <xs:element name="MealsIncluded" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines which meals are included with this rate program.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attributeGroup ref="MealsIncludedGroup">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Defines which meals are included with this rate program.</xs:documentation>
     
</xs:annotation>
   
</xs:attributeGroup>
 
</xs:complexType>
</xs:element>

complexType RateType
diagram OTA_HotelAvailRS_p54.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Rate
used by
element RoomRateType/Rates
annotation
documentation
Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.
source <xs:complexType name="RateType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Rate" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The  Rate contains a collection of elements that define the amount of the rate, associated fees, additional occupant amounts as well as payment and cancellation policies. Taxes can be broken out or included within the various amounts. A currency can be associated to each amount  The applicable period of the the rate are indicated by the effective dates.  Restrictions that may apply to that rate, such as the minimum or maximum length of stay,  stay-over dates (such as a Saturday night), min/max guests applicable for the rate, and age group (ex Adult) are attributes of Rate. It indicates the number of units that the quoted rate is based upon, as well as the TimeUnits type used that the rate is based upon, e.g.: 3days at $100.00 per day.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="AmountType"/>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element RateType/Rate
diagram OTA_HotelAvailRS_p55.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of AmountType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children Base AdditionalGuestAmounts CancelPolicies RateDescription AdditionalCharges
attributes
Name  Type  Use  Default  Fixed  annotation
MaxGuestApplicablexs:positiveIntegeroptional      
documentation
Indicates the maximum number of guests at this rate.
MinLOSxs:nonNegativeIntegeroptional      
documentation
Indicates the minimum length of stay.
annotation
documentation
The  Rate contains a collection of elements that define the amount of the rate, associated fees, additional occupant amounts as well as payment and cancellation policies. Taxes can be broken out or included within the various amounts. A currency can be associated to each amount  The applicable period of the the rate are indicated by the effective dates.  Restrictions that may apply to that rate, such as the minimum or maximum length of stay,  stay-over dates (such as a Saturday night), min/max guests applicable for the rate, and age group (ex Adult) are attributes of Rate. It indicates the number of units that the quoted rate is based upon, as well as the TimeUnits type used that the rate is based upon, e.g.: 3days at $100.00 per day.
source <xs:element name="Rate" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The  Rate contains a collection of elements that define the amount of the rate, associated fees, additional occupant amounts as well as payment and cancellation policies. Taxes can be broken out or included within the various amounts. A currency can be associated to each amount  The applicable period of the the rate are indicated by the effective dates.  Restrictions that may apply to that rate, such as the minimum or maximum length of stay,  stay-over dates (such as a Saturday night), min/max guests applicable for the rate, and age group (ex Adult) are attributes of Rate. It indicates the number of units that the quoted rate is based upon, as well as the TimeUnits type used that the rate is based upon, e.g.: 3days at $100.00 per day.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="AmountType"/>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

complexType RequiredPaymentsType
diagram OTA_HotelAvailRS_p56.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children GuaranteePayment
used by
element RoomStayType/DepositPayments
annotation
documentation
A collection of required payments.
source <xs:complexType name="RequiredPaymentsType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of required payments.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="GuaranteePayment" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Used to define the deposit policy, guarantees policy, and/or accepted forms of payment.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="AmountPercent" type="AmountPercentType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Payment expressed as a fixed amount, or a percentage of/or room nights.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element RequiredPaymentsType/GuaranteePayment
diagram OTA_HotelAvailRS_p57.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children AmountPercent
annotation
documentation
Used to define the deposit policy, guarantees policy, and/or accepted forms of payment.
source <xs:element name="GuaranteePayment" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to define the deposit policy, guarantees policy, and/or accepted forms of payment.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AmountPercent" type="AmountPercentType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Payment expressed as a fixed amount, or a percentage of/or room nights.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element RequiredPaymentsType/GuaranteePayment/AmountPercent
diagram OTA_HotelAvailRS_p58.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type AmountPercentType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
NmbrOfNightsxs:nonNegativeIntegeroptional      
documentation
The number of nights of the hotel stay that are used to calculate the fee amount.
PercentPercentageoptional      
documentation
The percentage used to calculate the amount.
AmountMoneyoptional      
annotation
documentation
Payment expressed as a fixed amount, or a percentage of/or room nights.
source <xs:element name="AmountPercent" type="AmountPercentType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Payment expressed as a fixed amount, or a percentage of/or room nights.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResCommonDetailType
diagram OTA_HotelAvailRS_p59.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Comments
used by
element ServicesType/Service/ServiceDetails
annotation
documentation
A grouping of elements including Guest Counts, Time Span, pointers to Res Guests, guest Memberships, Comments and Special Requests and finally finacial information including Guarantee, Deposit and Payyment and Cancellation Penalties.
source <xs:complexType name="ResCommonDetailType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A grouping of elements including Guest Counts, Time Span, pointers to Res Guests, guest Memberships, Comments and Special Requests and finally finacial information including Guarantee, Deposit and Payyment and Cancellation Penalties.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Comments" type="CommentType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service. </xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ResCommonDetailType/Comments
diagram OTA_HotelAvailRS_p60.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type CommentType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Comment
annotation
documentation
A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service.
source <xs:element name="Comments" type="CommentType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service. </xs:documentation>
 
</xs:annotation>
</xs:element>

complexType RoomRateType
diagram OTA_HotelAvailRS_p61.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Rates Features Availability
used by
element RoomStayType/RoomRates/RoomRate
attributes
Name  Type  Use  Default  Fixed  annotation
BookingCodeStringLength1to16optional      
documentation
This is used to indicate the item booked and is primarily used to exchange information with GDSs.
RoomTypeCodeStringLength1to16      
documentation
Specfic system room type code, ex: A1K, A1Q etc.
RatePlanTypeOTA_CodeTypeoptional      
documentation
An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OTA Code List Rate Plan Type (RPT).
annotation
documentation
Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.
source <xs:complexType name="RoomRateType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Rates" type="RateType">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Features" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of features that are made available as part of  this  speciific room and this specifiic rate plan.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Feature" minOccurs="0" maxOccurs="99">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Allows for the description of any features and/or amenities that are made available as part of  this  specific room and this specifiic rate plan, for example, large screen television, video/DVD player in room, room service breakfast, and details about that breakfast.</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:attribute name="RoomAmenity" type="OTA_CodeType" use="optional">
               
<xs:annotation>
                 
<xs:documentation xml:lang="en">
Refer to OTA Code List Room Amenity Type (RMA).
</xs:documentation>
               
</xs:annotation>
             
</xs:attribute>
             
<xs:attribute name="Quantity" type="Numeric0to999" use="optional"/>
             
<xs:attribute name="RoomViewCode" type="OTA_CodeType" use="optional">
               
<xs:annotation>
                 
<xs:documentation xml:lang="en">Specifies the type of view a room has. Refer to OTA Code List Room View Type (RVT).</xs:documentation>
               
</xs:annotation>
             
</xs:attribute>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Availability" minOccurs="0" maxOccurs="5">
     
<xs:complexType>
       
<xs:attribute name="AvailabilityStatus" type="RateIndicatorType" use="optional">
         
<xs:annotation>
           
<xs:documentation xml:lang="en">Availability status.
</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
 
<xs:attribute name="BookingCode" type="StringLength1to16" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">This is used to indicate the item booked and is primarily used to exchange information with GDSs.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="RoomTypeCode" type="StringLength1to16">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">Specfic system room type code, ex: A1K, A1Q etc.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attributeGroup ref="RatePlanGroup"/>
</xs:complexType>

attribute RoomRateType/@BookingCode
type StringLength1to16
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 16 
annotation
documentation
This is used to indicate the item booked and is primarily used to exchange information with GDSs.
source <xs:attribute name="BookingCode" type="StringLength1to16" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">This is used to indicate the item booked and is primarily used to exchange information with GDSs.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute RoomRateType/@RoomTypeCode
type StringLength1to16
properties
isRef 0
facets
Kind Value annotation 
minLength 
maxLength 16 
annotation
documentation
Specfic system room type code, ex: A1K, A1Q etc.
source <xs:attribute name="RoomTypeCode" type="StringLength1to16">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Specfic system room type code, ex: A1K, A1Q etc.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element RoomRateType/Rates
diagram OTA_HotelAvailRS_p62.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type RateType
properties
isRef 0
content complex
children Rate
annotation
documentation
Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.
source <xs:element name="Rates" type="RateType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Individual rate amount. This rate is valid for a range of number of occupants and an occupant type.</xs:documentation>
 
</xs:annotation>
</xs:element>

element RoomRateType/Features
diagram OTA_HotelAvailRS_p63.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Feature
annotation
documentation
A collection of features that are made available as part of  this  speciific room and this specifiic rate plan.
source <xs:element name="Features" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of features that are made available as part of  this  speciific room and this specifiic rate plan.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Feature" minOccurs="0" maxOccurs="99">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Allows for the description of any features and/or amenities that are made available as part of  this  specific room and this specifiic rate plan, for example, large screen television, video/DVD player in room, room service breakfast, and details about that breakfast.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="RoomAmenity" type="OTA_CodeType" use="optional">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">
Refer to OTA Code List Room Amenity Type (RMA).
</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="Quantity" type="Numeric0to999" use="optional"/>
         
<xs:attribute name="RoomViewCode" type="OTA_CodeType" use="optional">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Specifies the type of view a room has. Refer to OTA Code List Room View Type (RVT).</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element RoomRateType/Features/Feature
diagram OTA_HotelAvailRS_p64.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 99
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
RoomAmenityOTA_CodeTypeoptional      
documentation

Refer to OTA Code List Room Amenity Type (RMA).
QuantityNumeric0to999optional      
RoomViewCodeOTA_CodeTypeoptional      
documentation
Specifies the type of view a room has. Refer to OTA Code List Room View Type (RVT).
annotation
documentation
Allows for the description of any features and/or amenities that are made available as part of  this  specific room and this specifiic rate plan, for example, large screen television, video/DVD player in room, room service breakfast, and details about that breakfast.
source <xs:element name="Feature" minOccurs="0" maxOccurs="99">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Allows for the description of any features and/or amenities that are made available as part of  this  specific room and this specifiic rate plan, for example, large screen television, video/DVD player in room, room service breakfast, and details about that breakfast.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="RoomAmenity" type="OTA_CodeType" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">
Refer to OTA Code List Room Amenity Type (RMA).
</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="Quantity" type="Numeric0to999" use="optional"/>
   
<xs:attribute name="RoomViewCode" type="OTA_CodeType" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Specifies the type of view a room has. Refer to OTA Code List Room View Type (RVT).</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute RoomRateType/Features/Feature/@RoomAmenity
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation

Refer to OTA Code List Room Amenity Type (RMA).
source <xs:attribute name="RoomAmenity" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">
Refer to OTA Code List Room Amenity Type (RMA).
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute RoomRateType/Features/Feature/@Quantity
type Numeric0to999
properties
isRef 0
use optional
facets
Kind Value annotation 
minInclusive 
maxInclusive 999 
source <xs:attribute name="Quantity" type="Numeric0to999" use="optional"/>

attribute RoomRateType/Features/Feature/@RoomViewCode
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
Specifies the type of view a room has. Refer to OTA Code List Room View Type (RVT).
source <xs:attribute name="RoomViewCode" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Specifies the type of view a room has. Refer to OTA Code List Room View Type (RVT).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element RoomRateType/Availability
diagram OTA_HotelAvailRS_p65.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 5
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
AvailabilityStatusRateIndicatorTypeoptional      
documentation
Availability status.
source <xs:element name="Availability" minOccurs="0" maxOccurs="5">
 
<xs:complexType>
   
<xs:attribute name="AvailabilityStatus" type="RateIndicatorType" use="optional">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Availability status.
</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute RoomRateType/Availability/@AvailabilityStatus
type RateIndicatorType
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 32 
enumeration ChangeDuringStay 
enumeration MultipleNights 
enumeration Exclusive 
enumeration OnRequest 
enumeration LimitedAvailability 
enumeration AvailableForSale 
enumeration ClosedOut 
enumeration OtherAvailable 
enumeration UnableToProcess 
documentation
Indicates an issue that precluded the ability to provide the information.
enumeration NoAvailability 
enumeration RoomTypeClosed 
enumeration RatePlanClosed 
enumeration LOS_Restricted 
annotation
documentation
Availability status.
source <xs:attribute name="AvailabilityStatus" type="RateIndicatorType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Availability status.
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType RoomStayCandidateType
diagram OTA_HotelAvailRS_p66.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children GuestCounts
used by
element HotelSearchCriterionType/RoomStayCandidates/RoomStayCandidate
annotation
documentation
Used to identify available room products.
source <xs:complexType name="RoomStayCandidateType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to identify available room products.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="GuestCounts" type="GuestCountType" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element RoomStayCandidateType/GuestCounts
diagram OTA_HotelAvailRS_p67.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type GuestCountType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children GuestCount
source <xs:element name="GuestCounts" type="GuestCountType" minOccurs="0"/>

complexType RoomStayType
diagram OTA_HotelAvailRS_p68.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children RatePlans RoomRates Guarantee DepositPayments Total
used by
element OTA_HotelAvailRS/RoomStays/RoomStay
annotation
documentation
Details on the Room Stay including Guest Counts, Time Span of this Room Stay, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Room Stay and finally finacial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.
source <xs:complexType name="RoomStayType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Details on the Room Stay including Guest Counts, Time Span of this Room Stay, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Room Stay and finally finacial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="RatePlans" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of Rate Plans associated with a particular Room Stay.</xs:documentation>
       
<xs:documentation xml:lang="en">The rate plan element is used to contain all the rate information for a single Rate Plan Code (ex RACK) for a given date range. A given Rate Plan may have variable rates, over the effective period of the Rate Plan, this is represented by the child element Rates.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="RatePlan" type="RatePlanType" maxOccurs="unbounded"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="RoomRates" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of Room Rates associated with a particular Room Stay. Each Room Rate combination can have multiple rates. Example King room, Rack rate plan, Monday through Thursday, weekday amount, Friday and Saturday, weekend amount.</xs:documentation>
       
<xs:documentation xml:lang="en">The combination of a given Rate Plan and Room Type. This allows for support for systems where Rate Plans are child of Room Type as well as systems which Room Types are child of Rate Plans.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="RoomRate" type="RoomRateType" maxOccurs="unbounded"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Guarantee" type="GuaranteeType" minOccurs="0" maxOccurs="5">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The guarantee information associated to the Room Stay. A maximum of 5 occurances are available for use depending on the context.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DepositPayments" type="RequiredPaymentsType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A collection of deposit and/or payments for the Room Stay.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Total" type="TotalType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">The total amount charged for the Room Stay  including additional occupant amounts and fees. If TaxInclusive is set to True, then taxes are included in the total amount.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element RoomStayType/RatePlans
diagram OTA_HotelAvailRS_p69.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children RatePlan
annotation
documentation
A collection of Rate Plans associated with a particular Room Stay.
documentation
The rate plan element is used to contain all the rate information for a single Rate Plan Code (ex RACK) for a given date range. A given Rate Plan may have variable rates, over the effective period of the Rate Plan, this is represented by the child element Rates.
source <xs:element name="RatePlans" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Rate Plans associated with a particular Room Stay.</xs:documentation>
   
<xs:documentation xml:lang="en">The rate plan element is used to contain all the rate information for a single Rate Plan Code (ex RACK) for a given date range. A given Rate Plan may have variable rates, over the effective period of the Rate Plan, this is represented by the child element Rates.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="RatePlan" type="RatePlanType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element RoomStayType/RatePlans/RatePlan
diagram OTA_HotelAvailRS_p70.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type RatePlanType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children RatePlanInclusions MealsIncluded
attributes
Name  Type  Use  Default  Fixed  annotation
RatePlanIDStringLength1to64optional      
documentation
A text field used to provide a special  ID code that is associated with the rate and is required in the reservation request in order to obtain the rate.  Examples are a corporate ID number, a promotion code or a membership number.
source <xs:element name="RatePlan" type="RatePlanType" maxOccurs="unbounded"/>

element RoomStayType/RoomRates
diagram OTA_HotelAvailRS_p71.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children RoomRate
annotation
documentation
A collection of Room Rates associated with a particular Room Stay. Each Room Rate combination can have multiple rates. Example King room, Rack rate plan, Monday through Thursday, weekday amount, Friday and Saturday, weekend amount.
documentation
The combination of a given Rate Plan and Room Type. This allows for support for systems where Rate Plans are child of Room Type as well as systems which Room Types are child of Rate Plans.
source <xs:element name="RoomRates" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Room Rates associated with a particular Room Stay. Each Room Rate combination can have multiple rates. Example King room, Rack rate plan, Monday through Thursday, weekday amount, Friday and Saturday, weekend amount.</xs:documentation>
   
<xs:documentation xml:lang="en">The combination of a given Rate Plan and Room Type. This allows for support for systems where Rate Plans are child of Room Type as well as systems which Room Types are child of Rate Plans.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="RoomRate" type="RoomRateType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element RoomStayType/RoomRates/RoomRate
diagram OTA_HotelAvailRS_p72.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type RoomRateType
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children Rates Features Availability
attributes
Name  Type  Use  Default  Fixed  annotation
BookingCodeStringLength1to16optional      
documentation
This is used to indicate the item booked and is primarily used to exchange information with GDSs.
RoomTypeCodeStringLength1to16      
documentation
Specfic system room type code, ex: A1K, A1Q etc.
RatePlanTypeOTA_CodeTypeoptional      
documentation
An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OTA Code List Rate Plan Type (RPT).
source <xs:element name="RoomRate" type="RoomRateType" maxOccurs="unbounded"/>

element RoomStayType/Guarantee
diagram OTA_HotelAvailRS_p73.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type GuaranteeType
properties
isRef 0
minOcc 0
maxOcc 5
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
GuaranteeTypederived by: StringLength1to32optional      
documentation
GuaranteeType : GuaranteeType An enumerated type defining the guarantee to be applied to this reservation.
HoldTimexs:timeoptional      
documentation
The room will held up until this time without a guarantee.
annotation
documentation
The guarantee information associated to the Room Stay. A maximum of 5 occurances are available for use depending on the context.
source <xs:element name="Guarantee" type="GuaranteeType" minOccurs="0" maxOccurs="5">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The guarantee information associated to the Room Stay. A maximum of 5 occurances are available for use depending on the context.</xs:documentation>
 
</xs:annotation>
</xs:element>

element RoomStayType/DepositPayments
diagram OTA_HotelAvailRS_p74.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type RequiredPaymentsType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children GuaranteePayment
annotation
documentation
A collection of deposit and/or payments for the Room Stay.
source <xs:element name="DepositPayments" type="RequiredPaymentsType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of deposit and/or payments for the Room Stay.</xs:documentation>
 
</xs:annotation>
</xs:element>

element RoomStayType/Total
diagram OTA_HotelAvailRS_p75.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TotalType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Taxes
attributes
Name  Type  Use  Default  Fixed  annotation
AmountBeforeTaxMoneyoptional      
AmountAfterTaxMoneyoptional      
CurrencyCodeAlphaLength3optional      
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
annotation
documentation
The total amount charged for the Room Stay  including additional occupant amounts and fees. If TaxInclusive is set to True, then taxes are included in the total amount.
source <xs:element name="Total" type="TotalType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The total amount charged for the Room Stay  including additional occupant amounts and fees. If TaxInclusive is set to True, then taxes are included in the total amount.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ServicesType
diagram OTA_HotelAvailRS_p76.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Service
used by
element OTA_HotelAvailRS/Services
annotation
documentation
A collection of Service objects. This is the collection of all services associated with any part of this reservation (the reservation in its entirety, one or more guests, or one or more room stays).   Which services are attributable to which part is determined by each object's ServiceRPHs collection.
source <xs:complexType name="ServicesType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of Service objects. This is the collection of all services associated with any part of this reservation (the reservation in its entirety, one or more guests, or one or more room stays).   Which services are attributable to which part is determined by each object's ServiceRPHs collection.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Service" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">A Service object represents a non-room product provided to guests.  Service products may have associated inventory and charges.  </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Price" type="AmountType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">The selling price of this Service.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="ServiceDetails" type="ResCommonDetailType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation xml:lang="en">Details on the Service including Guest Counts, Time Span of this Service, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Service and finally financial information related to the Service, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ServicesType/Service
diagram OTA_HotelAvailRS_p77.png
namespace http://www.opentravel.org/OTA_RS/2003/05
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
children Price ServiceDetails
annotation
documentation
A Service object represents a non-room product provided to guests.  Service products may have associated inventory and charges. 
source <xs:element name="Service" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A Service object represents a non-room product provided to guests.  Service products may have associated inventory and charges.  </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Price" type="AmountType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">The selling price of this Service.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ServiceDetails" type="ResCommonDetailType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Details on the Service including Guest Counts, Time Span of this Service, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Service and finally financial information related to the Service, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ServicesType/Service/Price
diagram OTA_HotelAvailRS_p78.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type AmountType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Base AdditionalGuestAmounts CancelPolicies RateDescription AdditionalCharges
attributes
Name  Type  Use  Default  Fixed  annotation
MaxGuestApplicablexs:positiveIntegeroptional      
documentation
Indicates the maximum number of guests at this rate.
MinLOSxs:nonNegativeIntegeroptional      
documentation
Indicates the minimum length of stay.
annotation
documentation
The selling price of this Service.
source <xs:element name="Price" type="AmountType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The selling price of this Service.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ServicesType/Service/ServiceDetails
diagram OTA_HotelAvailRS_p79.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type ResCommonDetailType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Comments
annotation
documentation
Details on the Service including Guest Counts, Time Span of this Service, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Service and finally financial information related to the Service, including Guarantee, Deposit and Payment and Cancellation Penalties.
source <xs:element name="ServiceDetails" type="ResCommonDetailType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Details on the Service including Guest Counts, Time Span of this Service, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Service and finally financial information related to the Service, including Guarantee, Deposit and Payment and Cancellation Penalties.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType SuccessType
diagram OTA_HotelAvailRS_p80.png
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element OTA_HotelAvailRS/Success
annotation
documentation
Standard way to indicate successful processing of an OTA message. Returning an empty element of this type indicates success.
source <xs:complexType name="SuccessType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Standard way to indicate successful processing of an OTA message. Returning an empty element of this type indicates success.</xs:documentation>
 
</xs:annotation>
</xs:complexType>

complexType TaxesType
diagram OTA_HotelAvailRS_p81.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Tax
used by
element TotalType/Taxes
annotation
documentation
A collection of taxes.
source <xs:complexType name="TaxesType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A collection of taxes.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Tax" type="TaxType" minOccurs="0" maxOccurs="99">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">An individual tax.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element TaxesType/Tax
diagram OTA_HotelAvailRS_p82.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TaxType
properties
isRef 0
minOcc 0
maxOcc 99
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
PercentPercentageoptional      
documentation
Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).
annotation
documentation
An individual tax.
source <xs:element name="Tax" type="TaxType" minOccurs="0" maxOccurs="99">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An individual tax.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType TaxType
diagram OTA_HotelAvailRS_p83.png
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element TaxesType/Tax
attributes
Name  Type  Use  Default  Fixed  annotation
PercentPercentageoptional      
documentation
Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).
annotation
documentation
Applicable tax element.  This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways.
source <xs:complexType name="TaxType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Applicable tax element.  This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways.</xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="FeeTaxGroup"/>
</xs:complexType>

complexType TotalType
diagram OTA_HotelAvailRS_p84.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Taxes
used by
elements AdditionalGuestAmountType/Amount AmountType/AdditionalCharges/AdditionalCharge/Amount AmountType/Base RoomStayType/Total
attributes
Name  Type  Use  Default  Fixed  annotation
AmountBeforeTaxMoneyoptional      
AmountAfterTaxMoneyoptional      
CurrencyCodeAlphaLength3optional      
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
annotation
documentation
The total amount charged for the service including additional amounts and fees.
source <xs:complexType name="TotalType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The total amount charged for the service including additional amounts and fees.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Taxes" type="TaxesType" minOccurs="0"/>
 
</xs:sequence>
 
<xs:attribute name="AmountBeforeTax" type="Money" use="optional"/>
 
<xs:attribute name="AmountAfterTax" type="Money" use="optional"/>
 
<xs:attributeGroup ref="CurrencyCodeGroup"/>
</xs:complexType>

attribute TotalType/@AmountBeforeTax
type Money
properties
isRef 0
use optional
facets
Kind Value annotation 
fractionDigits 
source <xs:attribute name="AmountBeforeTax" type="Money" use="optional"/>

attribute TotalType/@AmountAfterTax
type Money
properties
isRef 0
use optional
facets
Kind Value annotation 
fractionDigits 
source <xs:attribute name="AmountAfterTax" type="Money" use="optional"/>

element TotalType/Taxes
diagram OTA_HotelAvailRS_p85.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type TaxesType
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Tax
source <xs:element name="Taxes" type="TaxesType" minOccurs="0"/>

complexType TPA_Extensions_Type
diagram OTA_HotelAvailRS_p86.png
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element TPA_Extensions
annotation
documentation
Allows extensions
to be added to the OTA specification per trading partner agreement.
source <xs:complexType name="TPA_Extensions_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Allows extensions
to be added to the OTA specification per trading partner agreement.
</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

complexType WarningsType
diagram OTA_HotelAvailRS_p87.png
namespace http://www.opentravel.org/OTA_RS/2003/05
children Warning
used by
element OTA_HotelAvailRS/Warnings
source <xs:complexType name="WarningsType">
 
<xs:sequence>
   
<xs:element name="Warning" type="WarningType" maxOccurs="99"/>
 
</xs:sequence>
</xs:complexType>

element WarningsType/Warning
diagram OTA_HotelAvailRS_p88.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type WarningType
properties
isRef 0
minOcc 1
maxOcc 99
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
TypeOTA_CodeTyperequired      
documentation
The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).
ShortTextStringLength1to128optional      
CodeOTA_CodeTypeoptional      
documentation
If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).
source <xs:element name="Warning" type="WarningType" maxOccurs="99"/>

complexType WarningType
diagram OTA_HotelAvailRS_p89.png
namespace http://www.opentravel.org/OTA_RS/2003/05
type extension of FreeTextType
properties
base FreeTextType
used by
element WarningsType/Warning
attributes
Name  Type  Use  Default  Fixed  annotation
TypeOTA_CodeTyperequired      
documentation
The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).
ShortTextStringLength1to128optional      
CodeOTA_CodeTypeoptional      
documentation
If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).
annotation
documentation
Standard way to indicate successful processing of an OTA message, but one in which warnings are generated
source <xs:complexType name="WarningType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Standard way to indicate successful processing of an OTA message, but one in which warnings are generated</xs:documentation>
 
</xs:annotation>
 
<xs:simpleContent>
   
<xs:extension base="FreeTextType">
     
<xs:attribute name="Type" type="OTA_CodeType" use="required">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).</xs:documentation>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attributeGroup ref="ErrorWarningAttributeGroup"/>
   
</xs:extension>
 
</xs:simpleContent>
</xs:complexType>

attribute WarningType/@Type
type OTA_CodeType
properties
isRef 0
use required
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).
source <xs:attribute name="Type" type="OTA_CodeType" use="required">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

simpleType AlphaLength3
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
attribute CurrencyCodeGroup/@CurrencyCode
facets
Kind Value annotation 
pattern [a-zA-Z]{3} 
annotation
documentation
Used for Alphabetic Strings, length exactly 3
source <xs:simpleType name="AlphaLength3">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Alphabetic Strings, length exactly 3</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[a-zA-Z]{3}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType AvailabilityStatusType
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:NMTOKENS
properties
base xs:NMTOKENS
used by
attribute RestrictionStatusGroup/@Status
facets
Kind Value annotation 
enumeration Open 
documentation
Inventory is available for sale.
enumeration Close 
documentation
Inventory is not available for sale.
enumeration ClosedOnArrival 
documentation
Inventory is not available for sale to arriving guests.
enumeration ClosedOnArrivalOnRequest 
documentation
Inventory may not be available for sale to arriving guests.
enumeration OnRequest 
documentation
Inventory may be available.
annotation
documentation
Identifies the availability status of an item.
source <xs:simpleType name="AvailabilityStatusType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Identifies the availability status of an item.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:NMTOKENS">
   
<xs:enumeration value="Open">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Inventory is available for sale.</xs:documentation>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="Close">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Inventory is not available for sale.</xs:documentation>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="ClosedOnArrival">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Inventory is not available for sale to arriving guests.</xs:documentation>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="ClosedOnArrivalOnRequest">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Inventory may not be available for sale to arriving guests.</xs:documentation>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="OnRequest">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Inventory may be available.</xs:documentation>
     
</xs:annotation>
   
</xs:enumeration>
 
</xs:restriction>
</xs:simpleType>

simpleType DateOrTimeOrDateTimeType
namespace http://www.opentravel.org/OTA_RS/2003/05
type union of (xs:date, xs:dateTime, xs:time)
used by
attributes DateTimeSpanGroup/@End DateTimeSpanGroup/@Start
annotation
documentation
A construct to validate either a date or a time or a dateTime value.
source <xs:simpleType name="DateOrTimeOrDateTimeType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A construct to validate either a date or a time or a dateTime value.</xs:documentation>
 
</xs:annotation>
 
<xs:union memberTypes="xs:date xs:dateTime xs:time"/>
</xs:simpleType>

simpleType ISO3166
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
attribute AreasType/Area/@CountryCode
facets
Kind Value annotation 
pattern [a-zA-Z]{2} 
annotation
documentation
2 character country code as defined in ISO3166.
source <xs:simpleType name="ISO3166">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">2 character country code as defined in ISO3166.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[a-zA-Z]{2}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType Money
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:decimal
properties
base xs:decimal
used by
attributes CurrencyAmountGroup/@Amount TotalType/@AmountAfterTax TotalType/@AmountBeforeTax
facets
Kind Value annotation 
fractionDigits 
annotation
documentation
Used for amounts, max 3 decimals
source <xs:simpleType name="Money">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for amounts, max 3 decimals</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:decimal">
   
<xs:fractionDigits value="3"/>
 
</xs:restriction>
</xs:simpleType>

simpleType Numeric0to999
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:integer
properties
base xs:integer
used by
attributes DeadlineGroup/@OffsetUnitMultiplier RoomRateType/Features/Feature/@Quantity
facets
Kind Value annotation 
minInclusive 
maxInclusive 999 
annotation
documentation
Used for Numeric values, from 0 to 999 inclusive
source <xs:simpleType name="Numeric0to999">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Numeric values, from 0 to 999 inclusive</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:integer">
   
<xs:minInclusive value="0"/>
   
<xs:maxInclusive value="999"/>
 
</xs:restriction>
</xs:simpleType>

simpleType Numeric1to999
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:integer
properties
base xs:integer
used by
attribute GuestCountGroup/@Count
facets
Kind Value annotation 
minInclusive 
maxInclusive 999 
annotation
documentation
Used for Numeric values, from 1 to 999 inclusive.
source <xs:simpleType name="Numeric1to999">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Numeric values, from 1 to 999 inclusive.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:integer">
   
<xs:minInclusive value="1"/>
   
<xs:maxInclusive value="999"/>
 
</xs:restriction>
</xs:simpleType>

simpleType OTA_CodeType
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
attributes AgeQualifyingGroup/@AgeQualifyingCode GuestCountGroup/@AgeQualifyingCode ErrorWarningAttributeGroup/@Code RatePlanGroup/@RatePlanType RoomRateType/Features/Feature/@RoomAmenity AmountType/AdditionalCharges/AdditionalCharge/@RoomAmenityCode RoomRateType/Features/Feature/@RoomViewCode ErrorType/@Type WarningType/@Type
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
Used for codes in the OTA code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X.
source <xs:simpleType name="OTA_CodeType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for codes in the OTA code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType Percentage
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:decimal
properties
base xs:decimal
used by
attributes AmountPercentType/@Percent FeeTaxGroup/@Percent
facets
Kind Value annotation 
minInclusive 0.01 
maxInclusive 100.00 
annotation
documentation
Used for percentage values
source <xs:simpleType name="Percentage">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for percentage values</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:decimal">
   
<xs:minInclusive value="0.01"/>
   
<xs:maxInclusive value="100.00"/>
 
</xs:restriction>
</xs:simpleType>

simpleType RateIndicatorType
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of StringLength1to32
properties
base StringLength1to32
used by
attribute RoomRateType/Availability/@AvailabilityStatus
facets
Kind Value annotation 
minLength 
maxLength 32 
enumeration ChangeDuringStay 
enumeration MultipleNights 
enumeration Exclusive 
enumeration OnRequest 
enumeration LimitedAvailability 
enumeration AvailableForSale 
enumeration ClosedOut 
enumeration OtherAvailable 
enumeration UnableToProcess 
documentation
Indicates an issue that precluded the ability to provide the information.
enumeration NoAvailability 
enumeration RoomTypeClosed 
enumeration RatePlanClosed 
enumeration LOS_Restricted 
annotation
documentation
An enumerated type indicating special conditions with the rate  Valid values: ChangeDuringStay, MultipleNights, Exclusive, OnRequest, LimitedAvailability.
source <xs:simpleType name="RateIndicatorType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An enumerated type indicating special conditions with the rate  Valid values: ChangeDuringStay, MultipleNights, Exclusive, OnRequest, LimitedAvailability.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="StringLength1to32">
   
<xs:enumeration value="ChangeDuringStay"/>
   
<xs:enumeration value="MultipleNights"/>
   
<xs:enumeration value="Exclusive"/>
   
<xs:enumeration value="OnRequest"/>
   
<xs:enumeration value="LimitedAvailability"/>
   
<xs:enumeration value="AvailableForSale"/>
   
<xs:enumeration value="ClosedOut"/>
   
<xs:enumeration value="OtherAvailable"/>
   
<xs:enumeration value="UnableToProcess">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Indicates an issue that precluded the ability to provide the information.</xs:documentation>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="NoAvailability"/>
   
<xs:enumeration value="RoomTypeClosed"/>
   
<xs:enumeration value="RatePlanClosed"/>
   
<xs:enumeration value="LOS_Restricted"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StateProvCodeType
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of StringLength1to8
properties
base StringLength1to8
used by
attribute AreasType/Area/@StateProvCode
facets
Kind Value annotation 
minLength 
maxLength 
annotation
documentation
The standard code or abbreviation for the state, province, or region
source <xs:simpleType name="StateProvCodeType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The standard code or abbreviation for the state, province, or region</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="StringLength1to8">
   
<xs:minLength value="2"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to128
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
attributes HotelReferenceGroup/@HotelName ErrorWarningAttributeGroup/@ShortText
facets
Kind Value annotation 
minLength 
maxLength 128 
annotation
documentation
Used for Character Strings, length 1 to 128
source <xs:simpleType name="StringLength1to128">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 128</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="128"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to16
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
simpleType TimeUnitType
attributes RoomRateType/@BookingCode HotelReferenceGroup/@HotelCode RoomRateType/@RoomTypeCode
facets
Kind Value annotation 
minLength 
maxLength 16 
annotation
documentation
Used for Character Strings, length 1 to 16
source <xs:simpleType name="StringLength1to16">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 16</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="16"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to32
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
simpleType RateIndicatorType
attributes GuaranteeType/@GuaranteeType OTA_PayloadStdAttributes/@TransactionIdentifier
facets
Kind Value annotation 
minLength 
maxLength 32 
annotation
documentation
Used for Character Strings, length 1 to 32
source <xs:simpleType name="StringLength1to32">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 32</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="32"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to64
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
attributes ParagraphType/@Name RatePlanType/@RatePlanID
facets
Kind Value annotation 
minLength 
maxLength 64 
annotation
documentation
Used for Character Strings, length 1 to 64
source <xs:simpleType name="StringLength1to64">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 64</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="64"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to8
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of xs:string
properties
base xs:string
used by
simpleType StateProvCodeType
attributes HotelReferenceGroup/@ChainCode AreasType/Area/@CityCode
facets
Kind Value annotation 
minLength 
maxLength 
annotation
documentation
Used for Character Strings, length 1 to 8
source <xs:simpleType name="StringLength1to8">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 8</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="8"/>
 
</xs:restriction>
</xs:simpleType>

simpleType TimeOrDateTimeType
namespace http://www.opentravel.org/OTA_RS/2003/05
type union of (xs:dateTime, xs:time)
used by
attribute DeadlineGroup/@AbsoluteDeadline
annotation
documentation
Allows for the specification of a date time or just time.
source <xs:simpleType name="TimeOrDateTimeType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Allows for the specification of a date time or just time.</xs:documentation>
 
</xs:annotation>
 
<xs:union memberTypes="xs:dateTime xs:time"/>
</xs:simpleType>

simpleType TimeUnitType
namespace http://www.opentravel.org/OTA_RS/2003/05
type restriction of StringLength1to16
properties
base StringLength1to16
used by
attribute DeadlineGroup/@OffsetTimeUnit
facets
Kind Value annotation 
minLength 
maxLength 16 
enumeration Year 
enumeration Month 
enumeration Week 
enumeration Day 
enumeration Hour 
enumeration Second 
enumeration FullDuration 
annotation
documentation
An enumerated type defining the unit in which the time is expressed.
source <xs:simpleType name="TimeUnitType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An enumerated type defining the unit in which the time is expressed.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="StringLength1to16">
   
<xs:enumeration value="Year"/>
   
<xs:enumeration value="Month"/>
   
<xs:enumeration value="Week"/>
   
<xs:enumeration value="Day"/>
   
<xs:enumeration value="Hour"/>
   
<xs:enumeration value="Second"/>
   
<xs:enumeration value="FullDuration"/>
 
</xs:restriction>
</xs:simpleType>

attributeGroup AgeQualifyingGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexType AdditionalGuestAmountType
attributes
Name  Type  Use  Default  Fixed  annotation
AgeQualifyingCodeOTA_CodeTypeoptional      
documentation
Defines an age range or age category of a guest (e.g., under 21, over 65, teen, infant). Refer to OTA Code List Age Qualifying Code (AQC).
annotation
documentation
Base age group of occupants for which this rate is valid (ex Adult).
source <xs:attributeGroup name="AgeQualifyingGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Base age group of occupants for which this rate is valid (ex Adult).</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="AgeQualifyingCode" type="OTA_CodeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">Defines an age range or age category of a guest (e.g., under 21, over 65, teen, infant). Refer to OTA Code List Age Qualifying Code (AQC).</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute AgeQualifyingGroup/@AgeQualifyingCode
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
Defines an age range or age category of a guest (e.g., under 21, over 65, teen, infant). Refer to OTA Code List Age Qualifying Code (AQC).
source <xs:attribute name="AgeQualifyingCode" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines an age range or age category of a guest (e.g., under 21, over 65, teen, infant). Refer to OTA Code List Age Qualifying Code (AQC).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup CurrencyAmountGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexType AmountPercentType
attributes
Name  Type  Use  Default  Fixed  annotation
AmountMoneyoptional      
annotation
documentation
Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed.
source <xs:attributeGroup name="CurrencyAmountGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Amount" type="Money" use="optional"/>
</xs:attributeGroup>

attribute CurrencyAmountGroup/@Amount
type Money
properties
isRef 0
use optional
facets
Kind Value annotation 
fractionDigits 
source <xs:attribute name="Amount" type="Money" use="optional"/>

attributeGroup CurrencyCodeGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexType TotalType
attributes
Name  Type  Use  Default  Fixed  annotation
CurrencyCodeAlphaLength3optional      
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
annotation
documentation
Provides a currency code to reflect the currency in which an amount may be expressed.
source <xs:attributeGroup name="CurrencyCodeGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Provides a currency code to reflect the currency in which an amount may be expressed.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="CurrencyCode" type="AlphaLength3" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The code specifying a monetary unit. Use ISO 4217, three alpha code.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute CurrencyCodeGroup/@CurrencyCode
type AlphaLength3
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [a-zA-Z]{3} 
annotation
documentation
The code specifying a monetary unit. Use ISO 4217, three alpha code.
source <xs:attribute name="CurrencyCode" type="AlphaLength3" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The code specifying a monetary unit. Use ISO 4217, three alpha code.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup DateTimeSpanGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexType DateTimeSpanType
attributes
Name  Type  Use  Default  Fixed  annotation
StartDateOrTimeOrDateTimeTypeoptional      
documentation
The starting value of the time span.
EndDateOrTimeOrDateTimeTypeoptional      
documentation
The ending value of the time span.
annotation
documentation
The attributes of the  OTA DateTimeSpan data type are based on the W3C base data types of timeInstant and timeDuration. The lexical representation for timeDuration is the [ISO 8601] extended format PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision. As an example, 7 months, 2 days, 2hours and 30 minutes would be expressed as P0Y7M2DT2H30M0S. Truncated representations are allowed provided they conform to ISO 8601 format.
documentation
Time periods, i.e. specific durations of time, can be represented by supplying two items of information: a start instant and a duration or a start instant and an end instant or an end instant and a duration. The OTA standards use the XML mapping that provides for two elements to represent the specific period of time; a startInstant and a duration.
source <xs:attributeGroup name="DateTimeSpanGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The attributes of the  OTA DateTimeSpan data type are based on the W3C base data types of timeInstant and timeDuration. The lexical representation for timeDuration is the [ISO 8601] extended format PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision. As an example, 7 months, 2 days, 2hours and 30 minutes would be expressed as P0Y7M2DT2H30M0S. Truncated representations are allowed provided they conform to ISO 8601 format. </xs:documentation>
   
<xs:documentation xml:lang="en">Time periods, i.e. specific durations of time, can be represented by supplying two items of information: a start instant and a duration or a start instant and an end instant or an end instant and a duration. The OTA standards use the XML mapping that provides for two elements to represent the specific period of time; a startInstant and a duration.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Start" type="DateOrTimeOrDateTimeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The starting value of the time span. </xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="End" type="DateOrTimeOrDateTimeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The ending value of the time span. </xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute DateTimeSpanGroup/@Start
type DateOrTimeOrDateTimeType
properties
isRef 0
use optional
annotation
documentation
The starting value of the time span.
source <xs:attribute name="Start" type="DateOrTimeOrDateTimeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The starting value of the time span. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute DateTimeSpanGroup/@End
type DateOrTimeOrDateTimeType
properties
isRef 0
use optional
annotation
documentation
The ending value of the time span.
source <xs:attribute name="End" type="DateOrTimeOrDateTimeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The ending value of the time span. </xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup DeadlineGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element CancelPenaltyType/Deadline
attributes
Name  Type  Use  Default  Fixed  annotation
AbsoluteDeadlineTimeOrDateTimeTypeoptional      
documentation
Defines the absolute deadline.  Either this or the offset attributes may be used.
OffsetTimeUnitTimeUnitTypeoptional      
documentation
The units of time, e.g.: days, hours, etc., that apply to the deadline.
OffsetUnitMultiplierNumeric0to999optional      
documentation
The number of units of DeadlineTimeUnit.
annotation
documentation
The absolute deadline or amount of offset time before a deadline for a payment of cancel goes into effect.
source <xs:attributeGroup name="DeadlineGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The absolute deadline or amount of offset time before a deadline for a payment of cancel goes into effect.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="AbsoluteDeadline" type="TimeOrDateTimeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">Defines the absolute deadline.  Either this or the offset attributes may be used.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="OffsetTimeUnit" type="TimeUnitType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The units of time, e.g.: days, hours, etc., that apply to the deadline.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="OffsetUnitMultiplier" type="Numeric0to999" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The number of units of DeadlineTimeUnit.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute DeadlineGroup/@AbsoluteDeadline
type TimeOrDateTimeType
properties
isRef 0
use optional
annotation
documentation
Defines the absolute deadline.  Either this or the offset attributes may be used.
source <xs:attribute name="AbsoluteDeadline" type="TimeOrDateTimeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines the absolute deadline.  Either this or the offset attributes may be used.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute DeadlineGroup/@OffsetTimeUnit
type TimeUnitType
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 16 
enumeration Year 
enumeration Month 
enumeration Week 
enumeration Day 
enumeration Hour 
enumeration Second 
enumeration FullDuration 
annotation
documentation
The units of time, e.g.: days, hours, etc., that apply to the deadline.
source <xs:attribute name="OffsetTimeUnit" type="TimeUnitType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The units of time, e.g.: days, hours, etc., that apply to the deadline.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute DeadlineGroup/@OffsetUnitMultiplier
type Numeric0to999
properties
isRef 0
use optional
facets
Kind Value annotation 
minInclusive 
maxInclusive 999 
annotation
documentation
The number of units of DeadlineTimeUnit.
source <xs:attribute name="OffsetUnitMultiplier" type="Numeric0to999" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The number of units of DeadlineTimeUnit.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup ErrorWarningAttributeGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexTypes ErrorType WarningType
attributes
Name  Type  Use  Default  Fixed  annotation
ShortTextStringLength1to128optional      
CodeOTA_CodeTypeoptional      
documentation
If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).
annotation
documentation
Used to identify an application error by either text, code, or by an online description and also to give the status, tag, and/or identification of the record that may have caused the error.
source <xs:attributeGroup name="ErrorWarningAttributeGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to identify an application error by either text, code, or by an online description and also to give the status, tag, and/or identification of the record that may have caused the error.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="ShortText" type="StringLength1to128" use="optional"/>
 
<xs:attribute name="Code" type="OTA_CodeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute ErrorWarningAttributeGroup/@ShortText
type StringLength1to128
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 128 
source <xs:attribute name="ShortText" type="StringLength1to128" use="optional"/>

attribute ErrorWarningAttributeGroup/@Code
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).
source <xs:attribute name="Code" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup FeeTaxGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexType TaxType
attributes
Name  Type  Use  Default  Fixed  annotation
PercentPercentageoptional      
documentation
Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).
annotation
documentation
Defines the fees and/or taxes associated with a charge (e.g. taxes associated with a hotel rate).
source <xs:attributeGroup name="FeeTaxGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines the fees and/or taxes associated with a charge (e.g. taxes associated with a hotel rate).</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Percent" type="Percentage" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute FeeTaxGroup/@Percent
type Percentage
properties
isRef 0
use optional
facets
Kind Value annotation 
minInclusive 0.01 
maxInclusive 100.00 
annotation
documentation
Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).
source <xs:attribute name="Percent" type="Percentage" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup GuestCountGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element GuestCountType/GuestCount
attributes
Name  Type  Use  Default  Fixed  annotation
AgeQualifyingCodeOTA_CodeTypeoptional      
documentation
A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OTA Code List Age Qualifying Code (AQC).
CountNumeric1to999optional      
documentation
The number of guests in one AgeQualifyingCode or Count.
annotation
documentation
Defines the number of guests.
source <xs:attributeGroup name="GuestCountGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Defines the number of guests.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="AgeQualifyingCode" type="OTA_CodeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OTA Code List Age Qualifying Code (AQC).</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="Count" type="Numeric1to999" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The number of guests in one AgeQualifyingCode or Count.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute GuestCountGroup/@AgeQualifyingCode
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OTA Code List Age Qualifying Code (AQC).
source <xs:attribute name="AgeQualifyingCode" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). This attribute allows for an increase in rate by occupant class. Refer to OTA Code List Age Qualifying Code (AQC).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute GuestCountGroup/@Count
type Numeric1to999
properties
isRef 0
use optional
facets
Kind Value annotation 
minInclusive 
maxInclusive 999 
annotation
documentation
The number of guests in one AgeQualifyingCode or Count.
source <xs:attribute name="Count" type="Numeric1to999" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The number of guests in one AgeQualifyingCode or Count.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup HotelReferenceGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element ItemSearchCriterionType/HotelRef
attributes
Name  Type  Use  Default  Fixed  annotation
ChainCodeStringLength1to8optional      
documentation
The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors.  This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.
HotelCodeStringLength1to16optional      
documentation
The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.
HotelNameStringLength1to128optional      
documentation
A text field used to communicate the proper name of the hotel.
annotation
documentation
HotelReference: The hotel reference identifies a specific hotel by using the Chain Code, the Brand Code, and the Hotel Code.  The codes used are agreed upon by trading partners.
source <xs:attributeGroup name="HotelReferenceGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">HotelReference: The hotel reference identifies a specific hotel by using the Chain Code, the Brand Code, and the Hotel Code.  The codes used are agreed upon by trading partners.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="ChainCode" type="StringLength1to8" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors.  This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="HotelCode" type="StringLength1to16" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="HotelName" type="StringLength1to128" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en"> A text field used to communicate the proper name of the hotel.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute HotelReferenceGroup/@ChainCode
type StringLength1to8
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 
annotation
documentation
The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors.  This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.
source <xs:attribute name="ChainCode" type="StringLength1to8" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors.  This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute HotelReferenceGroup/@HotelCode
type StringLength1to16
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 16 
annotation
documentation
The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.
source <xs:attribute name="HotelCode" type="StringLength1to16" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute HotelReferenceGroup/@HotelName
type StringLength1to128
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 128 
annotation
documentation
A text field used to communicate the proper name of the hotel.
source <xs:attribute name="HotelName" type="StringLength1to128" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en"> A text field used to communicate the proper name of the hotel.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup MealsIncludedGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element RatePlanType/MealsIncluded
attributes
Name  Type  Use  Default  Fixed  annotation
Breakfastxs:booleanoptional      
documentation
When true, indicates breakfast is included.
annotation
documentation
Used to identify meals that are included.
source <xs:attributeGroup name="MealsIncludedGroup">
 
<xs:annotation>
   
<xs:documentation>Used to identify meals that are included.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Breakfast" type="xs:boolean" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">When true, indicates breakfast is included.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute MealsIncludedGroup/@Breakfast
type xs:boolean
properties
isRef 0
use optional
annotation
documentation
When true, indicates breakfast is included.
source <xs:attribute name="Breakfast" type="xs:boolean" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">When true, indicates breakfast is included.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup OTA_PayloadStdAttributes
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
element OTA_HotelAvailRS
attributes
Name  Type  Use  Default  Fixed  annotation
Versionxs:decimalrequired      
documentation
For all OTA versioned messages, the version of the message is indicated by a decimal value.
TransactionIdentifierStringLength1to32optional      
documentation
A unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).
annotation
documentation
The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OTA payloads.
source <xs:attributeGroup name="OTA_PayloadStdAttributes">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OTA payloads.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Version" type="xs:decimal" use="required">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">For all OTA versioned messages, the version of the message is indicated by a decimal value.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="TransactionIdentifier" type="StringLength1to32" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">A unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute OTA_PayloadStdAttributes/@Version
type xs:decimal
properties
isRef 0
use required
annotation
documentation
For all OTA versioned messages, the version of the message is indicated by a decimal value.
source <xs:attribute name="Version" type="xs:decimal" use="required">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">For all OTA versioned messages, the version of the message is indicated by a decimal value.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute OTA_PayloadStdAttributes/@TransactionIdentifier
type StringLength1to32
properties
isRef 0
use optional
facets
Kind Value annotation 
minLength 
maxLength 32 
annotation
documentation
A unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).
source <xs:attribute name="TransactionIdentifier" type="StringLength1to32" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">A unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup RatePlanGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
used by
complexType RoomRateType
attributes
Name  Type  Use  Default  Fixed  annotation
RatePlanTypeOTA_CodeTypeoptional      
documentation
An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OTA Code List Rate Plan Type (RPT).
annotation
documentation
The RatePlanCode assigned by the receiving system for the inventory item in response to a new rate plan notification. (Implementation Notes:  This would only be returned when the notification is of type New and the sender is translating RatePlanCode values.
On subsequent transactions for this rate plan, the sender would populate the RatePlanCode attribute with this value returned by the receiver.)
source <xs:attributeGroup name="RatePlanGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The RatePlanCode assigned by the receiving system for the inventory item in response to a new rate plan notification. (Implementation Notes:  This would only be returned when the notification is of type New and the sender is translating RatePlanCode values.
On subsequent transactions for this rate plan, the sender would populate the RatePlanCode attribute with this value returned by the receiver.)
</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="RatePlanType" type="OTA_CodeType" use="optional">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OTA Code List Rate Plan Type (RPT).</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attribute RatePlanGroup/@RatePlanType
type OTA_CodeType
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1} 
annotation
documentation
An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OTA Code List Rate Plan Type (RPT).
source <xs:attribute name="RatePlanType" type="OTA_CodeType" use="optional">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands. Refer to OTA Code List Rate Plan Type (RPT).</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attributeGroup RestrictionStatusGroup
namespace http://www.opentravel.org/OTA_RS/2003/05
attributes
Name  Type  Use  Default  Fixed  annotation
StatusAvailabilityStatusTypeoptional      
annotation
documentation
Describes the status of a restriction on a room and/or rate.
source <xs:attributeGroup name="RestrictionStatusGroup">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Describes the status of a restriction on a room and/or rate.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Status" type="AvailabilityStatusType" use="optional"/>
</xs:attributeGroup>

attribute RestrictionStatusGroup/@Status
type AvailabilityStatusType
properties
isRef 0
use optional
facets
Kind Value annotation 
enumeration Open 
documentation
Inventory is available for sale.
enumeration Close 
documentation
Inventory is not available for sale.
enumeration ClosedOnArrival 
documentation
Inventory is not available for sale to arriving guests.
enumeration ClosedOnArrivalOnRequest 
documentation
Inventory may not be available for sale to arriving guests.
enumeration OnRequest 
documentation
Inventory may be available.
source <xs:attribute name="Status" type="AvailabilityStatusType" use="optional"/>