<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="urn:defra.gov.uk:ESP:SeedCerts" xmlns:gt="http://www.govtalk.gov.uk/Schemas/govtalk/core"
	xmlns:SeedCerts="urn:defra.gov.uk:ESP:SeedCerts" xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified" attributeFormDefault="unqualified" version="7.0" id="DEFRA_SeedCert_Cert10">
	<xs:annotation>
		<xs:documentation>This schema is used for submitting Seed Cert forms through the Gateway to Defra and NIAB</xs:documentation>
		<xs:appinfo>Defra, Seed Certification, Cert10, NIAB</xs:appinfo>
	</xs:annotation>
	<xs:include schemaLocation="SC_Common.xsd" />
	<xs:element name="Cert10" type="SeedCerts:Cert10Type">
		<xs:annotation>
			<xs:documentation>Root element for SeedCerts Cert10</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="Cert10Type">
		<xs:sequence>
			<xs:element name="MessageCreationTimestamp" type="xs:dateTime" 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="Cert10Details" type="SeedCerts:Cert10Structure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing details for Cert10 applications</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Start of Cert10Structure type definition -->
	<xs:complexType name="Cert10Structure">
		<xs:annotation>
			<xs:documentation>Generic details relating to all Cert10 types</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Action" type="SeedCerts:ActionType" 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="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:annotation>
					<xs:documentation>Unique number assigned to applicant by Defra</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TestingStation" type="SeedCerts:TestingStationType">
				<xs:annotation>
					<xs:documentation>Seed test station number</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AFPNumber" type="SeedCerts:AFPNumberType" 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="PrimarySLRN" type="SeedCerts:SLRNType">
				<xs:annotation>
					<xs:documentation>Seed lot reference number</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SampleNumber" type="SeedCerts:LongStringType">
				<xs:annotation>
					<xs:documentation>Sample number</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Retest" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Denotes retest for seed lot</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PurityTestDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Date of purity test</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InertMatterText" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Inert matter description</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OtherSeedsText" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Other seeds description</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FinalReportDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Date of final report</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RemarksText" type="SeedCerts:LongStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Remarks</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CategoryLevel" type="SeedCerts:CategoryType">
				<xs:annotation>
					<xs:documentation>Category for seed lot</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SeedReceivedDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Date sample received</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreliminaryGerminationSatisfied" type="SeedCerts:TriStateType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Preliminary germination satisfactory</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreBasicBasicGerminationState" type="SeedCerts:PercentageType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Percentage for basic and pre-basic categories</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VarietyDetails" type="SeedCerts:VarietyStructure">
				<xs:annotation>
					<xs:documentation>Structure containing variety details</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:choice>
				<xs:element name="CerealSeed" type="SeedCerts:CerealSeedStructure">
					<xs:annotation>
						<xs:documentation>Structure containing cereal seed details</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="OilAndFibreSeed" type="SeedCerts:OilSeedStructure">
					<xs:annotation>
						<xs:documentation>Structure containing oilseed details</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="FodderSeed" type="SeedCerts:FodderSeedStructure">
					<xs:annotation>
						<xs:documentation>Structure containing fodder seed details</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="VegetableSeed" type="SeedCerts:VegetableSeedStructure">
					<xs:annotation>
						<xs:documentation>Structure containing vegetable seed details</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="BeetSeed" type="SeedCerts:BeetSeedStructure">
					<xs:annotation>
						<xs:documentation>Structure containing beet seed details</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<!-- End of Cert10Structure type definition -->
	<!-- Seed Structures -->
	<!-- Start of CerealSeedStructure definition -->
	<xs:complexType name="CerealSeedStructure">
		<xs:annotation>
			<xs:documentation>Details related to Cert 10 for cereal seed</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="PreTreatmentDormancy" type="SeedCerts:ShortStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Pre-treated for dormancy</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="STZSeedCount" type="SeedCerts:STZSeedCountType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>STZ seed count</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EmbryoCount" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Embryo count</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CerealResults" type="SeedCerts:CerealResultStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing cereal test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CerealForeignResults" type="SeedCerts:CerealForeignResultStructure" minOccurs="9"
				maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing foreign cereal test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CerealSchedule2Approvals" type="SeedCerts:Schedule2ApprovalsStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Indicates tests passed for defined category</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- End CerealSeedStructure Definition -->
	<!-- Start of OilAndFibreSeedStructure Definition -->
	<xs:complexType name="OilSeedStructure">
		<xs:annotation>
			<xs:documentation>Details related to Cert 10 for Oil and Fibre seed</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="InitialSampleSize" type="xs:integer">
				<xs:annotation>
					<xs:documentation>Initial sample size</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FurtherSampleSize" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Further sample size</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OilResults" type="SeedCerts:OilResultStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing oil seed test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OilForeignResults" type="SeedCerts:OilForeignResultStructure" minOccurs="0"
				maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing foreign oil seed test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="OilSchedule2Approvals" type="SeedCerts:Schedule2ApprovalsStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Indicates tests passed for defined category</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- End OilAndFibreSeedStructure Definition -->
	<!-- Start of FodderSeedResultStructuredefinition -->
	<xs:complexType name="FodderSeedStructure">
		<xs:annotation>
			<xs:documentation>Details related to Cert 10 for Fodder seed</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="InitialSampleSize" type="xs:integer">
				<xs:annotation>
					<xs:documentation>Initial sample size</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FurtherSampleSize" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Further sample size</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FodderResults" type="SeedCerts:FodderResultStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing fodder test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FodderForeignResults" type="SeedCerts:FodderForeignResultStructure" minOccurs="0"
				maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing foreign fodder test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FodderSchedule2Approvals" type="SeedCerts:Schedule2ApprovalsStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Indicates tests passed for defined category</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- End FodderSeedResultStructure Definition -->
	<!-- Start of VegetableSeedResultStructure Definition -->
	<xs:complexType name="VegetableSeedStructure">
		<xs:annotation>
			<xs:documentation>Details related to Cert 10 for vegetable seed</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="Disease" type="SeedCerts:ShortStringType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Description of disease</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DiseaseCount" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Number of seeds infected with disease</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DiseaseExamined" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Number of seeds examined</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VegetableResults" type="SeedCerts:VegetableResultStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing vegetable test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VegetableSchedule2Approvals" type="SeedCerts:Schedule2ApprovalsStructure"
				maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Indicates tests passed for defined category</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- End VegetableSeedResultStructure Definition -->
	<!-- Start of BeetSeedResultStructure Definition -->
	<xs:complexType name="BeetSeedStructure">
		<xs:annotation>
			<xs:documentation>Details related to Cert 10 for beet seed</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="BeetResults" type="SeedCerts:BeetResultStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Structure containing beet test results</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BeetSchedule2Approvals" type="SeedCerts:Schedule2ApprovalsStructure" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Indicates tests passed for defined category</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- End BeetSeedResultStructure Definition -->
	<!-- End Seed Structures -->
	<xs:complexType name="Schedule2ApprovalsStructure">
		<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="CategoryLevel" type="SeedCerts:CategoryType">
				<xs:annotation>
					<xs:documentation>Test category</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TestResult" type="SeedCerts:YesNoType">
				<xs:annotation>
					<xs:documentation>Test result</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Start ResultStructures -->
	<xs:complexType name="BeetResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for top row of boxes for Cert 10 Beet</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="TestCode" type="SeedCerts:BeetTestIDType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Result" type="SeedCerts:PercentageType">
				<xs:annotation>
					<xs:documentation>Test result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraceElements" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trace element indicator</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CerealResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for top row of boxes for Cert 10 Cereal</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="TestCode" type="SeedCerts:CerealTestIDType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Result" type="SeedCerts:PercentageType">
				<xs:annotation>
					<xs:documentation>Test result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraceElements" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trace element indicator</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="FodderResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for top row of boxes for Cert 10 Fodder</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="TestCode" type="SeedCerts:FodderTestIDType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Result" type="SeedCerts:PercentageType">
				<xs:annotation>
					<xs:documentation>Test result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraceElements" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trace element indicator</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OilResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for top row of boxes for Cert 10 Oil</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="TestCode" type="SeedCerts:OilTestIDType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Result" type="SeedCerts:PercentageType">
				<xs:annotation>
					<xs:documentation>Test result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraceElements" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trace element indicator</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VegetableResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for top row of boxes for Cert 10 Vegetable</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="TestCode" type="SeedCerts:VegetableTestIDType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Result" type="SeedCerts:PercentageType">
				<xs:annotation>
					<xs:documentation>Test result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TraceElements" type="SeedCerts:YesNoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trace element indicator</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Foreign Result Structures -->
	<xs:complexType name="FodderForeignResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for foreign fodder seed results</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="TestCode" type="SeedCerts:FodderForeignResultsType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InitialResult" type="SeedCerts:ForeignResultType">
				<xs:annotation>
					<xs:documentation>Initial sample result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FurtherResult" type="SeedCerts:ForeignResultType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Further sample result</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OilForeignResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for foreign oil seed results</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="TestCode" type="SeedCerts:OilForeignResultsType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InitialResult" type="SeedCerts:ForeignResultType">
				<xs:annotation>
					<xs:documentation>Initial sample result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FurtherResult" type="SeedCerts:ForeignResultType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Further sample result</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CerealForeignResultStructure">
		<xs:annotation>
			<xs:documentation>Structure to hold % details for foreign cereal results</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="TestCode" type="SeedCerts:CerealForeignResultsType">
				<xs:annotation>
					<xs:documentation>Code to indicate test type</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InitialResult" type="SeedCerts:ForeignResultType">
				<xs:annotation>
					<xs:documentation>Initial sample result</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FurtherResult" type="SeedCerts:ForeignResultType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Further sample result</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<!-- Foreign Result Structures -->
	<!-- End ResultStructures -->
	<!-- Start Test Types -->
	<!-- Foreign Result Types -->
	<xs:simpleType name="ForeignResultsType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1~Elytrigia_repens" />
			<xs:enumeration value="2~Agrostemma_githago" />
			<xs:enumeration value="3~Alopecurus_myosuroides" />
			<xs:enumeration value="4~Avena_fatua,_A._sterilis_(inc._A._ludoviciana)" />
			<xs:enumeration value="5~Bromus_sterilis" />
			<xs:enumeration value="6~Cuscuta_spp." />
			<xs:enumeration value="7~Lolium_remotum" />
			<xs:enumeration value="8~Lolium_temulentum" />
			<xs:enumeration value="9~Melilotus_spp" />
			<xs:enumeration value="10~Other_cultivated_cereals_spp" />
			<xs:enumeration value="11~Other_plant_species" />
			<xs:enumeration value="12~Raphanus_raphanistrum" />
			<xs:enumeration value="13~Rumex_spp._other_than_R._acetosella" />
			<xs:enumeration value="14~Rumex_spp._other_than_R._acetosella_and_R._maritimus" />
			<xs:enumeration value="15~Spp._Other_than_cultivated_cereals" />
			<xs:enumeration value="16~Ergot" />
			<xs:enumeration value="17~Sclerotia_of_Sclerotinia_sclerotiorium" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FodderForeignResultsType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1~Elytrigia_repens" />
			<xs:enumeration value="3~Alopecurus_myosuroides" />
			<xs:enumeration value="4~Avena_fatua,_A._sterilis_(inc._A._ludoviciana)" />
			<xs:enumeration value="6~Cuscuta_spp." />
			<xs:enumeration value="9~Melilotus_spp" />
			<xs:enumeration value="14~Rumex_spp._other_than_R._acetosella_and_R._maritimus" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OilForeignResultsType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="3~Alopecurus_myosuroides" />
			<xs:enumeration value="4~Avena_fatua,_A._sterilis_(inc._A._ludoviciana)" />
			<xs:enumeration value="6~Cuscuta_spp." />
			<xs:enumeration value="7~Lolium_remotum" />
			<xs:enumeration value="11~Other_plant_species" />
			<xs:enumeration value="12~Raphanus_raphanistrum" />
			<xs:enumeration value="13~Rumex_spp._other_than_R._acetosella" />
			<xs:enumeration value="17~Sclerotia_of_Sclerotinia_sclerotiorium" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CerealForeignResultsType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1~Elytrigia_repens" />
			<xs:enumeration value="2~Agrostemma_githago" />
			<xs:enumeration value="4~Avena_fatua,_A._sterilis_(inc._A._ludoviciana)" />
			<xs:enumeration value="5~Bromus_sterilis" />
			<xs:enumeration value="8~Lolium_temulentum" />
			<xs:enumeration value="10~Other_cultivated_cereals_spp" />
			<xs:enumeration value="12~Raphanus_raphanistrum" />
			<xs:enumeration value="15~Spp._Other_than_cultivated_cereals" />
			<xs:enumeration value="16~Ergot" />
		</xs:restriction>
	</xs:simpleType>
	<!-- End Foreign ResultStructures -->
	<!-- Test ResultStructures -->
	<xs:simpleType name="TestIDType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1~Elytrigia_repens" />
			<xs:enumeration value="2~Alopecurus_myosuroides" />
			<xs:enumeration value="3~Inert_Matter" />
			<xs:enumeration value="4~Melilotus_spp." />
			<xs:enumeration value="5~Moisture_by_LSTS" />
			<xs:enumeration value="6~Moisture_by_Sampler" />
			<xs:enumeration value="7~Other_seeds" />
			<xs:enumeration value="8~Pure_seed" />
			<xs:enumeration value="9~Raphanus_raphanistrum" />
			<xs:enumeration value="10~Sinapis_arvensis" />
			<xs:enumeration value="11~Solid_Additives" />
			<xs:enumeration value="12~Fresh_Seed" />
			<xs:enumeration value="13~Germinated_Clusters_with_One_Seedling" />
			<xs:enumeration value="14~Germinated_Clusters_with_Three_or_More_Seedlings" />
			<xs:enumeration value="15~Germinated_Clusters_with_Two_Seedlings" />
			<xs:enumeration value="16~Germination" />
			<xs:enumeration value="17~Hard_Seed" />
			<xs:enumeration value="18~Moisture_Content" />
			<xs:enumeration value="19~STZ" />
			<xs:enumeration value="20~Loose_smut_(in_examined_embryos)" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CerealTestIDType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="3~Inert_Matter" />
			<xs:enumeration value="5~Moisture_by_LSTS" />
			<xs:enumeration value="6~Moisture_by_Sampler" />
			<xs:enumeration value="7~Other_seeds" />
			<xs:enumeration value="8~Pure_seed" />
			<xs:enumeration value="11~Solid_Additives" />
			<xs:enumeration value="12~Fresh_Seed" />
			<xs:enumeration value="16~Germination" />
			<xs:enumeration value="19~STZ" />
			<xs:enumeration value="20~Loose_smut_(in_examined_embryos)" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="FodderTestIDType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1~Elytrigia_repens" />
			<xs:enumeration value="2~Alopecurus_myosuroides" />
			<xs:enumeration value="3~Inert_Matter" />
			<xs:enumeration value="4~Melilotus_spp." />
			<xs:enumeration value="7~Other_seeds" />
			<xs:enumeration value="8~Pure_seed" />
			<xs:enumeration value="9~Raphanus_raphanistrum" />
			<xs:enumeration value="10~Sinapis_arvensis" />
			<xs:enumeration value="11~Solid_Additives" />
			<xs:enumeration value="12~Fresh_Seed" />
			<xs:enumeration value="16~Germination" />
			<xs:enumeration value="17~Hard_Seed" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="OilTestIDType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="3~Inert_Matter" />
			<xs:enumeration value="7~Other_seeds" />
			<xs:enumeration value="8~Pure_seed" />
			<xs:enumeration value="11~Solid_Additives" />
			<xs:enumeration value="12~Fresh_Seed" />
			<xs:enumeration value="16~Germination" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="BeetTestIDType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="3~Inert_Matter" />
			<xs:enumeration value="7~Other_seeds" />
			<xs:enumeration value="8~Pure_seed" />
			<xs:enumeration value="11~Solid_Additives" />
			<xs:enumeration value="12~Fresh_Seed" />
			<xs:enumeration value="13~Germinated_Clusters_with_One_Seedling" />
			<xs:enumeration value="14~Germinated_Clusters_with_Three_or_More_Seedlings" />
			<xs:enumeration value="15~Germinated_Clusters_with_Two_Seedlings" />
			<xs:enumeration value="16~Germination" />
			<xs:enumeration value="18~Moisture_Content" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="VegetableTestIDType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="3~Inert_Matter" />
			<xs:enumeration value="7~Other_seeds" />
			<xs:enumeration value="8~Pure_seed" />
			<xs:enumeration value="11~Solid_Additives" />
			<xs:enumeration value="12~Fresh_Seed" />
			<xs:enumeration value="16~Germination" />
		</xs:restriction>
	</xs:simpleType>
	<!-- End Test ResultStructures -->
	<xs:simpleType name="STZSeedCountType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="100" />
			<xs:enumeration value="200" />
			<xs:enumeration value="400" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
