Definition Type: ComplexType
Name: Proximity
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2-0400:StringShort
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Reference point information for a proximity search. Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength0to64
Collapse XSD Schema Diagram:
Drilldown into unitOfMeasureCode in schema common_4_0_0_xsd Drilldown into distanceMax in schema common_4_0_0_xsd Drilldown into direction in schema common_4_0_0_xsd Drilldown into distanceMeasure in schema common_4_0_0_xsd Drilldown into distance in schema common_4_0_0_xsd Drilldown into name in schema common_4_0_0_xsd Drilldown into refPointType in schema common_4_0_0_xsd Drilldown into resortName in schema common_4_0_0_xsd Drilldown into countryCode in schema common_4_0_0_xsd Drilldown into stateProv in schema common_4_0_0_xsd Drilldown into cityName in schema common_4_0_0_xsd Drilldown into postalCode in schema common_4_0_0_xsdXSD Diagram of Proximity in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="Proximity">
    <xsd:annotation>
        <xsd:documentation source="Description">Reference point information for a proximity search.</xsd:documentation>
        <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength0to64</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Proximity</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2-0400:StringShort">
            <xsd:attribute name="postalCode" type="ota2-0400:StringTiny" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">A postal code used for a proximity search.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="cityName" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The name of the city associated with this reference point.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="stateProv" type="ota2-0400:StateProvCode" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The state or province in which the reference point is located.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StateProvCodeType</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="countryCode" type="ota2-0400:CountryCode_ISO3166" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The country in which the reference point is located.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}ISO3166</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="resortName" type="xsd:string" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The name of a resort that the golf course is associated with.</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="refPointType" type="ota2-0400:IndexPointCode_Enum" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Indicates the type of location being referenced (e.g., Airport, Hotel). Refer to the OpenTravel Code table Index Point Code (IPC).</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="name" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The name of the reference point.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to128</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="distance" type="ota2-0400:NonNegativeInteger" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Used to provide distance and direction information.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="distanceMeasure" type="ota2-0400:StringTiny" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">When the Distance attribute contains a value, (presumably a numerical value), the unit of measure is a string value that indicate what units are used for the value.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to16</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="direction" type="ota2-0400:StringTiny" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">An optional string value used to indicate the compass point(s) direction, e.g.: S, SE (South, Southeast), FROM the Reference Point TO the hotel location if the search is not a full circumference from the reference point.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to8</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="distanceMax" type="xsd:positiveInteger" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">An optional attribute indicating the maximum distance to/from a reference point.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}NumericStringLength1to16</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:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
postalCode ota2-0400:postalCode Optional
cityName ota2-0400:cityName Optional
stateProv ota2-0400:stateProv Optional
countryCode ota2-0400:countryCode Optional
resortName ota2-0400:resortName Optional
refPointType ota2-0400:refPointType Optional
name ota2-0400:name Optional
distance ota2-0400:distance Optional
distanceMeasure ota2-0400:distanceMeasure Optional
direction ota2-0400:direction Optional
distanceMax ota2-0400:distanceMax Optional
unitOfMeasureCode ota2-0400:unitOfMeasureCode Optional
Collapse Derivation Tree: