<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Ram Kumar -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xal="urn:oasis:names:tc:ciq:xal:3" xmlns:xnl="urn:oasis:names:tc:ciq:xnl:3" xmlns="urn:oasis:names:tc:ciq:xnal:3" targetNamespace="urn:oasis:names:tc:ciq:xnal:3" elementFormDefault="qualified" attributeFormDefault="qualified">
<xs:annotation>
		<xs:documentation> 
		Specification Name: OASIS CIQ TC - extensible Name and Address Language (xNAL) 
		Description: Defines the W3C schema for representing name and address together
		Produced by: OASIS Customer Information Quality Technical Committee
		Version: 3.0  
		Status: Public Review Draft
		Copyright: 2006, OASIS
		Last Modified: 05 April 2006
		Last Modified by: Ram Kumar
		NOTE: Do not modify this schema as it will break specifications compatibility 
		</xs:documentation>
	</xs:annotation>
	<xs:import namespace="urn:oasis:names:tc:ciq:xnl:3" schemaLocation="xnl.xsd"/>
	<xs:import namespace="urn:oasis:names:tc:ciq:xal:3" schemaLocation="xal.xsd"/>
	
	<xs:simpleType name="string">
		<xs:annotation>
			<xs:documentation>A common format for a constrained string.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="255"/>
			<xs:whiteSpace value="collapse"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="Record">
		<xs:annotation>
			<xs:documentation>This is a generic contianer to combine name and address. Any cardinality of names and addresses is permitted.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="xnl:PartyName" maxOccurs="unbounded"/>
				<xs:element ref="xal:Address" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:anyAttribute namespace="##other"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="PostalLabel">
		<xs:annotation>
			<xs:documentation>This is a specialised container to combine name and address for postal purposes, e.g. a label on an envelope.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Addressee" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Addressee is the party that is the recipient of the postal mail delivery.  </xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Designation" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>When the name of the recipient is not known or the designation is still required to appear on the label.
E.g. Attention CEO, General Manager, the household owner, etc.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="string">
											<xs:anyAttribute namespace="##other"/>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<xs:element ref="xnl:PartyName" minOccurs="0"/>
							<xs:element name="DependencyName" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>The main name has a relationship with a dependant name.
The dependant name should be put under this element and the relationship described.
E.g. Eastbourne Goats Trust in care of Wellingon Lawers Ltd., Ram Kumar, C/O Sakthisoft, etc</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:complexContent>
										<xs:extension base="xnl:PartyNameType">
											<xs:attribute name="DependencyType" type="string" use="required">
												<xs:annotation>
													<xs:documentation>This attribute describes the nature of the relaionship between the main name and the dependency. E.g. 'C/O', 'in care of' or 'a son of'.</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:complexContent>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element ref="xal:Address"/>
			</xs:sequence>
			<xs:anyAttribute namespace="##other"/>
		</xs:complexType>
	</xs:element>
</xs:schema>

