<?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="CrestStageGageReading.xsd"/>
  <xsd:include schemaLocation="../shared/ReferenceListCodeType.xsd"/>
  <xsd:include schemaLocation="LocationSensor.xsd"/>

  <xsd:element name="CrestStageGageInspection">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>The inspection of a crest-stage gage which measures the high water mark for a water level in a stream.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="LocationSensor" type="LocationSensor"/>
        <xsd:element name="GageInspectedCode" type="ReferenceListCodeType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The code that indicates if reading of the crest-stage gage was done.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="IntakeHoleConditionCode" type="ReferenceListCodeType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The code indicating the condition of the crest-stage gage intake holes.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="VentHoleConditionCode" type="ReferenceListCodeType">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The code indicating the condition of the crest-stage gage vent holes.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element ref="CrestStageGageReading" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
