Definition Type: ComplexType
Name: RelativePositionType
Type: TransportationsType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
The RelativePosition object contains information about the direction, distance and travel time to/from a facility (hotel, car rental location, or airport) or to/from a designated location.
Collapse XSD Schema Diagram:
Drilldown into Transportations in schema ota_commontypes_xsd Drilldown into TransportationsType in schema ota_commontypes_xsd Drilldown into ApproximateDistanceInd in schema ota_commontypes_xsd1 Drilldown into ToFrom in schema ota_commontypes_xsd1 Drilldown into PrimaryIndicator in schema ota_commontypes_xsd1 Drilldown into Name in schema ota_commontypes_xsd1 Drilldown into IndexPointCode in schema ota_commontypes_xsd1 Drilldown into Nearest in schema ota_commontypes_xsd1 Drilldown into UnitOfMeasureCode in schema ota_commontypes_xsd1 Drilldown into DistanceUnitName in schema ota_commontypes_xsd1 Drilldown into Distance in schema ota_commontypes_xsd1 Drilldown into Direction in schema ota_commontypes_xsd1 Drilldown into RelativePositionGroup in schema ota_commontypes_xsdXSD Diagram of RelativePositionType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="RelativePositionType">
    <xs:annotation>
        <xs:documentation xml:lang="en">The RelativePosition object contains information about the direction, distance and travel time to/from a facility (hotel, car rental location, or airport) or to/from a designated location.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
        <xs:extension base="TransportationsType">
            <xs:attributeGroup ref="RelativePositionGroup">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Defines the position of an entity in relation to another entity (e.g. from an airport to a hotel, the relationship is dependant on use). </xs:documentation>
                </xs:annotation>
            </xs:attributeGroup>
            <xs:attribute name="Nearest" type="xs:boolean" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">The indicator for whether this location is nearest. </xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="IndexPointCode" type="OTA_CodeType" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">This is the object referred to by the relative position (e.g. cross street, airport). Refer to OTA Code List Index Point Code (IPC).</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="Name" type="StringLength0to64" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">This is used to accommodate a city name, rail station name etc. when using the indexPoint attribute.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="PrimaryIndicator" type="xs:boolean" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Indicates whether the reference point is considered the main reference point for the specific type of IndexPointCode (e.g., in Dallas, where IndexPointCode=airport Dallas/Fort Worth airport would be the primary airport even if another airport such as Love Field is closer).</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attribute name="ToFrom" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Used to indicate whether the context is to a facility or from a facility.</xs:documentation>
                </xs:annotation>
                <xs:simpleType>
                    <xs:restriction base="xs:NMTOKEN">
                        <xs:enumeration value="ToFacility">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Indicates the direction is to the facility based on use (e.g., hotel, car rental location, airport).</xs:documentation>
                            </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="FromFacility">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Indicates the direction is from the facility based on use (e.g., hotel, car rental location, airport).</xs:documentation>
                            </xs:annotation>
                        </xs:enumeration>
                    </xs:restriction>
                </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="ApproximateDistanceInd" type="xs:boolean" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">When true, the distance information is approximate.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Transportations Transportations 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
Direction Direction Optional
Distance Distance Optional
DistanceUnitName DistanceUnitName Optional
UnitOfMeasureCode UnitOfMeasureCode Optional
Nearest Nearest Optional
IndexPointCode IndexPointCode Optional
Name Name Optional
PrimaryIndicator PrimaryIndicator Optional
ToFrom ToFrom Optional
ApproximateDistanceInd ApproximateDistanceInd Optional
Collapse Derivation Tree:
  • TransportationsType
    • RelativePositionType
      • Unresolved link to relativeposition3
      • Unresolved link to relativeposition4
      • Unresolved link to relativeposition7
      • Unresolved link to refpoint2
Collapse References:
Unresolved link to refpoint2RelativePosition, Unresolved link to relativeposition3, Unresolved link to relativeposition4, Unresolved link to relativeposition7,