xNAL, xNL, xAL Schemas (OASIS CIQ)
xNAL, xNL, xAL Schemas See: http://www.oasis-open.org/committees/ciq/ciq.shtml
<?xml version="1.0" encoding="UTF-8" ?> - <!-- Based on Version 1.0 of xNAL Schema --> - <!-- Uses Version 1.1 of xNL Schema and Version 1.3 of xAL Schema --> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"> <xs:include schemaLocation="xNL.xsd" /> <xs:include schemaLocation="xAL.xsd" /> - <xs:annotation> <xs:documentation xml:lang="en">xNAL: eXtensible Name and Address Language This is an XML Schema for xNAL DTD V1.0 Date of Creation: 16 November 2001 Copyright(c) 2001, OASIS. All Rights Reserved [http://www.oasis-open.org] Contact: Customer Information Quality Technical Committee, OASIS http://www.oasis-open.org/committees/ciq Version: 1.0 [in line with V1.0 of NAL DTD] (Uses: V1.3 of xAL and V1.1 of xNL Schemas)</xs:documentation> </xs:annotation> - <xs:element name="xNAL"> - <xs:complexType> - <xs:sequence> <xs:element ref="Record" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="Record"> - <xs:complexType> - <xs:sequence> <xs:element ref="xNL" minOccurs="0" /> <xs:element ref="xAL" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> -------------------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8" ?> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"> - <xs:annotation> <xs:documentation xml:lang="en">xNL: eXtensible Name Language This is an XML Schema for xNL DTD V1.1 Date of Creation: 15 November 2001 Copyright(c) 2001, OASIS. All Rights Reserved [http://www.oasis-open.org] Contact: Customer Information Quality Technical Committee, OASIS http://www.oasis-open.org/committees/ciq Version: 1.1 [in line with V1.1 of xNL DTD]</xs:documentation> </xs:annotation> - <xs:element name="xNL"> - <xs:complexType> - <xs:sequence> <xs:element ref="NameDetails" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specific for name and address where the addressee is specified. eg. ATTENTION, ter attentie van (in Holland), etc</xs:documentation> </xs:annotation> <xs:element name="AddresseeIndicator" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">Nick Name, Pet name, etc..</xs:documentation> </xs:annotation> - <xs:element name="Alias"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Person-Person/Person-Organisation Relationship</xs:documentation> </xs:annotation> - <xs:element name="DependencyName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="DependencyType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="DependencyNameDetails"> - <xs:complexType> - <xs:sequence> <xs:element ref="NameDetails" /> </xs:sequence> <xs:attribute name="DependencyType" type="xs:string" /> </xs:complexType> </xs:element> - <xs:element name="FirstName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="FormerName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Managing Director, CEO, Marketing Manager, etc.</xs:documentation> </xs:annotation> <xs:element name="Function" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">DECEASED, RETIRED ...</xs:documentation> </xs:annotation> <xs:element name="GeneralSuffix" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">JNR, THE THIRD, III</xs:documentation> </xs:annotation> <xs:element name="GenerationIdentifier" type="xs:string" /> - <xs:element name="LastName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">DE, LA, VAN DE....</xs:documentation> </xs:annotation> <xs:element name="LastNamePrefix" type="xs:string" /> - <xs:element name="MiddleName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="Name"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">CUSTOMER "PERSON" NAME DETAILS</xs:documentation> </xs:annotation> - <xs:element name="NameDetails"> - <xs:complexType> - <xs:sequence> <xs:element ref="AddresseeIndicator" minOccurs="0" /> - <xs:choice> <xs:element ref="Name" minOccurs="0" maxOccurs="unbounded" /> - <xs:sequence> <xs:element ref="PersonName" minOccurs="0" /> <xs:element ref="Function" minOccurs="0" /> </xs:sequence> <xs:element ref="OrganisationName" minOccurs="0" maxOccurs="unbounded" /> </xs:choice> - <xs:choice minOccurs="0"> <xs:element ref="DependencyName" /> <xs:element ref="DependencyNameDetails" /> </xs:choice> </xs:sequence> - <xs:attribute name="CustomerType" use="required"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Person" /> <xs:enumeration value="Organisation" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">CUSTOMER "ORGANISATION" NAME DETAILS</xs:documentation> </xs:annotation> - <xs:element name="OrganisationName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="OtherName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="PersonName"> - <xs:complexType> - <xs:sequence> <xs:element ref="PrecedingTitle" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="Title" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="FirstName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="MiddleName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="LastNamePrefix" minOccurs="0" /> <xs:element ref="LastName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="OtherName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="FormerName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="Alias" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="GenerationIdentifier" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="Suffix" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="GeneralSuffix" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">HIS EXCELLENCY, ESTATE OF THE LATE .......</xs:documentation> </xs:annotation> <xs:element name="PrecedingTitle" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">Could be compressed initials - PhD, VC, QC</xs:documentation> </xs:annotation> <xs:element name="Suffix" type="xs:string" /> - <xs:element name="Title"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema> ---------------------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8" ?> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"> - <xs:annotation> <xs:documentation xml:lang="en">xAL: eXtensible Address Language This is an XML Schema for xAL DTD V1.3 Date of Creation: 15 November 2001 Copyright(c) 2001, OASIS. All Rights Reserved [http://www.oasis-open.org] Contact: Customer Information Quality Technical Committee, OASIS http://www.oasis-open.org/committees/ciq Version: 1.3 [in line with V1.3 of xAL DTD]</xs:documentation> </xs:annotation> - <xs:annotation> <xs:documentation xml:lang="en">=============================== xAL, THE ROOT ELEMENT ====================</xs:documentation> </xs:annotation> - <xs:element name="xAL"> - <xs:complexType> - <xs:sequence> <xs:element ref="AddressDetails" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Track changes to customer address details AddressType -> Postal, residential,business, primary, secondary, etc CurrentStatus -> Moved, Living, Investment, Deceased, etc.. ValidFromDate -> Start Date of the validity of address ValidToDate -> End date of the validity of address Usage -> Communication, Contact, etc.</xs:documentation> </xs:annotation> - <xs:element name="AddressDetails"> - <xs:complexType> - <xs:sequence> <xs:element ref="DeliveryIdentifier" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice> <xs:element ref="Address" /> <xs:element ref="AddressLines" /> <xs:element ref="Country" /> <xs:element ref="AdministrativeArea" /> <xs:element ref="Locality" /> <xs:element ref="Thoroughfare" /> </xs:choice> </xs:sequence> <xs:attribute name="AddressType" type="xs:string" /> <xs:attribute name="CurrentStatus" type="xs:string" /> <xs:attribute name="ValidFromDate" type="xs:string" /> <xs:attribute name="ValidToDate" type="xs:string" /> <xs:attribute name="Usage" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">========================== POSTAL DELIVERY IDENTIFIER =================== --> In some countries like USA, UK, Australia, each address is identifier with a unique number as defined by the postal authorities</xs:documentation> </xs:annotation> - <xs:element name="DeliveryIdentifier"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="IdentifierType" type="xs:string" /> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">=============================== ADDRESS LINES ====================</xs:documentation> </xs:annotation> - <xs:element name="AddressLines"> - <xs:complexType> - <xs:sequence> <xs:element ref="AddressLine" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Address" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">The order of the AddressLine elements must be preserved</xs:documentation> </xs:annotation> <xs:element name="AddressLine" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">======================== ADMINISTRATIVE AREA ====================</xs:documentation> </xs:annotation> - <xs:annotation> <xs:documentation xml:lang="en">Specification of an administrative area. Examples of administrative areas are provinces, bundesamts, etc. There are two places where the name of an administrative area can be specified.</xs:documentation> </xs:annotation> - <xs:annotation> <xs:documentation xml:lang="en">Province or State or County or Kanton or Unknown Usage type : Postal or Political : Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system Erode (Dist) where (Dist) is the Indicator</xs:documentation> </xs:annotation> - <xs:element name="AdministrativeArea"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="AdministrativeAreaName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="SubAdministrativeArea" minOccurs="0" /> - <xs:choice minOccurs="0"> <xs:element ref="Locality" /> <xs:element ref="PostOffice" /> <xs:element ref="PostalCode" /> </xs:choice> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="UsageType" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of an administrative area. Examples of administrative areas are provinces counties, special regions (such as "Rijnmond"), etc. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym</xs:documentation> </xs:annotation> - <xs:element name="AdministrativeAreaName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================ SUB ADMINISTRATIVE AREA ====================</xs:documentation> </xs:annotation> - <xs:annotation> <xs:documentation xml:lang="en">Specification of a sub-administrative area. An example of a sub-administrative areas is a county. There are two places where the name of an administrative area can be specified.</xs:documentation> </xs:annotation> - <xs:annotation> <xs:documentation xml:lang="en">Usage type : Postal or Political : Sometimes locations must be distinguished between postal system, and physical locations as defined bya political system Erode (Dist) where (Dist) is the Indicator</xs:documentation> </xs:annotation> - <xs:element name="SubAdministrativeArea"> - <xs:complexType> - <xs:sequence> <xs:element ref="SubAdministrativeAreaName" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="UsageType" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the sub-administrative area name. Examples are county (Ireland) and concelho (Portugal). Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> - <xs:element name="SubAdministrativeAreaName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">================================= LOCALITY ============================= Specification of a locality. Examples of localities are cities, reservations and any other built-up areas. Possible values not limited to: City, IndustrialEstate, Unknown Usage type : Postal or Political : Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system Any additional info helpful to identify the localition. eg. 3kms past CITY XXX etc.</xs:documentation> </xs:annotation> - <xs:element name="Locality"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="LocalityName" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice minOccurs="0"> <xs:element ref="PostBox" /> <xs:element ref="LargeMailUser" /> <xs:element ref="PostOffice" /> </xs:choice> <xs:element ref="Thoroughfare" minOccurs="0" /> <xs:element ref="Premise" minOccurs="0" /> <xs:element ref="DependentLocality" minOccurs="0" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="UsageType" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> <xs:attribute name="SupplementaryInfo" type="xs:string" /> </xs:complexType> </xs:element> - <xs:element name="LocalityName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">=========================== DEPENDENT LOCALITY =========================== 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:annotation> <xs:documentation xml:lang="en">City or IndustrialEstate or Unknown When in use for DependentLocality: PostalZone Eg. VIA as in Hill Top VIA Parish where Parish is a locality and Hill Top is a dependent locality Usage type : Postal or Political : Sometimes locations must be distinguished between postal system, and physical locations as defined bya political system Erode (Dist) where (Dist) is the Indicator Erode (Dist) where (Dist) is the Indicator Any additional info helpful to identify the location.</xs:documentation> </xs:annotation> - <xs:element name="DependentLocality"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="DependentLocalityName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="DependentLocalityNumber" minOccurs="0" /> - <xs:choice minOccurs="0"> <xs:element ref="PostBox" /> <xs:element ref="LargeMailUser" /> <xs:element ref="PostOffice" /> </xs:choice> <xs:element ref="Thoroughfare" minOccurs="0" /> <xs:element ref="Premise" minOccurs="0" /> <xs:element ref="DependentLocality" minOccurs="0" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="UsageType" type="xs:string" /> <xs:attribute name="Connector" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> <xs:attribute name="SupplementaryInfo" type="xs:string" /> </xs:complexType> </xs:element> - <xs:element name="DependentLocalityName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="DependentLocalityNumber"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:positiveInteger"> - <xs:attribute name="TypeNumberOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">======================== LARGE MAIL USER ============================= Possible values not limited to: Company, Institution, Cedex, LargeUser 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 name="LargeMailUser"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="LargeMailUserName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="LargeMailUserIdentifier" minOccurs="0" /> <xs:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="Department" minOccurs="0" /> <xs:element ref="PostBox" minOccurs="0" /> <xs:element ref="Thoroughfare" minOccurs="0" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" default="LargeUser" /> </xs:complexType> </xs:element> - <!-- Specification of the identification number of a large mail user. An example are the Cedex codes in France. --> - <xs:element name="LargeMailUserIdentifier"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of a large mail user. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym</xs:documentation> </xs:annotation> - <xs:element name="LargeMailUserName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================ POST OFFICE ================================ Specification of a post office. Examples are a rural post office where post is delivered and a post office containing post office boxes. Type: Could be a Mobile Postoffice Van as in Isrea Indicator: Kottivakkam (P.O) here (P.O) is the Indicator</xs:documentation> </xs:annotation> - <xs:element name="PostOffice"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> - <xs:choice> <xs:element ref="PostOfficeName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="PostOfficeNumber" minOccurs="0" /> </xs:choice> <xs:element ref="PostalRoute" minOccurs="0" /> <xs:element ref="PostBox" minOccurs="0" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of the post office. This can be a rural postoffice where post is delivered or a post office containing post office boxes. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym</xs:documentation> </xs:annotation> - <xs:element name="PostOfficeName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the number of the postoffice. Common in rural postoffices</xs:documentation> </xs:annotation> - <xs:element name="PostOfficeNumber"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:positiveInteger"> <xs:attribute name="Indicator" type="xs:string" /> - <xs:attribute name="IndicatorOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================ POST BOX =================================== Specification of a postbox like mail delivery point. Only a single postbox number can be specified. Examples of postboxes are POBox, free mail numbers, etc. PostBoxType possible values are, not limited to: POBox and Freepost. Type: Indicator: LOCKED BAG NO:1234 where the Indicator is NO: and Type is LOCKED BAG</xs:documentation> </xs:annotation> - <xs:element name="PostBox"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="PostBoxNumber" /> <xs:element ref="PostBoxNumberPrefix" minOccurs="0" /> <xs:element ref="PostBoxNumberSuffix" minOccurs="0" /> <xs:element ref="Firm" minOccurs="0" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="Indicator" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">123A, 123, A123, etc</xs:documentation> </xs:annotation> <xs:element name="PostBoxNumber" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">A in A123</xs:documentation> </xs:annotation> - <xs:element name="PostBoxNumberPrefix"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NumberPrefixConnector" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">A in 123A</xs:documentation> </xs:annotation> - <xs:element name="PostBoxNumberSuffix"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NumberSuffixConnector" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================= FIRM =================================== 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 neither a street nor a postbox. Type: Firm type could be company, university, etc.</xs:documentation> </xs:annotation> - <xs:element name="Firm"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="FirmName" maxOccurs="unbounded" /> <xs:element ref="Department" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of a firm. Examples of a firm are companies and organizations. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> - <xs:element name="FirmName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================= DEPARTMENT ============================== Type: School in Physics School</xs:documentation> </xs:annotation> - <xs:element name="Department"> - <xs:complexType> - <xs:sequence> <xs:element ref="DepartmentName" maxOccurs="unbounded" /> <xs:element ref="PostalCode" minOccurs="0" /> </xs:sequence> <xs:attribute name="Type" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of a department. Possible NameType values not limited to: Official, Unique, Abbreviation, OldName, Synonym</xs:documentation> </xs:annotation> - <xs:element name="DepartmentName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================== THOROUGHFARE =========================== --> 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 DependentThoroughfaresIndicator:Street, Road, Canal, etc DependentThoroughfaresConnector:Any street dependent on this Throughfare in the address DependentThoroughfaresType:Corner of, Intersection of. Corner of Street1 AND Street 2 where AND is the Connector. STS in GEORGE and ADELAIDE STS, RDS IN A and B RDS, etc. Use only when both the street types are the same SupplementaryInfo: Any additional info helpful to identify the location</xs:documentation> </xs:annotation> - <xs:element name="Thoroughfare"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="ThoroughfareName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="ThoroughfarePreDirection" minOccurs="0" /> <xs:element ref="ThoroughfareLeadingType" minOccurs="0" /> <xs:element ref="ThoroughfareTrailingType" minOccurs="0" /> - <xs:choice minOccurs="0"> <xs:element ref="ThoroughfareNumber" /> <xs:element ref="ThoroughfareNumberRange" /> </xs:choice> <xs:element ref="ThoroughfareNumberPrefix" minOccurs="0" /> <xs:element ref="ThoroughfareNumberSuffix" minOccurs="0" /> <xs:element ref="ThoroughfarePostDirection" minOccurs="0" /> <xs:element ref="DependentThoroughfare" minOccurs="0" /> - <xs:choice minOccurs="0"> <xs:element ref="DependentLocality" /> <xs:element ref="Premise" /> <xs:element ref="Firm" /> <xs:element ref="PostalCode" /> </xs:choice> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> - <xs:attribute name="DependentThoroughfares" default="No"> - <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" type="xs:string" /> <xs:attribute name="DependentThoroughfaresConnector" type="xs:string" /> <xs:attribute name="DependentThoroughfaresType" type="xs:string" /> <xs:attribute name="SupplementaryInfo" type="xs:string" /> </xs:complexType> </xs:element> <xs:element name="ThoroughfareLeadingType" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of a Thoroughfare (also dependant street name). Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> - <xs:element name="ThoroughfareName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:element name="ThoroughfareNumber"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="NumberType" default="Single"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Single" /> <xs:enumeration value="Range" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Indicator" type="xs:string" /> - <xs:attribute name="IndicatorOccurrence" default="After"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="ThoroughfareNumberFrom" type="xs:string" /> <xs:element name="ThoroughfareNumberPrefix" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">1-3 Albert Avenue Type: Odd/Even No.12-14 where "No." is before actual street number "-" in 12-14 or "Thru" in 12 Thru 14 etc.</xs:documentation> </xs:annotation> - <xs:element name="ThoroughfareNumberRange"> - <xs:complexType> - <xs:sequence> <xs:element ref="ThoroughfareNumberFrom" /> <xs:element ref="ThoroughfareNumberTo" /> </xs:sequence> <xs:attribute name="Indicator" type="xs:string" /> <xs:attribute name="Separator" type="xs:string" /> - <xs:attribute name="IndicatorOccurrence" default="After"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Type" type="xs:string" /> </xs:complexType> </xs:element> - <xs:element name="ThoroughfareNumberSuffix"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NumberSuffixConnector" type="xs:string" /> <xs:attribute name="NumberPrefixConnector" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="ThoroughfareNumberTo" type="xs:string" /> <xs:element name="ThoroughfarePostDirection" type="xs:string" /> <xs:element name="ThoroughfarePreDirection" type="xs:string" /> <xs:element name="ThoroughfareTrailingType" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">================== DEPENDENT THOROUGHFARE ============================ DependentThroughfare is related to a street; occurs in GB, IE, ES, PT --> Corner of, Intersection are the indicators Type:Street, Road, Canal, etc SupplementaryInfo: Any additional info helpful to identify the location.</xs:documentation> </xs:annotation> - <xs:element name="DependentThoroughfare"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="ThoroughfareName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="ThoroughfarePreDirection" minOccurs="0" /> <xs:element ref="ThoroughfareLeadingType" minOccurs="0" /> <xs:element ref="ThoroughfareTrailingType" minOccurs="0" /> <xs:element ref="ThoroughfarePostDirection" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="SupplementaryInfo" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">==================================== PREMISE ============================= Specification of a single premise, for example a house or a building. The premise as a whole has a unique premise (house) number or a premise name. There could be more than one premise in a street referenced in an address. For example a building address near a major shopping centre or raiwlay station Type:COMPLEXE in COMPLEX DES JARDINS PremiseDependency:STREET, PREMISE, SUBPREMISE, PARK, FARM, etc PremiseDependencyType:NEAR, ADJACENT TO, ..... PremiseThoroughfareConnector:DES, DE, LA, LA, DU in RUE DU BOIS. These terms connect a premise/thoroughfare type and premise/thoroughfare name. Terms may appear with names AVE DU BOIS SupplementaryInfo:Any additional info helpful to identify the location.</xs:documentation> </xs:annotation> - <xs:element name="Premise"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="PremiseName" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice minOccurs="0"> <xs:element ref="PremiseLocation" /> <xs:element ref="PremiseNumber" minOccurs="0" maxOccurs="unbounded" /> </xs:choice> <xs:element ref="PremiseNumberPrefix" minOccurs="0" /> <xs:element ref="PremiseNumberSuffix" minOccurs="0" /> <xs:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice> <xs:element ref="SubPremise" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="Firm" minOccurs="0" /> </xs:choice> <xs:element ref="PostalCode" minOccurs="0" /> <xs:element ref="Premise" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="PremiseDependency" type="xs:string" /> <xs:attribute name="PremiseDependencyType" type="xs:string" /> <xs:attribute name="PremiseThoroughfareConnector" type="xs:string" /> <xs:attribute name="SupplementaryInfo" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">LOBBY, BASEMENT, GROUND FLOOR, etc...</xs:documentation> </xs:annotation> <xs:element name="PremiseLocation" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of the premise (house, building, park, farm, etc). A premise name is specified when the premise cannot be addressed using a street name plus premise (house) number. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> - <xs:element name="PremiseName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> - <xs:attribute name="TypeOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the identifier of the premise (house, building, etc). Premises in a street are often uniquely identified by means of consecutive identifiers. The identifier can be a number, a letter or any combination of the two.</xs:documentation> </xs:annotation> - <xs:element name="PremiseNumber"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Indicator" type="xs:string" /> - <xs:attribute name="IndicatorOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> - <xs:attribute name="NumberTypeOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="NumberType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">A in A12</xs:documentation> </xs:annotation> <xs:element name="PremiseNumberPrefix" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">A in 12A</xs:documentation> </xs:annotation> - <xs:element name="PremiseNumberSuffix"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NumberSuffixConnector" type="xs:string" /> <xs:attribute name="NumberPrefixConnector" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">=============================== SUB PREMISE ============================ Specification of a single sub-premise. Examples of sub-premises are apartments and suites. Each sub-premise should be uniquely identifiable. SubPremiseType: Specification of the name of a sub-premise type. Possible values not limited to: Suite, Appartment, Floor, Unknown Multiple levels within a premise by recursively calling SubPremise Eg. Level 4, Suite 2, Block C Type: SubPremiseType may be Apartment, Lot, etc SupplementaryInfo:Any additional info helpful to identify the location.</xs:documentation> </xs:annotation> - <xs:element name="SubPremise"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="SubPremiseName" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice minOccurs="0"> <xs:element ref="SubPremiseLocation" /> <xs:element ref="SubPremiseNumber" minOccurs="0" maxOccurs="unbounded" /> </xs:choice> <xs:element ref="SubPremiseNumberPrefix" minOccurs="0" /> <xs:element ref="SubPremiseNumberSuffix" minOccurs="0" /> <xs:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="Firm" minOccurs="0" /> <xs:element ref="PostalCode" minOccurs="0" /> <xs:element ref="SubPremise" minOccurs="0" /> </xs:sequence> </xs:choice> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="SupplementaryInfo" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">LOBBY, BASEMENT, GROUND FLOOR, etc...</xs:documentation> </xs:annotation> <xs:element name="SubPremiseLocation" type="xs:string" /> - <xs:element name="SubPremiseName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> - <xs:attribute name="TypeOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the identifier of a sub-premise. Examples of sub-premises are apartments and suites. sub-premises in a building are often uniquely identified by means of consecutive identifiers. The identifier can be a number, a letter or any combination of the two. In the latter case, the identifier includes exactly one variable (range) part, which is either a number or a single letter that is surrounded by fixed parts at the left (prefix) or the right (postfix).</xs:documentation> </xs:annotation> - <xs:element name="SubPremiseNumber"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Indicator" type="xs:string" /> - <xs:attribute name="IndicatorOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> - <xs:attribute name="NumberTypeOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="PremiseNumberSeparator" type="xs:string" /> <xs:attribute name="NumberType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">A in A12</xs:documentation> </xs:annotation> <xs:element name="SubPremiseNumberPrefix" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">A in 12A</xs:documentation> </xs:annotation> - <xs:element name="SubPremiseNumberSuffix"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NumberSuffixConnector" type="xs:string" /> <xs:attribute name="NumberPrefixConnector" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">========================= BUILDING ==================================== Specification of the name of a building. See also the specification of the SinglePremise element. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> - <xs:element name="BuildingName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> - <xs:attribute name="TypeOccurrence" default="Before"> - <xs:simpleType> - <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Before" /> <xs:enumeration value="After" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">========================= COUNTRY ==================================== Specification of a country</xs:documentation> </xs:annotation> - <xs:element name="Country"> - <xs:complexType> - <xs:choice> <xs:element ref="AddressLines" /> - <xs:sequence> <xs:element ref="CountryNameCode" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="CountryName" minOccurs="0" maxOccurs="unbounded" /> - <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="AdministrativeArea" /> <xs:element ref="Locality" /> <xs:element ref="Thoroughfare" /> </xs:choice> </xs:sequence> </xs:choice> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of a country.</xs:documentation> </xs:annotation> - <xs:element name="CountryName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Country code scheme possible values, but not limited to: iso.3166-2, iso.3166-3 for two- and three-character country codes.</xs:documentation> </xs:annotation> - <xs:element name="CountryNameCode"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Scheme" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">============================ POSTAL CODE ================================= PostalCode is the container element for either simple or complex (extended) postal codes. Type: Area Code, Postcode, etc.</xs:documentation> </xs:annotation> - <xs:element name="PostalCode"> - <xs:complexType> - <xs:sequence> <xs:element ref="PostalCodeNumber" /> <xs:element ref="PostTown" minOccurs="0" /> <xs:element ref="SortingCode" minOccurs="0" /> <xs:element ref="PostalCodeNumberExtension" minOccurs="0" /> </xs:sequence> <xs:attribute name="Type" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of a postcode. The postcode is formatted according to country-specific rules. Example: SW3 0A8-1A, 600074, 2067</xs:documentation> </xs:annotation> - <xs:element name="PostalCodeNumber"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NumberType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Examples are: 1234 (USA), 1G (UK), etc.</xs:documentation> </xs:annotation> - <xs:element name="PostalCodeNumberExtension"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="Type" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">=============================== POST TOWN ======================== Sub-element of the PostalCode, specification of a post town. 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:element name="PostTown"> - <xs:complexType> - <xs:sequence> <xs:element ref="PostTownName" maxOccurs="unbounded" /> <xs:element ref="PostTownSuffix" minOccurs="0" /> </xs:sequence> <xs:attribute name="Type" type="xs:string" /> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Specification of the name of a post town. 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. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> - <xs:element name="PostTownName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">GENERAL PO in MIAMI GENERAL PO</xs:documentation> </xs:annotation> <xs:element name="PostTownSuffix" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">Values may for example be CEDEX 16 (France)</xs:documentation> </xs:annotation> <xs:element name="SortingCode" type="xs:string" /> - <xs:annotation> <xs:documentation xml:lang="en">================================= POSTAL ROUTE ====================== Eg. A Postal van is specific for a route as in Is`rael --></xs:documentation> </xs:annotation> - <xs:element name="PostalRoute"> - <xs:complexType> - <xs:choice> <xs:element ref="PostalRouteName" maxOccurs="unbounded" /> <xs:element ref="PostalRouteNumber" /> </xs:choice> <xs:attribute name="Type" type="xs:string" /> </xs:complexType> </xs:element> - <xs:element name="PostalRouteName"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> <xs:attribute name="NameType" type="xs:string" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> - <xs:annotation> <xs:documentation xml:lang="en">Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.</xs:documentation> </xs:annotation> <xs:element name="PostalRouteNumber" type="xs:positiveInteger" /> </xs:schema> -------------------------------------------------------------------
Prepared by Robin Cover for The XML Cover Pages archive.