<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://dd.eionet.europa.eu/namespace.jsp?ns_id=608" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dd3="http://dd.eionet.europa.eu/namespace.jsp?ns_id=3" xmlns:ddnull="http://dd.eionet.europa.eu/namespace.jsp?ns_id=null" xmlns:dd2="http://dd.eionet.europa.eu/namespace.jsp?ns_id=2" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="BWID">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd3:Responsible><![CDATA[4052211]]></dd3:Responsible>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:Methodology><![CDATA[This is a required, not null field.
The identifier must:
- Start with the ISO 3166-1 alpha-2 country code, except for Greece ('EL') and the United Kingdom ('UK');
- Be followed by the national code, with a maximum of 40 characters; 
- Use only uppercase letters [A to Z] and digits [0 to 9]. 
- The underscore character ('_') or the hyphen character ('-') may be used as separators within the code (but not to separate the country code from the national code, and not in the end of the code).

It should be the same identification code as supplied for the previous bathing seasons. If ID numbering has changed, the old identification code should be provided under column "ChangeReason". ]]></dd3:Methodology>
			<ddnull:languageUsed><![CDATA[No]]></ddnull:languageUsed>
			<dd2:Definition><![CDATA[Unique identification code of bathing water.]]></dd2:Definition>
			<dd2:Name><![CDATA[BathingWaterID]]></dd2:Name>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:minLength value="3"/>
			<xs:maxLength value="42"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>
<xs:element name="GroupID">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd3:Responsible><![CDATA[4052211]]></dd3:Responsible>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:Methodology><![CDATA[This is a required, not null field if bathing water is part of a group or if group of bathing water is reported.
Do not report a value, if the bathing water is not part of a group.

The identifier must:
- Start with the ISO 3166-1 alpha-2 country code, except for Greece ('EL') and the United Kingdom ('UK');
- Be followed by the national code, with a maximum of 40 characters; 
- Use only uppercase letters [A to Z] and digits [0 to 9]. 
- The underscore character ('_') or the hyphen character ('-') may be used as separators within the code (but not to separate the country code from the national code, and not in the end of the code).
]]></dd3:Methodology>
			<ddnull:languageUsed><![CDATA[No]]></ddnull:languageUsed>
			<dd2:Definition><![CDATA[ID of bathing water group.]]></dd2:Definition>
			<dd2:Name><![CDATA[GroupID]]></dd2:Name>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:minLength value="3"/>
			<xs:maxLength value="42"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>
<xs:element name="StartDateS">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Keyword><![CDATA[Lake]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[River]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[Sea]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[Water]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[water quality]]></dd2:Keyword>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd2:Name><![CDATA[StartDateSTP]]></dd2:Name>
			<dd2:Definition><![CDATA[Start date of short term pollution.]]></dd2:Definition>
			<dd3:Methodology><![CDATA[This is a required, not null field, in the case of short term pollution.
Format: YYYY-MM-DD (year-month -day); YYYY must be the same as attribute "Year_BW"
        <blank>  in case of no short term pollution
Must be < EndDateSTP.]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:date">
		</xs:restriction>
	</xs:simpleType>
</xs:element>
<xs:element name="EndDateS">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Keyword><![CDATA[Lake]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[River]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[Sea]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[Water]]></dd2:Keyword>
			<dd2:Keyword><![CDATA[water quality]]></dd2:Keyword>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd2:Name><![CDATA[EndDateSTP]]></dd2:Name>
			<dd2:Definition><![CDATA[End date of short term pollution.]]></dd2:Definition>
			<dd3:Methodology><![CDATA[This is a required, not null field, in the case of short term pollution.
Format: YYYY-MM-DD (year-month -day); YYYY must be the same as attribute "Year_BW"
        <blank>  in case of no short term pollution
Must be > StartDateSTP.]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:date">
		</xs:restriction>
	</xs:simpleType>
</xs:element>

</xs:schema>