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

  <xsd:element name="DriftCheckPhReading">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>The calibration drift check reading of a water quality monitor sensor for pH, during a site visit.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="CalibrationCode" type="ReferenceListCodeType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The Code indicating whether the reading is for calibration or recalibration.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ReadingDateTime" type="DateTimeWithDatum">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date and time of the pH check or calibration reading.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="StandardMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The theoretical value of the standard solution, in units of the parameter.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="StandardCode" type="xsd:token" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The code identifying the type of the standard, KCl or NaCl.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="LotNumber" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The lot number of the standard solution.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ExpirationDate" type="xsd:date">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The expiration date of the standard solution.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="UsedForRecalibration" type="xsd:boolean">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>Was this this reading for the conductance standard that was used for recalibration?</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="TemperatureMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The temperature during the pH sensor check or calibration,in degrees celsius.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="PhMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The pH read during the pH sensor check or calibration, in standard units.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SlopeMeasure" type="IEEE754FloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The slope of the pH sensor read during the pH sensor check or calibration.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="VoltsMeasure" type="IEEE754FloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The voltage of the pH sensor read during the pH sensor check or calibration, in volts.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ErrorMeasure" type="IEEE754FloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The percent error between the pH buffer and the calibration reading.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
