<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema  
            xmlns:nwis="http://water.usgs.gov/XML/NWIS/5.0" 
             
            xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
            elementFormDefault="qualified" version="5.0">

  <xsd:include schemaLocation="LocationSensor.xsd"/>
  <xsd:include schemaLocation="Sensor.xsd"/>
  <xsd:include schemaLocation="../shared/IEEE754UncertaintyFloatValue.xsd"/>

  <xsd:element name="DriftCheckWaterTemperature">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>The calibration drift check of a monitor sensor for an air or water temperature</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="Sensor" type="Sensor">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The specific sensor (temperature) installed on the water quality monitor being inspected.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
 	<xsd:element name="ReadingDateTime" type="DateTimeWithDatum">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date and time of the water temperature check or calibration reading.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="WaterTemperatureMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The reading of water temperature from a water quality monitor water temperature sensor during the check or calibration, in degrees celsius.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
	<xsd:element name="WaterTemperatureMeterMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The water temperature read, from the field meter, during the check or calibration, in degrees celsius.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
	<xsd:element name="FieldSensor" type="Sensor">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The water temperature field sensor that was used to calibrate the monitor sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
 	<xsd:element name="TwoPointCheckDate" type="xsd:date">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date when a two-point inspection was performed on the field temperature sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
 	<xsd:element name="FivePointCheckDate" type="xsd:date">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date when a five-point inspection was performed on the field temperature sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Comment" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>Comments regarding the water temperature sensor check or calibration.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
