-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathowc.xsd
222 lines (222 loc) · 10.4 KB
/
owc.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Joan Masó (UAB-CREAF-MiraMon). -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:owc="http://www.opengis.net/owc/1.0" xmlns:atom="http://www.w3.org/2005/Atom" targetNamespace="http://www.opengis.net/owc/1.0" elementFormDefault="qualified" xml:lang="en">
<annotation>
<appinfo>OWSContext 2012-08-31</appinfo>
<documentation>
Copyright (c) 2012 Open Geospatial Consortium, Inc. All Rights Reserved.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
</documentation>
</annotation>
<import namespace="http://www.w3.org/2005/Atom" schemaLocation="atom_feed.xsd"/>
<!-- Feed extensions for display sizes -->
<element name="display" type="owc:DisplayType">
<annotation>
<documentation>Service or inline content offering for the resource targetted at OGC compliant clients.</documentation>
</annotation>
</element>
<complexType name="DisplayType">
<annotation>
<documentation>Information related to the display area used in the creator application when the OWS Context document was produced. This set of properties only applies to creator applications which are using a geographic display and is supporting information to the exploiter of the OWS Context document. Note the elements within creator display are intended as supporting information (metadata) for clients and not properties which should control the display size of the client opening the document.</documentation>
</annotation>
<choice maxOccurs="unbounded">
<element name="pixelWidth" type="nonNegativeInteger" minOccurs="0">
<annotation>
<documentation>Width measured in pixels of the display specified by Area of Interest</documentation>
</annotation>
</element>
<element name="pixelHeight" type="nonNegativeInteger" minOccurs="0">
<annotation>
<documentation>Height measured in pixels of the display specified by Area of Interest.</documentation>
</annotation>
</element>
<element name="mmPerPixel" type="double" minOccurs="0">
<annotation>
<documentation>The number of mm per pixel for the display (allowing the real display size to be calculated).</documentation>
</annotation>
</element>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</choice>
</complexType>
<!-- Entry extensions for dealing with scale interval -->
<element name="minScaleDenominator" type="double">
<annotation>
<documentation>Minimum scale for the display of the resource. This element is an element extension for entry</documentation>
</annotation>
</element>
<element name="maxScaleDenominator" type="double">
<annotation>
<documentation>Minimum scale for the display of the resource. This element is an element extension for entry</documentation>
</annotation>
</element>
<!-- -Entry extensions for dealing with Offerings -->
<simpleType name="KnownOfferingTypeCodeType">
<restriction base="string">
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/csw"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/wcs"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/wfs"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/wms"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/wmts"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/wps"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/gml"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/kml"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/geotiff"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/gmljp2"/>
<enumeration value="http://www.opengis.net/spec/owc-atom/1.0/req/gmlcov"/>
</restriction>
</simpleType>
<simpleType name="OfferingTypeCodeType">
<union memberTypes="owc:KnownOfferingTypeCodeType string"/>
</simpleType>
<simpleType name="MethodCodeType">
<restriction base="string">
<enumeration value="GET"/>
<enumeration value="POST"/>
<enumeration value="PUT"/>
<enumeration value="DELETE"/>
<enumeration value="HEAD"/>
<enumeration value="OPTIONS"/>
</restriction>
</simpleType>
<!--simpleType name="KnownOperationTypeCodeType">
<restriction base="string">
<enumeration value="capabilities"/>
<enumeration value="describe"/>
<enumeration value="data_access"/>
<enumeration value="data_transaction"/>
<enumeration value="status"/>
</restriction>
</simpleType>
<simpleType name="OperationTypeCodeType">
<union memberTypes="owc:KnownOperationTypeCodeType string"/>
</simpleType-->
<simpleType name="KnownOperationCodeType">
<restriction base="string">
<enumeration value="GetCapabilities"/>
<enumeration value="DescribeFeature"/>
<enumeration value="DescribeCoverage"/>
<enumeration value="GetMap"/>
<enumeration value="GetTile"/>
<enumeration value="GetFeature"/>
<enumeration value="GetFeatureInfo"/>
<enumeration value="GetCoverage"/>
<enumeration value="GetRecords"/>
<enumeration value="Execute"/>
<enumeration value="Transaction"/>
</restriction>
</simpleType>
<simpleType name="OperationCodeType">
<union memberTypes="owc:KnownOperationCodeType string"/>
</simpleType>
<element name="offering" type="owc:OfferingType">
<annotation>
<documentation>Service or inline content offering for the resource targetted at OGC compliant clients.</documentation>
</annotation>
</element>
<complexType name="OfferingType">
<annotation>
<documentation>Service or inline content offering for the resource targetted at OGC compliant clients.</documentation>
</annotation>
<choice maxOccurs="unbounded">
<element name="operation" type="owc:OperationType" minOccurs="0" maxOccurs="unbounded"/>
<element name="content" type="owc:ContentType" minOccurs="0" maxOccurs="unbounded"/>
<element name="styleSet" type="owc:StyleSetType" minOccurs="0" maxOccurs="unbounded"/>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</choice>
<attribute name="code" type="owc:OfferingTypeCodeType" use="required">
<annotation>
<documentation>Code identifying the type of offering.</documentation>
</annotation>
</attribute>
</complexType>
<complexType name="OperationType">
<annotation>
<documentation>
Service operations useful to retrieve the information.
</documentation>
</annotation>
<choice maxOccurs="unbounded">
<element name="request" type="owc:ContentType" minOccurs="0">
<annotation>
<documentation>For POST and SOAP Requests, a payload is required. Note: not necessarily XML as the content is defined by MIME-type. If the content is text/xml or application/xml+* it MUST be present as a XML fragment (without the xml... header) and the encoding MUST be the same as the feed. </documentation>
</annotation>
</element>
<element name="result" type="owc:ContentType" minOccurs="0">
<annotation>
<documentation>Result is an optional parameter that captures the result of an operation, in the form it was returned from the server. This can be defined inline or as a reference. When the result content is inline XML it should be as a XML fragment (without the xml... header) and the encoding MUST be the same as the feed. </documentation>
</annotation>
</element>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</choice>
<attribute name="method" type="owc:MethodCodeType" default="GET">
<annotation>
<documentation>This identifies the method (verb) of the operation. Possible values are GET, POST... Default value is GET.</documentation>
</annotation>
</attribute>
<attribute name="code" type="owc:OperationCodeType" use="required">
<annotation>
<documentation>Code identifying the type of Operation. Typically the OGC Service request type, e.g. "GetCapabilities" or "GetMap". </documentation>
</annotation>
</attribute>
<attribute name="href" type="anyURI" use="required">
<annotation>
<documentation>For HTTP GET the serviceURL item is used to capture the entire request. For POST (and SOAP) requests, the serviceURL is used to capture the address, and in addition a payload is required. See payload below for an example of the POST request.</documentation>
</annotation>
</attribute>
<attribute name="type" type="atom:ContentTypeType"/>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
<complexType name="ContentType" mixed="true">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="type" type="atom:ContentTypeType" use="required"/>
<attribute name="href" type="anyURI"/>
</complexType>
<!-- Entry extension for folder -->
<element name="forder" type="string">
<annotation>
<documentation>Definition of the folder structure in which the resource is placed.</documentation>
</annotation>
</element>
<complexType name="StyleSetType">
<annotation>
<documentation>Defines a portrayal style for a resource content.</documentation>
</annotation>
<choice maxOccurs="unbounded">
<element name="name" type="string">
<annotation>
<documentation>Unique name of the styleSet within a given service </documentation>
</annotation>
</element>
<element name="title" type="string">
<annotation>
<documentation>A Human Readable Title for the style</documentation>
</annotation>
</element>
<element name="abstract" type="string" minOccurs="0">
<annotation>
<documentation>Abstract or description of the Style</documentation>
</annotation>
</element>
<element name="legendURL" type="atom:linkType" minOccurs="0">
<annotation>
<documentation>URL of a legend image for the style</documentation>
</annotation>
</element>
<element name="content" type="owc:ContentType" minOccurs="0">
<annotation>
<documentation>
The inline or a external reference to the style definition
</documentation>
</annotation>
</element>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</choice>
<attribute name="default" type="boolean" default="false">
<annotation>
<documentation>Specifies the style to be applied when the service is invoked (other styles are there as alternatives).</documentation>
</annotation>
</attribute>
</complexType>
</schema>