Definition Type: Element
Name: Thoroughfare
Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
Containing Schema: xAL.xsd
Abstract
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
Collapse XSD Schema Diagram:
Drilldown into PostalCode in schema xal_xsd Drilldown into Firm in schema xal_xsd Drilldown into Premise in schema xal_xsd Drilldown into DependentLocality in schema xal_xsd Drilldown into DependentThoroughfare in schema xal_xsd Drilldown into ThoroughfarePostDirection in schema xal_xsd Drilldown into ThoroughfareTrailingType in schema xal_xsd Drilldown into ThoroughfareName in schema xal_xsd Drilldown into ThoroughfareLeadingType in schema xal_xsd Drilldown into ThoroughfarePreDirection in schema xal_xsd Drilldown into ThoroughfareNumberSuffix in schema xal_xsd Drilldown into ThoroughfareNumberPrefix in schema xal_xsd Drilldown into ThoroughfareNumberRange in schema xal_xsd Drilldown into ThoroughfareNumber in schema xal_xsd Drilldown into AddressLine in schema xal_xsd Drilldown into DependentThoroughfaresType in schema xal_xsd Drilldown into DependentThoroughfaresConnector in schema xal_xsd Drilldown into DependentThoroughfaresIndicator in schema xal_xsd Drilldown into DependentThoroughfares in schema xal_xsd Drilldown into Type in schema xal_xsdXSD Diagram of Thoroughfare in schema xal_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
AddressLine xal:AddressLine 0 unbounded
ThoroughfareNumber xal:ThoroughfareNumber (1) (1)
ThoroughfareNumberRange xal:ThoroughfareNumberRange (1) (1)
ThoroughfareNumberPrefix xal:ThoroughfareNumberPrefix 0 unbounded
ThoroughfareNumberSuffix xal:ThoroughfareNumberSuffix 0 unbounded
ThoroughfarePreDirection xal:ThoroughfarePreDirection 0 (1)
ThoroughfareLeadingType xal:ThoroughfareLeadingType 0 (1)
ThoroughfareName xal:ThoroughfareName 0 unbounded
ThoroughfareTrailingType xal:ThoroughfareTrailingType 0 (1)
ThoroughfarePostDirection xal:ThoroughfarePostDirection 0 (1)
DependentThoroughfare xal:DependentThoroughfare 0 (1)
DependentLocality xal:DependentLocality (1) (1)
Premise xal:Premise (1) (1)
Firm xal:Firm (1) (1)
PostalCode xal:PostalCode (1) (1)
<xs:any> Allowed namespace: '##other' 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Type xal:Type (Optional)
DependentThoroughfares xal:DependentThoroughfares (Optional)
DependentThoroughfaresIndicator xal:DependentThoroughfaresIndicator (Optional)
DependentThoroughfaresConnector xal:DependentThoroughfaresConnector (Optional)
DependentThoroughfaresType xal:DependentThoroughfaresType (Optional)
<anyAttribute> Allowed namespace: '##other'
Collapse Comments:
blog comments powered by Disqus