<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Max Voskob (MSI) -->
<!-- Last modified by Andrew Golightly on 19/04/2005 (E-Government Unit, New Zealand) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="NZL:govt:egu:xNAL:xAL-formatting:version=3_3" targetNamespace="NZL:govt:egu:xNAL:xAL-formatting:version=3_3" elementFormDefault="qualified" attributeFormDefault="qualified">
	<xs:annotation>
		<xs:documentation>Formatting objects for xAL.
These element and attributes should be used to present an address in a localised and human readable form.</xs:documentation>
	</xs:annotation>
	<!--Address element positioning-->
	<xs:attribute name="LineNumber" type="xs:integer">
		<xs:annotation>
			<xs:documentation>Number of the address line where the element is situated. 1-based.</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="ElementPosition" type="xs:integer">
		<xs:annotation>
			<xs:documentation>Numeric position of the element in the address line. 1-based.</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="Occurence">
		<xs:annotation>
			<xs:documentation>If the containing element related to another element and makes no sence on its own then this attribute can indicate if the containing element occurs before or after the main element it related to. 
E.g. Archer St. North, where North is the dependant element that contains this attribute to indicate its position relatively to the others.</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:enumeration value="BeforeSparator"/>
				<xs:enumeration value="BeforePrecedingIndicator"/>
				<xs:enumeration value="BeforePrefix"/>
				<xs:enumeration value="BeforeTheMainElement"/>
				<xs:enumeration value="BeforeSuffix"/>
				<xs:enumeration value="BeforeFollowingIndicator"/>
				<xs:enumeration value="AfterFollowingIndicator"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:attribute>
	<!--Address element wrapping. It comes in the following order: 
Separator - PrecedingIndicator - Prefix - [address element] - Suffix - FollowingIndicator-->
	<xs:attribute name="Separator">
		<xs:annotation>
			<xs:documentation>A separator that is followed by the element with all prefixes from this namespace.</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="PrecedingIndicator">
		<xs:annotation>
			<xs:documentation>An indicator of the element that is followed by the element.
E.g. No. in No. 22</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="Prefix">
		<xs:annotation>
			<xs:documentation>A symbol preceding the element. E.g. # in #2</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="Suffix">
		<xs:annotation>
			<xs:documentation>A symbol folowing the element. E.g. # in 2#</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="FollowingIndicator">
		<xs:annotation>
			<xs:documentation>An indicator of the element that follows the element.
E.g. Dr in Amapur Dr</xs:documentation>
		</xs:annotation>
	</xs:attribute>
</xs:schema>
