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

  <xsd:include schemaLocation="CrossSectionStationReading.xsd"/>
  <xsd:include schemaLocation="../shared/DateTimeWithDatum.xsd"/>
  <xsd:include schemaLocation="../shared/IEEE754UncertaintyFloatValue.xsd"/>

  <xsd:complexType name="CrossSectionStationType" abstract="false">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>A station (vertical section) in the cross section survey where one or more water quality parameters are measured.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="StationDateTime" type="DateTimeWithDatum" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Definition>The date and time that the parameters were measured at this station.</Definition>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="DistanceFromInitialPointMeasure" type="IEEE754UncertaintyFloatValueType">
        <xsd:annotation>
          <xsd:documentation>
            <Definition>The distance of the station from the starting point of the cross-section. The default units are feet.</Definition>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="BottomDepthMeasure" type="IEEE754UncertaintyFloatValueType">
        <xsd:annotation>
          <xsd:documentation>
            <Definition>The depth to the stream bottom at this station. 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>Comment about the cross-section survey station.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      <xsd:element name="CrossSectionStationReading" type="CrossSectionStationReadingType" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>
