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