<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:base="urn:x-inspire:specification:gmlas:BaseTypes:3.2" xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/0.1rc2" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:ompr="http://inspire.ec.europa.eu/schemas/ompr/2.9" xmlns:sc="http://www.interactive-instruments.de/ShapeChange/AppInfo" targetNamespace="http://inspire.ec.europa.eu/schemas/ompr/2.9" elementFormDefault="qualified" version="2.9">
	<annotation>
		<documentation>Processes</documentation>
	</annotation>
	<import namespace="http://inspire.ec.europa.eu/schemas/base2/0.1rc2" schemaLocation="http://inspire.ec.europa.eu/draft-schemas/base2/0.1rc2/BaseTypes2.xsd"/>
	<import namespace="http://www.interactive-instruments.de/ShapeChange/AppInfo" schemaLocation="http://portele.de/ShapeChangeAppinfo.xsd"/>
	<import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://schemas.opengis.net/iso/19139/20070417/gmd/gmd.xsd"/>
	<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
	<import namespace="urn:x-inspire:specification:gmlas:BaseTypes:3.2" schemaLocation="http://inspire.ec.europa.eu/schemas/base/3.2/BaseTypes.xsd"/>
	<!--XML Schema document created by ShapeChange-->
	<element name="ProcessParameter" type="ompr:ProcessParameterType" substitutionGroup="gml:AbstractObject">
		<annotation>
			<documentation>-- Name --
Process Parameter

-- Definition --
Description of the given parameter</documentation>
		</annotation>
	</element>
	<complexType name="ProcessParameterType">
		<sequence>
			<element name="description" type="string" minOccurs="0">
				<annotation>
					<documentation>-- Name --
description

-- Definition --
Description of the process parameter.</documentation>
				</annotation>
			</element>
			<element name="name" type="gml:CodeType">
				<annotation>
					<documentation>-- Name --
name

-- Definition --
Name of the process parameter.</documentation>
					<appinfo>
						<taggedValue xmlns="http://www.interactive-instruments.de/ShapeChange/AppInfo" tag="obligation">technicalGuidance</taggedValue>
					</appinfo>
				</annotation>
			</element>
		</sequence>
	</complexType>
	<complexType name="ProcessParameterPropertyType">
		<sequence>
			<element ref="ompr:ProcessParameter"/>
		</sequence>
	</complexType>
	<element name="Process" type="ompr:ProcessType" substitutionGroup="gml:AbstractFeature">
		<annotation>
			<documentation>-- Name --
Process

-- Definition --
The INSPIRE specialisation of OM_Process</documentation>
		</annotation>
	</element>
	<complexType name="ProcessType">
		<complexContent>
			<extension base="gml:AbstractFeatureType">
				<sequence>
					<element name="documentation" nillable="true" minOccurs="0" maxOccurs="unbounded">
						<annotation>
							<documentation>-- Name --
documentation

-- Definition --
Further information ( online/offline) associated with the  process .</documentation>
						</annotation>
						<complexType>
							<complexContent>
								<extension base="gml:AbstractMemberType">
									<sequence minOccurs="0">
										<element ref="base2:DocumentCitation"/>
									</sequence>
									<attributeGroup ref="gml:AssociationAttributeGroup"/>
								</extension>
							</complexContent>
						</complexType>
					</element>
					<element name="inspireld" nillable="true">
						<annotation>
							<documentation>-- Name --
inspireId

-- Definition --
External object identifier  by which  an instance of  inspire O&amp;M  process is known.</documentation>
						</annotation>
						<complexType>
							<sequence>
								<element ref="base:Identifier"/>
							</sequence>
							<attribute name="nilReason" type="gml:NilReasonType"/>
						</complexType>
					</element>
					<element name="name" nillable="true" minOccurs="0">
						<annotation>
							<documentation>-- Name --
name

-- Definition --
Name of the Process</documentation>
						</annotation>
						<complexType>
							<simpleContent>
								<extension base="string">
									<attribute name="nilReason" type="gml:NilReasonType"/>
								</extension>
							</simpleContent>
						</complexType>
					</element>
					<element name="processParameter" nillable="true" minOccurs="0" maxOccurs="unbounded">
						<annotation>
							<documentation>-- Name --
process parameter

-- Definition --
Parameter controlling the application of the process and as a consequence its output.

-- Description --
Typical examples of using processParameter are: description of  instrumentation settings for a specific measurement or measurement series ; description of intial contidions in  numerical computations e.g. simulations.  

NOTE   The  values of a procesParameter are stored in  OM_Observation.parameter&gt;NamedValue.value as they are specific to the event of the observation  and not to the  applied process .  The relevant OM_Observation.parameter&gt;NamedValue.name shall be the same with Process.processParameter&gt;ProcessParameter.name.

EXAMPLE  Analysis time of a forecast
&lt;ul&gt;
	&lt;li&gt;Instance of Process&lt;/li&gt;
&lt;/ul&gt;
Process.processParameter&gt;ProcessParameter.name:
&lt;i&gt;http://inspire.ec.europa.eu/inspire/processParameterValue.html#AnalysisTime&lt;/i&gt;
&lt;ul&gt;
	&lt;li&gt;Instance of OM_Observation&lt;/li&gt;
&lt;/ul&gt;
OM_OObservation.parameter&gt;NamedValue.name:
&lt;i&gt;http://inspire.ec.europa.eu/inspire/processParameterValue.html#AnalysisTime&lt;/i&gt;
OM_Observation.parameter&gt;NamedValue.value:
&lt;i&gt;00z-15/05/2011&lt;/i&gt;</documentation>
						</annotation>
						<complexType>
							<sequence>
								<element ref="ompr:ProcessParameter"/>
							</sequence>
							<attribute name="nilReason" type="gml:NilReasonType"/>
						</complexType>
					</element>
					<element name="responsibleParty" nillable="true" maxOccurs="unbounded">
						<annotation>
							<documentation>-- Name --
responsible party

-- Definition --
Individual or organisation related to the process.

-- Description --
EXAMPLE For a numerical simulation a responsible party may be the NWP centre which conducted the simulation</documentation>
						</annotation>
						<complexType>
							<complexContent>
								<extension base="gml:AbstractMetadataPropertyType">
									<sequence>
										<element ref="gmd:CI_ResponsibleParty"/>
									</sequence>
									<attribute name="nilReason" type="gml:NilReasonType"/>
								</extension>
							</complexContent>
						</complexType>
					</element>
					<element name="type" nillable="true">
						<annotation>
							<documentation>-- Name --
type

-- Definition --
Type of process.

-- Description --
EXAMPLE raingauge, numerical model.</documentation>
						</annotation>
						<complexType>
							<simpleContent>
								<extension base="string">
									<attribute name="nilReason" type="gml:NilReasonType"/>
								</extension>
							</simpleContent>
						</complexType>
					</element>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="ProcessPropertyType">
		<sequence minOccurs="0">
			<element ref="ompr:Process"/>
		</sequence>
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
	</complexType>
</schema>
