1
|
<xs:schema targetNamespace="pluginSchema"
|
2
|
xmlns:ogc="http://www.opengis.net/ogc"
|
3
|
xmlns:gml="http://www.opengis.net/gml"
|
4
|
xmlns="pluginSchema"
|
5
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
6
|
<xs:import namespace=”http://www.opengis.net/gml”
|
7
|
schemaLocation="http://schemas.opengis.net/gml/2.0.0/geometry.xsd"/>
|
8
|
<xs:import namespace=”http://www.opengis.net/ogc”
|
9
|
schemaLocation="http://schemas.opengis.net/filter/1.0.0/filter.xsd"/>
|
10
|
<xs:element name="plugin">
|
11
|
<xs:complexType>
|
12
|
<xs:sequence>
|
13
|
<xs:element name="name" type="xs:string"/>
|
14
|
<xs:element name="description" type="xs:string" minOccurs="0"/>
|
15
|
<xs:element name="class" type="xs:string"/>
|
16
|
<xs:element name="argument" minOccurs="0" maxOccurs="unbounded">
|
17
|
<xs:complexType>
|
18
|
<xs:attribute name="final" type="xs:boolean" use="optional" default="false"/>
|
19
|
<xs:sequence>
|
20
|
<xs:element name="name" type="xs:string"/>
|
21
|
<xs:choice>
|
22
|
<xs:element name="filter" type="ogc:FilterType"/>
|
23
|
<xs:element name="geometry"
|
24
|
type="gml:AbstractGeometryType"/>
|
25
|
<xs:element name="bbox" type="ogc:BBOXType"/>
|
26
|
<xs:element name="short" type="xs:short"/>
|
27
|
<xs:element name="integer" type="xs:integer"/>
|
28
|
<xs:element name="long" type="xs:long"/>
|
29
|
<xs:element name="float" type="xs:float"/>
|
30
|
<xs:element name="double" type="xs:double"/>
|
31
|
<xs:element name="datetime" type="xs:dateTime"/>
|
32
|
<xs:element name="anyURI" type="xs:anyURI"/>
|
33
|
<xs:element name="boolean" type="xs:boolean"/>
|
34
|
<xs:element name="string" type="xs:string"/>
|
35
|
</xs:choice>
|
36
|
</xs:sequence>
|
37
|
</xs:complexType>
|
38
|
</xs:element>
|
39
|
</xs:sequence>
|
40
|
</xs:complexType>
|
41
|
</xs:element>
|
42
|
</xs:schema>
|