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

  <xsd:element name="StreamZeroFlowInspection">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>The measurement of the gage height of zero flow for a streamflow control section.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="InspectionDateTime" type="DateTimeWithDatum" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date and time the gage height of zero flow was inspected.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="GageHeightZeroFlowMeasure" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The gage height of zero flow, which is the depth of water over the point of zero flow subtracted from the current gage height. The default units are feet.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="GageHeightZeroFlowAccuracy" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The accuracy of the measurement of the gage height of zero flow as assigned by the field person. The default units are in feet.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AccuracyMethodCode" type="ReferenceListCodeType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The method of determining the accuracy of the measurement of the gage height of zero flow.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="DepthWaterMeasure" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The depth of the water over the point of zero flow (PZF) as measured in the field. The default units are feet.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="StreamStageMeasure" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The stream stage when the gage height of zero flow determination was made. The default units are feet.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Comment" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>Comments about the measurement of the point of zero flow.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
