<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2009 (http://www.altova.com) by Jon Maidens (Atkins Danmark A/S) --><!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Yvonne Gordon-Walker (WRc plc) -->
<xs:schema xmlns="http://water.eionet.europa.eu/schemas/dir200060ec" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfd="http://water.eionet.europa.eu/schemas/dir200060ec/wfdcommon" targetNamespace="http://water.eionet.europa.eu/schemas/dir200060ec" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:import namespace="http://water.eionet.europa.eu/schemas/dir200060ec/wfdcommon" schemaLocation="WFDCommon_3p0.xsd"/>
    <xs:annotation>
        <xs:appinfo>
            <dc:Contributor/>
            <dc:Coverage/>
            <dc:Creator> WRc Full Circle for the DG Environment</dc:Creator>
            <dc:Date>2006-10-12</dc:Date>
            <dc:Description>This schema is used to define the surface water monitoring station reporting requirements for Article 8 - Monitoring requirements</dc:Description>
            <dc:Format/>
            <dc:Identifier>{http://www.wrcplc.co.uk/schemas/SWMS}v0.1</dc:Identifier>
            <dc:Language/>
            <dc:Publisher/>
            <dc:Relation/>
            <dc:Rights/>
            <dc:Source/>
            <dc:Subject/>
            <dc:Title>Article 8 Surface Water Monitoring Stations Reporting Schema</dc:Title>
            <dc:Type/>
            <dc:KeyWords/>
        </xs:appinfo>
        <xs:documentation>
			
	 ---------------------------------------------------------------------------------------------------------------------------------------------------
	      Amendments following article 8 testing
	      
	      15/11/2006			YGW

							PROGRAMME_CD	Removed from PROGRAMMES&gt;PROGRAMME
							SUB_CD			Added to PROGRAMMES&gt;PROGRAMME
							ASSOC_WBs		Added to PROGRAMMES&gt;PROGRAMME. May only be used if all QEs are 												measured at all associated waterbodies
							QUALITY_ELEMENTS made optional
							
							PROT_AREAS		added + area types
			
							SUBSITES			made optiona at the QUALITY ELEMENT LEVEL
							ASSOC_WBS		made optional at the QUALITY ELEMENT LEVEL	
			
							WB_LOCATION		made mandatory
							NO_SUBSITES		added to SURFACEWATERMONITORINGSTATIONS - mandatory
			
		</xs:documentation>
    </xs:annotation>
    <xs:element name="SURFACEWATERMONITORINGSTATIONS">
        <xs:annotation>
            <xs:documentation> Surface Water Monitoring Stations</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="C_CD" type="wfd:CountryCode">
                    <xs:annotation>
                        <xs:documentation>Unique 2 character code for the country</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="EURBDCode" type="wfd:FeatureUniqueEUCodeType">
                    <xs:annotation>
                        <xs:documentation>The unique EU code of the parent river basin district.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="NAME" type="wfd:String250Type">
                    <xs:annotation>
                        <xs:documentation>Name of  RBD</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="REPORTING_LEVEL" type="wfd:ReportingLevelCode">
                    <xs:annotation>
                        <xs:documentation>Reporting level - international RBD,  National part of international RBD, national RBD, regional part or sub-unit of RBD</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="REPORTING_LEVEL_DESCRIPTION" type="wfd:String2000Type" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>Short description of thr reporting level.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="METADATA" type="wfd:String2000Type" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>Hyperlink or reference to associateddocuments or file.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="URL" type="xs:anyURI" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>URL for integration of your own internet-based information</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="SURFACEWATERMONITORINGSTATION" maxOccurs="unbounded">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="EU_CD" type="wfd:FeatureUniqueEUCodeType">
                                <xs:annotation>
                                    <xs:documentation>Unique Code for the Monitoring Station at EU level</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="MS_CD" type="wfd:FeatureUniqueCodeType">
                                <xs:annotation>
                                    <xs:documentation>Unique Code for the Monitoring Station within the MS</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="LON" type="wfd:CoordinateType" nillable="true">
                                <xs:annotation>
                                    <xs:documentation>Longitude in ETRS89 of the monitoring station</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="LAT" type="wfd:CoordinateType" nillable="true">
                                <xs:annotation>
                                    <xs:documentation>Latitude in ETRS89 of the monitoring station</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="NAME" type="wfd:String250Type" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>Locally used name for the monitoring station</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="WB_LOCATION" type="wfd:FeatureUniqueEUCodeType">
                                <xs:annotation>
                                    <xs:documentation>Unique code at EU level as reported in Article 5 of the surface water body which the monitoring station is physically located on or near. </xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="SURVEIL" type="wfd:YesNoCode">
                                <xs:annotation>
                                    <xs:documentation>Station is used for surveillance monitoring. </xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="OPERAT" type="wfd:YesNoCode">
                                <xs:annotation>
                                    <xs:documentation>Station is used for operational monitoring</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="NO_SUBSITES" type="wfd:NumberNonNegativeIntegerType">
                                <xs:annotation>
                                    <xs:documentation>Number of subsites normally associated with this station.</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="INTERCAL_SITE" type="wfd:YesNoUnknownCode">
                                <xs:annotation>
                                    <xs:documentation>Station is part of the Intercalibration Network?</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="INTERCAL_SITE_CD" type="wfd:String250Type" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>Unique code for the station in the Intercalibration network</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="REFERENCE_SITE" type="wfd:YesNoUnknownCode">
                                <xs:annotation>
                                    <xs:documentation>Station is part of the national network of reference sites?</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="REFERENCE_SITE_CD" type="wfd:String250Type" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>Unique code for the station in the national reference network.</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="OTHER_NETWORKS" type="wfd:String2000Type" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>Brief description of any other networks that this station is a part of</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="ASSOC_DOC_REF" type="wfd:String2000Type" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>Hyperlink or reference to associated documentation on the station</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="URL" type="xs:anyURI" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>URL for integration of your own internet-based information</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="DRINK_WATER" type="wfd:YesNoUnknownCode">
                                <xs:annotation>
                                    <xs:documentation>Station or associated water bodies located in a drinking water abstraction area</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="PROGRAMMES">
                                <xs:annotation>
                                    <xs:documentation>Article 8 programmes  that this station is part of</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="PROGRAMME" maxOccurs="unbounded">
                                            <xs:complexType>
                                                <xs:sequence>
                                                    <xs:element name="SUB_CD" type="wfd:FeatureUniqueEUCodeType">
                                                        <xs:annotation>
                                                            <xs:documentation>EU code for programme that this site is part of.</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:element>
                                                    <xs:element name="ASSOC_WB" minOccurs="0">
                                                        <xs:annotation>
                                                            <xs:documentation>Waterbodies measured at this station</xs:documentation>
                                                        </xs:annotation>
                                                        <xs:complexType>
                                                            <xs:sequence>
                                                                <xs:element name="WB_CD" type="wfd:FeatureUniqueEUCodeType" maxOccurs="unbounded">
                                                                    <xs:annotation>
                                                                        <xs:documentation>Unique code of the surface water body at EU level as reported in Article 5.</xs:documentation>
                                                                    </xs:annotation>
                                                                </xs:element>
                                                            </xs:sequence>
                                                        </xs:complexType>
                                                    </xs:element>
                                                    <xs:element name="QUALITY_ELEMENTS" minOccurs="0">
                                                        <xs:complexType>
                                                            <xs:sequence>
                                                                <xs:element name="QUALITY_ELEMENT" maxOccurs="unbounded">
                                                                    <xs:complexType>
                                                                        <xs:sequence>
                                                                            <xs:element name="QE_CD" type="wfd:QECode">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Unique code for the Quality Element</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="SURVEIL" type="wfd:YesNoUnknownCode" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>This QE is monitored for surveillance purposes at this site. </xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="OPERAT" type="wfd:YesNoUnknownCode" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>This QE is monitored for operational purposes at this site.</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="SUBSITES" type="wfd:MonitoringSubsiteCode" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Subsite Type: Transect, Area , Multipoint or Not Applicable/None</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="FREQUENCY" type="wfd:NumberNonNegativeIntegerType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Frequency at which the QE is measured at this site if varies from general programme frequency</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="CYCLE" type="wfd:NumberNonNegativeIntegerType" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Monitoring cycle for this parameter if varies from general programme cycle. Use 0 to indicate  that the parameter is only measured once</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="CYCLE_DESCRIPTION" type="wfd:String2000Type" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>If the cycle is dependant on the results of monitoring please summarise here</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="REASON" type="wfd:String2000Type" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Reason for deviation in frequency or cycle from main programme if appropriate</xs:documentation>
                                                                                </xs:annotation>
                                                                            </xs:element>
                                                                            <xs:element name="ASSOC_WB" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Waterbodies at which this QE is measured</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                    <xs:sequence>
                                                                                        <xs:element name="WB_CD" type="wfd:FeatureUniqueEUCodeType" maxOccurs="unbounded">
                                                                                            <xs:annotation>
                                                                                                <xs:documentation>Unique code of the surface water body at EU level as reported in Article 5.</xs:documentation>
                                                                                            </xs:annotation>
                                                                                        </xs:element>
                                                                                    </xs:sequence>
                                                                                </xs:complexType>
                                                                            </xs:element>
                                                                            <xs:element name="PARAMETERS" minOccurs="0">
                                                                                <xs:annotation>
                                                                                    <xs:documentation>Parameters measured for this quality element at this station</xs:documentation>
                                                                                </xs:annotation>
                                                                                <xs:complexType>
                                                                                    <xs:sequence>
                                                                                        <xs:element name="PARAMETER" type="ParameterStructure" maxOccurs="unbounded"/>
                                                                                    </xs:sequence>
                                                                                </xs:complexType>
                                                                            </xs:element>
                                                                        </xs:sequence>
                                                                    </xs:complexType>
                                                                </xs:element>
                                                            </xs:sequence>
                                                        </xs:complexType>
                                                    </xs:element>
                                                </xs:sequence>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="INTER_NETWORKS" minOccurs="0">
                                <xs:annotation>
                                    <xs:documentation>International monitoring networks that this site is a part of, if any</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="INTER_NETWORK" maxOccurs="unbounded">
                                            <xs:complexType>
                                                <xs:sequence>
                                                    <xs:element name="NAME" type="wfd:MonitoringInternationalNetworkType">
                                                        <xs:annotation>
                                                            <xs:documentation>Name of the international network, e.g. EIONET</xs:documentation>
                                                        </xs:annotation>
                                                    </xs:element>
                                                    <xs:element name="SITE_CD" type="wfd:String250Type" minOccurs="0">
                                                        <xs:annotation>
                                                            <xs:documentation>Unique code for the station in this international network </xs:documentation>
                                                        </xs:annotation>
                                                    </xs:element>
                                                </xs:sequence>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="PROT_AREAS">
                                <xs:annotation>
                                    <xs:documentation>Type of protected area that the station or associated waterbodies is located in, if any. Required if Protected Area data not provided under Article 5.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="BATHING" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Bathing Directive 76/160/EEC </xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="BIRDS" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Birds Directive 79/409/EEC</xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="DRINKING" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Drinking Water Directive 80/778/EEC</xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="FISH" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Fish Waters Directive 78/659/EEC</xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="SHELLFISH" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Shellfish Waters Directive 79/923/EEC  </xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="HABITATS" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Habitats Directive 92/43/EEC</xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="NITRATES" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Nitrates Directive 91/676/EEC</xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="UWWT" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected under the Urban Waste Water Treatment Directive 91/271/EEC </xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                        <xs:element name="ABSTRACTION" type="wfd:YesNoUnknownCode" minOccurs="0">
                                            <xs:annotation>
                                                <xs:documentation>Station or associated water bodies located in an area protected the Directive concerning the quality required of surface water intended for the abstraction of drinking water 75/440/EEC</xs:documentation>
                                            </xs:annotation>
                                        </xs:element>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
            <xs:attribute name="CreationDate" type="xs:string" use="required"/>
            <xs:attribute name="Creator" type="xs:string" use="required"/>
            <xs:attribute name="Email" type="xs:string" use="optional"/>
            <xs:attribute name="Description" type="xs:string" use="optional"/>
            <xs:attribute name="GeneratedBy" type="xs:string" use="optional"/>
            <xs:attribute name="MD_ClassificationCode" type="wfd:DataConfidentialityClassificationCode" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="ParameterStructure">
        <xs:annotation>
            <xs:documentation>Structure to define parameters</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PARAMETER_CD" type="wfd:String250Type">
                <xs:annotation>
                    <xs:documentation>Name or code of the parameter</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MEASURED_AS" type="wfd:String250Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>How the parameter is measured</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FREQUENCY" type="wfd:NumberNonNegativeIntegerType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Frequency at which the parameter is measured</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CYCLE" type="wfd:NumberNonNegativeIntegerType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Monitoring cycle for this parameter. Use 0 to indicate  that the parameter is only measured once</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:schema>