<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Iain King (Dept. for Children, Schools and Families) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.dcsf.gov.uk/schemas/cbds" targetNamespace="http://www.dcsf.gov.uk/schemas/cbds" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="YearTypes">
	<xs:annotation>
		<xs:appinfo>
			<Metadata xmlns="http://www.govtalk.gov.uk/metadata/egms">
				<Contributor Role="Developer" Href="mailto:Iain.King@dcsf.gsi.gov.uk">Iain King</Contributor>
				<Contributor Role="DSG Helpdesk" Href="mailto:DSG.HELPDESK@DCSF.GSI.Gov.UK">DCSF - DSG (D1)</Contributor>
				<Creator>DSG D2 : CBDS and NRWS, Department for Children, Schools and Families</Creator>
				<Date>
					<Modified>2009-05-20</Modified>
					<Modified>2008-05-12</Modified>
					<Modified>2007-03-14</Modified>
					<Modified>2006-07-04</Modified>
					<Modified>2006-02-09</Modified>
					<Created>2001-12-19</Created>
					<Issued/>
				</Date>
				<Format Scheme="http://www.iana.org/assignments/media-types/">text/xml</Format>
				<Identifier>YearTypes</Identifier>
				<Publisher>Department for Children, Schools and Families, Sanctuary Buildings, Great Smith Street, London  SW1P 3BT</Publisher>
				<Relation>
					<ConformsTo>http://www.w3.org/2001/XMLSchema</ConformsTo>
					<IsPartOf>CBDS Schemas</IsPartOf>
					<IsVersionOf>YearTypes2007</IsVersionOf>
					<ProvidesDefinitionOf>AcademicYearType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>AllYearsType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>ClassYeargroupType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>NCyearType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>PupilYeargroupType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>YeargroupMixedType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>YeargroupNotApplicableType</ProvidesDefinitionOf>
					<ProvidesDefinitionOf>YeargroupType</ProvidesDefinitionOf>
				</Relation>
				<Status>
					<Status>release</Status>
					<Description>May release for 2009</Description>
					<Version>1.0</Version>
				</Status>
				<Subject>
					<Project>CBDS</Project>
					<Category>Schools Education</Category>
				</Subject>
				<Title>YearTypes - CBDS - Simple types for School and Pupil data</Title>
				<Type>architectural</Type>
				<Description>Simple types for School Pupil data</Description>
				<Language>eng</Language>
				<Rights>
					<Copyright>Crown Copyright 2003 - 2009</Copyright>
					<ProtectiveMarking>Unclassified</ProtectiveMarking>
				</Rights>
			</Metadata>
		</xs:appinfo>
	</xs:annotation>
	<xs:simpleType name="AcademicYearType">
		<xs:annotation>
			<xs:documentation>
An academic year begins on September 1st and ends at midnight on the following August 31st.  
Academic years are denoted by the four-figure year of their start date. 
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:gYear">
			<xs:minInclusive value="1970"/>
			<xs:maxInclusive value="2099"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YeargroupType">
		<xs:annotation>
			<xs:documentation>
The yeargroup of the first year of compulsory schooling is known as Reception (R).  
Nursery years are Yeargroups N1 and N2, though these may be taught together.
Ages are in whole years at August 31 at the start of the school year and refer to the pupils for whom the curriculum is intended. 
Some pupils may follow the curriculum of a year other than that appropriate to their data of birth.
		</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="N1">
				<xs:annotation>
					<xs:documentation>Nursery year 1 (age 2)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="N2">
				<xs:annotation>
					<xs:documentation>Nursery year 2 (age 3)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="R">
				<xs:annotation>
					<xs:documentation>Reception (age 4)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="1">
				<xs:annotation>
					<xs:documentation>Year 1 (age 5)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="2">
				<xs:annotation>
					<xs:documentation>Year 2 (age 6)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="3">
				<xs:annotation>
					<xs:documentation>Year 3 (age 7)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="4">
				<xs:annotation>
					<xs:documentation>Year 4 (age 8)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="5">
				<xs:annotation>
					<xs:documentation>Year 5 (age 9)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="6">
				<xs:annotation>
					<xs:documentation>Year 6 (age 10)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="7">
				<xs:annotation>
					<xs:documentation>Year 7 (age 11)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="8">
				<xs:annotation>
					<xs:documentation>Year 8 (age 12)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="9">
				<xs:annotation>
					<xs:documentation>Year 9 (age 13)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="10">
				<xs:annotation>
					<xs:documentation>Year 10 (age 14)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="11">
				<xs:annotation>
					<xs:documentation>Year 11 (age 15)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="12">
				<xs:annotation>
					<xs:documentation>Year 12 (age 16)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="13">
				<xs:annotation>
					<xs:documentation>Year 13 (age 17)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="14">
				<xs:annotation>
					<xs:documentation>Year 14 (age 18)</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YeargroupMixedType">
		<xs:annotation>
			<xs:documentation>
A class may contain pupils belonging to more than one yeargroup
		</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="M">
				<xs:annotation>
					<xs:documentation>Mixed</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:annotation>
		<xs:documentation>
In some situations (e.g. Special Schools) the organisation of teaching and learning for some or all pupils may not be based upon the yeargroup model.
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType name="YeargroupNotApplicableType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="X">
				<xs:annotation>
					<xs:documentation>Not Applicable</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AllYearsType">
		<xs:annotation>
			<xs:documentation>Union of Yeargroup, YearMixedGroup and Not Applicalbe Types
Giving N1-N2-R-X-1-14 Enumeration in one type</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="YeargroupType YeargroupMixedType YeargroupNotApplicableType"/>
	</xs:simpleType>
	<xs:simpleType name="PupilYeargroupType">
		<xs:union memberTypes="YeargroupType YeargroupNotApplicableType"/>
	</xs:simpleType>
	<xs:simpleType name="ClassYeargroupType">
		<xs:annotation>
			<xs:documentation>
A mixed yeargroup class contains pupils following the curriculum for different yeargroups
		</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="YeargroupType YeargroupMixedType"/>
	</xs:simpleType>
	<xs:simpleType name="NCyearType">
		<xs:annotation>
			<xs:documentation>
NC is a widely-used and understood abbreviation in the education world for National Curriculum so this type is offered for convenience.
The value of of a pupil's NCyearActual is the year of the curriculum followed rather than the year appropriate to their date of birth.
		</xs:documentation>
		</xs:annotation>
		<xs:restriction base="PupilYeargroupType"/>
	</xs:simpleType>
</xs:schema>
