<?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.1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:cap="http://lpis.jrc.ec.europa.eu/registry/6.1.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:unique name="unique_zoneId">
			<xs:selector xpath=".//cap:ProprietaryZone"/>
			<xs:field xpath="cap:zoneId"/>
		</xs:unique>
	</xs:element>
	<xs:complexType name="FeatureCollectionType">
		<xs:complexContent>
			<xs:extension base="gml:AbstractFeatureCollectionType">
				<xs:attributeGroup ref="cap:EtsReportIdentificationAttributeGroup"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="ProprietaryZone" type="cap:ProprietaryZone_Type" substitutionGroup="gml:_Feature"/>
	<xs:complexType name="ProprietaryZone_Type">
		<xs:complexContent>
			<xs:extension base="gml:AbstractFeatureType">
				<xs:sequence>
					<xs:element name="geometryProperty" type="gml:GeometryPropertyType" nillable="false"/>
					<xs:element name="zoneId" nillable="false">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:pattern value="[A-Z][A-Z0-9_]{2,4}"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>
