<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://lpis.jrc.ec.europa.eu/registry/cbm/1.0.0" xmlns:cap="http://lpis.jrc.ec.europa.eu/registry/cbm/1.0.0" xmlns="http://lpis.jrc.ec.europa.eu/registry/cbm/1.0.0" elementFormDefault="qualified">
	<!-- Used by most of the schemas -->
	<xs:simpleType name="CbmCodeEnum">
		<xs:restriction base="xs:string">
			<xs:enumeration value="AT"/>
			<xs:enumeration value="BE-FL"/>
			<xs:enumeration value="BE-WA"/>
			<xs:enumeration value="BG"/>
			<xs:enumeration value="CY"/>
			<xs:enumeration value="CZ"/>
			<xs:enumeration value="DE-BB"/>
			<xs:enumeration value="DE-BW"/>
			<xs:enumeration value="DE-BY"/>
			<xs:enumeration value="DE-HE"/>
			<xs:enumeration value="DE-MV"/>
			<xs:enumeration value="DE-NI"/>
			<xs:enumeration value="DE-NW"/>
			<xs:enumeration value="DE-RP"/>
			<xs:enumeration value="DE-SH"/>
			<xs:enumeration value="DE-SL"/>
			<xs:enumeration value="DE-SN"/>
			<xs:enumeration value="DE-ST"/>
			<xs:enumeration value="DE-TH"/>
			<xs:enumeration value="DK"/>
			<xs:enumeration value="EE"/>
			<xs:enumeration value="EL"/>
			<xs:enumeration value="ES"/>
			<xs:enumeration value="FI"/>
			<xs:enumeration value="FR"/>
			<xs:enumeration value="HR"/>
			<xs:enumeration value="HU"/>
			<xs:enumeration value="IE"/>
			<xs:enumeration value="IT"/>
			<xs:enumeration value="LT"/>
			<xs:enumeration value="LU"/>
			<xs:enumeration value="LV"/>
			<xs:enumeration value="MT"/>
			<xs:enumeration value="NL"/>
			<xs:enumeration value="PL"/>
			<xs:enumeration value="PT"/>
			<xs:enumeration value="RO"/>
			<xs:enumeration value="SE"/>
			<xs:enumeration value="SI"/>
			<xs:enumeration value="SK"/>
			<xs:enumeration value="UK-EN"/>
			<xs:enumeration value="UK-NI"/>
			<xs:enumeration value="UK-SC"/>
			<xs:enumeration value="UK-WA"/>
			<xs:enumeration value="TEST-CBM"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ReportingYearType">
		<xs:restriction base="xs:short">
			<xs:minInclusive value="2019"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CbmLotType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="G1"/>
			<xs:enumeration value="G2"/>
			<xs:enumeration value="T1"/>
			<xs:enumeration value="T2"/>
			<xs:enumeration value="T3"/>
			<xs:enumeration value="T4"/>
			<xs:enumeration value="T5"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:attributeGroup name="CbMReportIdentificationAttributeGroup">
		<xs:attribute name="cbm_code" type="cap:CbmCodeEnum" use="required"/>
		<xs:attribute name="reporting_year" type="cap:ReportingYearType" use="required"/>
		<xs:attribute name="cbm_lot" type="cap:CbmLotType" use="required"/>
	</xs:attributeGroup>
	<xs:attributeGroup name="OccurenceAttributeGroup">
		<xs:attribute name="occurence" type="xs:boolean" use="required"/>
	</xs:attributeGroup>
	<xs:complexType name="OccurenceType">
		<xs:attributeGroup ref="OccurenceAttributeGroup"/>
	</xs:complexType>
</xs:schema>
