<?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/6.2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:cap="http://lpis.jrc.ec.europa.eu/registry/6.2.0" elementFormDefault="qualified" version="1.0">
	<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
	<xs:include schemaLocation="LpisCommonTypes.xsd"/>
	<xs:element name="FeatureCollection" type="cap:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection">
	</xs:element>
	<xs:complexType name="FeatureCollectionType">
		<xs:complexContent>
			<xs:extension base="gml:AbstractFeatureCollectionType">
				<xs:attributeGroup ref="cap:EtsReportIdentificationAttributeGroup"/>				
				<xs:attribute name="lockId" type="xs:string" use="optional"/>
				<xs:attribute name="scope" type="xs:string" use="optional"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="ReferenceParcel" type="cap:ReferenceParcel_Type" substitutionGroup="gml:_Feature"/>
	<xs:complexType name="ReferenceParcel_Type">
		<xs:complexContent>
			<xs:extension base="gml:AbstractFeatureType">
				<xs:sequence>
					<xs:element name="geometryProperty" type="gml:GeometryPropertyType" nillable="false"/>
					<xs:element name="rpID" type="xs:string" nillable="false"/>
					<xs:element name="etsReferenceArea" type="xs:float" nillable="false"/>
					<xs:element name="arableLandArea" type="xs:float" nillable="false" default="0"/>
					<xs:element name="permanentCropArea" type="xs:float" nillable="false" default="0"/>
					<xs:element name="permanentGrasslandArea" type="xs:float" nillable="false" default="0"/>
					<xs:element name="etsReferenceAreaAvailability" type="xs:boolean" nillable="false"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>
