| XML Schema | |
| Schema Comments: | |
| Processing Instructions | |
|
Schema has:
| 45element definitions, 0 global attribute definitions, 11 element attribute definitions, 1 datatype definitions. |
| Possible root elements: |
<
GlobalAddress
>
|
| Element list |
| Element AddressLine |
|
|
|
| Element AddressLines |
|
|
|
| Element AdministrativeArea |
|
|
|
|
| Element AdministrativeAreaName |
|
|
|
| Element BuildingName |
|
|
|
| Element Country |
|
|
|
| Element CountryCode |
|
|
|
| Element CountryName |
|
|
|
| Element DeliveryPointSuffix |
|
|
|
| Element Department |
|
|
|
| Element DepartmentName |
|
|
|
| Element DependentLocality |
|
|
|
|
| Element DependentLocalityName |
|
|
|
| Element DependentStreet |
|
|
|
| Element GlobalAddress |
|
|
|
| Element LargeMailUser |
|
|
|
|
| Element LargeMailUserIdentifier |
|
|
|
| Element LargeMailUserName |
|
|
|
| Element Locality |
|
|
|
| Element LocalityName |
|
|
|
| Element Organisation |
|
|
|
| Element OrganisationName |
|
|
|
| Element PostalCode |
|
|
|
| Element PostalCodeNumber |
|
|
|
| Element PostBox |
|
|
|
|
| Element PostBoxNumber |
|
|
|
| Element PostOffice |
|
|
|
| Element PostOfficeName |
|
|
|
| Element PostTown |
|
|
|
| Element PostTownName |
|
|
|
| Element Premise |
|
|
|
| Element PremiseName |
|
|
|
| Element PremiseNumber |
|
|
|
| Element SortingCode |
|
|
|
| Element Street |
|
|
|
| Element StreetName |
|
|
|
| Element SubAdministrativeArea |
|
|
|
|
| Element SubAdministrativeAreaName |
|
|
|
| Element SubPremise |
|
|
|
|
| Element SubPremiseName |
|
|
|
| Element SubPremiseNumber |
|
|
|
| Complex Type TCode |
|
|
|
|
| Complex Type TLocality |
|
|
|
|
| Complex Type TName derived by extension from xsd:string |
|
|
|
|
| Complex Type TPremise |
|
|
|
| DataType definitions |
| Datatype DependentLocalityName defined by restriction |
|
| Original Schema Source |
|
<!--
Generated by XML Authority. Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
<!--
Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
<!--
AND Schema for Global Address information-->
<!--
Version 1.2 - Last modified on March 2001 by Vincent Buller-->
<!--
(C) 2000, 2001 AND Data Solutions - all rights reserved-->
<!--
Use of this specification is bound to terms found at http://www.and.com/standards/repository.html-->
<!--
For queries and requests mailto:xml@and.com-->
<!--
Main elements-->
<!--
############################################################################-->
<!--
### Basic Types ###-->
<!--
############################################################################-->
<xsd:documentation>Values: Official, Unique, Abbreviation, OldName, Synonym.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="xml:lang" type="xsd:string" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:attribute name="Scheme" use="required" type="xsd:string" />
<xsd:attribute name="Code" use="required" type="xsd:string" />
</xsd:complexType>
<!--
############################################################################-->
<!--
### Element Definitions ###-->
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Test for multiple documentation sections part one
</xsd:documentation>
<xsd:documentation xml:lang="en">Test for multiple documentation sections part two
</xsd:documentation>
<xsd:documentation xml:lang="en">Test for multiple documentation sections part three
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="Country" />
<xsd:element ref="AddressLines" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of a country.
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="AddressLines" />
</xsd:sequence>
<xsd:element ref="CountryCode" maxOccurs="unbounded" />
<xsd:element ref="CountryName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="AdministrativeArea" />
<xsd:element ref="Locality" />
</xsd:choice>
</xsd:sequence>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd: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. Use the following guidelines to choose one of these places: 1) If the name of the administrative area is known for all addresses in that area, then the area name should be stored in an AdministrativeArea element. This way, the name has to be specified only once, which reduces data redundancy. 2) If the name of the administrative area is known for only a few addresses in that area and is only used to make the name of a locality unique, then append the area name to the locality name and store the combination as a LocalityName element (within the Locality element). The name type of the LocalityName must be set to "Unique". Example: in Austria there are more then one localities with the name "Amstetten". To create a unique name, the name of the administrative area is appended to the official locality name: "Amstetten, NiederNiederosterreich".
</xsd:documentation>
</xsd:annotation>
<xsd:documentation>Province or State or County or Kanton or Unknown</xsd:documentation>
</xsd:annotation>
<!--
Possible values but not limited to: Province, State, County, Kanton, Unknown-->
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd: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. See the specification of the AdministrativeArea element for more information.
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="SubAdministrativeAreaName" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:documentation>Province or State or County or Kanton or Unknown</xsd:documentation>
</xsd:annotation>
<!--
Possible values but not limited to: Province, State, County, Kanton, Unknown-->
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of a locality. Examples of localities are cities, reservations and any other built-up areas.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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).
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="DependentLocalityName" maxOccurs="unbounded" />
<xsd:element ref="DependentLocality" minOccurs="0" />
</xsd:sequence>
<xsd:documentation>City or IndustrialEstate or Unknown
When in use for DependentLocality: PostalZone</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<!--
############################################################################-->
<xsd:documentation xml:lang="en">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.
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="AddressLines" />
<xsd:element ref="LargeMailUserName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="LargeMailUserIdentifier" minOccurs="0" />
<xsd:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="Department" minOccurs="0" />
<xsd:element ref="PostalCode" minOccurs="0" />
</xsd:sequence>
</xsd:choice>
<xsd:attribute name="LargeMailUserType" use="default" value="LargeUser" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of a post office. Examples are a rural post office where post is delivered and a post office containing post office boxes.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en" />
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of a street.
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="AddressLines" />
</xsd:sequence>
<xsd:element ref="StreetName" maxOccurs="unbounded" />
<xsd:element ref="DependentStreet" minOccurs="0" />
<xsd:element ref="Premise" />
<xsd:element ref="Organisation" />
<xsd:element ref="PostalCode" minOccurs="0" />
</xsd:choice>
</xsd:sequence>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<!--
############################################################################-->
<!--
############################################################################-->
<xsd:documentation xml:lang="en">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. If the premise is divided into sub-premises (e.g. apartments), then specify the sub-premise number with a SubPremise element. If a premise can only be identified by a premise name, because it has no premise (house) number, then specify that name in the element PremiseName (and not in the BuildingName). If a premise can be identified by a premise (house) number, but also has a house or building name, then do not store that name in the element PremiseName, but store it instead in the element BuildingName. The elements BuildingName and SecondaryStreetString all represent extra information that is nice to know, but is not a required part of a formal post address.
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="AddressLines" />
<xsd:element ref="PremiseNumber" />
<xsd:element ref="PremiseName" maxOccurs="unbounded" />
</xsd:choice>
<xsd:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="SubPremise" />
<xsd:element ref="Organisation" />
</xsd:choice>
<xsd:element ref="PostalCode" minOccurs="0" />
</xsd:sequence>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">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.
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="AddressLines" />
<xsd:element ref="SubPremiseNumber" />
<xsd:element ref="SubPremiseName" maxOccurs="unbounded" />
</xsd:choice>
<xsd:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="Organisation" minOccurs="0" />
<xsd:element ref="PostalCode" minOccurs="0" />
</xsd:sequence>
</xsd:choice>
<xsd:documentation>SubPremiseType may be Apartment, Lot, etc.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of a postcode. The postcode is formatted according to country-specific rules. Example: SW3 0A8-1A
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation>Sub-element of the extended 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".
</xsd:documentation>
</xsd:annotation>
<xsd:element ref="PostTownName" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation>Values may for example be CEDEX 16 (France)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation>Examples are: 1234 (USA), 1G (UK), etc.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of the name of a country. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of the name of a locality. Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<!--
############################################################################-->
<!--
############################################################################-->
<xsd:documentation>Specification of the name of a street (also dependant street name). Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of the name of the premise (house, building, 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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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. This comment irrelevant: 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).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en"> Possible values of NameType not limited to: Official, Unique, Abbreviation, OldName, Synonym.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of the number of a postbox .
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of the name of a department. Possible NameType values not limited to: Official, Unique, Abbreviation, OldName, Synonym.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<!--
############################################################################-->
<xsd: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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<!--
############################################################################-->
<!--
### Simple Element Types ###-->
<!--
############################################################################-->
<xsd:documentation xml:lang="en">Specification of the identification number of a large mail user. An example are the Cedex codes in France.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AddressLine" type="xsd:string" />
<xsd:documentation>PostalCode is the container element for either simple or complex (extended) postal codes.</xsd:documentation>
</xsd:annotation>
<xsd:element ref="AddressLines" />
<xsd:element ref="PostalCodeNumber" />
<xsd:element ref="PostTown" minOccurs="0" />
<xsd:element ref="SortingCode" minOccurs="0" />
<xsd:element ref="DeliveryPointSuffix" minOccurs="0" />
</xsd:sequence>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element ref="AddressLines" />
</xsd:sequence>
<xsd:element ref="LocalityName" maxOccurs="unbounded" />
<xsd:element ref="DependentLocality" minOccurs="0" />
<xsd:element ref="Street" />
<xsd:element ref="PostBox" />
<xsd:element ref="LargeMailUser" />
<xsd:element ref="PostOffice" />
<xsd:element ref="Premise" />
<xsd:element ref="PostalCode" />
</xsd:choice>
</xsd:sequence>
</xsd:choice>
<xsd:documentation>City or IndustrialEstate or Unknown
When in use for DependentLocality: PostalZone</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element ref="PremiseNumber" />
<xsd:element ref="PremiseName" maxOccurs="unbounded" />
</xsd:choice>
<xsd:element ref="BuildingName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="SubPremise" />
<xsd:element ref="Organisation" />
</xsd:choice>
<xsd:element ref="PostalCode" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
<xsd:restriction base="xsd:string" />
</xsd:simpleType>
<xsd:element name="DependentLocalityName" type="TName" />
</xsd:schema>
|