<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://water.usgs.gov/XML/AQ" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://water.usgs.gov/XML/AQ" elementFormDefault="qualified" version="1.0">
	<xsd:include schemaLocation="../shared/RecordHistory.xsd"/>
	<xsd:include schemaLocation="../shared/Parameter.xsd"/>
	<xsd:include schemaLocation="../shared/ReferenceListCodeType.xsd"/>
	<xsd:element name="SensorType">
		<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 ref="Parameter"/>
				<xsd:element name="ParameterCode" type="ReferenceListCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The USGS parameter code indicating the parameter and units being sensed.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="MethodCode" type="ReferenceListCodeType" minOccurs="0">
					<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="SequenceNumber" type="xsd:integer" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The per-parameter preferred order to display the sensor types</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="Name" type="xsd:string" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The unique per-parameter identifying name of the sensor</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="Description" type="xsd:string" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The description of the sensor</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ManufacturerName" type="xsd:string">
					<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">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The identification of the model of the sensor.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="InitializeUserName" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The user login identifier of the person or process that created a record.</Definition>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="xsd:token">
							<xsd:minLength value="1"/>
							<xsd:maxLength value="8"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
				<xsd:element name="InitializeDate" type="xsd:date" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The date and time that data record was first inserted.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ReviseUserName" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The user login identifier of the person that last modified the record.</Definition>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="xsd:token">
							<xsd:minLength value="1"/>
							<xsd:maxLength value="8"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
				<xsd:element name="ReviseDate" type="xsd:date" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The date and time that the data record was last modified.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
