Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Systems Administrator (NCDDC) -->
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
4
	<xs:element name="eainfo" type="eainfoType">
5
		<xs:annotation>
6
			<xs:documentation>Details about the information content of the data set, including the entity types, their attributes, and the domains from which attribute values may be assigned.</xs:documentation>
7
			<xs:appinfo>
8
				<xs:attribute name="mdname" fixed="Entity and Attribute Information"/>
9
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
10
				<xs:attribute name="other-validation-rules" fixed="checkAndOr([detailed,overview])"/>
11
			</xs:appinfo>
12
		</xs:annotation>
13
	</xs:element>
14
	<xs:complexType name="eainfoType">
15
		<xs:choice>
16
			<xs:sequence>
17
				<xs:element ref="detailed" maxOccurs="unbounded"/>
18
				<xs:element ref="overview" minOccurs="0" maxOccurs="unbounded"/>
19
			</xs:sequence>
20
			<xs:element ref="overview" maxOccurs="unbounded"/>
21
		</xs:choice>
22
	</xs:complexType>
23
	<xs:element name="detailed" type="detailedType">
24
		<xs:annotation>
25
			<xs:documentation>Description of the entities, attributes, attribute values, and related characteristics encoded in the data set.</xs:documentation>
26
			<xs:appinfo>
27
				<xs:attribute name="mdname" fixed="Detailed Description"/>
28
				<xs:attribute name="use" fixed="Mandatory"/>
29
			</xs:appinfo>
30
		</xs:annotation>
31
	</xs:element>
32
	<xs:complexType name="detailedType">
33
		<xs:sequence>
34
			<xs:element ref="enttyp"/>
35
			<xs:element ref="attr" minOccurs="0" maxOccurs="unbounded"/>
36
		</xs:sequence>
37
	</xs:complexType>
38
	<xs:element name="enttyp" type="enttypType">
39
		<xs:annotation>
40
			<xs:documentation>The definition and description of a set into which similar entity instances are classified.</xs:documentation>
41
			<xs:appinfo>
42
				<xs:attribute name="mdname" fixed="Entity Type"/>
43
				<xs:attribute name="use" fixed="Mandatory"/>
44
			</xs:appinfo>
45
		</xs:annotation>
46
	</xs:element>
47
	<xs:complexType name="enttypType">
48
		<xs:sequence>
49
			<xs:element ref="enttypl"/>
50
			<xs:element ref="enttypd"/>
51
			<xs:element ref="enttypds"/>
52
		</xs:sequence>
53
	</xs:complexType>
54
	<xs:element name="enttypl" type="enttyplType">
55
		<xs:annotation>
56
			<xs:documentation>The name of the entity type.</xs:documentation>
57
			<xs:appinfo>
58
				<xs:attribute name="mdname" fixed="Entity Type Label"/>
59
				<xs:attribute name="use" fixed="Mandatory"/>
60
			</xs:appinfo>
61
		</xs:annotation>
62
	</xs:element>
63
	<xs:simpleType name="enttyplType">
64
		<xs:restriction base="FGDCstring"/>
65
	</xs:simpleType>
66
	<xs:element name="enttypd" type="enttypdType">
67
		<xs:annotation>
68
			<xs:documentation>The description of the entity type.</xs:documentation>
69
			<xs:appinfo>
70
				<xs:attribute name="mdname" fixed="Entity Type Definition"/>
71
				<xs:attribute name="use" fixed="Mandatory"/>
72
			</xs:appinfo>
73
		</xs:annotation>
74
	</xs:element>
75
	<xs:simpleType name="enttypdType">
76
		<xs:restriction base="FGDCstring"/>
77
	</xs:simpleType>
78
	<xs:element name="enttypds" type="enttypdsType">
79
		<xs:annotation>
80
			<xs:documentation>The authority of the definition.</xs:documentation>
81
			<xs:appinfo>
