<?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="DateTimeWithDatum.xsd"/>
	

	<xsd:complexType name="DateTimeWithDatumPartial">
		<xsd:annotation>
			<xsd:documentation>
				<Definition>Describes an instance in time defined by a date, a time,  and a time datum code. The format that is expected is CCYY-MM-DDThh:mm:ss where CC = Century, YY = year, MM = month, DD = day of the month, hh = hour of the day, mm = minutes into the hour, ss = seconds into the minute. Some date and times may be allowed to be partial and will be identified as such. If the time datum code is not specified, then it will be assumed to be UTC.</Definition>
			</xsd:documentation>
		</xsd:annotation>
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="timeDatumCode" type="xsd:NMTOKEN" use="optional">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The code identifying the time datum of the date and time. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:attribute>
				<xsd:attribute name="timeDatumEnteredCode" type="xsd:NMTOKEN" use="optional">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The code identifying the time datum of the date and time as entered into NWIS originally. Examples of time datums are "EST" (Eastern Standard Time), EDT Eastern Daylight Savings Time), etc.</Definition>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:attribute>
				<xsd:attribute name="timeDatumReliabilityCode" use="optional">
					<xsd:annotation>
						<xsd:documentation>
							<Definition>The code identifying the reliability of the time datum code. K=Known, E=Estimated, T=Transfered (assumed)</Definition>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="xsd:token">
							<xsd:enumeration value="K"/>
							<xsd:enumeration value="E"/>
							<xsd:enumeration value="T"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
</xsd:schema>
