<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema  
            xmlns:nwis="http://water.usgs.gov/XML/NWIS/4.8" 
             
            xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
            elementFormDefault="qualified" version="4.8">

  <xsd:include schemaLocation="../shared/RecordHistory.xsd"/>

  <xsd:element name="Sensor">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>A specific type of data sensing device used to measure environmental parameters.</Definition>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="SequenceNumber" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The sequence number, within a given parameter, for the sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SensorName" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The unique name identifying the sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ParameterCode" type="xsd:NMTOKEN">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The EPA parameter code indicating the parameter and units being sensed.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="MethodCode" type="xsd:NMTOKEN">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The code used to identify the method used to determine a parameter value.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ManufacturerName" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The name identifying the manufacturer of the sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ModelNumber" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The identification of the model of the sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="History" type="RecordHistoryType" minOccurs="0"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