82
				<xs:attribute name="mdname" fixed="Entity Type Definition Source"/>
83
				<xs:attribute name="use" fixed="Mandatory"/>
84
			</xs:appinfo>
85
		</xs:annotation>
86
	</xs:element>
87
	<xs:simpleType name="enttypdsType">
88
		<xs:restriction base="FGDCstring"/>
89
	</xs:simpleType>
90
	<xs:element name="attr" type="attrType">
91
		<xs:annotation>
92
			<xs:documentation>A defined characteristic of an entity.</xs:documentation>
93
			<xs:appinfo>
94
				<xs:attribute name="mdname" fixed="Attribute"/>
95
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
96
				<xs:attribute name="is-recursive" fixed="false"/>
97
				<xs:attribute name="other-validation-rules" fixed="checkChron([begdatea,enddatea])"/>
98
			</xs:appinfo>
99
		</xs:annotation>
100
	</xs:element>
101
	<xs:complexType name="attrType">
102
		<xs:sequence>
103
			<xs:element ref="attrlabl"/>
104
			<xs:element ref="attrdef"/>
105
			<xs:element ref="attrdefs"/>
106
			<xs:element ref="attrdomv" maxOccurs="unbounded"/>
107
			<xs:sequence minOccurs="0" maxOccurs="unbounded">
108
				<xs:element ref="begdatea"/>
109
				<xs:element ref="enddatea" minOccurs="0"/>
110
			</xs:sequence>
111
			<xs:element ref="attrvai" minOccurs="0"/>
112
			<xs:element ref="attrmfrq" minOccurs="0"/>
113
		</xs:sequence>
114
	</xs:complexType>
115
	<xs:element name="attrlabl" type="attrlablType">
116
		<xs:annotation>
117
			<xs:documentation>The name of the attribute.</xs:documentation>
118
			<xs:appinfo>
119
				<xs:attribute name="mdname" fixed="Attribute Label"/>
120
				<xs:attribute name="use" fixed="Mandatory"/>
121
			</xs:appinfo>
122
		</xs:annotation>
123
	</xs:element>
124
	<xs:simpleType name="attrlablType">
125
		<xs:restriction base="FGDCstring"/>
126
	</xs:simpleType>
127
	<xs:element name="attrdef" type="attrdefType">
128
		<xs:annotation>
129
			<xs:documentation>The description of the attribute.</xs:documentation>
130
			<xs:appinfo>
131
				<xs:attribute name="mdname" fixed="Attribute Definition"/>
132
				<xs:attribute name="use" fixed="Mandatory"/>
133
			</xs:appinfo>
134
		</xs:annotation>
135
	</xs:element>
136
	<xs:simpleType name="attrdefType">
137
		<xs:restriction base="FGDCstring"/>
138
	</xs:simpleType>
139
	<xs:element name="attrdefs" type="attrdefsType">
140
		<xs:annotation>
141
			<xs:documentation>The authority of the definition.</xs:documentation>
142
			<xs:appinfo>
143
				<xs:attribute name="mdname" fixed="Attribute Definition Source"/>
144
				<xs:attribute name="use" fixed="Mandatory"/>
145
			</xs:appinfo>
146
		</xs:annotation>
147
	</xs:element>
148
	<xs:simpleType name="attrdefsType">
149
		<xs:restriction base="FGDCstring"/>
150
	</xs:simpleType>
151
	<xs:element name="attrdomv" type="attrdomvType">
152
		<xs:annotation>
153
			<xs:documentation>The valid values that can be assigned for an attribute.</xs:documentation>
154
			<xs:appinfo>
155
				<xs:attribute name="mdname" fixed="Attribute Domain Values"/>
156
				<xs:attribute name="use" fixed="Mandatory"/>
157
				<xs:attribute name="other-validation-rules" fixed="checkOr([edom,rdom,udom,codesetd])"/>
158
			</xs:appinfo>
