<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Defra (DEFRA) -->
<xs:schema targetNamespace="urn:defra.gov.uk:ESP:SeedCerts" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SeedCerts="urn:defra.gov.uk:ESP:SeedCerts" xmlns:gt="http://www.govtalk.gov.uk/Schemas/govtalk/core" elementFormDefault="qualified" attributeFormDefault="unqualified" version="18.4" id="DEFRA_SeedCert_CommonTypes">
	<!--	&lt;xs:include schemaLocation=&quot;GovTalk_Common.xsd&quot; /&gt;-->
	<xs:import namespace="http://www.govtalk.gov.uk/Schemas/govtalk/core" schemaLocation="GovTalk_Common.xsd"/>
	<!-- =================== -->
	<!-- Common Simple Types -->
	<!-- =================== -->
	<xs:simpleType name="iacsrefType">
		<xs:annotation>
			<xs:documentation>Pattern defines the standard layout for an IACS ref code</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{2}-[0-9]{6}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesNoType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Y"/>
			<xs:enumeration value="N"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MainHoldingType">
		<xs:annotation>
			<xs:documentation>Pattern defines the standard layout for the Main CPH number which must be in England</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{2}/[0-9]{3}/[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CPHnumType">
		<xs:annotation>
			<xs:documentation>Pattern defines the standard layout for a CPH number</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,2}/[0-9]{3}/[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="VendorNumberType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,6}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OSRefType">
		<xs:annotation>
			<xs:documentation>Pattern defines an OS Reference</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[A-Z]{0,2}[0-9]{0,5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NGFNoType">
		<xs:annotation>
			<xs:documentation>Pattern defines a National Grid Field Number</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{4,5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AFPNumberType">
		<xs:annotation>
			<xs:documentation>Pattern defines an AFP Number</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,3}/[0-9]{0,6}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RegistrationExType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AddressLineType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AddressTownType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CountyCodeType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonTitleType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonForenameType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="30"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonSingleInitialType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PersonSurnameType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="30"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StationNumberType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LicenceNumberType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CompanyRegNumberType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SuffixType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[A-Za-z0-9 *]{0,3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PercentageType">
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="2"/>
			<xs:maxInclusive value="100.00"/>
			<xs:minInclusive value="0.00"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ShortStringType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="50"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LongStringType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ExtraLongStringType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="1000"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AreaType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,6}(\.[0-9]{1,2})?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DayType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="5"/>
			<xs:enumeration value="6"/>
			<xs:enumeration value="7"/>
			<xs:enumeration value="8"/>
			<xs:enumeration value="9"/>
			<xs:enumeration value="10"/>
			<xs:enumeration value="11"/>
			<xs:enumeration value="12"/>
			<xs:enumeration value="13"/>
			<xs:enumeration value="14"/>
			<xs:enumeration value="15"/>
			<xs:enumeration value="16"/>
			<xs:enumeration value="17"/>
			<xs:enumeration value="18"/>
			<xs:enumeration value="19"/>
			<xs:enumeration value="20"/>
			<xs:enumeration value="21"/>
			<xs:enumeration value="22"/>
			<xs:enumeration value="23"/>
			<xs:enumeration value="24"/>
			<xs:enumeration value="25"/>
			<xs:enumeration value="26"/>
			<xs:enumeration value="27"/>
			<xs:enumeration value="28"/>
			<xs:enumeration value="29"/>
			<xs:enumeration value="30"/>
			<xs:enumeration value="31"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MonthType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="January"/>
			<xs:enumeration value="February"/>
			<xs:enumeration value="March"/>
			<xs:enumeration value="April"/>
			<xs:enumeration value="May"/>
			<xs:enumeration value="June"/>
			<xs:enumeration value="July"/>
			<xs:enumeration value="August"/>
			<xs:enumeration value="September"/>
			<xs:enumeration value="October"/>
			<xs:enumeration value="November"/>
			<xs:enumeration value="December"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YearType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1900"/>
			<xs:enumeration value="1901"/>
			<xs:enumeration value="1902"/>
			<xs:enumeration value="1903"/>
			<xs:enumeration value="1904"/>
			<xs:enumeration value="1905"/>
			<xs:enumeration value="1906"/>
			<xs:enumeration value="1907"/>
			<xs:enumeration value="1908"/>
			<xs:enumeration value="1909"/>
			<xs:enumeration value="1910"/>
			<xs:enumeration value="1911"/>
			<xs:enumeration value="1912"/>
			<xs:enumeration value="1913"/>
			<xs:enumeration value="1914"/>
			<xs:enumeration value="1915"/>
			<xs:enumeration value="1916"/>
			<xs:enumeration value="1917"/>
			<xs:enumeration value="1918"/>
			<xs:enumeration value="1919"/>
			<xs:enumeration value="1920"/>
			<xs:enumeration value="1921"/>
			<xs:enumeration value="1922"/>
			<xs:enumeration value="1923"/>
			<xs:enumeration value="1924"/>
			<xs:enumeration value="1925"/>
			<xs:enumeration value="1926"/>
			<xs:enumeration value="1927"/>
			<xs:enumeration value="1928"/>
			<xs:enumeration value="1929"/>
			<xs:enumeration value="1930"/>
			<xs:enumeration value="1931"/>
			<xs:enumeration value="1932"/>
			<xs:enumeration value="1933"/>
			<xs:enumeration value="1934"/>
			<xs:enumeration value="1935"/>
			<xs:enumeration value="1936"/>
			<xs:enumeration value="1937"/>
			<xs:enumeration value="1938"/>
			<xs:enumeration value="1939"/>
			<xs:enumeration value="1940"/>
			<xs:enumeration value="1941"/>
			<xs:enumeration value="1942"/>
			<xs:enumeration value="1943"/>
			<xs:enumeration value="1944"/>
			<xs:enumeration value="1945"/>
			<xs:enumeration value="1946"/>
			<xs:enumeration value="1947"/>
			<xs:enumeration value="1948"/>
			<xs:enumeration value="1949"/>
			<xs:enumeration value="1950"/>
			<xs:enumeration value="1951"/>
			<xs:enumeration value="1952"/>
			<xs:enumeration value="1953"/>
			<xs:enumeration value="1954"/>
			<xs:enumeration value="1955"/>
			<xs:enumeration value="1956"/>
			<xs:enumeration value="1957"/>
			<xs:enumeration value="1958"/>
			<xs:enumeration value="1959"/>
			<xs:enumeration value="1960"/>
			<xs:enumeration value="1961"/>
			<xs:enumeration value="1962"/>
			<xs:enumeration value="1963"/>
			<xs:enumeration value="1964"/>
			<xs:enumeration value="1965"/>
			<xs:enumeration value="1966"/>
			<xs:enumeration value="1967"/>
			<xs:enumeration value="1968"/>
			<xs:enumeration value="1969"/>
			<xs:enumeration value="1970"/>
			<xs:enumeration value="1971"/>
			<xs:enumeration value="1972"/>
			<xs:enumeration value="1973"/>
			<xs:enumeration value="1974"/>
			<xs:enumeration value="1975"/>
			<xs:enumeration value="1976"/>
			<xs:enumeration value="1977"/>
			<xs:enumeration value="1978"/>
			<xs:enumeration value="1979"/>
			<xs:enumeration value="1980"/>
			<xs:enumeration value="1981"/>
			<xs:enumeration value="1982"/>
			<xs:enumeration value="1983"/>
			<xs:enumeration value="1984"/>
			<xs:enumeration value="1985"/>
			<xs:enumeration value="1986"/>
			<xs:enumeration value="1987"/>
			<xs:enumeration value="1988"/>
			<xs:enumeration value="1989"/>
			<xs:enumeration value="1990"/>
			<xs:enumeration value="1991"/>
			<xs:enumeration value="1992"/>
			<xs:enumeration value="1993"/>
			<xs:enumeration value="1994"/>
			<xs:enumeration value="1995"/>
			<xs:enumeration value="1996"/>
			<xs:enumeration value="1997"/>
			<xs:enumeration value="1998"/>
			<xs:enumeration value="1999"/>
			<xs:enumeration value="2000"/>
			<xs:enumeration value="2001"/>
			<xs:enumeration value="2002"/>
			<xs:enumeration value="2003"/>
			<xs:enumeration value="2004"/>
			<xs:enumeration value="2005"/>
			<xs:enumeration value="2006"/>
			<xs:enumeration value="2007"/>
			<xs:enumeration value="2008"/>
			<xs:enumeration value="2009"/>
			<xs:enumeration value="2010"/>
			<xs:enumeration value="2011"/>
			<xs:enumeration value="2012"/>
			<xs:enumeration value="2013"/>
			<xs:enumeration value="2014"/>
			<xs:enumeration value="2015"/>
			<xs:enumeration value="2016"/>
			<xs:enumeration value="2017"/>
			<xs:enumeration value="2018"/>
			<xs:enumeration value="2019"/>
			<xs:enumeration value="2020"/>
			<xs:enumeration value="2021"/>
			<xs:enumeration value="2022"/>
			<xs:enumeration value="2023"/>
			<xs:enumeration value="2024"/>
			<xs:enumeration value="2025"/>
			<xs:enumeration value="2026"/>
			<xs:enumeration value="2027"/>
			<xs:enumeration value="2028"/>
			<xs:enumeration value="2029"/>
			<xs:enumeration value="2030"/>
			<xs:enumeration value="2031"/>
			<xs:enumeration value="2032"/>
			<xs:enumeration value="2033"/>
			<xs:enumeration value="2034"/>
			<xs:enumeration value="2035"/>
			<xs:enumeration value="2036"/>
			<xs:enumeration value="2037"/>
			<xs:enumeration value="2038"/>
			<xs:enumeration value="2039"/>
			<xs:enumeration value="2040"/>
			<xs:enumeration value="2041"/>
			<xs:enumeration value="2042"/>
			<xs:enumeration value="2043"/>
			<xs:enumeration value="2044"/>
			<xs:enumeration value="2045"/>
			<xs:enumeration value="2046"/>
			<xs:enumeration value="2047"/>
			<xs:enumeration value="2048"/>
			<xs:enumeration value="2049"/>
			<xs:enumeration value="2050"/>
			<xs:enumeration value="2051"/>
			<xs:enumeration value="2052"/>
			<xs:enumeration value="2053"/>
			<xs:enumeration value="2054"/>
			<xs:enumeration value="2055"/>
			<xs:enumeration value="2056"/>
			<xs:enumeration value="2057"/>
			<xs:enumeration value="2058"/>
			<xs:enumeration value="2059"/>
			<xs:enumeration value="2060"/>
			<xs:enumeration value="2061"/>
			<xs:enumeration value="2062"/>
			<xs:enumeration value="2063"/>
			<xs:enumeration value="2064"/>
			<xs:enumeration value="2065"/>
			<xs:enumeration value="2066"/>
			<xs:enumeration value="2067"/>
			<xs:enumeration value="2068"/>
			<xs:enumeration value="2069"/>
			<xs:enumeration value="2070"/>
			<xs:enumeration value="2071"/>
			<xs:enumeration value="2072"/>
			<xs:enumeration value="2073"/>
			<xs:enumeration value="2074"/>
			<xs:enumeration value="2075"/>
			<xs:enumeration value="2076"/>
			<xs:enumeration value="2077"/>
			<xs:enumeration value="2078"/>
			<xs:enumeration value="2079"/>
			<xs:enumeration value="2080"/>
			<xs:enumeration value="2081"/>
			<xs:enumeration value="2082"/>
			<xs:enumeration value="2083"/>
			<xs:enumeration value="2084"/>
			<xs:enumeration value="2085"/>
			<xs:enumeration value="2086"/>
			<xs:enumeration value="2087"/>
			<xs:enumeration value="2088"/>
			<xs:enumeration value="2089"/>
			<xs:enumeration value="2090"/>
			<xs:enumeration value="2091"/>
			<xs:enumeration value="2092"/>
			<xs:enumeration value="2093"/>
			<xs:enumeration value="2094"/>
			<xs:enumeration value="2095"/>
			<xs:enumeration value="2096"/>
			<xs:enumeration value="2097"/>
			<xs:enumeration value="2098"/>
			<xs:enumeration value="2099"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CountyType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="AVON"/>
			<xs:enumeration value="BEDFORDSHIRE"/>
			<xs:enumeration value="BERKSHIRE"/>
			<xs:enumeration value="BLAENAU GWENT"/>
			<xs:enumeration value="BRIDGEND"/>
			<xs:enumeration value="BUCKINGHAMSHIRE"/>
			<xs:enumeration value="CAERPHILLY"/>
			<xs:enumeration value="CAMBRIDGESHIRE"/>
			<xs:enumeration value="CARDIFF"/>
			<xs:enumeration value="CARDIGANSHIRE"/>
			<xs:enumeration value="CARMARTHENSHIRE"/>
			<xs:enumeration value="CEREDIGION"/>
			<xs:enumeration value="CHESHIRE"/>
			<xs:enumeration value="CLEVELAND"/>
			<xs:enumeration value="CLWYD"/>
			<xs:enumeration value="CONWY"/>
			<xs:enumeration value="CORNWALL"/>
			<xs:enumeration value="CUMBRIA"/>
			<xs:enumeration value="DENBIGHSHIRE"/>
			<xs:enumeration value="DERBYSHIRE"/>
			<xs:enumeration value="DEVON"/>
			<xs:enumeration value="DORSET"/>
			<xs:enumeration value="DURHAM"/>
			<xs:enumeration value="DYFED"/>
			<xs:enumeration value="EAST SUSSEX"/>
			<xs:enumeration value="EAST YORKSHIRE"/>
			<xs:enumeration value="ESSEX"/>
			<xs:enumeration value="FLINTSHIRE"/>
			<xs:enumeration value="GLOUCESTERSHIRE"/>
			<xs:enumeration value="GT. LONDON (EAST)"/>
			<xs:enumeration value="GT. LONDON (SE)"/>
			<xs:enumeration value="GT. MANCHESTER"/>
			<xs:enumeration value="GWENT"/>
			<xs:enumeration value="GWYNEDD"/>
			<xs:enumeration value="HAMPSHIRE"/>
			<xs:enumeration value="HEREFORD AND WORCESTER"/>
			<xs:enumeration value="HERTFORDSHIRE"/>
			<xs:enumeration value="HUMBERSIDE"/>
			<xs:enumeration value="ISLE OF ANGLESEY"/>
			<xs:enumeration value="ISLE OF MAN"/>
			<xs:enumeration value="ISLE OF WIGHT"/>
			<xs:enumeration value="ISLES OF SCILLY"/>
			<xs:enumeration value="KENT"/>
			<xs:enumeration value="LANCASHIRE"/>
			<xs:enumeration value="LEICESTERSHIRE"/>
			<xs:enumeration value="LINCOLNSHIRE"/>
			<xs:enumeration value="MERSEYSIDE"/>
			<xs:enumeration value="MERTHYR TYDFIL"/>
			<xs:enumeration value="MID GLAMORGAN"/>
			<xs:enumeration value="MONMOUTHSHIRE"/>
			<xs:enumeration value="N. IRELAND"/>
			<xs:enumeration value="NEATH PORT TALBOT"/>
			<xs:enumeration value="NEWPORT"/>
			<xs:enumeration value="NORFOLK"/>
			<xs:enumeration value="NORTH YORKSHIRE"/>
			<xs:enumeration value="NORTHAMPTONSHIRE"/>
			<xs:enumeration value="NORTHUMBERLAND"/>
			<xs:enumeration value="NOTTINGHAMSHIRE"/>
			<xs:enumeration value="OXFORDSHIRE"/>
			<xs:enumeration value="PEMBROKESHIRE"/>
			<xs:enumeration value="POWYS"/>
			<xs:enumeration value="RHONDDA CYNON TAF"/>
			<xs:enumeration value="SCOTLAND"/>
			<xs:enumeration value="SHROPSHIRE"/>
			<xs:enumeration value="SOMERSET"/>
			<xs:enumeration value="SOUTH GLAMORGAN"/>
			<xs:enumeration value="SOUTH YORKSHIRE"/>
			<xs:enumeration value="STAFFORDSHIRE"/>
			<xs:enumeration value="SWANSEA"/>
			<xs:enumeration value="SUFFOLK"/>
			<xs:enumeration value="SURREY"/>
			<xs:enumeration value="TORFAEN"/>
			<xs:enumeration value="TYNE AND WEAR"/>
			<xs:enumeration value="VALE OF GLAMORGAN"/>
			<xs:enumeration value="WARWICKSHIRE"/>
			<xs:enumeration value="WEST GLAMORGAN"/>
			<xs:enumeration value="WEST MIDLANDS"/>
			<xs:enumeration value="WEST SUSSEX"/>
			<xs:enumeration value="WEST YORKSHIRE"/>
			<xs:enumeration value="WILTSHIRE"/>
			<xs:enumeration value="WREXHAM"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CountyIDType">
		<xs:annotation>
			<xs:documentation>34 = AVON</xs:documentation>
			<xs:documentation>1 = BEDFORDSHIRE</xs:documentation>
			<xs:documentation>2 = BERKSHIRE</xs:documentation>
			<xs:documentation>71 = BLAENAU GWENT</xs:documentation>
			<xs:documentation>75 = BRIDGEND</xs:documentation>
			<xs:documentation>77 = CAERPHILLY</xs:documentation>
			<xs:documentation>76 = CARDIFF</xs:documentation>
			<xs:documentation>3 = BUCKINGHAMSHIRE</xs:documentation>
			<xs:documentation>5 = CAMBRIDGESHIRE</xs:documentation>
			<xs:documentation>64 = CARDIGANSHIRE</xs:documentation>
			<xs:documentation>62 = CARMARTHENSHIRE</xs:documentation>
			<xs:documentation>69 = CEREDIGION</xs:documentation>
			<xs:documentation>6 = CHESHIRE</xs:documentation>
			<xs:documentation>4 = CLEVELAND</xs:documentation>
			<xs:documentation>56 = CLWYD</xs:documentation>
			<xs:documentation>66 = CONWY</xs:documentation>
			<xs:documentation>7 = CORNWALL</xs:documentation>
			<xs:documentation>8 = CUMBRIA</xs:documentation>
			<xs:documentation>63 = DENBIGHSHIRE</xs:documentation>
			<xs:documentation>9 = DERBYSHIRE</xs:documentation>
			<xs:documentation>10 = DEVON</xs:documentation>
			<xs:documentation>11 = DORSET</xs:documentation>
			<xs:documentation>12 = DURHAM</xs:documentation>
			<xs:documentation>55 = DYFED</xs:documentation>
			<xs:documentation>41 = EAST SUSSEX</xs:documentation>
			<xs:documentation>50 = EAST YORKSHIRE</xs:documentation>
			<xs:documentation>13 = ESSEX</xs:documentation>
			<xs:documentation>67 = FLINTSHIRE</xs:documentation>
			<xs:documentation>14 = GLOUCESTERSHIRE</xs:documentation>
			<xs:documentation>26 = GT. LONDON (EAST)</xs:documentation>
			<xs:documentation>27 = GT. LONDON (SE)</xs:documentation>
			<xs:documentation>44 = GT. MANCHESTER</xs:documentation>
			<xs:documentation>60 = GWENT</xs:documentation>
			<xs:documentation>53 = GWYNEDD</xs:documentation>
			<xs:documentation>15 = HAMPSHIRE</xs:documentation>
			<xs:documentation>17 = HEREFORD AND WORCESTER</xs:documentation>
			<xs:documentation>18 = HERTFORDSHIRE</xs:documentation>
			<xs:documentation>51 = HUMBERSIDE</xs:documentation>
			<xs:documentation>65 = ISLE OF ANGLESEY</xs:documentation>
			<xs:documentation>97 = ISLE OF MAN</xs:documentation>
			<xs:documentation>16 = ISLE OF WIGHT</xs:documentation>
			<xs:documentation>39 = ISLES OF SCILLY</xs:documentation>
			<xs:documentation>20 = KENT</xs:documentation>
			<xs:documentation>21 = LANCASHIRE</xs:documentation>
			<xs:documentation>22 = LEICESTERSHIRE</xs:documentation>
			<xs:documentation>24 = LINCOLNSHIRE</xs:documentation>
			<xs:documentation>25 = MERSEYSIDE</xs:documentation>
			<xs:documentation>70 = MERTHYR TYDFIL</xs:documentation>
			<xs:documentation>58 = MID GLAMORGAN</xs:documentation>
			<xs:documentation>80 = MONMOUTHSHIRE</xs:documentation>
			<xs:documentation>98 = N. IRELAND</xs:documentation>
			<xs:documentation>73 = NEATH PORT TALBOT</xs:documentation>
			<xs:documentation>78 = NEWPORT</xs:documentation>
			<xs:documentation>28 = NORFOLK</xs:documentation>
			<xs:documentation>48 = NORTH YORKSHIRE</xs:documentation>
			<xs:documentation>29 = NORTHAMPTONSHIRE</xs:documentation>
			<xs:documentation>31 = NORTHUMBERLAND</xs:documentation>
			<xs:documentation>32 = NOTTINGHAMSHIRE</xs:documentation>
			<xs:documentation>33 = OXFORDSHIRE</xs:documentation>
			<xs:documentation>61 = PEMBROKESHIRE</xs:documentation>
			<xs:documentation>52 = POWYS</xs:documentation>
			<xs:documentation>74 = RHONDDA CYNON TAF</xs:documentation>
			<xs:documentation>99 = SCOTLAND</xs:documentation>
			<xs:documentation>35 = SHROPSHIRE</xs:documentation>
			<xs:documentation>36 = SOMERSET</xs:documentation>
			<xs:documentation>57 = SOUTH GLAMORGAN</xs:documentation>
			<xs:documentation>47 = SOUTH YORKSHIRE</xs:documentation>
			<xs:documentation>37 = STAFFORDSHIRE</xs:documentation>
			<xs:documentation>38 = SUFFOLK</xs:documentation>
			<xs:documentation>40 = SURREY</xs:documentation>
			<xs:documentation>72 = SWANSEA</xs:documentation>
			<xs:documentation>79 = TORFAEN</xs:documentation>
			<xs:documentation>30 = TYNE AND WEAR</xs:documentation>
			<xs:documentation>81 = VALE OF GLAMORGAN</xs:documentation>
			<xs:documentation>43 = WARWICKSHIRE</xs:documentation>
			<xs:documentation>59 = WEST GLAMORGAN</xs:documentation>
			<xs:documentation>46 = WEST MIDLANDS</xs:documentation>
			<xs:documentation>42 = WEST SUSSEX</xs:documentation>
			<xs:documentation>49 = WEST YORKSHIRE</xs:documentation>
			<xs:documentation>45 = WILTSHIRE</xs:documentation>
			<xs:documentation>68 = WREXHAM</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="5"/>
			<xs:enumeration value="6"/>
			<xs:enumeration value="7"/>
			<xs:enumeration value="8"/>
			<xs:enumeration value="9"/>
			<xs:enumeration value="10"/>
			<xs:enumeration value="11"/>
			<xs:enumeration value="12"/>
			<xs:enumeration value="13"/>
			<xs:enumeration value="14"/>
			<xs:enumeration value="15"/>
			<xs:enumeration value="16"/>
			<xs:enumeration value="17"/>
			<xs:enumeration value="18"/>
			<xs:enumeration value="20"/>
			<xs:enumeration value="21"/>
			<xs:enumeration value="22"/>
			<xs:enumeration value="24"/>
			<xs:enumeration value="25"/>
			<xs:enumeration value="26"/>
			<xs:enumeration value="27"/>
			<xs:enumeration value="28"/>
			<xs:enumeration value="29"/>
			<xs:enumeration value="30"/>
			<xs:enumeration value="31"/>
			<xs:enumeration value="32"/>
			<xs:enumeration value="33"/>
			<xs:enumeration value="34"/>
			<xs:enumeration value="35"/>
			<xs:enumeration value="36"/>
			<xs:enumeration value="37"/>
			<xs:enumeration value="38"/>
			<xs:enumeration value="39"/>
			<xs:enumeration value="40"/>
			<xs:enumeration value="41"/>
			<xs:enumeration value="42"/>
			<xs:enumeration value="43"/>
			<xs:enumeration value="44"/>
			<xs:enumeration value="45"/>
			<xs:enumeration value="46"/>
			<xs:enumeration value="47"/>
			<xs:enumeration value="48"/>
			<xs:enumeration value="49"/>
			<xs:enumeration value="50"/>
			<xs:enumeration value="51"/>
			<xs:enumeration value="52"/>
			<xs:enumeration value="53"/>
			<xs:enumeration value="55"/>
			<xs:enumeration value="56"/>
			<xs:enumeration value="57"/>
			<xs:enumeration value="58"/>
			<xs:enumeration value="59"/>
			<xs:enumeration value="60"/>
			<xs:enumeration value="61"/>
			<xs:enumeration value="62"/>
			<xs:enumeration value="63"/>
			<xs:enumeration value="64"/>
			<xs:enumeration value="65"/>
			<xs:enumeration value="66"/>
			<xs:enumeration value="67"/>
			<xs:enumeration value="68"/>
			<xs:enumeration value="69"/>
			<xs:enumeration value="70"/>
			<xs:enumeration value="71"/>
			<xs:enumeration value="72"/>
			<xs:enumeration value="73"/>
			<xs:enumeration value="74"/>
			<xs:enumeration value="75"/>
			<xs:enumeration value="76"/>
			<xs:enumeration value="77"/>
			<xs:enumeration value="78"/>
			<xs:enumeration value="79"/>
			<xs:enumeration value="80"/>
			<xs:enumeration value="81"/>
			<xs:enumeration value="97"/>
			<xs:enumeration value="98"/>
			<xs:enumeration value="99"/>
			<xs:enumeration value="100"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FeeAmountType">
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OfficialNumberType">
		<xs:restriction base="xs:positiveInteger">
			<xs:minInclusive value="100"/>
			<xs:maxInclusive value="99999"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CropIdentityNoType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{4}/[0-9]{3,5}/[0-9]{1,3}/[1-9]"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CropResultType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Y"/>
			<xs:enumeration value="N"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RetestType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Y"/>
			<xs:enumeration value="N"/>
			<xs:enumeration value=""/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="WeightType">
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="3"/>
			<xs:minInclusive value="0.000"/>
			<xs:maxInclusive value="9999.999"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TestingStationType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{1,3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ProgramIDType">
		<xs:restriction base="xs:positiveInteger">
			<xs:minInclusive value="1"/>
			<xs:maxInclusive value="999999"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SLRNType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[0-9]{4}/[A-Za-z0-9]{2}/[0-9]{3,5}/[0-9]{1,4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ForeignResultType">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0"/>
			<xs:maxInclusive value="500"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ActionType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="New"/>
			<xs:enumeration value="Amend"/>
			<xs:enumeration value="Delete"/>
			<xs:enumeration value="Sent"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SLRNFreeFormatType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="40"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SpeciesNameType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="WHEAT"/>
			<xs:enumeration value="DURUM WHEAT"/>
			<xs:enumeration value="BARLEY"/>
			<xs:enumeration value="OAT"/>
			<xs:enumeration value="ITALIAN RYEGRASS (INC. WESTERWOLD RYEGRASS)"/>
			<xs:enumeration value="PERENNIAL RYEGRASS"/>
			<xs:enumeration value="HYBRID RYEGRASS"/>
			<xs:enumeration value="LUCERNE"/>
			<xs:enumeration value="TIMOTHY"/>
			<xs:enumeration value="COCKSFOOT"/>
			<xs:enumeration value="MEADOW FESCUE"/>
			<xs:enumeration value="TALL FESCUE"/>
			<xs:enumeration value="FIELD BEAN"/>
			<xs:enumeration value="SWEDE RAPE (INC. OILSEED RAPE)"/>
			<xs:enumeration value="RED/CHEWINGS FESCUE"/>
			<xs:enumeration value="SWEDE"/>
			<xs:enumeration value="FODDER KALE"/>
			<xs:enumeration value="RED CLOVER"/>
			<xs:enumeration value="WHITE CLOVER"/>
			<xs:enumeration value="BROWN TOP"/>
			<xs:enumeration value="RYE"/>
			<xs:enumeration value="FODDER RADISH"/>
			<xs:enumeration value="SUGAR BEET"/>
			<xs:enumeration value="BROWN MUSTARD"/>
			<xs:enumeration value="BLACK MUSTARD"/>
			<xs:enumeration value="WHITE MUSTARD"/>
			<xs:enumeration value="ALSIKE CLOVER"/>
			<xs:enumeration value="MAIZE"/>
			<xs:enumeration value="TURNIP"/>
			<xs:enumeration value="SOYA BEAN"/>
			<xs:enumeration value="SHEEPS FESCUE"/>
			<xs:enumeration value="CREEPING BENT"/>
			<xs:enumeration value="S.STALKED MEADOWGRS"/>
			<xs:enumeration value="BIRDSFOOT TREFOIL"/>
			<xs:enumeration value="SAINFOIN"/>
			<xs:enumeration value="TALL OATGRASS"/>
			<xs:enumeration value="LINSEED/FLAX"/>
			<xs:enumeration value="VELVET BENT"/>
			<xs:enumeration value="WHITE LUPIN"/>
			<xs:enumeration value="R.STALKED MEADOWGRS"/>
			<xs:enumeration value="RED TOP"/>
			<xs:enumeration value="COMMON VETCH"/>
			<xs:enumeration value="FIELD PEA"/>
			<xs:enumeration value="SUNFLOWER"/>
			<xs:enumeration value="BLACK MEDICK"/>
			<xs:enumeration value="TURNIP RAPE"/>
			<xs:enumeration value="TRITICALE"/>
			<xs:enumeration value="FESTULOLIUM"/>
			<xs:enumeration value="BLUE LUPIN"/>
			<xs:enumeration value="YELLOW LUPIN"/>
			<xs:enumeration value="SPELT WHEAT"/>
			<xs:enumeration value="WOOD MEADOWGRASS"/>
			<xs:enumeration value="ANNUAL MEADOWGRASS"/>
			<xs:enumeration value="HUNGARIAN VETCH"/>
			<xs:enumeration value="HAIRY VETCH"/>
			<xs:enumeration value="FODDER BEET"/>
			<xs:enumeration value="RESCUE GRASS"/>
			<xs:enumeration value="ALASKA BROME GRASS"/>
			<xs:enumeration value="HEMP"/>
			<xs:enumeration value="HARD FESCUE"/>
			<xs:enumeration value="FINE LEAVED SHEEPS FESCUE"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NIABKindCodeType">
		<xs:annotation>
			<xs:documentation>Pattern to define the NIAB Kind Code</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="[A-Z]{2,3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TriStateType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Y"/>
			<xs:enumeration value="N"/>
			<xs:enumeration value="NA"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- ==================== -->
	<!-- Common Complex Types -->
	<!-- ==================== -->
	<!-- start of ApplicantStructure type definition -->
	<xs:complexType name="ApplicantStructure">
		<xs:annotation>
			<xs:documentation>Structure containing standard Applicant data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ApplicationID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApplicantOfficialNumber" type="SeedCerts:OfficialNumberType"/>
			<xs:element name="ApplicantFamilyName" type="gt:CitizenNameSurnameType" minOccurs="0"/>
			<xs:element name="ApplicantForename" type="gt:CitizenNameForenameType" minOccurs="0"/>
			<xs:element name="ApplicantTitle" type="gt:CitizenNameTitleType" minOccurs="0"/>
			<xs:element name="ApplicantTelephoneNo" type="gt:TelephoneNumberType" minOccurs="0"/>
			<xs:element name="ApplicantMobileNo" type="gt:TelephoneNumberType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<!-- end of ApplicantStructure type definition -->
	<!-- start of GrowerStructure type definition -->
	<xs:complexType name="GrowerStructure">
		<xs:annotation>
			<xs:documentation>Structure containing standard Grower data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ApplicationID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApplicationLineID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrowerFamilyName" type="gt:CitizenNameSurnameType">
				<xs:annotation>
					<xs:documentation>Grower surname</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrowerForename" type="gt:CitizenNameForenameType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Grower forename</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrowerTitle" type="gt:CitizenNameTitleType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Grower title</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TradingAs" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Grower trading name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrowerTelephoneNo" type="gt:TelephoneNumberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Grower telephone number</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GrowerMobileNo" type="gt:TelephoneNumberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Grower mobile number</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- end of GrowerStructure type definition -->
	<!-- start of AddressStructure type definition -->
	<xs:complexType name="AddressStructure">
		<xs:annotation>
			<xs:documentation>Structure containing standard Address data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ApplicationID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApplicationLineID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Name" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Applicant name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressLine1" type="gt:AddressLineType">
				<xs:annotation>
					<xs:documentation>Address line 1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressLine2" type="gt:AddressLineType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Address line 2</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressLine3" type="gt:AddressLineType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Address line 3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressLine4" type="gt:AddressLineType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Address line 4</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressLine5" type="gt:AddressLineType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Address line 5</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Town" type="gt:AddressTownType">
				<xs:annotation>
					<xs:documentation>Town</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostCode" type="gt:AddressPostCodeUKtype" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Post code</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CountyID" type="SeedCerts:CountyIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="County" type="SeedCerts:CountyType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>County</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CountryID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Country" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Country</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- end of AddressStructure type definition -->
	<!-- start of VarietyStructure type definition -->
	<xs:complexType name="VarietyStructure">
		<xs:annotation>
			<xs:documentation>Structure containing standard variety data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ApplicationID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BulkID" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApplicationLineID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NIABKindCode" type="SeedCerts:NIABKindCodeType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SpeciesName" type="SeedCerts:SpeciesNameType">
				<xs:annotation>
					<xs:documentation>Species name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VarietyName" type="SeedCerts:LongStringType">
				<xs:annotation>
					<xs:documentation>Variety name</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Hybrid" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- end of VarietyStructure type definition -->
	<!-- start of CropUsageOtherStructure type definition -->
	<xs:complexType name="CropUsageOtherStructure">
		<xs:annotation>
			<xs:documentation>Structure containing standard Other Crop Usage data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Description" type="SeedCerts:ExtraLongStringType"/>
			<!-- NB The format of date is CCYY-MM-DD -->
		</xs:sequence>
	</xs:complexType>
	<!-- end of CropUsageOtherStructure type definition -->
	<!-- start of SeedLotStructure type definition -->
	<xs:complexType name="SeedLotStructure">
		<xs:annotation>
			<xs:documentation>Structure containing Seed Lot details</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ApplicationID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SLRN" type="SeedCerts:SLRNType" minOccurs="0"/>
			<!-- This should contain a pattern for a correct Reference Number -->
		</xs:sequence>
	</xs:complexType>
	<!-- end of SeedLotStructure type definition -->
	<!-- start of PreviousUsageStructure type definition -->
	<xs:complexType name="PreviousUsageStructure">
		<xs:annotation>
			<xs:documentation>Structure containing PreviousUsageStructure details</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ApplicationID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ApplicationLineID" type="SeedCerts:ProgramIDType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreviousCropYear" type="SeedCerts:YearType">
				<xs:annotation>
					<xs:documentation>Year</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="COSACCode" type="SeedCerts:COSACCodeType">
				<xs:annotation>
					<xs:documentation>COSAC Code</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FreeText" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Multiple cropping description</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- end of PreviousUsageStructure type definition -->
	<xs:simpleType name="CategoryType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1H"/>
			<xs:enumeration value="1L"/>
			<xs:enumeration value="2H"/>
			<xs:enumeration value="2L"/>
			<xs:enumeration value="BH"/>
			<xs:enumeration value="BL"/>
			<xs:enumeration value="BR"/>
			<xs:enumeration value="BS"/>
			<xs:enumeration value="PB"/>
			<xs:enumeration value="CS"/>
			<xs:enumeration value="C1"/>
			<xs:enumeration value="C2"/>
			<xs:enumeration value="C3"/>
			<xs:enumeration value="CH"/>
			<xs:enumeration value="CL"/>
			<xs:enumeration value="CM"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LicenceCategoryType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="A"/>
			<xs:enumeration value="K"/>
			<xs:enumeration value="L"/>
			<xs:enumeration value="F"/>
			<xs:enumeration value="J"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LicenceCategoryStatusType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="D"/>
			<xs:enumeration value="X"/>
			<xs:enumeration value="R"/>
			<xs:enumeration value="F"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LevelType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="COSACCodeType">
		<xs:annotation>
			<xs:documentation>COSACS Codes - Descriptions</xs:documentation>
			<xs:documentation>SV - Same species and same variety as crop entered</xs:documentation>
			<xs:documentation>DV - Same species but different variety to crop entered</xs:documentation>
			<xs:documentation>SS - Same species as crop entered</xs:documentation>
			<xs:documentation>OR - Other ryegrass species</xs:documentation>
			<xs:documentation>OG - Other grass species</xs:documentation>
			<xs:documentation>SC - Seed bearing crucifer</xs:documentation>
			<xs:documentation>AC - Any crucifer</xs:documentation>
			<xs:documentation>BT - Beet (Fodder, Sugar)</xs:documentation>
			<xs:documentation>LU - Lupin</xs:documentation>
			<xs:documentation>AO - Any other crop, set aside/fallow etc</xs:documentation>
			<xs:documentation>MC - Multiple cropping - specify</xs:documentation>
			<xs:documentation>Species applicable to COSACS Codes</xs:documentation>
			<xs:documentation>SV - Cereal, Ryegrass (inc Festulolium), Cocksfoot, Meadow Fescue, Tall Fescue, Herbage Legume, Red Fescue, Timothy, Other Grasses</xs:documentation>
			<xs:documentation>DV - Cereal, Ryegrass (inc Festulolium), Cocksfoot, Meadow Fescue, Tall Fescue, Herbage Legume, Red Fescue, Timothy, Other Grasses</xs:documentation>
			<xs:documentation>SS - Field Pea or Field Bean, Flax/Linseed, Soya Bean, Hemp</xs:documentation>
			<xs:documentation>OR - Ryegrass (inc Festulolium), Cocksfoot, Meadow Fescue, Tall Fescue</xs:documentation>
			<xs:documentation>OG - Ryegrass (inc Festulolium)</xs:documentation>
			<xs:documentation>SC - Crucifer, Turnip (Veg) and Oilseed Rape except hybrids</xs:documentation>
			<xs:documentation>AC - Hybrid Oilseed Rape</xs:documentation>
			<xs:documentation>BT - Beet</xs:documentation>
			<xs:documentation>LU - Lupin</xs:documentation>
			<xs:documentation>AO - Cereal, Field Pea or Field Bean, Ryegrass (inc Festulolium), Cocksfoot, Meadow Fescue, Tall Fescue, Herbage Legume, Red Fescue, Timothy, Other Grasses, Crucifer, Turnip (Veg) and Oilseed Rape except hybrids, Hybrid Oilseed Rape, Flax/Linseed, Soya Bean, Beet, Lupin, Hemp</xs:documentation>
			<xs:documentation>MC - Cereal, Field Pea or Field Bean, Ryegrass (inc Festulolium), Cocksfoot, Meadow Fescue, Tall Fescue, Herbage Legume, Red Fescue, Timothy, Other Grasses, Crucifer, Turnip (Veg) and Oilseed Rape except hybrids, Hybrid Oilseed Rape, Flax/Linseed, Soya Bean, Beet, Lupin, Hemp</xs:documentation>
			<xs:documentation>Number of years required for each species</xs:documentation>
			<xs:documentation>Cereal - 1</xs:documentation>
			<xs:documentation>Field Pea or Field Bean - 1</xs:documentation>
			<xs:documentation>Ryegrass (inc Festulolium) - 4</xs:documentation>
			<xs:documentation>Cocksfoot, Meadow Fescue, Tall Fescue - 4</xs:documentation>
			<xs:documentation>Herbage Legume, Red Fescue, Timothy, Other Grasses - 4</xs:documentation>
			<xs:documentation>Crucifer, Turnip (Veg) and Oilseed Rape except hybrids - 2</xs:documentation>
			<xs:documentation>Hybrid Oilseed Rape - 5</xs:documentation>
			<xs:documentation>Flax/Linseed - 2</xs:documentation>
			<xs:documentation>Soya Bean - 1</xs:documentation>
			<xs:documentation>Beet - 2</xs:documentation>
			<xs:documentation>Lupin - 1</xs:documentation>
			<xs:documentation>Hemp - 2</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="SV"/>
			<xs:enumeration value="DV"/>
			<xs:enumeration value="SS"/>
			<xs:enumeration value="OR"/>
			<xs:enumeration value="OG"/>
			<xs:enumeration value="SC"/>
			<xs:enumeration value="AC"/>
			<xs:enumeration value="BT"/>
			<xs:enumeration value="LU"/>
			<xs:enumeration value="AO"/>
			<xs:enumeration value="MC"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NonNLVarietyStatusCode">
		<xs:restriction base="xs:string">
			<xs:enumeration value="C"/>
			<xs:enumeration value="K"/>
			<xs:enumeration value="L"/>
			<xs:enumeration value="N"/>
			<xs:enumeration value="O"/>
			<xs:enumeration value="P"/>
			<xs:enumeration value="X"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="PaymentDetailsStructure">
		<xs:annotation>
			<xs:documentation>Structure containing details of payments made for forms submissions, includes Defra and Gateway generated IDs, but no credit card details</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="UserTxnReference">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications. Holds payment reference generated by ESP system to identify payment</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="gt:SafeStringType">
						<xs:maxLength value="32"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PaymentReference">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications. Holds Authorisation Reference returned by Payment Engine for successful Payment Request</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="gt:SafeStringType">
						<xs:maxLength value="32"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="BankReference">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications. Holds Bank Reference returned from DataCash by Payment Engine for successful Payment Request</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="gt:SafeStringType">
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PaymentAmount" type="SeedCerts:FeeAmountType">
				<xs:annotation>
					<xs:documentation>For internal use only - should not be populated by external applications</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GridRefStructure">
		<xs:annotation>
			<xs:documentation>Structure containing Northing (X coord) and Easting (Y coord) co-oridinates.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Xcoord">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[0-9]{7}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Ycoord">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[0-9]{7}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
