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

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

  <xsd:group name="SensorGroup">
    <xsd:sequence>
        <xsd:element ref="SensorType" />
        <xsd:element name="SerialNumber" type="xsd:string">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The serial number identifing the specific sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SensorName" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The name identifing the sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="OfficeName" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The name of the office where the sensor is owned or managed.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="UserName" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The name of the person that uses and manages the sensor.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="PurchaseDate" type="xsd:date" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date that the sensor was purchased</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="RetireDate" type="xsd:date" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The date that the sensor was retired from service</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Comment" type="xsd:string" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>Comments about the sensor</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
    </xsd:sequence>
  </xsd:group>
</xsd:schema>