159
		</xs:annotation>
160
	</xs:element>
161
	<xs:complexType name="attrdomvType">
162
		<xs:choice>
163
			<xs:element ref="edom"/>
164
			<xs:element ref="rdom"/>
165
			<xs:element ref="codesetd"/>
166
			<xs:element ref="udom"/>
167
		</xs:choice>
168
	</xs:complexType>
169
	<xs:element name="edom" type="edomType">
170
		<xs:annotation>
171
			<xs:documentation>The members of an established set of valid values.</xs:documentation>
172
			<xs:appinfo>
173
				<xs:attribute name="mdname" fixed="Enumerated Domain"/>
174
				<xs:attribute name="use" fixed="Mandatory"/>
175
				<xs:attribute name="is-recursive" fixed="true"/>
176
				<xs:attribute name="recursive-class-name" fixed="attr"/>
177
			</xs:appinfo>
178
		</xs:annotation>
179
	</xs:element>
180
	<xs:complexType name="edomType">
181
		<xs:sequence maxOccurs="unbounded">
182
			<xs:element ref="edomv"/>
183
			<xs:element ref="edomvd"/>
184
			<xs:element ref="edomvds"/>
185
			<xs:element ref="attr" minOccurs="0" maxOccurs="unbounded"/>
186
		</xs:sequence>
187
	</xs:complexType>
188
	<xs:element name="edomv" type="edomvType">
189
		<xs:annotation>
190
			<xs:documentation>The name or label of a member of the set.</xs:documentation>
191
			<xs:appinfo>
192
				<xs:attribute name="mdname" fixed="Enumerated Domain Value"/>
193
				<xs:attribute name="use" fixed="Mandatory"/>
194
			</xs:appinfo>
195
		</xs:annotation>
196
	</xs:element>
197
	<xs:simpleType name="edomvType">
198
		<xs:restriction base="FGDCstring"/>
199
	</xs:simpleType>
200
	<xs:element name="edomvd" type="edomvdType">
201
		<xs:annotation>
202
			<xs:documentation>The description of the value.</xs:documentation>
203
			<xs:appinfo>
204
				<xs:attribute name="mdname" fixed="Enumerated Domain Value Definition"/>
205
				<xs:attribute name="use" fixed="Mandatory"/>
206
			</xs:appinfo>
207
		</xs:annotation>
208
	</xs:element>
209
	<xs:simpleType name="edomvdType">
210
		<xs:restriction base="FGDCstring"/>
211
	</xs:simpleType>
212
	<xs:element name="edomvds" type="edomvdsType">
213
		<xs:annotation>
214
			<xs:documentation>The authority of the definition.</xs:documentation>
215
			<xs:appinfo>
216
				<xs:attribute name="mdname" fixed="Enumerated Domain Value Definition Source"/>
217
				<xs:attribute name="use" fixed="Mandatory"/>
218
			</xs:appinfo>
219
		</xs:annotation>
220
	</xs:element>
221
	<xs:simpleType name="edomvdsType">
222
		<xs:restriction base="FGDCstring"/>
223
	</xs:simpleType>
224
	<xs:element name="rdom" type="rdomType">
225
		<xs:annotation>
226
			<xs:documentation>The minimum and maximum values of a continuum of valid  values.</xs:documentation>
227
			<xs:appinfo>
228
				<xs:attribute name="mdname" fixed="Range Domain"/>
229
				<xs:attribute name="use" fixed="Mandatory"/>
230
				<xs:attribute name="is-recursive" fixed="true"/>
231
				<xs:attribute name="recursive-class-name" fixed="attr"/>
232
				<xs:attribute name="other-validation-rules" fixed="checkRangeExcludeMin([attrmres,0.0])"/>
233
			</xs:appinfo>
234
		</xs:annotation>
235
	</xs:element>
236
	<xs:complexType name="rdomType">
237
		<xs:sequence>
