<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/namespaces/wfs"
				xmlns="http://www.w3.org/2001/XMLSchema" 
				xmlns:wfs="http://www.opengis.net/namespaces/wfs" 
				elementFormDefault="qualified">
	<annotation>
		<appinfo>GetCapabilitiesResponse.xsd v0.2 2001-02</appinfo>
		<documentation xml:lang="en">WFS interface schema. Copyright (c) 2001 OGC, All Rights Reserved.</documentation>
	</annotation>
	<!-- ==============================================================
	Includes and Imports
 	============================================================== -->
	<!-- ==============================================================
	Global elements and attributes
 	============================================================== -->
	<element name="Abstract" type="string"/>
	<element name="AccessConstraints" type="string"/>
	<element name="Delete" type="string"/>
	<element name="Fees" type="string"/>
	<element name="GML.2" type="string"/>
	<element name="Insert" type="string"/>
	<element name="Keywords" type="string"/>
	<element name="Lock" type="string"/>
	<element name="Name" type="string"/>
	<element name="OnlineResource"/>
	<element name="Query" type="string"/>
	<element name="SRS" type="string"/>
	<element name="ServiceName" type="string"/>
	<element name="Title" type="string"/>
	<element name="Update" type="string"/>
	<element name="VendorSpecificCapabilities" type="wfs:VendorSpecificCapabilitiesType"/>
	<element name="XMLSCHEMA">
		<complexType/>
	</element>
	<!-- ==============================================================
	Root element
 	============================================================== -->
	<element name="WFS_Capabilities" type="wfs:WFS_CapabilitiesType"/>
	<!-- ==============================================================
	Types
 	============================================================== -->
	<complexType name="WFS_CapabilitiesType">
		<sequence>
			<element name="Service" type="wfs:ServiceType"/>
			<element name="Capability" type="wfs:CapabilityType"/>
			<element name="FeatureTypeList" type="wfs:FeatureTypeListType"/>
		</sequence>
		<attribute name="version" type="string" fixed="0.0.1"/>
		<attribute name="updateSequence" type="string" default="0"/>
	</complexType>
	<complexType name="ServiceType">
		<sequence>
			<element ref="wfs:Name"/>
			<element ref="wfs:Title"/>
			<element ref="wfs:Abstract" minOccurs="0"/>
			<element ref="wfs:Keywords" minOccurs="0"/>
			<element ref="wfs:OnlineResource"/>
			<element ref="wfs:Fees" minOccurs="0"/>
			<element ref="wfs:AccessConstraints" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="CapabilityType">
		<sequence>
			<element name="Request" type="wfs:RequestType"/>
			<element ref="wfs:VendorSpecificCapabilities" minOccurs="0"/>
		</sequence>
	</complexType>
	<complexType name="FeatureTypeListType">
		<sequence>
			<element name="Operations" type="wfs:OperationsType" minOccurs="0"/>
			<element name="FeatureType" type="wfs:FeatureTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="RequestType">
		<choice maxOccurs="unbounded">
			<element name="GetCapabilities" type="wfs:GetCapabilitiesType"/>
			<element name="DescribeFeatureType" type="wfs:DescribeFeatureTypeType"/>
			<element name="Transaction" type="wfs:TransactionType"/>
			<element name="GetFeatureType" type="wfs:GetFeatureTypeType"/>
			<element name="LockFeatureType" type="wfs:LockFeatureTypeType"/>
		</choice>
	</complexType>
	<complexType name="GetCapabilitiesType">
		<sequence>
			<element name="DCPType" type="wfs:DCPTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="DescribeFeatureTypeType">
		<sequence>
			<element name="SchemaDescriptionLanguage" type="wfs:SchemaDescriptionLanguageType"/>
			<element name="DCPType" type="wfs:DCPTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="TransactionType">
		<sequence>
			<element name="DCPType" type="wfs:DCPTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="GetFeatureTypeType">
		<sequence>
			<element name="ResultFormat" type="wfs:ResultFormatType"/>
			<element name="DCPType" type="wfs:DCPTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="LockFeatureTypeType">
		<sequence>
			<element name="DCPType" type="wfs:DCPTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="DCPTypeType">
		<sequence>
			<element name="HTTP" type="wfs:HTTPType"/>
		</sequence>
	</complexType>
	<complexType name="FeatureTypeType">
		<sequence>
			<element ref="wfs:Name"/>
			<element ref="wfs:Title" minOccurs="0"/>
			<element ref="wfs:Abstract" minOccurs="0"/>
			<element ref="wfs:Keywords" minOccurs="0"/>
			<element ref="wfs:SRS"/>
			<element name="Operations" type="wfs:OperationsType" minOccurs="0"/>
			<element name="LatLonBoundingBox" type="wfs:LatLonBoundingBoxType"/>
			<element name="MetadataURL" type="wfs:MetadataURLType" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
	</complexType>
	<complexType name="GetType">
		<attribute name="onlineResource" type="string" use="required"/>
	</complexType>
	<complexType name="HTTPType">
		<choice maxOccurs="unbounded">
			<element name="Get" type="wfs:GetType"/>
			<element name="Post" type="wfs:PostType"/>
		</choice>
	</complexType>
	<complexType name="LatLonBoundingBoxType">
		<attribute name="minx" type="string" use="required"/>
		<attribute name="miny" type="string" use="required"/>
		<attribute name="maxx" type="string" use="required"/>
		<attribute name="maxy" type="string" use="required"/>
	</complexType>
	<complexType name="MetadataURLType">
		<simpleContent>
			<extension base="string">
				<attribute name="type" use="required">
					<simpleType>
						<restriction base="NMTOKEN">
							<enumeration value="TC211"/>
							<enumeration value="FGDC"/>
						</restriction>
					</simpleType>
				</attribute>
				<attribute name="format" use="required">
					<simpleType>
						<restriction base="NMTOKEN">
							<enumeration value="XML"/>
							<enumeration value="SGML"/>
							<enumeration value="TXT"/>
						</restriction>
					</simpleType>
				</attribute>
			</extension>
		</simpleContent>
	</complexType>
	<complexType name="OperationsType">
		<choice maxOccurs="unbounded">
			<element ref="wfs:Insert"/>
			<element ref="wfs:Update"/>
			<element ref="wfs:Delete"/>
			<element ref="wfs:Query"/>
			<element ref="wfs:Lock"/>
		</choice>
	</complexType>
	<complexType name="PostType">
		<attribute name="onlineResource" type="string" use="required"/>
	</complexType>
	<complexType name="ResultFormatType">
		<sequence maxOccurs="unbounded">
			<element ref="wfs:GML.2"/>
		</sequence>
	</complexType>
	<complexType name="SchemaDescriptionLanguageType">
		<sequence maxOccurs="unbounded">
			<element ref="wfs:XMLSCHEMA"/>
		</sequence>
	</complexType>

	<complexType name="GetLegendType">
		<sequence>
			<element name="DCPType" type="wfs:DCPTypeType" maxOccurs="unbounded"/>
		</sequence>
	</complexType>	
	
	<complexType name="VendorSpecificCapabilitiesType">
		<sequence>
			<element name="GetLegend" type="wfs:GetLegendType"/>
		</sequence>
	</complexType>	
	
</schema>

