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

	<xsd:include schemaLocation="../IEEE754FloatValue.xsd"/>

	<xsd:element name="Offset">
		<xsd:annotation>
			<xsd:documentation>
				<Definition>Defines a translation to be applied to an independent value before a table lookup/interpolation is performed.</Definition>
			</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
                                <xsd:element name="SequenceNumber" type="xsd:integer">
                                	<xsd:annotation>
            					<xsd:documentation>
              						<Definition>The sequence number of the offset.</Definition>
            					</xsd:documentation>
          				</xsd:annotation>
        			</xsd:element>
				<xsd:element name="BreakpointMeasure" type="IEEE754FloatValueType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The translation will be applied to all independent value less than this value.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="OffsetMeasure" type="IEEE754FloatValueType">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The value to be applied to the independent value.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
