<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.homeconnections.gov.uk" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.homeconnections.gov.uk" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0a" id="CBLPropertyDataMessage">
	<xsd:include schemaLocation="CBLDataTypes.xsd"/>
	<xsd:include schemaLocation="CBLDataSupplierCodes.xsd"/>
	<xsd:include schemaLocation="CBLPropertyStructure.xsd"/>
	<xsd:include schemaLocation="CBLPropertyAdminStructure.xsd"/>
	<xsd:include schemaLocation="CBLGraphicStructure.xsd"/>
	<xsd:annotation>
		<xsd:appinfo xmlns:gms="http://www.govtalk.gov.uk/CM/gms" xmlns:dcq="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/">
			<dc:contributor>Anite Public Sector Limited</dc:contributor>
			<dc:creator>Anite Public Sector Limited  http://www.anite.com
				<dcq:owner>Home Connections Project, Camden, Westminster, Barnet, Kensington - Chelsea, Islington</dcq:owner>
				<dcq:contact>info@homeconnections.org.uk</dcq:contact>
			</dc:creator>
			<dc:date>
				<dcq:created>2001-12-12</dcq:created>
			</dc:date>
			<dc:date>
				<dcq:modified>2002-01-25</dcq:modified>
				<dcq:modified>2004-03-22</dcq:modified>
			</dc:date>
			<dc:format>text</dc:format>
			<dc:format>
				<dc:medium>http://www.w3.org/2000/10/XMLSchema</dc:medium>
			</dc:format>
			<dc:format>
				<dc:medium>XML Schema (.xsd) file, W3C Recommendation 2000</dc:medium>
			</dc:format>
			<dc:identifier>CBLFullProperty</dc:identifier>
			<dc:language>en</dc:language>
			<dc:publisher>Anite CGD, Unit 4 Eaton Court, Colmworth Business Park, Eaton Socon, Cambridgeshire PE19 8YH</dc:publisher>
			<dc:rights>
				<dcq:copyright>Home Connections 2002-2004</dcq:copyright>
				<gms:SecurityClassification>Unclassified</gms:SecurityClassification>
			</dc:rights>
			<dc:subject>
				<gms:Category>People, communities and living</gms:Category>
			</dc:subject>
			<dc:subject>
				<gms:Project>Home Connections Choice Based Lettings</gms:Project>
			</dc:subject>
			<dc:title>CBL Individual Administration Structure architectural schema</dc:title>
			<dc:description>
				<dcq:abstract>Schema for transfering property data</dcq:abstract>
			</dc:description>
		</xsd:appinfo>
		<xsd:documentation>
			This schema is used by the Choice Based Letting pilot to transfer property data from HMS to CBL		</xsd:documentation>
	</xsd:annotation>
	<xsd:element name="CBLProperty">
		<xsd:complexType mixed="true">
			<xsd:sequence>
				<xsd:element name="PropertyReference" type="HMSPropertyReferenceType"/>
				<xsd:element name="PropRefIsUPRN" type="YesNoType"/>
				<xsd:element name="PropertyOwner" type="PropertyOwnerStructure"/>
				<xsd:element name="DataSupplier" type="DataSupplierCodeType"/>
				<xsd:element name="RecordState" type="HMSRecordStateType"/>
				<xsd:element name="PropertyDetails" type="PropertyStructure" minOccurs="0"/>
				<xsd:element name="Graphics" minOccurs="0">
					<xsd:complexType mixed="true">
						<xsd:sequence maxOccurs="unbounded">
							<xsd:element name="PropertyGraphic" type="PropertyGraphicStructure"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="PropertyAdminStructure" type="PropertyAdminStructure" minOccurs="0"/>
				<!-- a new property must contain property details-->
				<!-- a new property must contain property details-->
				<!-- it can contain zero to many property graphics (photos or plans)-->
				<!-- it can contain zero or one property administration details-->
				<!-- it must contain administration details-->
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
