Definition Type: ComplexType
Name: DependentLocalityType
Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
Containing Schema: xAL.xsd
Abstract
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 DependentLocalityNumber in schema xal_xsd Drilldown into DependentLocalityName in schema xal_xsd Drilldown into AddressLine in schema xal_xsd Drilldown into Indicator in schema xal_xsd Drilldown into Connector in schema xal_xsd Drilldown into UsageType in schema xal_xsd Drilldown into Type in schema xal_xsdXSD Diagram of DependentLocalityType in schema xal_xsd (OASIS Election Markup Language (EML))
Collapse XSD Schema Code:
<xs:complexType name="DependentLocalityType">
    <xs:sequence>
        <xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
        <xs:element name="DependentLocalityName" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>Name of the dependent 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:element name="DependentLocalityNumber" minOccurs="0">
            <xs:annotation>
                <xs:documentation>Number of the dependent locality. Some areas are numbered. Eg. SECTOR 5 in a Suburb as in India or SOI SUKUMVIT 10 as in Thailand</xs:documentation>
            </xs:annotation>
            <xs:complexType mixed="true">
                <xs:attribute name="NameNumberOccurrence">
                    <xs:annotation>
                        <xs:documentation>Eg. SECTOR occurs before 5 in SECTOR 5</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: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>City or 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="Connector">
        <xs:annotation>
            <xs:documentation>"VIA" as in Hill Top VIA Parish where Parish is a locality and Hill Top is a dependent locality</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Indicator">
        <xs:annotation>
            <xs:documentation>Eg. Erode (Dist) where (Dist) is the Indicator</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:anyAttribute namespace="##other" />
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
AddressLine xal:AddressLine 0 unbounded
DependentLocalityName xal:DependentLocalityName 0 unbounded
DependentLocalityNumber xal:DependentLocalityNumber 0 (1)
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)
Connector xal:Connector (Optional)
Indicator xal:Indicator (Optional)
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree:
Collapse References:
xal:DependentLocality, xal:DependentLocality, xal:DependentLocality
Collapse Comments:
blog comments powered by Disqus