<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://dd.eionet.europa.eu/namespace.jsp?ns_id=827" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dd861="http://dd.eionet.europa.eu/namespace.jsp?ns_id=861" xmlns:dd2="http://dd.eionet.europa.eu/namespace.jsp?ns_id=2" xmlns:dd3="http://dd.eionet.europa.eu/namespace.jsp?ns_id=3" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://dd.eionet.europa.eu/namespace.jsp?ns_id=861" schemaLocation="http://dd.eionet.europa.eu/GetContainerSchema?id=TBL9734"/>
	<xs:element name="WaterReturns">
		<xs:annotation>
			<xs:documentation xml:lang="en">
				<dd2:Name><![CDATA[Water Returns]]></dd2:Name>
				<dd2:Definition><![CDATA[The data in the WaterReturns table provides an overview of the volume of water returns on the spatial unit (SU, RBD or country), disaggregated in treated and non-treated effluents and leakage losses.]]></dd2:Definition>
				<dd3:ShortDescription><![CDATA[Water returns in the spatial unit]]></dd3:ShortDescription>
				<dd3:Methodology><![CDATA[The preferred spatial resolution is sub-unit (SU) or river basin district (RBD). Reporting at country level is possible, if higher resolution data is not available, or if the spatial coverage of the higher resolution data is incomplete (e.g. missing data for a given parameter in some RBDs).

The preferred temporal resolution is monthly. Reporting quarterly or annual data is possible, if monthly data is not avaliable (e.g. no monthtly data for a given parameter or a given RBD).

Avaliable data should nevertheless be reported at the highest possible spatial and temporal resolutions.

Volume values must be reported in million cubic metre.

Each record in this table must have a unique combination of the values in the fields "spatialUnitIdentifier", "spatialUnitIdentifierScheme", "observedProperty" and "phenomenonTimePeriod".
]]></dd3:Methodology>
				<dd2:Keyword><![CDATA[Water]]></dd2:Keyword>
				<dd2:Keyword><![CDATA[water quantity]]></dd2:Keyword>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Row" minOccurs="1" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="dd861:spatialUnitIdentifier" minOccurs="1" maxOccurs="1"/>
							<xs:element ref="dd861:spatialUnitIdentifierScheme" minOccurs="1" maxOccurs="1"/>
							<xs:element ref="dd861:observedProperty" minOccurs="1" maxOccurs="1"/>
							<xs:element ref="dd861:phenomenonTimePeriod" minOccurs="1" maxOccurs="1"/>
							<xs:element ref="dd861:resultObservedVolume" minOccurs="1" maxOccurs="1"/>
							<xs:element ref="dd861:resultObservationStatus" minOccurs="0" maxOccurs="1"/>
							<xs:element ref="dd861:Remarks" minOccurs="0" maxOccurs="1"/>
						</xs:sequence>
						<xs:attribute name="status" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
		<xs:key name="PK_Row_ID">
			<xs:selector xpath=".//Row" />
			<xs:field xpath="dd861:spatialUnitIdentifier" />
			<xs:field xpath="dd861:spatialUnitIdentifierScheme" />
			<xs:field xpath="dd861:observedProperty" />
			<xs:field xpath="dd861:phenomenonTimePeriod" />
		</xs:key>
	</xs:element>
</xs:schema>