<?xml version="1.0" encoding="UTF-8"?>
<tsml:Collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:om="http://www.opengis.net/om/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tsml="http://www.opengis.net/timeseriesml/1.3" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:sam="http://www.opengis.net/sampling/2.0" xmlns:sams="http://www.opengis.net/samplingSpatial/2.0" xsi:schemaLocation="http://www.opengis.net/timeseriesml/1.3 http://schemas.opengis.net/tsml/1.3/timeseriesML.xsd" gml:id="xsd-collection.example">
	<gml:description>Example collection for XML encoding http://www.opengis.net/spec/waterml/2.0/req/xsd-collection</gml:description>
	<tsml:generationDate>2011-11-28T10:05:05+11:00</tsml:generationDate>
	<tsml:generationSystem>Manual</tsml:generationSystem>
	<tsml:version xlink:href="http://www.opengis.net/waterml/2.0" xlink:title="WaterML 2.0"/>
	<tsml:profile xlink:href="http://www.opengis.net/spec/timeseriesML/1.0/conf/xsd-xml-rules"/>
	<tsml:profile xlink:href="http://www.opengis.net/spec/timeseriesML/1.0/conf/xsd-measurement-timeseries-tvp-observation"/>
	<tsml:profile xlink:href="http://www.opengis.net/spec/timeseriesML/1.0/conf/xsd-measurement-timeseries-tvp"/>
	<tsml:profile xlink:href="http://www.opengis.net/spec/timeseriesML/1.0/conf/xsd-feature-of-interest-monitoring-point"/>
	<tsml:profile xlink:href="http://www.opengis.net/spec/timeseriesML/1.0/conf/xsd-collection"/>
	<tsml:profile xlink:href="http://www.opengis.net/spec/timeseriesML/1.0/conf/xsd-observation-process"/>
	<tsml:temporalExtent>
		<gml:TimePeriod gml:id="time-period.1">
			<gml:beginPosition>2011-11-21T12:30:00+10:00</gml:beginPosition>
			<gml:endPosition>2011-11-21T12:45:35+10:00</gml:endPosition>
		</gml:TimePeriod>
	</tsml:temporalExtent>
	<tsml:localDictionary>
		<gml:Dictionary gml:id="phenom_codes">
			<gml:identifier codeSpace=" http://sweet.jpl.nasa.gov/2.3/">sweet_phenomenon</gml:identifier>
			<gml:dictionaryEntry>
				<gml:Definition gml:id="temperature">
					<gml:identifier codeSpace="http://sweet.jpl.nasa.gov/2.3/propTemperature.owl">Temperature</gml:identifier>
					<gml:name codeSpace="http://sweet.jpl.nasa.gov/2.3/propTemperature.owl">Temperature</gml:name>
					<gml:remarks>NASA SWEET definition of temperature</gml:remarks>
				</gml:Definition>
			</gml:dictionaryEntry>
		</gml:Dictionary>
	</tsml:localDictionary>
	<tsml:samplingFeatureMember>
		<tsml:MonitoringFeature gml:id="monitoring-point.1">
			<gml:name codeSpace="http://www.csiro.au/">Deddington</gml:name>
			<sam:sampledFeature xlink:href="http://csiro.au/features/rivers/south_esk/deddington" xlink:title="Deddington"/>
			<sams:shape>
				<gml:Point gml:id="location_deddington">
					<gml:pos srsName="urn:ogc:def:crs:EPSG::4326">-41.814935 147.568517 </gml:pos> <!-- TO DO should use http uris to espg code def-->
				</gml:Point>
			</sams:shape>
			<tsml:verticalDatum xlink:href="urn:ogc:def:crs:EPSG::5711" xlink:title="Australian height datum"/>
			<tsml:timeZone>
				<tsml:TimeZone>
					<tsml:zoneOffset>+11:00</tsml:zoneOffset>
					<tsml:zoneAbbreviation>AEDT</tsml:zoneAbbreviation>
				</tsml:TimeZone>
			</tsml:timeZone>
		</tsml:MonitoringFeature>
	</tsml:samplingFeatureMember>
	<tsml:observationMember>
		<om:OM_Observation gml:id="observation.1">
			<gml:identifier codeSpace="http://www.example.com/observations">EX.OB.B.1</gml:identifier>
			<om:metadata><!--ObservationMetadata elements have been moved to om:parameter--></om:metadata>
			<om:phenomenonTime xlink:href="#time-period.1" xlink:title="Temporal Extent"/>
			<om:resultTime>
				<gml:TimeInstant gml:id="time-instant.1">
					<gml:timePosition>2011-11-21T12:45:35+10:00</gml:timePosition>
				</gml:TimeInstant>
			</om:resultTime>
			<om:procedure>
				<tsml:ObservationProcess gml:id="observation-process.1">
					<tsml:processType xlink:href="http://www.opengis.net/def/timeseriesML/1.0/processType/Sensor" xlink:title="Sensor"/>
					<tsml:processReference xlink:href="http://www.example.com/sensor/1.0" xlink:title="Sensor Sampling Regime 1.0"/>
				</tsml:ObservationProcess>
			</om:procedure>
			<om:parameter><om:NamedValue>
				<om:name xlink:href="http://www.opengis.net/def/timeseriesML/1.0/observationMetadata/intendedObservationSpacing"/>
				<om:value>PT15M</om:value>
			</om:NamedValue></om:parameter>
			<om:parameter><om:NamedValue>
				<om:name xlink:href="http://www.opengis.net/def/timeseriesML/1.0/observationMetadata/status"/>
				<om:value>http://water.usgs.gov/provisional.html</om:value>
			</om:NamedValue></om:parameter>
			<om:parameter><om:NamedValue>
				<om:name xlink:href="http://www.opengis.net/def/timeseriesML/1.0/observationMetadata/sampledMedium"/>
				<om:value>http://www.opengis.net/def/timeseriesML/1.0/medium/SurfaceWater</om:value>
			</om:NamedValue></om:parameter>
			<om:observedProperty xlink:href="#temperature" xlink:title="Temperature"/>
			<om:featureOfInterest xlink:href="#monitoring-point.1" xlink:title="Deddington"/>
			<om:result>
				<tsml:Timeseries gml:id="timeseries.1">
					<tsml:metadata>
						<tsml:TimeseriesMetadata>
							<tsml:temporalExtent xlink:href="#time-period.1"/>
						</tsml:TimeseriesMetadata>
					</tsml:metadata>
					<tsml:defaultPointMetadata>
						<tsml:PointMetadata>
							<tsml:uom code="Cel"/>
							<tsml:interpolationType xlink:href="http://www.opengis.net/def/waterml/2.0/interpolationType/continuous" xlink:title="Instantaneous"/>
						</tsml:PointMetadata>
					</tsml:defaultPointMetadata>
					<tsml:point>
						<tsml:MeasurementTVP>
							<tsml:metadata>
								<tsml:PointMetadata>
									<tsml:qualifier>
										<swe:Quantity definition="">
											<swe:uom code="m"/>
											<swe:value>95</swe:value>
										</swe:Quantity>
									</tsml:qualifier>
								</tsml:PointMetadata>
							</tsml:metadata>
							<tsml:time>2011-11-21T12:30:00+10:00</tsml:time>
							<tsml:value>10.5</tsml:value>
						</tsml:MeasurementTVP>
					</tsml:point>
					<tsml:point>
						<tsml:MeasurementTVP>
							<tsml:time>2011-11-21T12:45:35+10:00</tsml:time>
							<tsml:value>10.5</tsml:value>
						</tsml:MeasurementTVP>
					</tsml:point>
					<tsml:point>
						<tsml:MeasurementTVP>
							<tsml:time>2011-11-21T13:00:10+10:00</tsml:time>
							<tsml:value>10.4</tsml:value>
						</tsml:MeasurementTVP>
					</tsml:point>
				</tsml:Timeseries>
			</om:result>
		</om:OM_Observation>
	</tsml:observationMember>
</tsml:Collection>
