<?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/IEEE754FloatValue.xsd"/>
	<xsd:include schemaLocation="EngineeredStructureHeadMeasurement.xsd"/>
	<xsd:element name="EngineeredStructureDischargeMeasurement">
		<xsd:annotation>
			<xsd:documentation>
				<Definition>A type of discharge measurement where the streamflow (discharge) is measured via the use of a calibrated portable flume or weir. The head (water level) of the water flowing through the flume or weir is measured and the discharge is computed from this head value. Typically up to ten head readings are done and averaged to get the streamflow value. The discharge measurement code of "FLUM" identifies this type of discharge measurement.</Definition>
			</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="MeanHeadMeasure" type="IEEE754FloatValueType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The average head in the flume, as calculated from the individual measurements of head.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="StructureType" type="ReferenceListCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The type of structure being measured.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="StructureEquation" type="xsd:string" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The equation used for the flume or weir to calculate discharge.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element ref="EngineeredStructureHeadMeasurement" minOccurs="1" maxOccurs="10">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The individual measurements of the head of water moving through the flume or weir.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
