<?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/DataAgingCode.xsd"/>
	<xsd:include schemaLocation="../shared/DateTimeWithDatum.xsd"/>

	<xsd:element name="DataAgingPeriod">
		<xsd:annotation>
			<xsd:documentation>
				<Definition>The collection of the data descriptor's data aging periods and history of changes.</Definition>
			</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
                                <xsd:element name="StartDate" type="xsd:date">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The starting date for the data aging period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="EndDate" type="xsd:date">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The ending date for the data aging period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
                                <xsd:element name="DataAgingCode" type="xsd:string">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The data aging code for the period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ReviewDateTime" type="DateTimeWithDatum" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The date of the review of the data aging period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ReviewUserName" type="xsd:string" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The user identification of the person that reviewed the data aging period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ApproveDateTime" type="DateTimeWithDatum" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The date of the approval of the data aging period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ApproveUserName" type="xsd:string" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The user identification of the person that reviewed the data aging period.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