238
			<xs:element ref="rdommin"/>
239
			<xs:element ref="rdommax"/>
240
			<xs:element ref="attrunit" minOccurs="0"/>
241
			<xs:element ref="attrmres" minOccurs="0"/>
242
			<xs:element ref="attr" minOccurs="0" maxOccurs="unbounded"/>
243
		</xs:sequence>
244
	</xs:complexType>
245
	<xs:element name="rdommin" type="rdomminType">
246
		<xs:annotation>
247
			<xs:documentation>The least value that the attribute can be assigned.</xs:documentation>
248
			<xs:appinfo>
249
				<xs:attribute name="mdname" fixed="Range Domain Minimum"/>
250
				<xs:attribute name="use" fixed="Mandatory"/>
251
			</xs:appinfo>
252
		</xs:annotation>
253
	</xs:element>
254
	<xs:simpleType name="rdomminType">
255
		<xs:restriction base="FGDCstring"/>
256
	</xs:simpleType>
257
	<xs:element name="rdommax" type="rdommaxType">
258
		<xs:annotation>
259
			<xs:documentation>The greatest value that the attribute can be assigned.</xs:documentation>
260
			<xs:appinfo>
261
				<xs:attribute name="mdname" fixed="Range Domain Maximum"/>
262
				<xs:attribute name="use" fixed="Mandatory"/>
263
			</xs:appinfo>
264
		</xs:annotation>
265
	</xs:element>
266
	<xs:simpleType name="rdommaxType">
267
		<xs:restriction base="FGDCstring"/>
268
	</xs:simpleType>
269
	<xs:element name="attrunit" type="attrunitType">
270
		<xs:annotation>
271
			<xs:documentation>The standard of measurement for an attribute value.</xs:documentation>
272
			<xs:appinfo>
273
				<xs:attribute name="mdname" fixed="Attribute Units of Measure"/>
274
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
275
			</xs:appinfo>
276
		</xs:annotation>
277
	</xs:element>
278
	<xs:simpleType name="attrunitType">
279
		<xs:restriction base="FGDCstring"/>
280
	</xs:simpleType>
281
	<xs:element name="attrmres" type="attrmresType">
282
		<xs:annotation>
283
			<xs:documentation>The smallest unit increment to which an attribute value is measured.</xs:documentation>
284
			<xs:appinfo>
285
				<xs:attribute name="mdname" fixed="Attribute Measurement Resolution"/>
286
				<xs:attribute name="use" fixed="Optional"/>
287
				<xs:attribute name="string-input-format" fixed="Attribute Measurement Resolution &gt; 0.0"/>
288
			</xs:appinfo>
289
		</xs:annotation>
290
	</xs:element>
291
	<xs:simpleType name="attrmresType">
292
		<xs:restriction base="xs:double">
293
			<xs:minExclusive value="0.0"/>
294
		</xs:restriction>
295
	</xs:simpleType>
296
	<xs:element name="codesetd" type="codesetdType">
297
		<xs:annotation>
298
			<xs:documentation>Reference to a standard or list which contains the members of an established set of valid values.</xs:documentation>
299
			<xs:appinfo>
300
				<xs:attribute name="mdname" fixed="Codeset Domain"/>
301
				<xs:attribute name="use" fixed="Mandatory"/>
302
			</xs:appinfo>
303
		</xs:annotation>
304
	</xs:element>
305
	<xs:complexType name="codesetdType">
306
		<xs:sequence>
307
			<xs:element ref="codesetn"/>
308
			<xs:element ref="codesets"/>
309
		</xs:sequence>
310
	</xs:complexType>
311
	<xs:element name="codesetn" type="codesetnType">
312
		<xs:annotation>
313
			<xs:documentation>The title of the codeset.</xs:documentation>
314
			<xs:appinfo>
315
				<xs:attribute name="mdname" fixed="Codeset Name"/>
