<?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/DateTimeWithDatum.xsd"/>
	<xsd:include schemaLocation="../shared/IEEE754FloatValue.xsd"/>
	<xsd:include schemaLocation="../shared/ReferenceListCodeType.xsd"/>
	<xsd:element name="StreamFlowControlInspection">
		<xsd:annotation>
			<xsd:documentation>
				<Definition>The activity of inspecting and cleaning if necessary the control section of a stream that defines the stage-discharge relationship.</Definition>
			</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="ControlCode" type="ReferenceListCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The code identifying the type of streamflow control.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ConditionCode" type="ReferenceListCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The code identifying the condition of the streamflow control.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DistanceToGageMeasure" type="IEEE754FloatValueType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The distance from the streamflow control to the primary stage sensor gage, the default units are feet.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ControlCleanedCode" type="ReferenceListCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The code identifying if and how the streamflow control was cleaned.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="CleanedDateTime" type="DateTimeWithDatum" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The date and time the streamflow control was cleaned.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="Comment" type="xsd:string" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>Comments about the streamflow control section observation.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
