<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://dd.eionet.europa.eu/namespace.jsp?ns_id=606" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dd3="http://dd.eionet.europa.eu/namespace.jsp?ns_id=3" xmlns:dd2="http://dd.eionet.europa.eu/namespace.jsp?ns_id=2" xmlns:ddnull="http://dd.eionet.europa.eu/namespace.jsp?ns_id=null" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="BWID">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:Methodology><![CDATA[This is a required, not null field.
Must be unique (see separate guidance: "Background document on coding and specifications for reporting geographical data under BWD").
Must start with two letter code of country.
Use UTF-8 codelist.
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>
			<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:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd2:Name><![CDATA[BathingWaterID]]></dd2:Name>
			<dd2:Definition><![CDATA[Unique identification code of bathing water.]]></dd2:Definition>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
			<dd3:Owner><![CDATA[4037322]]></dd3:Owner>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:minLength value="3"/>
			<xs:maxLength value="24"/>
		</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="StartDate">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Name><![CDATA[StartDate]]></dd2:Name>
			<dd2:Definition><![CDATA[Start date of the bathing season.]]></dd2:Definition>
			<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:Methodology><![CDATA[This is a required, not null field.
Format: YYYY-MM-DD (year-month -day); YYYY must be the same as attribute "Year_BW"
Must be < EndDate]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<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="EndDate">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Name><![CDATA[EndDate]]></dd2:Name>
			<dd2:Definition><![CDATA[End date of the bathing season.]]></dd2:Definition>
			<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:Methodology><![CDATA[This is a required, not null field.
Format: YYYY-MM-DD (year-month -day); YYYY must be the same as attribute "Year_BW"
Must be > StartDate]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<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="Class">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Name><![CDATA[Class]]></dd2:Name>
			<dd2:Definition><![CDATA[Classification of bathing water according Annex II of the Directive or during “transition period”.]]></dd2:Definition>
			<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:Methodology><![CDATA[This is a required, not null field.]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:integer">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="10"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="5"/>
			<xs:enumeration value="6"/>
			<xs:enumeration value="7"/>
			<xs:enumeration value="8"/>
			<xs:enumeration value="9"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>
<xs:element name="ManMeas">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Name><![CDATA[ManMeas]]></dd2:Name>
			<dd2:Definition><![CDATA[Description of significant management measures taken.
BW profile including description (physical, geographical and hydrological description of bathing water).
Information to public:
Media and technologies, including the Internet, and easy accessible place in the near vicinity of bathing water for disseminating actively and promptly the information to public. These include radio, television, newspapers, magazines, press conferences, press releases, workshops, public awareness campaigns, information points, panels, signs, boards, posters set up in bathing areas, leaflets distributed in bathing areas, registers held by the competent authorities, website (including interactive maps), national reports, other publications, articles etc. 
Causes of pollution:  
Identifying and assessing causes of different types of pollution. There are several types of pollution according to Directive 2006/7/EC: abnormal situations, short term pollution, proliferation of cyanobacteria, proliferation of macro-algae and/or phytoplankton, bathing waters of poor quality (non-compliance during “transition period”). These causes are weather conditions (e.g. storms, droughts), floods (abnormal situations) or accidental discharges, dumping of waste, sewage overflows, etc.
Definition text continues in the Methodology column on the right.]]></dd2:Definition>
			<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:Methodology><![CDATA[This is a required, not null field.
Value = "na" when no management measures have been taken.
Use UTF-8 codelist.
The list of management measures is given in the Art. 2 of Directive 2006/7/EC.
BW profile has to be established till 24.3.2011 (Art. 6 of Directive 2006/7/EC). For group of BWs, a bathing waters profile has to be established as soon as possible.   
Information to public (Art.12 of Directive 2006/7/EC). 
Description of measures can be also given separately in a Word document. The name of file “Annex to ManMeas” is recommended. If necessary, provide a list of bathing waters in the document.
======================
Definition column - continuation:
Actions:
Action to prevent bathers' exposure to pollution and to reduce the risk of different types of pollution. These include information to public on media, information to bathers’ on site (info tables, flags…), preventing access, cleaning, observing and additional monitoring, etc.
Also other remarks can be entered into this field.
]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="5000"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>
<xs:element name="Changes">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Name><![CDATA[Changes]]></dd2:Name>
			<dd2:Definition><![CDATA[Changes that affect classification of bathing water.
A bathing water quality assessment may be carried out on the basis of a set of bathing water quality data fewer than four bathing seasons if any changes have occurred that are likely to affect the classification of the bathing water in accordance with Article 5, in which case the assessment shall be carried out on the basis of a set of bathing water quality data consisting solely of the results for samples collected since the changes occurred.]]></dd2:Definition>
			<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:Methodology><![CDATA[This is a required, not null field.]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:enumeration value="N"/>
			<xs:enumeration value="Y"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>
<xs:element name="NuSeasons">
	<xs:annotation>
		<xs:documentation xml:lang="en">
			<dd2:Name><![CDATA[NuSeasons]]></dd2:Name>
			<dd2:Definition><![CDATA[Number of seasons on the basis of which assessment is made.]]></dd2:Definition>
			<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:Methodology><![CDATA[This is a required, not null field.
Use UTF-8 codelist.]]></dd3:Methodology>
			<dd3:PublicOrInternal><![CDATA[undefined]]></dd3:PublicOrInternal>
			<dd3:EEAissue><![CDATA[Water]]></dd3:EEAissue>
			<dd3:obligation><![CDATA[4031732]]></dd3:obligation>
			<dd3:Responsible><![CDATA[4035025]]></dd3:Responsible>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
		</xs:restriction>
	</xs:simpleType>
</xs:element>

</xs:schema>