316
				<xs:attribute name="use" fixed="Mandatory"/>
317
			</xs:appinfo>
318
		</xs:annotation>
319
	</xs:element>
320
	<xs:simpleType name="codesetnType">
321
		<xs:restriction base="FGDCstring"/>
322
	</xs:simpleType>
323
	<xs:element name="codesets" type="codesetsType">
324
		<xs:annotation>
325
			<xs:documentation>The authority for the codeset.</xs:documentation>
326
			<xs:appinfo>
327
				<xs:attribute name="mdname" fixed="Codeset Source"/>
328
				<xs:attribute name="use" fixed="Mandatory"/>
329
			</xs:appinfo>
330
		</xs:annotation>
331
	</xs:element>
332
	<xs:simpleType name="codesetsType">
333
		<xs:restriction base="FGDCstring"/>
334
	</xs:simpleType>
335
	<xs:element name="udom" type="udomType">
336
		<xs:annotation>
337
			<xs:documentation>Description of the values and reasons why they cannot be represented.</xs:documentation>
338
			<xs:appinfo>
339
				<xs:attribute name="mdname" fixed="Unrepresentable Domain"/>
340
				<xs:attribute name="use" fixed="Mandatory"/>
341
			</xs:appinfo>
342
		</xs:annotation>
343
	</xs:element>
344
	<xs:simpleType name="udomType">
345
		<xs:restriction base="FGDCstring"/>
346
	</xs:simpleType>
347
	<xs:element name="begdatea" type="begdateaType">
348
		<xs:annotation>
349
			<xs:documentation>Earliest or only date for which the attribute values are current.  In cases when a range of dates are provided, this is the earliest date for which the information is valid.</xs:documentation>
350
			<xs:appinfo>
351
				<xs:attribute name="mdname" fixed="Beginning Date of Attribute Values"/>
352
				<xs:attribute name="use" fixed="Mandatory"/>
353
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY..."/>
354
			</xs:appinfo>
355
		</xs:annotation>
356
	</xs:element>
357
	<xs:simpleType name="begdateaType">
358
		<xs:restriction base="FGDCdate"/>
359
	</xs:simpleType>
360
	<xs:element name="enddatea" type="enddateaType">
361
		<xs:annotation>
362
			<xs:documentation>Latest date for which the information is current.  Used in cases when a range of dates are provided.</xs:documentation>
363
			<xs:appinfo>
364
				<xs:attribute name="mdname" fixed="Ending Date of Attribute Values"/>
365
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
366
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY..."/>
367
			</xs:appinfo>
368
		</xs:annotation>
369
	</xs:element>
370
	<xs:simpleType name="enddateaType">
371
		<xs:restriction base="FGDCdate"/>
372
	</xs:simpleType>
373
	<xs:element name="attrvai" type="attrvaiType">
374
		<xs:annotation>
375
			<xs:documentation>An assessment of the accuracy of the assignment of attribute values.</xs:documentation>
376
			<xs:appinfo>
377
				<xs:attribute name="mdname" fixed="Attribute Value Accuracy Information"/>
378
				<xs:attribute name="use" fixed="Optional"/>
379
			</xs:appinfo>
380
		</xs:annotation>
381
	</xs:element>
382
	<xs:complexType name="attrvaiType">
383
		<xs:sequence>
384
			<xs:element ref="attrva"/>
385
			<xs:element ref="attrvae"/>
386
		</xs:sequence>
387
	</xs:complexType>
388
	<xs:element name="attrva" type="attrvaType">
389
		<xs:annotation>
390
			<xs:documentation>An estimate of the accuracy of the assignment of attribute values.</xs:documentation>
391
			<xs:appinfo>
392
				<xs:attribute name="mdname" fixed="Attribute Value Accuracy"/>
393
				<xs:attribute name="use" fixed="Mandatory"/>
394
			</xs:appinfo>
