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