<?xml version="1.0" encoding="UTF-8"?>
<!-- Schema for commonly used contact types -->
<!-- 
From: http://www.govtalk.gov.uk/documents/APD-v1-2.zip  2003-06-18
See:  http://xml.coverpages.org/namesAndAddresses.html#APD-v1-2 -->
<!--	Changes 1.1 to 1.2:
		Metadata brought up to latest version of standard -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.2" id="ContactTypes">
	<xsd:annotation>
		<xsd:appinfo xmlns:gms="http://www.govtalk.gov.uk/CM/gms">
			<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
				<Audience>e-service developers</Audience>
				<Contributor>e-champions,Government Schema Group, IDeA</Contributor>
				<Contributor>Paul Spencer, Boynings Consulting (mailto:paul.spencer@boynings.co.uk)</Contributor>
				<Creator>Technology Policy Team, Office of the e-Envoy, Cabinet Office (mailto:govtalk@e-envoy.gsi.gov.uk)</Creator>
				<Date>
					<Created>2001-12-19</Created>
				</Date>
				<Date>
					<Modified>2002-01-30</Modified>
				</Date>
				<Date>
					<Modified>2003-02-25</Modified>
				</Date>
				<Description>Citizen Contact Types</Description>
				<Format>
					<MediaType>text/xml</MediaType>
					<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
					<Description>XML schema, W3C Recommendation 2001</Description>
				</Format>
				<Identifier>ContactTypes-v1-2</Identifier>
				<Language>[ISO 639-2/B] ENG</Language>
				<Publisher>Office of the e-Envoy, Stockley House,130 Wilton Road, London SW1V 1LQ</Publisher>
				<Relation>
					<Requires>CommonSimpleTypes-v1-2</Requires>
				</Relation>
				<Relation>
					<IsPartOf>PersonalDetailsTypes-v1-2</IsPartOf>
				</Relation>
				
				<Rights>Unclassified
					<Copyright>Crown Copyright 2002,2003</Copyright>
				</Rights>
				<Subject>
					<Category>People, communities and living</Category>
				</Subject>
				<Subject>
					<Project>UK GovTalk</Project>
				</Subject>
				<Title>Citizen Contact Types architectural schema</Title>
				<Type>Architectural</Type>
			</Metadata>
		</xsd:appinfo>
	</xsd:annotation>

	
	<xsd:include schemaLocation="CommonSimpleTypes-v1-2.xsd"/>
	<!-- start of TelephoneStructure type definition -->
	<xsd:complexType name="TelephoneStructure">
		<xsd:sequence>
			<xsd:element name="TelNationalNumber" type="TelephoneNumberType"/>
			<xsd:element name="TelExtensionNumber" type="TelephoneExtensionType" minOccurs="0"/>
			<xsd:element name="TelCountryCode" type="TelCountryCodeType" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="TelUse" type="WorkHomeType"/>
		<xsd:attribute name="TelMobile" type="YesNoType"/>
		<xsd:attribute name="TelPreferred" type="YesNoType"/>
	</xsd:complexType>
	<!-- end of TelephoneStructure type definition -->
	<!-- start of FaxStructure type definition -->
	<xsd:complexType name="FaxStructure">
		<xsd:sequence>
			<xsd:element name="FaxNationalNumber" type="TelephoneNumberType"/>
			<xsd:element name="FaxExtensionNumber" type="TelephoneExtensionType" minOccurs="0"/>
			<xsd:element name="FaxCountryCode" type="TelCountryCodeType" minOccurs="0"/>
		</xsd:sequence>
		<xsd:attribute name="FaxUse" type="WorkHomeType"/>
		<xsd:attribute name="FaxMobile" type="YesNoType"/>
		<xsd:attribute name="FaxPreferred" type="YesNoType"/>
	</xsd:complexType>
	<!-- end of FaxStructure type definition -->
	<!-- start of EmailStructure type definition -->
	<xsd:complexType name="EmailStructure">
		<xsd:sequence>
			<xsd:element name="EmailAddress" type="RestrictedStringType"/>
		</xsd:sequence>
		<xsd:attribute name="EmailUsage" type="WorkHomeType"/>
		<xsd:attribute name="EmailPreferred" type="YesNoType"/>
	</xsd:complexType>
	<!-- end of EmailStructure type definition -->
</xsd:schema>
