<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://water.usgs.gov/XML/AQ" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://water.usgs.gov/XML/AQ" elementFormDefault="qualified" version="1.0">
  <xsd:include schemaLocation="../shared/IEEE754UncertaintyFloatValue.xsd"/>

  <xsd:element name="MidSectionVelocityObservation">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>The measurement of a water velocity at one given point in the stream as performed as part of a discharge measurement.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="DepthMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The depth of the velocity observation as expressed in relationship to 1.00 as the total depth.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="NumberRevolutionsMeasure" type="xsd:nonNegativeInteger" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The number of revolutions of the current meter in the time given.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ObservationDurationMeasure" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The duration of the velocity measurement in seconds.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="NumberReadingsMeasure" type="xsd:nonNegativeInteger" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The number of digital readings for this observation.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="NumberSpikesMeasure" type="xsd:nonNegativeInteger" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The number of spikes for this observation.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AngleToFlowMeasure" type="IEEE754UncertaintyFloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The angle of the observtions to the streamflow.  The default units are in degrees.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SignalToNoiseRatioMeasure" type="IEEE754UncertaintyFloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The signal to noise ratio of the accostic doppler velocity meter for this observation.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="VelocityStandardErrorMeasure" type="IEEE754FloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The standard error of the stream velocity measured.  The default units are in feet per second.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="BoundryQualityIndexMeasure" type="xsd:nonNegativeInteger" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The quality index at the boundry for this observation.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="WaterTemperatureMeasure" type="IEEE754UncertaintyFloatValueType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The water temperature for this observation.  The default units are in degrees centigrade.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="VelocityMeasure" type="IEEE754UncertaintyFloatValueType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The stream velocity at this point in the stream.  The default units are in feet per second.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