395
		</xs:annotation>
396
	</xs:element>
397
	<xs:simpleType name="attrvaType">
398
		<xs:restriction base="xs:double"/>
399
	</xs:simpleType>
400
	<xs:element name="attrvae" type="attrvaeType">
401
		<xs:annotation>
402
			<xs:documentation>The definition of the Attribute Value Accuracy measure and units, and a description of how the estimate was derived.</xs:documentation>
403
			<xs:appinfo>
404
				<xs:attribute name="mdname" fixed="Attribute Value Accuracy Explanation"/>
405
				<xs:attribute name="use" fixed="Mandatory"/>
406
			</xs:appinfo>
407
		</xs:annotation>
408
	</xs:element>
409
	<xs:simpleType name="attrvaeType">
410
		<xs:restriction base="FGDCstring"/>
411
	</xs:simpleType>
412
	<xs:element name="attrmfrq" type="attrmfrqType">
413
		<xs:annotation>
414
			<xs:documentation>The frequency with which attribute values are added.</xs:documentation>
415
			<xs:appinfo>
416
				<xs:attribute name="mdname" fixed="Attribute Measurement Frequency"/>
417
				<xs:attribute name="use" fixed="Optional"/>
418
			</xs:appinfo>
419
		</xs:annotation>
420
	</xs:element>
421
	<xs:simpleType name="attrmfrqType">
422
		<xs:union memberTypes="FGDCstring">
423
			<xs:simpleType>
424
				<xs:restriction base="xs:token">
425
					<xs:enumeration value="Unknown"/>
426
					<xs:enumeration value="As needed"/>
427
					<xs:enumeration value="Irregular"/>
428
					<xs:enumeration value="None planned"/>
429
				</xs:restriction>
430
			</xs:simpleType>
431
		</xs:union>
432
	</xs:simpleType>
433
	<xs:element name="overview" type="overviewType">
434
		<xs:annotation>
435
			<xs:documentation>Summary of, and citation to detailed description of, the information content of the data set.</xs:documentation>
436
			<xs:appinfo>
437
				<xs:attribute name="mdname" fixed="Overview Description"/>
438
				<xs:attribute name="use" fixed="Mandatory"/>
439
				<xs:attribute name="is-recursive" fixed="false"/>
440
			</xs:appinfo>
441
		</xs:annotation>
442
	</xs:element>
443
	<xs:complexType name="overviewType">
444
		<xs:sequence>
445
			<xs:element ref="eaover"/>
446
			<xs:element ref="eadetcit" maxOccurs="unbounded"/>
447
		</xs:sequence>
448
	</xs:complexType>
449
	<xs:element name="eaover" type="eaoverType">
450
		<xs:annotation>
451
			<xs:documentation>Detailed summary of the information contained in a data set.</xs:documentation>
452
			<xs:appinfo>
453
				<xs:attribute name="mdname" fixed="Entity and Attribute Overview"/>
454
				<xs:attribute name="use" fixed="Mandatory"/>
455
			</xs:appinfo>
456
		</xs:annotation>
457
	</xs:element>
458
	<xs:simpleType name="eaoverType">
459
		<xs:restriction base="FGDCstring"/>
460
	</xs:simpleType>
461
	<xs:element name="eadetcit" type="eadetcitType">
462
		<xs:annotation>
463
			<xs:documentation>Reference to the complete description of the entity types, attributes, and attribute values for the data set.</xs:documentation>
464
			<xs:appinfo>
465
				<xs:attribute name="mdname" fixed="Entity and Attribute Detail Citation"/>
466
				<xs:attribute name="use" fixed="Mandatory"/>
467
			</xs:appinfo>
468
		</xs:annotation>
469
	</xs:element>
470
	<xs:simpleType name="eadetcitType">
471
		<xs:restriction base="FGDCstring"/>
472
	</xs:simpleType>
473
</xs:schema>
(3-3/11)