<!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by PostNL IT (PostNL Holding B.V.) -->
<!--oorspronkelijke namespace: http://www.opengis.net/sensorml/2.0-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sml2="urn:postnl/ogs/sensorml/2" xmlns:fea3="urn:postnl/ogs/feature/3" xmlns:bat2="urn:postnl/ogs/basic_types/2" targetNamespace="urn:postnl/ogs/sensorml/2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0.0">
	<annotation>
		<documentation>The elements of a concrete simple physical process derived from the core process model.
        
        SensorML is an OGC Standard.
        Copyright (c) 2014 Open Geospatial Consortium.
        To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
        </documentation>
	</annotation>
	<include schemaLocation="simple_process.xsd"/>
	<!-- ================================================= -->
	<import namespace="urn:postnl/ogs/basic_types/2" schemaLocation="../Common/basic_types2.xsd"/>
	<import namespace="urn:postnl/ogs/feature/3" schemaLocation="../Common/feature3.xsd"/>
	<element name="PhysicalComponent" type="sml2:PhysicalComponentType" substitutionGroup="sml2:AbstractPhysicalProcess">
		<annotation>
			<documentation>A PhysicalComponent is a physical process that will not be further divided into smaller components.</documentation>
		</annotation>
	</element>
	<complexType name="PhysicalComponentType">
		<complexContent>
			<extension base="sml2:AbstractPhysicalProcessType">
				<sequence>
					<element name="method" type="sml2:ProcessMethodPropertyType" minOccurs="0" maxOccurs="1">
						<annotation>
							<documentation>The method describes (as an algorithm or text) how the process takes the input and, based on the parameter values, generates output values.</documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="PhysicalComponentPropertyType">
		<sequence minOccurs="0">
			<element ref="sml2:PhysicalComponent"/>
		</sequence>
		<attributeGroup ref="fea3:AssociationAttributeGroup"/>
		<attributeGroup ref="fea3:OwnershipAttributeGroup"/>
	</complexType>
	<!-- ================================================= -->
	<element name="AbstractPhysicalProcess" type="sml2:AbstractPhysicalProcessType" abstract="true" substitutionGroup="sml2:AbstractProcess">
		<annotation>
			<documentation>A physical process where the spatial and temporal state of the process is relevant.</documentation>
		</annotation>
	</element>
	<complexType name="AbstractPhysicalProcessType" abstract="true">
		<complexContent>
			<extension base="sml2:AbstractProcessType">
				<sequence>
					<element name="attachedTo" type="fea3:ReferenceType" minOccurs="0" maxOccurs="1">
						<annotation>
							<appinfo>
								<fea3:targetElement>sml:AbstractPhysicalProcess</fea3:targetElement>
							</appinfo>
							<documentation>References the physical component or system (e.g. platform) to which to which this component or system is attached.</documentation>
						</annotation>
					</element>
					<element name="localReferenceFrame" minOccurs="0" maxOccurs="unbounded">
						<annotation>
							<documentation>A spatial reference frame of the physical component itself; this reference frame is absolute and defines the relationship of the reference frame to the physical body of the component; position of the component relates this reference frame to some external reference frame. Note that units are specified in the position so they are not specified as part of the SpatialFrame.</documentation>
						</annotation>
						<complexType>
							<sequence>
								<element ref="sml2:SpatialFrame"/>
							</sequence>
						</complexType>
					</element>
					<element name="localTimeFrame" minOccurs="0" maxOccurs="unbounded">
						<annotation>
							<documentation>Supports local time reference frames such as "time past mission start". Note that units are handled in timePosition so they are not specified in the TemporalFrame.</documentation>
						</annotation>
						<complexType>
							<sequence>
								<element ref="sml2:TemporalFrame"/>
							</sequence>
						</complexType>
					</element>
					<element name="position" type="sml2:PositionUnionPropertyType" minOccurs="0" maxOccurs="unbounded">
						<annotation>
							<documentation>Provides positional information relating the component's spatial reference frame to an external spatial reference frame. Positional information can be given by location, by full body state, by a time-tagged trajectory, or by a measuring or computational process.</documentation>
						</annotation>
					</element>
					<element name="timePosition" type="bat2:TimePropertyType" minOccurs="0" maxOccurs="unbounded">
						<annotation>
							<documentation>Provides Time positions typically reference a local time frame to an external time frame. For example, a timer-start-time might be given relative to an "absolute" GPS time.</documentation>
						</annotation>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="AbstractPhysicalProcessPropertyType">
		<sequence minOccurs="0">
			<element ref="sml2:AbstractPhysicalProcess"/>
		</sequence>
		<attributeGroup ref="fea3:AssociationAttributeGroup"/>
		<attributeGroup ref="fea3:OwnershipAttributeGroup"/>
	</complexType>
	<!-- ================================================= -->
	<element name="TemporalFrame" type="sml2:TemporalFrameType" substitutionGroup="bat2:AbstractSWEIdentifiable">
		<annotation>
			<documentation>A general temporal frame such as a mission start time or timer start time. The origin should just describe context of the start of time (e.g. start of local timer).</documentation>
		</annotation>
	</element>
	<complexType name="TemporalFrameType">
		<complexContent>
			<extension base="bat2:AbstractSWEIdentifiableType">
				<sequence>
					<element name="origin" type="string"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="TemporalFramePropertyType">
		<sequence minOccurs="0">
			<element ref="sml2:TemporalFrame"/>
		</sequence>
		<attributeGroup ref="bat2:AssociationAttributeGroup"/>
	</complexType>
	<!-- ================================================= -->
	<element name="SpatialFrame" type="sml2:SpatialFrameType" substitutionGroup="bat2:AbstractSWEIdentifiable">
		<annotation>
			<documentation>A general spatial Cartesian Reference Frame where the axes and origin will be defined textually relative to a physical component.</documentation>
		</annotation>
	</element>
	<complexType name="SpatialFrameType">
		<complexContent>
			<extension base="bat2:AbstractSWEIdentifiableType">
				<sequence>
					<element name="origin" type="string">
						<annotation>
							<documentation>A textual description of the origin of the reference frame relative to the physical device (e.g. "the origin is at the point of attachment of the sensor to the platform").</documentation>
						</annotation>
					</element>
					<element name="axis" minOccurs="1" maxOccurs="unbounded">
						<annotation>
							<documentation>Axis with name attribute and a textual description of the relationship of the axis to the physical device; the order of the axes listed determines their relationship according to the right-handed rule (e.g. axis 1 cross axis 2 = axis 3).</documentation>
						</annotation>
						<complexType>
							<simpleContent>
								<extension base="string">
									<attribute name="name" type="NCName" use="required"/>
								</extension>
							</simpleContent>
						</complexType>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="SpatialFramePropertyType">
		<sequence minOccurs="0">
			<element ref="sml2:SpatialFrame"/>
		</sequence>
		<attributeGroup ref="bat2:AssociationAttributeGroup"/>
	</complexType>
	<!-- ================================================= -->
	<group name="PositionUnion">
		<annotation>
			<documentation>A choice of elements for defining spatial state (e.g. location, orientation, linear/angular velocity and linear/angular acceleration.</documentation>
		</annotation>
		<choice>
			<element ref="bat2:Text">
				<annotation>
					<documentation>Provides positional information in textual form (e.g. "located on the intake line before the catalytic converter"); shall only be used when a more precise location is unknown or irrelevant.</documentation>
				</annotation>
			</element>
			<element ref="fea3:Point">
				<annotation>
					<documentation>Provides static location only using a fea3:Point element.</documentation>
				</annotation>
			</element>
			<element ref="bat2:Vector">
				<annotation>
					<documentation>Provides a static location using a bat2:Vector.</documentation>
				</annotation>
			</element>
			<element ref="bat2:DataRecord">
				<annotation>
					<documentation>Provides location and orientation as a DataRecord consisting of one or two Vector elements.</documentation>
				</annotation>
			</element>
			<element ref="bat2:DataArray">
				<annotation>
					<documentation>Provides time-tagged dynamic state information that can include, for instance, location, orientation, velocity, acceleration, angular velocity, angular acceleration; shall be a DataArray consisting of a DataRecord element of multiple Vector fields.</documentation>
				</annotation>
			</element>
			<element ref="sml2:AbstractProcess">
				<annotation>
					<documentation>Provides for positional information to be provided by a process; example processes could include a physical sensor such as a GPS, a computational process such as an orbital propagation model, a specific web service such as a SOS, or any process who's output provides positional information.</documentation>
				</annotation>
			</element>
		</choice>
	</group>
	<complexType name="PositionUnionPropertyType">
		<sequence minOccurs="0">
			<group ref="sml2:PositionUnion"/>
		</sequence>
		<attributeGroup ref="bat2:AssociationAttributeGroup"/>
	</complexType>
</schema>
