1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<xs:schema targetNamespace="http://www.isotc211.org/2005/gmd" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd">
|
3
|
<!-- ================================= Annotation ================================ -->
|
4
|
<xs:annotation>
|
5
|
<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:05 ====== </xs:documentation>
|
6
|
</xs:annotation>
|
7
|
<!-- ================================== Imports ================================== -->
|
8
|
<xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="gco.xsd"/>
|
9
|
<xs:include schemaLocation="constraints.xsd"/>
|
10
|
<xs:include schemaLocation="distribution.xsd"/>
|
11
|
<xs:include schemaLocation="maintenance.xsd"/>
|
12
|
<!-- ########################################################################### -->
|
13
|
<!-- ########################################################################### -->
|
14
|
<!-- ================================== Classes ================================= -->
|
15
|
<xs:complexType name="AbstractMD_Identification_Type" abstract="true">
|
16
|
<xs:annotation>
|
17
|
<xs:documentation>Basic information about data</xs:documentation>
|
18
|
</xs:annotation>
|
19
|
<xs:complexContent>
|
20
|
<xs:extension base="gco:AbstractObject_Type">
|
21
|
<xs:sequence>
|
22
|
<xs:element name="citation" type="gmd:CI_Citation_PropertyType"/>
|
23
|
<xs:element name="abstract" type="gco:CharacterString_PropertyType"/>
|
24
|
<xs:element name="purpose" type="gco:CharacterString_PropertyType" minOccurs="0"/>
|
25
|
<xs:element name="credit" type="gco:CharacterString_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
26
|
<xs:element name="status" type="gmd:MD_ProgressCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
27
|
<xs:element name="pointOfContact" type="gmd:CI_ResponsibleParty_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
28
|
<xs:element name="resourceMaintenance" type="gmd:MD_MaintenanceInformation_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
29
|
<xs:element name="graphicOverview" type="gmd:MD_BrowseGraphic_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
30
|
<xs:element name="resourceFormat" type="gmd:MD_Format_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
31
|
<xs:element name="descriptiveKeywords" type="gmd:MD_Keywords_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
32
|
<xs:element name="resourceSpecificUsage" type="gmd:MD_Usage_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
33
|
<xs:element name="resourceConstraints" type="gmd:MD_Constraints_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
34
|
<xs:element name="aggregationInfo" type="gmd:MD_AggregateInformation_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
35
|
</xs:sequence>
|
36
|
</xs:extension>
|
37
|
</xs:complexContent>
|
38
|
</xs:complexType>
|
39
|
<!-- ........................................................................ -->
|
40
|
<xs:element name="AbstractMD_Identification" type="gmd:AbstractMD_Identification_Type" abstract="true"/>
|
41
|
<!-- ........................................................................ -->
|
42
|
<xs:complexType name="MD_Identification_PropertyType">
|
43
|
<xs:sequence minOccurs="0">
|
44
|
<xs:element ref="gmd:AbstractMD_Identification"/>
|
45
|
</xs:sequence>
|
46
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
47
|
<xs:attribute ref="gco:nilReason"/>
|
48
|
</xs:complexType>
|
49
|
<!-- =========================================================================== -->
|
50
|
<xs:complexType name="MD_BrowseGraphic_Type">
|
51
|
<xs:annotation>
|
52
|
<xs:documentation>Graphic that provides an illustration of the dataset (should include a legend for the graphic)</xs:documentation>
|
53
|
</xs:annotation>
|
54
|
<xs:complexContent>
|
55
|
<xs:extension base="gco:AbstractObject_Type">
|
56
|
<xs:sequence>
|
57
|
<xs:element name="fileName" type="gco:CharacterString_PropertyType"/>
|
58
|
<xs:element name="fileDescription" type="gco:CharacterString_PropertyType" minOccurs="0"/>
|
59
|
<xs:element name="fileType" type="gco:CharacterString_PropertyType" minOccurs="0"/>
|
60
|
</xs:sequence>
|
61
|
</xs:extension>
|
62
|
</xs:complexContent>
|
63
|
</xs:complexType>
|
64
|
<!-- ........................................................................ -->
|
65
|
<xs:element name="MD_BrowseGraphic" type="gmd:MD_BrowseGraphic_Type"/>
|
66
|
<!-- ........................................................................ -->
|
67
|
<xs:complexType name="MD_BrowseGraphic_PropertyType">
|
68
|
<xs:sequence minOccurs="0">
|
69
|
<xs:element ref="gmd:MD_BrowseGraphic"/>
|
70
|
</xs:sequence>
|
71
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
72
|
<xs:attribute ref="gco:nilReason"/>
|
73
|
</xs:complexType>
|
74
|
<!-- =========================================================================== -->
|
75
|
<xs:complexType name="MD_DataIdentification_Type">
|
76
|
<xs:complexContent>
|
77
|
<xs:extension base="gmd:AbstractMD_Identification_Type">
|
78
|
<xs:sequence>
|
79
|
<xs:element name="spatialRepresentationType" type="gmd:MD_SpatialRepresentationTypeCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
80
|
<xs:element name="spatialResolution" type="gmd:MD_Resolution_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
81
|
<xs:element name="language" type="gco:CharacterString_PropertyType" maxOccurs="unbounded"/>
|
82
|
<xs:element name="characterSet" type="gmd:MD_CharacterSetCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
83
|
<xs:element name="topicCategory" type="gmd:MD_TopicCategoryCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
84
|
<xs:element name="environmentDescription" type="gco:CharacterString_PropertyType" minOccurs="0"/>
|
85
|
<xs:element name="extent" type="gmd:EX_Extent_PropertyType" minOccurs="0" maxOccurs="unbounded"/>
|
86
|
<xs:element name="supplementalInformation" type="gco:CharacterString_PropertyType" minOccurs="0"/>
|
87
|
</xs:sequence>
|
88
|
</xs:extension>
|
89
|
</xs:complexContent>
|
90
|
</xs:complexType>
|
91
|
<!-- ........................................................................ -->
|
92
|
<xs:element name="MD_DataIdentification" type="gmd:MD_DataIdentification_Type" substitutionGroup="gmd:AbstractMD_Identification"/>
|
93
|
<!-- ........................................................................ -->
|
94
|
<xs:complexType name="MD_DataIdentification_PropertyType">
|
95
|
<xs:sequence minOccurs="0">
|
96
|
<xs:element ref="gmd:MD_DataIdentification"/>
|
97
|
</xs:sequence>
|
98
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
99
|
<xs:attribute ref="gco:nilReason"/>
|
100
|
</xs:complexType>
|
101
|
<!-- =========================================================================== -->
|
102
|
<xs:complexType name="MD_ServiceIdentification_Type">
|
103
|
<xs:annotation>
|
104
|
<xs:documentation>See 19119 for further info</xs:documentation>
|
105
|
</xs:annotation>
|
106
|
<xs:complexContent>
|
107
|
<xs:extension base="gmd:AbstractMD_Identification_Type"/>
|
108
|
</xs:complexContent>
|
109
|
</xs:complexType>
|
110
|
<!-- ........................................................................ -->
|
111
|
<xs:element name="MD_ServiceIdentification" type="gmd:MD_ServiceIdentification_Type" substitutionGroup="gmd:AbstractMD_Identification"/>
|
112
|
<!-- ........................................................................ -->
|
113
|
<xs:complexType name="MD_ServiceIdentification_PropertyType">
|
114
|
<xs:sequence minOccurs="0">
|
115
|
<xs:element ref="gmd:MD_ServiceIdentification"/>
|
116
|
</xs:sequence>
|
117
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
118
|
<xs:attribute ref="gco:nilReason"/>
|
119
|
</xs:complexType>
|
120
|
<!-- =========================================================================== -->
|
121
|
<xs:complexType name="MD_RepresentativeFraction_Type">
|
122
|
<xs:complexContent>
|
123
|
<xs:extension base="gco:AbstractObject_Type">
|
124
|
<xs:sequence>
|
125
|
<xs:element name="denominator" type="gco:Integer_PropertyType"/>
|
126
|
</xs:sequence>
|
127
|
</xs:extension>
|
128
|
</xs:complexContent>
|
129
|
</xs:complexType>
|
130
|
<!-- ........................................................................ -->
|
131
|
<xs:element name="MD_RepresentativeFraction" type="gmd:MD_RepresentativeFraction_Type"/>
|
132
|
<!-- ........................................................................ -->
|
133
|
<xs:complexType name="MD_RepresentativeFraction_PropertyType">
|
134
|
<xs:sequence minOccurs="0">
|
135
|
<xs:element ref="gmd:MD_RepresentativeFraction"/>
|
136
|
</xs:sequence>
|
137
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
138
|
<xs:attribute ref="gco:nilReason"/>
|
139
|
</xs:complexType>
|
140
|
<!-- =========================================================================== -->
|
141
|
<xs:complexType name="MD_Usage_Type">
|
142
|
<xs:annotation>
|
143
|
<xs:documentation>Brief description of ways in which the dataset is currently used.</xs:documentation>
|
144
|
</xs:annotation>
|
145
|
<xs:complexContent>
|
146
|
<xs:extension base="gco:AbstractObject_Type">
|
147
|
<xs:sequence>
|
148
|
<xs:element name="specificUsage" type="gco:CharacterString_PropertyType"/>
|
149
|
<xs:element name="usageDateTime" type="gco:DateTime_PropertyType" minOccurs="0"/>
|
150
|
<xs:element name="userDeterminedLimitations" type="gco:CharacterString_PropertyType" minOccurs="0"/>
|
151
|
<xs:element name="userContactInfo" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/>
|
152
|
</xs:sequence>
|
153
|
</xs:extension>
|
154
|
</xs:complexContent>
|
155
|
</xs:complexType>
|
156
|
<!-- ........................................................................ -->
|
157
|
<xs:element name="MD_Usage" type="gmd:MD_Usage_Type"/>
|
158
|
<!-- ........................................................................ -->
|
159
|
<xs:complexType name="MD_Usage_PropertyType">
|
160
|
<xs:sequence minOccurs="0">
|
161
|
<xs:element ref="gmd:MD_Usage"/>
|
162
|
</xs:sequence>
|
163
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
164
|
<xs:attribute ref="gco:nilReason"/>
|
165
|
</xs:complexType>
|
166
|
<!-- =========================================================================== -->
|
167
|
<xs:complexType name="MD_Keywords_Type">
|
168
|
<xs:annotation>
|
169
|
<xs:documentation>Keywords, their type and reference source</xs:documentation>
|
170
|
</xs:annotation>
|
171
|
<xs:complexContent>
|
172
|
<xs:extension base="gco:AbstractObject_Type">
|
173
|
<xs:sequence>
|
174
|
<xs:element name="keyword" type="gco:CharacterString_PropertyType" maxOccurs="unbounded"/>
|
175
|
<xs:element name="type" type="gmd:MD_KeywordTypeCode_PropertyType" minOccurs="0"/>
|
176
|
<xs:element name="thesaurusName" type="gmd:CI_Citation_PropertyType" minOccurs="0"/>
|
177
|
</xs:sequence>
|
178
|
</xs:extension>
|
179
|
</xs:complexContent>
|
180
|
</xs:complexType>
|
181
|
<!-- ........................................................................ -->
|
182
|
<xs:element name="MD_Keywords" type="gmd:MD_Keywords_Type"/>
|
183
|
<!-- ........................................................................ -->
|
184
|
<xs:complexType name="MD_Keywords_PropertyType">
|
185
|
<xs:sequence minOccurs="0">
|
186
|
<xs:element ref="gmd:MD_Keywords"/>
|
187
|
</xs:sequence>
|
188
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
189
|
<xs:attribute ref="gco:nilReason"/>
|
190
|
</xs:complexType>
|
191
|
<!-- =========================================================================== -->
|
192
|
<xs:complexType name="DS_Association_Type">
|
193
|
<xs:complexContent>
|
194
|
<xs:extension base="gco:AbstractObject_Type">
|
195
|
<xs:sequence/>
|
196
|
</xs:extension>
|
197
|
</xs:complexContent>
|
198
|
</xs:complexType>
|
199
|
<!-- ........................................................................ -->
|
200
|
<xs:element name="DS_Association" type="gmd:DS_Association_Type"/>
|
201
|
<!-- ........................................................................ -->
|
202
|
<xs:complexType name="DS_Association_PropertyType">
|
203
|
<xs:sequence minOccurs="0">
|
204
|
<xs:element ref="gmd:DS_Association"/>
|
205
|
</xs:sequence>
|
206
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
207
|
<xs:attribute ref="gco:nilReason"/>
|
208
|
</xs:complexType>
|
209
|
<!-- =========================================================================== -->
|
210
|
<xs:complexType name="MD_AggregateInformation_Type">
|
211
|
<xs:annotation>
|
212
|
<xs:documentation>Encapsulates the dataset aggregation information</xs:documentation>
|
213
|
</xs:annotation>
|
214
|
<xs:complexContent>
|
215
|
<xs:extension base="gco:AbstractObject_Type">
|
216
|
<xs:sequence>
|
217
|
<xs:element name="aggregateDataSetName" type="gmd:CI_Citation_PropertyType" minOccurs="0"/>
|
218
|
<xs:element name="aggregateDataSetIdentifier" type="gmd:MD_Identifier_PropertyType" minOccurs="0"/>
|
219
|
<xs:element name="associationType" type="gmd:DS_AssociationTypeCode_PropertyType"/>
|
220
|
<xs:element name="initiativeType" type="gmd:DS_InitiativeTypeCode_PropertyType" minOccurs="0"/>
|
221
|
</xs:sequence>
|
222
|
</xs:extension>
|
223
|
</xs:complexContent>
|
224
|
</xs:complexType>
|
225
|
<!-- ........................................................................ -->
|
226
|
<xs:element name="MD_AggregateInformation" type="gmd:MD_AggregateInformation_Type"/>
|
227
|
<!-- ........................................................................ -->
|
228
|
<xs:complexType name="MD_AggregateInformation_PropertyType">
|
229
|
<xs:sequence minOccurs="0">
|
230
|
<xs:element ref="gmd:MD_AggregateInformation"/>
|
231
|
</xs:sequence>
|
232
|
<xs:attributeGroup ref="gco:ObjectReference"/>
|
233
|
<xs:attribute ref="gco:nilReason"/>
|
234
|
</xs:complexType>
|
235
|
<!-- =========================================================================== -->
|
236
|
<xs:complexType name="MD_Resolution_Type">
|
237
|
<xs:choice>
|
238
|
<xs:element name="equivalentScale" type="gmd:MD_RepresentativeFraction_PropertyType"/>
|
239
|
<xs:element name="distance" type="gco:Distance_PropertyType"/>
|
240
|
</xs:choice>
|
241
|
</xs:complexType>
|
242
|
<!-- ........................................................................ -->
|
243
|
<xs:element name="MD_Resolution" type="gmd:MD_Resolution_Type"/>
|
244
|
<!-- ........................................................................ -->
|
245
|
<xs:complexType name="MD_Resolution_PropertyType">
|
246
|
<xs:sequence minOccurs="0">
|
247
|
<xs:element ref="gmd:MD_Resolution"/>
|
248
|
</xs:sequence>
|
249
|
<xs:attribute ref="gco:nilReason"/>
|
250
|
</xs:complexType>
|
251
|
<!-- =========================================================================== -->
|
252
|
<xs:simpleType name="MD_TopicCategoryCode_Type">
|
253
|
<xs:annotation>
|
254
|
<xs:documentation>High-level geospatial data thematic classification to assist in the grouping and search of available geospatial datasets</xs:documentation>
|
255
|
</xs:annotation>
|
256
|
<xs:restriction base="xs:string">
|
257
|
<xs:enumeration value="farming"/>
|
258
|
<xs:enumeration value="biota"/>
|
259
|
<xs:enumeration value="boundaries"/>
|
260
|
<xs:enumeration value="climatologyMeteorologyAtmosphere"/>
|
261
|
<xs:enumeration value="economy"/>
|
262
|
<xs:enumeration value="elevation"/>
|
263
|
<xs:enumeration value="environment"/>
|
264
|
<xs:enumeration value="geoscientificInformation"/>
|
265
|
<xs:enumeration value="health"/>
|
266
|
<xs:enumeration value="imageryBaseMapsEarthCover"/>
|
267
|
<xs:enumeration value="intelligenceMilitary"/>
|
268
|
<xs:enumeration value="inlandWaters"/>
|
269
|
<xs:enumeration value="location"/>
|
270
|
<xs:enumeration value="oceans"/>
|
271
|
<xs:enumeration value="planningCadastre"/>
|
272
|
<xs:enumeration value="society"/>
|
273
|
<xs:enumeration value="structure"/>
|
274
|
<xs:enumeration value="transportation"/>
|
275
|
<xs:enumeration value="utilitiesCommunication"/>
|
276
|
</xs:restriction>
|
277
|
</xs:simpleType>
|
278
|
<!-- ........................................................................ -->
|
279
|
<xs:element name="MD_TopicCategoryCode" type="gmd:MD_TopicCategoryCode_Type" substitutionGroup="gco:CharacterString"/>
|
280
|
<!-- ........................................................................ -->
|
281
|
<xs:complexType name="MD_TopicCategoryCode_PropertyType">
|
282
|
<xs:sequence minOccurs="0">
|
283
|
<xs:element ref="gmd:MD_TopicCategoryCode"/>
|
284
|
</xs:sequence>
|
285
|
<xs:attribute ref="gco:nilReason"/>
|
286
|
</xs:complexType>
|
287
|
<!-- =========================================================================== -->
|
288
|
<!-- ........................................................................ -->
|
289
|
<xs:element name="MD_CharacterSetCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
|
290
|
<!-- ........................................................................ -->
|
291
|
<xs:complexType name="MD_CharacterSetCode_PropertyType">
|
292
|
<xs:sequence minOccurs="0">
|
293
|
<xs:element ref="gmd:MD_CharacterSetCode"/>
|
294
|
</xs:sequence>
|
295
|
<xs:attribute ref="gco:nilReason"/>
|
296
|
</xs:complexType>
|
297
|
<!-- =========================================================================== -->
|
298
|
<!-- ........................................................................ -->
|
299
|
<xs:element name="MD_SpatialRepresentationTypeCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
|
300
|
<!-- ........................................................................ -->
|
301
|
<xs:complexType name="MD_SpatialRepresentationTypeCode_PropertyType">
|
302
|
<xs:sequence minOccurs="0">
|
303
|
<xs:element ref="gmd:MD_SpatialRepresentationTypeCode"/>
|
304
|
</xs:sequence>
|
305
|
<xs:attribute ref="gco:nilReason"/>
|
306
|
</xs:complexType>
|
307
|
<!-- =========================================================================== -->
|
308
|
<!-- ........................................................................ -->
|
309
|
<xs:element name="MD_ProgressCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
|
310
|
<!-- ........................................................................ -->
|
311
|
<xs:complexType name="MD_ProgressCode_PropertyType">
|
312
|
<xs:sequence minOccurs="0">
|
313
|
<xs:element ref="gmd:MD_ProgressCode"/>
|
314
|
</xs:sequence>
|
315
|
<xs:attribute ref="gco:nilReason"/>
|
316
|
</xs:complexType>
|
317
|
<!-- =========================================================================== -->
|
318
|
<!-- ........................................................................ -->
|
319
|
<xs:element name="MD_KeywordTypeCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
|
320
|
<!-- ........................................................................ -->
|
321
|
<xs:complexType name="MD_KeywordTypeCode_PropertyType">
|
322
|
<xs:sequence minOccurs="0">
|
323
|
<xs:element ref="gmd:MD_KeywordTypeCode"/>
|
324
|
</xs:sequence>
|
325
|
<xs:attribute ref="gco:nilReason"/>
|
326
|
</xs:complexType>
|
327
|
<!-- =========================================================================== -->
|
328
|
<!-- ........................................................................ -->
|
329
|
<xs:element name="DS_AssociationTypeCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
|
330
|
<!-- ........................................................................ -->
|
331
|
<xs:complexType name="DS_AssociationTypeCode_PropertyType">
|
332
|
<xs:sequence minOccurs="0">
|
333
|
<xs:element ref="gmd:DS_AssociationTypeCode"/>
|
334
|
</xs:sequence>
|
335
|
<xs:attribute ref="gco:nilReason"/>
|
336
|
</xs:complexType>
|
337
|
<!-- =========================================================================== -->
|
338
|
<!-- ........................................................................ -->
|
339
|
<xs:element name="DS_InitiativeTypeCode" type="gco:CodeListValue_Type" substitutionGroup="gco:CharacterString"/>
|
340
|
<!-- ........................................................................ -->
|
341
|
<xs:complexType name="DS_InitiativeTypeCode_PropertyType">
|
342
|
<xs:sequence minOccurs="0">
|
343
|
<xs:element ref="gmd:DS_InitiativeTypeCode"/>
|
344
|
</xs:sequence>
|
345
|
<xs:attribute ref="gco:nilReason"/>
|
346
|
</xs:complexType>
|
347
|
<!-- =========================================================================== -->
|
348
|
</xs:schema>
|