<?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="EquipmentManufacturerName.xsd"/>
  <xsd:include schemaLocation="EquipmentModelNumber.xsd"/>
  <xsd:include schemaLocation="EquipmentSerialNumber.xsd"/>
  <xsd:include schemaLocation="RecordHistory.xsd"/>

<xsd:complexType name="Equipment" abstract="false">
    <xsd:annotation>
      <xsd:documentation>
        <Definition>Information about one piece of equipment used in hydrologic measurement and/or recording.</Definition>
      </xsd:documentation>
    </xsd:annotation>
      <xsd:sequence>
        <xsd:element name="SiteEquipmentIndicator" type="xsd:boolean" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>Is this equipment installed at a site (true or false)?.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="MethodCode" type="xsd:NMTOKEN">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The method code indicating a the specific method used by this equipment.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ManufacturerName" type="EquipmentManufacturerName">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The company that manufacturered the equipment.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="ModelNumber" type="EquipmentModelNumber">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The model number of the equipment as assigned by the manufacturer.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="SerialNumber" type="EquipmentSerialNumber">
          <xsd:annotation>
            <xsd:documentation>
              <Definition>The serial number of equipment as assigned by the manufacturer.</Definition>
            </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="History" type="RecordHistoryType" minOccurs="0"/>
      </xsd:sequence>
  </xsd:complexType>
</xsd:schema>
