<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2006 U (http://www.altova.com) by Gudmundur Jokulsson (Norut IT) -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:sat="http://cweb.ksat.no/cweb/schema/satellite" xmlns:os="http://cweb.ksat.no/cweb/schema/oil" xmlns:fbr="http://cweb.ksat.no/cweb/schema/fbr" targetNamespace="http://cweb.ksat.no/cweb/schema/fbr" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.1.1" id="fbr">
	<xsd:annotation>
		<xsd:documentation>
		    Copyright (c) 2006 KSAT and Norut IT, All Rights Reserved.
			Satellite based Oil Spill Detection, Feed Back Report - GML Application schema
		</xsd:documentation>
	</xsd:annotation>
	<!-- ====================================================================== -->
	<!-- GML IMPORT -->
	<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://cweb.ksat.no/cweb/schema/gml/3.1.1/base/feature.xsd"/>
	<xsd:import namespace="http://cweb.ksat.no/cweb/schema/satellite" schemaLocation="http://cweb.ksat.no/cweb/schema/satellite/sat.xsd"/>
	<xsd:import namespace="http://cweb.ksat.no/cweb/schema/oil" schemaLocation="http://cweb.ksat.no/cweb/schema/oil/os.xsd"/>
	<!-- ================================================================== -->
	<!-- globally defined vd: elements (direct from gml or xsd namespace types) -->
	<xsd:element name="feedBackTime" type="xsd:dateTime">
		<xsd:annotation>
			<xsd:documentation>The creation time of this report</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="feedBackOrganisation" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Organisation issueing this report</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="feedBackPerson" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Person issueing this report</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="attachedDocument" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Reference to an attached document relating to this report - should be an URI/URL</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="whyNotChecked" type="xsd:string" nillable="true">
		<xsd:annotation>
			<xsd:documentation>Explanation as to why the reported oil-spill has not been checked.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="polluterIdentified" type="xsd:boolean">
		<xsd:annotation>
			<xsd:documentation>Wether the polluter has been identified (true/false)</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="polluter" type="os:PossibleSourceType">
		<xsd:annotation>
			<xsd:documentation>Information about an identified polluter</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="boaoc" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>The appropriate BOAOC code for the oil-spill</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="responseActions" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>The planned/initiated response actions related to the oil-spill pollution</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="probableReason" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>The probable reason why there was a reported oil-spill, but observed not to be oil-spill</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="otherPhenomena" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Other phenomena mistaken to be the an oil-spill, but observed not to be oil-spill</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="observationTime" type="xsd:dateTime">
		<xsd:annotation>
			<xsd:documentation>Time of observation (i.e. the in-situ check)</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="observationMethod" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Method (or means) of observation (in-situ check)</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="observationOrganization" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Organisation performing the observation (in-situ check)</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="observationResponsiblePerson" type="xsd:string">
		<xsd:annotation>
			<xsd:documentation>Person responsible for observation (in-situ check)</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="observation" type="fbr:ObservationType" nillable="true"/>
	<xsd:complexType name="ObservationType">
		<xsd:sequence>
			<xsd:element ref="fbr:observationTime" minOccurs="0"/>
			<xsd:element ref="fbr:observationMethod" minOccurs="0"/>
			<xsd:element ref="fbr:observationOrganization" minOccurs="0"/>
			<xsd:element ref="fbr:observationResponsiblePerson" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="oilVerified" type="fbr:OilVerifiedType" nillable="true"/>
	<xsd:complexType name="OilVerifiedType">
		<xsd:sequence>
			<xsd:element ref="os:length" minOccurs="0"/>
			<xsd:element ref="os:width" minOccurs="0"/>
			<xsd:element ref="os:area" minOccurs="0"/>
			<xsd:element ref="os:volume" minOccurs="0"/>
			<xsd:element ref="os:orientation" minOccurs="0"/>
			<xsd:element ref="os:slickType" minOccurs="0"/>
			<xsd:element ref="os:thickness" minOccurs="0"/>
			<xsd:element ref="os:thicknessVerifiedBy" minOccurs="0"/>
			<xsd:element ref="fbr:polluterIdentified"/>
			<xsd:element ref="fbr:polluter" minOccurs="0"/>
			<xsd:element ref="fbr:boaoc" minOccurs="0"/>
			<xsd:element ref="fbr:responseActions" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="oilNotVerified" type="fbr:OilNotVerifiedType" nillable="true"/>
	<xsd:complexType name="OilNotVerifiedType">
		<xsd:sequence>
			<xsd:element ref="fbr:probableReason" minOccurs="0"/>
			<xsd:element ref="fbr:otherPhenomena" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="reportedOilChecked" type="fbr:ReportedOilCheckedType"/>
	<xsd:complexType name="ReportedOilCheckedType">
		<xsd:sequence>
			<xsd:element ref="fbr:observation"/>
			<xsd:choice>
				<xsd:element ref="fbr:oilVerified"/>
				<xsd:element ref="fbr:oilNotVerified"/>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="reportedOilNotChecked" type="fbr:ReportedOilNotCheckedType"/>
	<xsd:complexType name="ReportedOilNotCheckedType">
		<xsd:sequence>
			<xsd:element ref="fbr:whyNotChecked"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="oilObserved" type="fbr:OilObservedType"/>
	<xsd:complexType name="OilObservedType">
		<xsd:sequence>
			<xsd:element ref="fbr:observation"/>
			<xsd:element ref="fbr:oilVerified"/>
		</xsd:sequence>
	</xsd:complexType>
	<!-- ================================================================== -->
	<!-- fbr: report element - based on a gml Point -->
	<xsd:element name="feedBackReport" type="fbr:FeedBackReportType" substitutionGroup="gml:pointProperty">
		<xsd:annotation>
			<xsd:documentation>The feed back report regarding an oil-spill/slick. This report is the users/customers verification feed back regarding satellite detected oil-spills. There are three possible alternative variants: 1. A satellite-detected and reported oil-spill has been checked; 2. A satallite-detected and reported oil-spill "has NOT been" checked; 3. An oil spill has been observed which should have been detected by satellite and reported.  Inherits the pointMemberType of gml</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="FeedBackReportType">
		<xsd:complexContent>
			<xsd:extension base="gml:PointPropertyType">
				<xsd:sequence>
					<!-- adm. regarding the report -->
					<xsd:element ref="sat:productID"/>
					<xsd:element ref="os:oilSpillID"/>
					<xsd:element ref="fbr:feedBackTime"/>
					<xsd:element ref="fbr:feedBackOrganisation"/>
					<xsd:element ref="fbr:feedBackPerson"/>
					<xsd:element ref="fbr:attachedDocument" minOccurs="0" maxOccurs="unbounded"/>
					<!-- choice: type of report -->
					<xsd:choice>
						<xsd:element ref="fbr:reportedOilChecked"/>
						<xsd:element ref="fbr:reportedOilNotChecked"/>
						<xsd:element ref="fbr:oilObserved"/>
					</xsd:choice>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<!-- ================================================================== -->
	<!-- FBR Feature Type -->
	<xsd:element name="feature" type="fbr:FeatureType" substitutionGroup="gml:_Feature">
		<xsd:annotation>
			<xsd:documentation>A FBR feature encloses a feed back report regarding a single oil-spil / slickl</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:complexType name="FeatureType">
		<xsd:complexContent>
			<xsd:extension base="gml:AbstractFeatureType">
				<xsd:sequence>
					<xsd:element ref="fbr:feedBackReport">
						<xsd:annotation>
							<xsd:documentation>The actual oil-spill feed back report</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<!-- =================================================== -->
	<!-- =================================================== -->
	<!-- The Request element for a Feed Back Report Feature Service    -->
	<!-- =================================================== -->
	<!-- =================================================== -->
	<xsd:element name="getFeature" type="sat:GetFeatureType">
		<xsd:annotation>
			<xsd:documentation>This is the concrete request element used to query a service for feed back report features</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<!-- =================================================== -->
	<!-- =================================================== -->
	<!-- The Response element for a Feed Back Report Feature Service -->
	<!-- =================================================== -->
	<!-- =================================================== -->
	<xsd:element name="featureCollection" type="fbr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection">
		<xsd:annotation>
			<xsd:documentation>This is the concrete response element used to query a service for FBR features</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<!-- OS  Feature Collection Type -->
	<xsd:complexType name="FeatureCollectionType">
		<xsd:annotation>
			<xsd:documentation>
				A Feed Back Reports feature collection encloses a set of feed back reports/features.
			</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="gml:AbstractFeatureCollectionType">
				<xsd:sequence>
					<xsd:element ref="sat:requestID" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>If an requestID was given by the requesting part, it's value shall be set here</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
</xsd:schema>
