Definition Type: ComplexType
Name: RelativePosition
Namespace: http://www.opentravel.org/OTM/Common/v4
Containing Schema: Common_4_0_0.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. 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. Extension: TransportationsType Extension: TransportationsType
Collapse XSD Schema Diagram:
Drilldown into ExtensionPoint in schema otm_builtins_xsd Drilldown into Description in schema common_4_0_0_xsd Drilldown into Transportations in schema common_4_0_0_xsd Drilldown into approximateDistanceInd in schema common_4_0_0_xsd Drilldown into primaryInd in schema common_4_0_0_xsd Drilldown into nearestInd in schema common_4_0_0_xsd Drilldown into positionAccuracy in schema common_4_0_0_xsd Drilldown into toFrom in schema common_4_0_0_xsd Drilldown into name in schema common_4_0_0_xsd Drilldown into indexPointCode in schema common_4_0_0_xsd Drilldown into unitOfMeasureCode in schema common_4_0_0_xsd Drilldown into distance in schema common_4_0_0_xsd Drilldown into direction in schema common_4_0_0_xsdXSD Diagram of RelativePosition in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="RelativePosition">
    <xsd:annotation>
        <xsd:documentation source="Description">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.</xsd:documentation>
        <xsd:documentation source="Description">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.</xsd:documentation>
        <xsd:documentation source="Implementer">Extension: TransportationsType</xsd:documentation>
        <xsd:documentation source="Implementer">Extension: TransportationsType</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RelativePosition</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element minOccurs="0" ref="ota2-0400:Transportations">
            <xsd:annotation>
                <xsd:documentation source="Description">Transportation locations close to facility.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2-0400:Description">
            <xsd:annotation>
                <xsd:documentation source="Description">Description of directions to facility.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2:ExtensionPoint" />
    </xsd:sequence>
    <xsd:attribute name="direction" type="xsd:string" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Defines the cardinal direction (e.g., north, south, southwest).</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="distance" type="xsd:string" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Defines the distance between two points.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="unitOfMeasureCode" type="ota2-0300:UnitOfMeasure_Enum" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">The unit of measure in a code format. Refer to OpenTravel Code List Unit of Measure Code (UOM).</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}OTA_CodeType</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="indexPointCode" type="ota2-0400:IndexPointCode_Enum" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">This is the object referred to by the relative position (e.g. cross street, airport). Refer to OpenTravel Code List Index Point Code (IPC).</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}OTA_CodeType</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="name" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">This is used to accommodate a city name, rail station name etc. when using the indexPoint attribute.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength0to64</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="toFrom" type="ota2-0300:ToFrom_Enum" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Used to indicate whether the context is to a facility or from a facility.</xsd:documentation>
            <xsd:documentation source="Implementer">LocalAnonymousType: RelativePositionType_ToFrom</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="positionAccuracy" type="ota2-0300:PositionAccuracy_Enum" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Indicates the accuracy of the property&amp;apos;s geo-coding, since the property&amp;apos;s longitude and latitude may not always be exact. Refer to OpenTravel Code List Position Accuracy Code (PAC).</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}OTA_CodeType</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="nearestInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">The indicator for whether this location is nearest.</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="primaryInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">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).</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="approximateDistanceInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">When true, the distance information is approximate.</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Transportations ota2-0400:Transportations 0 (1)
Description ota2-0400:Description 0 (1)
ExtensionPoint ota2:ExtensionPoint 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
direction ota2-0400:direction Optional
distance ota2-0400:distance Optional
unitOfMeasureCode ota2-0400:unitOfMeasureCode Optional
indexPointCode ota2-0400:indexPointCode Optional
name ota2-0400:name Optional
toFrom ota2-0400:toFrom Optional
positionAccuracy ota2-0400:positionAccuracy Optional
nearestInd ota2-0400:nearestInd Optional
primaryInd ota2-0400:primaryInd Optional
approximateDistanceInd ota2-0400:approximateDistanceInd Optional
Collapse Derivation Tree:
Collapse References:
ota2-0400:Directions, ota2-0400:RelativePosition