<?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="Sensor.xsd"/>
  <xsd:include schemaLocation="../shared/DateTimeWithDatum.xsd"/>
  <xsd:include schemaLocation="../shared/IEEE754FloatValue.xsd"/>
  <xsd:include schemaLocation="../shared/ReferenceListCodeType.xsd"/>

  <xsd:element name="MonitorCheckReading">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>A reading taken from the specified monitor sensor where that reading is checked against the reading from a field meter sensor to verify the accuracy of the monitor sensor reading.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="CheckReadingCode" type="ReferenceListCodeType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The Code indicating whether the check reading is before cleaning, after cleaning, or after calibration.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ReadingDateTime" type="DateTimeWithDatum">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date and time of the sensor check reading.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SensorMeasure" type="IEEE754FloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The value of the sensor check reading.  The units are the units of the sensor, unless otherwise specified.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SensorMeasureRemarkCode" type="ReferenceListCodeType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The Code indicating a remark about the value of the sensor check reading.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="FieldSensor" type="Sensor" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The field meter sensor that was used to check the validity of the monitor sensor reading.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="FieldSensorMeasure" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The value of the field sensor reading performed to check the monitor sensor reading. The units are the units of the monitor sensor, unless otherwise specified.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
