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

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

<xsd:complexType name="MonitorSensorLocation" abstract="false">
  <xsd:annotation>
    <xsd:documentation>
      <Definition>The monitor's sensor/location link for any sensors that are not the default (sequence number = 0) location.  This is used by the ingestor to link the sensors of the monitor to the site location sensors.</Definition>
    </xsd:documentation>
  </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="Sensor" type="Sensor">
        <xsd:annotation>
          <xsd:documentation>
            <Definition>The type of sensor installed at the location.</Definition>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="SequenceNumber" type="xsd:integer">
        <xsd:annotation>
          <xsd:documentation>
            <Definition>The location sequence number, that identifies the location within the site.</Definition>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>
