<xs:element name="Thoroughfare">
<xs:annotation>
<xs:documentation>Specification of a thoroughfare. A thoroughfare could be a rd, street, canal, river, etc. Note dependentlocality in a street. For example, in some countries, a large street will
have many subdivisions with numbers. Normally the subdivision name is the same as the road name, but with a number to identifiy it. Eg. SOI SUKUMVIT 3, SUKUMVIT RD, BANGKOK</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ThoroughfareNumber" />
<xs:element name="ThoroughfareNumberRange">
<xs:annotation>
<xs:documentation>A container to represent a range of numbers (from x thru y)for a thoroughfare. eg. 1-2 Albert Av</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="ThoroughfareNumberFrom">
<xs:annotation>
<xs:documentation>Starting number in the range</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumber" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="ThoroughfareNumberTo">
<xs:annotation>
<xs:documentation>Ending number in the range</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumber" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="RangeType">
<xs:annotation>
<xs:documentation>Thoroughfare number ranges are odd or even</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Odd" />
<xs:enumeration value="Even" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Indicator">
<xs:annotation>
<xs:documentation>"No." No.12-13</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Separator">
<xs:annotation>
<xs:documentation>"-" in 12-14 or "Thru" in 12 Thru 14 etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IndicatorOccurrence">
<xs:annotation>
<xs:documentation>No.12-14 where "No." is before actual street number</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Before" />
<xs:enumeration value="After" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="NumberRangeOccurrence">
<xs:annotation>
<xs:documentation>23-25 Archer St, where number appears before name</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="BeforeName" />
<xs:enumeration value="AfterName" />
<xs:enumeration value="BeforeType" />
<xs:enumeration value="AfterType" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" />
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
</xs:choice>
<xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="ThoroughfarePreDirection" type="ThoroughfarePreDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>North Baker Street, where North is the pre-direction. The direction appears before the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareLeadingType" type="ThoroughfareLeadingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears before the thoroughfare name. Ed. Spanish: Avenida Aurora, where Avenida is the leading type / French: Rue Moliere, where Rue is the leading type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareName" type="ThoroughfareNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of a Thoroughfare (also dependant street name): street name, canal name, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareTrailingType" type="ThoroughfareTrailingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears after the thoroughfare name. Ed. British: Baker Lane, where Lane is the trailing type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfarePostDirection" type="ThoroughfarePostDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>221-bis Baker Street North, where North is the post-direction. The post-direction appears after the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DependentThoroughfare" minOccurs="0">
<xs:annotation>
<xs:documentation>DependentThroughfare is related to a street; occurs in GB, IE, ES, PT</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="ThoroughfarePreDirection" type="ThoroughfarePreDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>North Baker Street, where North is the pre-direction. The direction appears before the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareLeadingType" type="ThoroughfareLeadingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears before the thoroughfare name. Ed. Spanish: Avenida Aurora, where Avenida is the leading type / French: Rue Moliere, where Rue is the leading type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareName" type="ThoroughfareNameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of the name of a Thoroughfare (also dependant street name): street name, canal name, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfareTrailingType" type="ThoroughfareTrailingTypeType" minOccurs="0">
<xs:annotation>
<xs:documentation>Appears after the thoroughfare name. Ed. British: Baker Lane, where Lane is the trailing type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThoroughfarePostDirection" type="ThoroughfarePostDirectionType" minOccurs="0">
<xs:annotation>
<xs:documentation>221-bis Baker Street North, where North is the post-direction. The post-direction appears after the name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="Type" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="DependentLocality" type="DependentLocalityType">
<xs:annotation>
<xs:documentation>Dependent localities are Districts within cities/towns, locality divisions, postal
divisions of cities, suburbs, etc. DependentLocality is a recursive element, but no nesting deeper than two exists (Locality-DependentLocality-DependentLocality).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Premise" />
<xs:element name="Firm" type="FirmType">
<xs:annotation>
<xs:documentation>Specification of a firm, company, organization, etc. It can be specified as part of an address that contains a street or a postbox. It is therefore different from
a large mail user address, which contains no street.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostalCode" />
</xs:choice>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="Type" />
<xs:attribute name="DependentThoroughfares">
<xs:annotation>
<xs:documentation>Does this thoroughfare have a a dependent thoroughfare? Corner of street X, etc</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Yes" />
<xs:enumeration value="No" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="DependentThoroughfaresIndicator">
<xs:annotation>
<xs:documentation>Corner of, Intersection of</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DependentThoroughfaresConnector">
<xs:annotation>
<xs:documentation>Corner of Street1 AND Street 2 where AND is the Connector</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DependentThoroughfaresType">
<xs:annotation>
<xs:documentation>STS in GEORGE and ADELAIDE STS, RDS IN A and B RDS, etc. Use only when both the street types are the same</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
|