<xs:element name="PostalCode">
<xs:annotation>
<xs:documentation>PostalCode is the container element for either simple or complex (extended) postal codes. Type: Area Code, Postcode, etc.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="PostalCodeNumber" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specification of a postcode. The postcode is formatted according to country-specific rules. Example: SW3 0A8-1A, 600074, 2067</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Old Postal Code, new code, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="PostalCodeNumberExtension" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Examples are: 1234 (USA), 1G (UK), etc.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Delivery Point Suffix, New Postal Code, etc..</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="NumberExtensionSeparator">
<xs:annotation>
<xs:documentation>The separator between postal code number and the extension. Eg. "-"</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:element name="PostTown" minOccurs="0">
<xs:annotation>
<xs:documentation>A post town is not the same as a locality. A post town can encompass a collection of (small) localities. It can also be a subpart of a locality. An actual post town in Norway is "Bergen".</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="PostTownName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of the post town</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="PostTownSuffix" minOccurs="0">
<xs:annotation>
<xs:documentation>GENERAL PO in MIAMI GENERAL PO</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:attributeGroup ref="grPostal" />
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>eg. village, town, suburb, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="Type">
<xs:annotation>
<xs:documentation>Area Code, Postcode, Delivery code as in NZ, etc</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##other" />
</xs:complexType>
</xs:element>
|