<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>
|