Definition Type: Element
Name: Locality
Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
Containing Schema: xAL.xsd
Abstract
Documentation:
Locality is one level lower than adminisstrative area. Eg.: cities, reservations and any other built-up areas.
Collapse XSD Schema Diagram:
Drilldown into PostalCode in schema xal_xsd Drilldown into DependentLocality in schema xal_xsd Drilldown into Premise in schema xal_xsd Drilldown into Thoroughfare in schema xal_xsd Drilldown into PostalRoute in schema xal_xsd Drilldown into PostOffice in schema xal_xsd Drilldown into LargeMailUser in schema xal_xsd Drilldown into PostBox in schema xal_xsd Drilldown into LocalityName in schema xal_xsd Drilldown into AddressLine in schema xal_xsd Drilldown into Indicator in schema xal_xsd Drilldown into UsageType in schema xal_xsd Drilldown into Type in schema xal_xsdXSD Diagram of Locality in schema xal_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<xs:element name="Locality">
    <xs:annotation>
        <xs:documentation>Locality is one level lower than adminisstrative area. Eg.: cities, reservations and any other built-up areas.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
            <xs:element name="LocalityName" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Name of the locality</xs:documentation>
                </xs:annotation>
                <xs:complexType mixed="true">
                    <xs:attribute name="Type" />
                    <xs:attributeGroup ref="grPostal" />
                    <xs:anyAttribute namespace="##other" />
                </xs:complexType>
            </xs:element>
            <xs:choice minOccurs="0">
                <xs:element ref="PostBox" />
                <xs:element name="LargeMailUser" type="LargeMailUserType">
                    <xs:annotation>
                        <xs:documentation>Specification of a large mail user address. Examples of large mail users are postal companies, companies in France with a cedex number, hospitals and airports with their own post code. Large mail user addresses do not have a street name with premise name or premise number in countries like Netherlands. But they have a POBox and street also in countries like France</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element ref="PostOffice" />
                <xs:element name="PostalRoute" type="PostalRouteType">
                    <xs:annotation>
                        <xs:documentation>A Postal van is specific for a route as in Is`rael, Rural route</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element ref="Thoroughfare" minOccurs="0" />
            <xs:element ref="Premise" minOccurs="0" />
            <xs:element name="DependentLocality" type="DependentLocalityType" minOccurs="0">
                <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="PostalCode" minOccurs="0" />
            <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="Type">
            <xs:annotation>
                <xs:documentation>Possible values not limited to: City, IndustrialEstate, etc</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="UsageType">
            <xs:annotation>
                <xs:documentation>Postal or Political - Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="Indicator">
            <xs:annotation>
                <xs:documentation>Erode (Dist) where (Dist) is the Indicator</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
LocalityName xal:LocalityName 0 unbounded
PostBox xal:PostBox (1) (1)
LargeMailUser xal:LargeMailUser (1) (1)
PostOffice xal:PostOffice (1) (1)
PostalRoute xal:PostalRoute (1) (1)
Thoroughfare xal:Thoroughfare 0 (1)
Premise xal:Premise 0 (1)
DependentLocality xal:DependentLocality 0 (1)
PostalCode xal:PostalCode 0 (1)
<xs:any> Allowed namespace: '##other' 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
Type xal:Type (Optional)
UsageType xal:UsageType (Optional)
Indicator xal:Indicator (Optional)
<anyAttribute> Allowed namespace: '##other'
Collapse Comments:
blog comments powered by Disqus