Project

General

Profile

metacat / lib / schema / fgdc-bdp / fgdc-std-001.1-1999-sect06.xsd @ 10131

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="distinfo" type="distinfoType">
5
		<xs:annotation>
6
			<xs:documentation>Information about the distributor of and options for obtaining the data set.</xs:documentation>
7
			<xs:appinfo>
8
				<xs:attribute name="mdname" fixed="Distribution Information"/>
9
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
10
			</xs:appinfo>
11
		</xs:annotation>
12
	</xs:element>
13
	<xs:complexType name="distinfoType">
14
		<xs:sequence>
15
			<xs:element ref="distrib"/>
16
			<xs:element ref="resdesc" minOccurs="0"/>
17
			<xs:element ref="distliab"/>
18
			<xs:element ref="stdorder" minOccurs="0" maxOccurs="unbounded"/>
19
			<xs:element ref="custom" minOccurs="0"/>
20
			<xs:element ref="techpreq" minOccurs="0"/>
21
			<xs:element ref="availabl" minOccurs="0"/>
22
		</xs:sequence>
23
	</xs:complexType>
24
	<xs:element name="distrib" type="distribType">
25
		<xs:annotation>
26
			<xs:documentation>The party from whom the data set may be obtained.</xs:documentation>
27
			<xs:appinfo>
28
				<xs:attribute name="mdname" fixed="Distributor"/>
29
				<xs:attribute name="use" fixed="Mandatory"/>
30
			</xs:appinfo>
31
		</xs:annotation>
32
	</xs:element>
33
	<xs:complexType name="distribType">
34
		<xs:sequence>
35
			<xs:element ref="cntinfo"/>
36
		</xs:sequence>
37
	</xs:complexType>
38
	<xs:element name="resdesc" type="resdescType">
39
		<xs:annotation>
40
			<xs:documentation>The identifier by which the distributor knows the data set.</xs:documentation>
41
			<xs:appinfo>
42
				<xs:attribute name="mdname" fixed="Resource Description"/>
43
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
44
			</xs:appinfo>
45
		</xs:annotation>
46
	</xs:element>
47
	<xs:simpleType name="resdescType">
48
		<xs:restriction base="FGDCstring"/>
49
	</xs:simpleType>
50
	<xs:element name="distliab" type="distliabType">
51
		<xs:annotation>
52
			<xs:documentation>Statement of the liability assumed by the distributor.</xs:documentation>
53
			<xs:appinfo>
54
				<xs:attribute name="mdname" fixed="Distribution Liability"/>
55
				<xs:attribute name="use" fixed="Mandatory"/>
56
			</xs:appinfo>
57
		</xs:annotation>
58
	</xs:element>
59
	<xs:simpleType name="distliabType">
60
		<xs:restriction base="FGDCstring"/>
61
	</xs:simpleType>
62
	<xs:element name="stdorder" type="stdorderType">
63
		<xs:annotation>
64
			<xs:documentation>The common ways in which the data set may be obtained or received, and related instructions and fee information.</xs:documentation>
65
			<xs:appinfo>
66
				<xs:attribute name="mdname" fixed="Standard Order Process"/>
67
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
68
				<xs:attribute name="other-validation-rules" fixed="checkOr([nondig,digform])"/>
69
			</xs:appinfo>
70
		</xs:annotation>
71
	</xs:element>
72
	<xs:complexType name="stdorderType">
73
		<xs:sequence>
74
			<xs:choice>
75
				<xs:element ref="nondig"/>
76
				<xs:element ref="digform" maxOccurs="unbounded"/>
77
			</xs:choice>
78
			<xs:element ref="fees"/>
79
			<xs:element ref="ordering" minOccurs="0"/>
80
			<xs:element ref="turnarnd" minOccurs="0"/>
81
		</xs:sequence>
82
	</xs:complexType>
83
	<xs:element name="nondig" type="nondigType">
84
		<xs:annotation>
85
			<xs:documentation>The description of options for obtaining the data set on non-computer-compatible media.</xs:documentation>
86
			<xs:appinfo>
87
				<xs:attribute name="mdname" fixed="Non-digital Form"/>
88
				<xs:attribute name="use" fixed="Mandatory"/>
89
			</xs:appinfo>
90
		</xs:annotation>
91
	</xs:element>
92
	<xs:simpleType name="nondigType">
93
		<xs:restriction base="FGDCstring"/>
94
	</xs:simpleType>
95
	<xs:element name="digform" type="digformType">
96
		<xs:annotation>
97
			<xs:documentation>The description of options for obtaining the data set on computer-compatible media.</xs:documentation>
98
			<xs:appinfo>
99
				<xs:attribute name="mdname" fixed="Digital Form"/>
100
				<xs:attribute name="use" fixed="Mandatory"/>
101
			</xs:appinfo>
102
		</xs:annotation>
103
	</xs:element>
104
	<xs:complexType name="digformType">
105
		<xs:sequence>
106
			<xs:element ref="digtinfo"/>
107
			<xs:element ref="digtopt"/>
108
		</xs:sequence>
109
	</xs:complexType>
110
	<xs:element name="digtinfo" type="digtinfoType">
111
		<xs:annotation>
112
			<xs:documentation>Description of the form of the data to be distributed.</xs:documentation>
113
			<xs:appinfo>
114
				<xs:attribute name="mdname" fixed="Digital Transfer Information"/>
115
				<xs:attribute name="use" fixed="Mandatory"/>
116
				<xs:attribute name="other-validation-rules" fixed="checkOr([formverd,formvern]);checkRangeExcludeMin([transize,0.0]);checkForcedMandatory([formvern,formverd,formspec])"/>
117
			</xs:appinfo>
118
		</xs:annotation>
119
	</xs:element>
120
	<xs:complexType name="digtinfoType">
121
		<xs:sequence>
122
			<xs:element ref="formname"/>
123
			<xs:sequence minOccurs="0">
124
				<xs:choice>
125
					<xs:element ref="formvern"/>
126
					<xs:element ref="formverd"/>
127
				</xs:choice>
128
				<xs:element ref="formspec" minOccurs="0"/>
129
			</xs:sequence>
130
			<xs:element ref="asciistr" minOccurs="0"/>
131
			<xs:element ref="formcont" minOccurs="0"/>
132
			<xs:element ref="filedec" minOccurs="0"/>
133
			<xs:element ref="transize" minOccurs="0"/>
134
		</xs:sequence>
135
	</xs:complexType>
136
	<xs:element name="formname" type="formnameType">
137
		<xs:annotation>
138
			<xs:documentation>The name of the data transfer format.</xs:documentation>
139
			<xs:appinfo>
140
				<xs:attribute name="mdname" fixed="Format Name"/>
141
				<xs:attribute name="use" fixed="Mandatory"/>
142
			</xs:appinfo>
143
		</xs:annotation>
144
	</xs:element>
145
	<xs:simpleType name="formnameType">
146
		<xs:union memberTypes="FGDCstring">
147
			<xs:simpleType>
148
				<xs:restriction base="xs:token">
149
					<xs:enumeration value="ARCE"/>
150
					<xs:enumeration value="ARCG"/>
151
					<xs:enumeration value="ASCII"/>
152
					<xs:enumeration value="BIL"/>
153
					<xs:enumeration value="BIP"/>
154
					<xs:enumeration value="BSQ"/>
155
					<xs:enumeration value="CDF"/>
156
					<xs:enumeration value="CFF"/>
157
					<xs:enumeration value="COORD"/>
158
					<xs:enumeration value="DEM"/>
159
					<xs:enumeration value="DFAD"/>
160
					<xs:enumeration value="DGN"/>
161
					<xs:enumeration value="DIGEST"/>
162
					<xs:enumeration value="DLG"/>
163
					<xs:enumeration value="DTED"/>
164
					<xs:enumeration value="DWG"/>
165
					<xs:enumeration value="DX90"/>
166
					<xs:enumeration value="DXF"/>
167
					<xs:enumeration value="ERDAS"/>
168
					<xs:enumeration value="GRASS"/>
169
					<xs:enumeration value="HDF"/>
170
					<xs:enumeration value="IGDS"/>
171
					<xs:enumeration value="IGES"/>
172
					<xs:enumeration value="MOSS"/>
173
					<xs:enumeration value="netCDF"/>
174
					<xs:enumeration value="NITF"/>
175
					<xs:enumeration value="RPF"/>
176
					<xs:enumeration value="RVC"/>
177
					<xs:enumeration value="RVF"/>
178
					<xs:enumeration value="SDTS"/>
179
					<xs:enumeration value="SIF"/>
180
					<xs:enumeration value="SLF"/>
181
					<xs:enumeration value="TIFF"/>
182
					<xs:enumeration value="TGRLN"/>
183
					<xs:enumeration value="VPF"/>
184
					<xs:enumeration value="DBF"/>
185
					<xs:enumeration value="DIF"/>
186
					<xs:enumeration value="DOC"/>
187
					<xs:enumeration value="EPS"/>
188
					<xs:enumeration value="FW"/>
189
					<xs:enumeration value="GIF"/>
190
					<xs:enumeration value="GRA"/>
191
					<xs:enumeration value="MDB"/>
192
					<xs:enumeration value="PBM"/>
193
					<xs:enumeration value="PLT"/>
194
					<xs:enumeration value="PS"/>
195
					<xs:enumeration value="QP"/>
196
					<xs:enumeration value="RPD"/>
197
					<xs:enumeration value="SPLUS"/>
198
					<xs:enumeration value="WK1"/>
199
					<xs:enumeration value="WKS"/>
200
					<xs:enumeration value="WP"/>
201
					<xs:enumeration value="XLS"/>
202
				</xs:restriction>
203
			</xs:simpleType>
204
		</xs:union>
205
	</xs:simpleType>
206
	<xs:element name="formvern" type="formvernType">
207
		<xs:annotation>
208
			<xs:documentation>Version number of the format.</xs:documentation>
209
			<xs:appinfo>
210
				<xs:attribute name="mdname" fixed="Format Version Number"/>
211
				<xs:attribute name="use" fixed="Mandatory"/>
212
			</xs:appinfo>
213
		</xs:annotation>
214
	</xs:element>
215
	<xs:simpleType name="formvernType">
216
		<xs:restriction base="FGDCstring"/>
217
	</xs:simpleType>
218
	<xs:element name="formverd" type="formverdType">
219
		<xs:annotation>
220
			<xs:documentation>Date of the version of the format.</xs:documentation>
221
			<xs:appinfo>
222
				<xs:attribute name="mdname" fixed="Format Version Date"/>
223
				<xs:attribute name="use" fixed="Mandatory"/>
224
				<xs:attribute name="string-input-format" fixed="YYYY|YYYYMM|YYYYMMDD|bcYYYY|bcYYYYMM|bcYYYYMMDD|ccYYYYY...|cdYYYYY..."/>
225
			</xs:appinfo>
226
		</xs:annotation>
227
	</xs:element>
228
	<xs:simpleType name="formverdType">
229
		<xs:restriction base="FGDCdate"/>
230
	</xs:simpleType>
231
	<xs:element name="formspec" type="formspecType">
232
		<xs:annotation>
233
			<xs:documentation>Name of a subset, profile, or product specification of the format.</xs:documentation>
234
			<xs:appinfo>
235
				<xs:attribute name="mdname" fixed="Format Specification"/>
236
				<xs:attribute name="use" fixed="Optional"/>
237
			</xs:appinfo>
238
		</xs:annotation>
239
	</xs:element>
240
	<xs:simpleType name="formspecType">
241
		<xs:restriction base="FGDCstring"/>
242
	</xs:simpleType>
243
	<xs:element name="asciistr" type="T_asciistr">
244
		<xs:annotation>
245
			<xs:documentation>Information about the content and format of an ASCII data file.</xs:documentation>
246
			<xs:appinfo>
247
				<xs:attribute name="mdname" fixed="ASCII File Structure"/>
248
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
249
			</xs:appinfo>
250
		</xs:annotation>
251
	</xs:element>
252
	<xs:complexType name="T_asciistr">
253
		<xs:sequence>
254
			<xs:element ref="recdel" minOccurs="0"/>
255
			<xs:element ref="numheadl"/>
256
			<xs:element ref="deschead" minOccurs="0"/>
257
			<xs:element ref="orienta"/>
258
			<xs:element ref="casesens"/>
259
			<xs:element ref="authent" minOccurs="0"/>
260
			<xs:element ref="quotech" minOccurs="0"/>
261
			<xs:element ref="datafiel" maxOccurs="unbounded"/>
262
		</xs:sequence>
263
	</xs:complexType>
264
	<xs:element name="recdel" type="recdelType">
265
		<xs:annotation>
266
			<xs:documentation>The character(s) which indicate the end of a record.</xs:documentation>
267
			<xs:appinfo>
268
				<xs:attribute name="mdname" fixed="Record Delimiter"/>
269
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
270
			</xs:appinfo>
271
		</xs:annotation>
272
	</xs:element>
273
	<xs:simpleType name="recdelType">
274
		<xs:restriction base="FGDCstring"/>
275
	</xs:simpleType>
276
	<xs:element name="numheadl" type="numheadlType">
277
		<xs:annotation>
278
			<xs:documentation>The number of lines at the beginning of the file before the data content actually begins.</xs:documentation>
279
			<xs:appinfo>
280
				<xs:attribute name="mdname" fixed="Number Header Lines"/>
281
				<xs:attribute name="use" fixed="Mandatory"/>
282
				<xs:attribute name="string-input-format" fixed="Number Header Lines &gt;= 0"/>
283
			</xs:appinfo>
284
		</xs:annotation>
285
	</xs:element>
286
	<xs:simpleType name="numheadlType">
287
		<xs:restriction base="xs:integer">
288
			<xs:minInclusive value="0"/>
289
		</xs:restriction>
290
	</xs:simpleType>
291
	<xs:element name="deschead" type="descheadType">
292
		<xs:annotation>
293
			<xs:documentation>Description of the information content of the header lines.</xs:documentation>
294
			<xs:appinfo>
295
				<xs:attribute name="mdname" fixed="Description of Header Content"/>
296
				<xs:attribute name="use" fixed="Optional"/>
297
			</xs:appinfo>
298
		</xs:annotation>
299
	</xs:element>
300
	<xs:simpleType name="descheadType">
301
		<xs:restriction base="FGDCstring"/>
302
	</xs:simpleType>
303
	<xs:element name="orienta" type="orientaType">
304
		<xs:annotation>
305
			<xs:documentation>Definition of the direction of information content as represented in the ASCII file. Typical data sets are represented in column-major format, where each attribute in the data set is represented as a column and each observation is a row.  In contrast, row-major data sets represent attributes as rows and observations as columns.</xs:documentation>
306
			<xs:appinfo>
307
				<xs:attribute name="mdname" fixed="Orientation"/>
308
				<xs:attribute name="use" fixed="Mandatory"/>
309
			</xs:appinfo>
310
		</xs:annotation>
311
	</xs:element>
312
	<xs:simpleType name="orientaType">
313
		<xs:restriction base="FGDCstring">
314
			<xs:enumeration value="columnmajor"/>
315
			<xs:enumeration value="rowmajor"/>
316
		</xs:restriction>
317
	</xs:simpleType>
318
	<xs:element name="casesens" type="casesensType">
319
		<xs:annotation>
320
			<xs:documentation>If the content of the data set is encoded in case-sensitive ASCII (the capital and small letters have meaning), then this element should contain 'y' or 'Y', otherwise this element should contain 'n' or 'N'.</xs:documentation>
321
			<xs:appinfo>
322
				<xs:attribute name="mdname" fixed="Case Sensitive"/>
323
				<xs:attribute name="use" fixed="Mandatory"/>
324
			</xs:appinfo>
325
		</xs:annotation>
326
	</xs:element>
327
	<xs:simpleType name="casesensType">
328
		<xs:restriction base="FGDCstring">
329
			<xs:enumeration value="y"/>
330
			<xs:enumeration value="Y"/>
331
			<xs:enumeration value="n"/>
332
			<xs:enumeration value="N"/>
333
		</xs:restriction>
334
	</xs:simpleType>
335
	<xs:element name="authent" type="authentType">
336
		<xs:annotation>
337
			<xs:documentation>Information allowing verification of file contents to ensure accurate transmission of the file.  This is generally a named checksum that uses a standard algorithm or a cryptographic signature.  For example, a MD5 checksum could be provided and, if it matches a MD5 checksum calculated for the received file, one would conclude that the file is identical to the original.</xs:documentation>
338
			<xs:appinfo>
339
				<xs:attribute name="mdname" fixed="Authentication"/>
340
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
341
			</xs:appinfo>
342
		</xs:annotation>
343
	</xs:element>
344
	<xs:simpleType name="authentType">
345
		<xs:restriction base="FGDCstring"/>
346
	</xs:simpleType>
347
	<xs:element name="quotech" type="quotechType">
348
		<xs:annotation>
349
			<xs:documentation>Character used to quote fields in the data representation so that the field delimiter can be used as part of the field value.  This character is typically a single quote mark or double quote mark.</xs:documentation>
350
			<xs:appinfo>
351
				<xs:attribute name="mdname" fixed="Quote Character"/>
352
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
353
				<xs:attribute name="string-input-format" fixed="&apos;|&quot;|free text"/>
354
			</xs:appinfo>
355
		</xs:annotation>
356
	</xs:element>
357
	<xs:simpleType name="quotechType">
358
		<xs:union memberTypes="FGDCstring">
359
			<xs:simpleType>
360
				<xs:restriction base="xs:token">
361
					<xs:enumeration value="&quot;"/>
362
					<xs:enumeration value="&apos;"/>
363
				</xs:restriction>
364
			</xs:simpleType>
365
		</xs:union>
366
	</xs:simpleType>
367
	<xs:element name="datafiel" type="T_datafiel">
368
		<xs:annotation>
369
			<xs:documentation>Information describing the individual data fields (this would be equivalent to columns in most databases).</xs:documentation>
370
			<xs:appinfo>
371
				<xs:attribute name="mdname" fixed="Data Field"/>
372
				<xs:attribute name="use" fixed="Mandatory"/>
373
				<xs:attribute name="other-validation-rules" fixed="checkOr([dfwidthd,dfwidth])"/>
374
			</xs:appinfo>
375
		</xs:annotation>
376
	</xs:element>
377
	<xs:complexType name="T_datafiel">
378
		<xs:sequence>
379
			<xs:element ref="dfieldnm"/>
380
			<xs:element ref="missingv" minOccurs="0"/>
381
			<xs:choice>
382
				<xs:element ref="dfwidthd"/>
383
				<xs:element ref="dfwidth"/>
384
			</xs:choice>
385
		</xs:sequence>
386
	</xs:complexType>
387
	<xs:element name="dfieldnm" type="dfieldnmType">
388
		<xs:annotation>
389
			<xs:documentation>Name of the data field.  This name should be the same as an Attribute Label documented in Section 5.1.2 Attribute (within Detailed Description which is itself within Entity and Attribute Information).  The definition, domain, units of measure, and measurement resolution are all important pieces of information for ASCII file use.</xs:documentation>
390
			<xs:appinfo>
391
				<xs:attribute name="mdname" fixed="Data Field Name"/>
392
				<xs:attribute name="use" fixed="Mandatory"/>
393
			</xs:appinfo>
394
		</xs:annotation>
395
	</xs:element>
396
	<xs:simpleType name="dfieldnmType">
397
		<xs:restriction base="FGDCstring"/>
398
	</xs:simpleType>
399
	<xs:element name="missingv" type="missingvType">
400
		<xs:annotation>
401
			<xs:documentation>The code which represents missing data.</xs:documentation>
402
			<xs:appinfo>
403
				<xs:attribute name="mdname" fixed="Missing Value Code"/>
404
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
405
			</xs:appinfo>
406
		</xs:annotation>
407
	</xs:element>
408
	<xs:simpleType name="missingvType">
409
		<xs:restriction base="FGDCstring"/>
410
	</xs:simpleType>
411
	<xs:element name="dfwidthd" type="dfwidthdType">
412
		<xs:annotation>
413
			<xs:documentation>The character which indicates the end of the data field contents.</xs:documentation>
414
			<xs:appinfo>
415
				<xs:attribute name="mdname" fixed="Data Field Width Delimiter"/>
416
				<xs:attribute name="use" fixed="Mandatory"/>
417
			</xs:appinfo>
418
		</xs:annotation>
419
	</xs:element>
420
	<xs:simpleType name="dfwidthdType">
421
		<xs:restriction base="FGDCstring"/>
422
	</xs:simpleType>
423
	<xs:element name="dfwidth" type="dfwidthType">
424
		<xs:annotation>
425
			<xs:documentation>The number of characters of the data field.</xs:documentation>
426
			<xs:appinfo>
427
				<xs:attribute name="mdname" fixed="Data Field Width"/>
428
				<xs:attribute name="use" fixed="Mandatory"/>
429
				<xs:attribute name="string-input-format" fixed="Data Field Width &gt;= 1"/>
430
			</xs:appinfo>
431
		</xs:annotation>
432
	</xs:element>
433
	<xs:simpleType name="dfwidthType">
434
		<xs:restriction base="xs:integer">
435
			<xs:minInclusive value="1"/>
436
		</xs:restriction>
437
	</xs:simpleType>
438
	<xs:element name="formcont" type="formcontType">
439
		<xs:annotation>
440
			<xs:documentation>Description of the content of the data encoded in a format.</xs:documentation>
441
			<xs:appinfo>
442
				<xs:attribute name="mdname" fixed="Format Information Content"/>
443
				<xs:attribute name="use" fixed="Optional"/>
444
			</xs:appinfo>
445
		</xs:annotation>
446
	</xs:element>
447
	<xs:simpleType name="formcontType">
448
		<xs:restriction base="FGDCstring"/>
449
	</xs:simpleType>
450
	<xs:element name="filedec" type="filedecType">
451
		<xs:annotation>
452
			<xs:documentation>Recommendations of algorithms or processes (including means of obtaining these algorithms or processes) that can be applied to read or expand data sets to which data compression techniques have been applied.</xs:documentation>
453
			<xs:appinfo>
454
				<xs:attribute name="mdname" fixed="File Decompression Technique"/>
455
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
456
			</xs:appinfo>
457
		</xs:annotation>
458
	</xs:element>
459
	<xs:simpleType name="filedecType">
460
		<xs:union memberTypes="FGDCstring">
461
			<xs:simpleType>
462
				<xs:restriction base="xs:token">
463
					<xs:enumeration value="No compression applied"/>
464
				</xs:restriction>
465
			</xs:simpleType>
466
		</xs:union>
467
	</xs:simpleType>
468
	<xs:element name="transize" type="transizeType">
469
		<xs:annotation>
470
			<xs:documentation>The size, or estimated size, of the transferred data set in megabytes.</xs:documentation>
471
			<xs:appinfo>
472
				<xs:attribute name="mdname" fixed="Transfer Size"/>
473
				<xs:attribute name="use" fixed="Optional"/>
474
				<xs:attribute name="string-input-format" fixed="Transfer Size &gt; 0.0"/>
475
			</xs:appinfo>
476
		</xs:annotation>
477
	</xs:element>
478
	<xs:simpleType name="transizeType">
479
		<xs:restriction base="xs:double">
480
			<xs:minExclusive value="0.0"/>
481
		</xs:restriction>
482
	</xs:simpleType>
483
	<xs:element name="digtopt" type="digtoptType">
484
		<xs:annotation>
485
			<xs:documentation>The means and media by which a data set is obtained from the distributor.</xs:documentation>
486
			<xs:appinfo>
487
				<xs:attribute name="mdname" fixed="Digital Transfer Option"/>
488
				<xs:attribute name="use" fixed="Mandatory"/>
489
				<xs:attribute name="other-validation-rules" fixed="checkForcedMandatory([offoptn,onlinopt])"/>
490
			</xs:appinfo>
491
		</xs:annotation>
492
	</xs:element>
493
	<xs:complexType name="digtoptType">
494
		<xs:choice maxOccurs="unbounded">
495
			<xs:element ref="onlinopt"/>
496
			<xs:element ref="offoptn"/>
497
		</xs:choice>
498
	</xs:complexType>
499
	<xs:element name="onlinopt" type="onlinoptType">
500
		<xs:annotation>
501
			<xs:documentation>Information required to directly obtain the data set electronically.</xs:documentation>
502
			<xs:appinfo>
503
				<xs:attribute name="mdname" fixed="Online Option"/>
504
				<xs:attribute name="use" fixed="Mandatory"/>
505
			</xs:appinfo>
506
		</xs:annotation>
507
	</xs:element>
508
	<xs:complexType name="onlinoptType">
509
		<xs:sequence>
510
			<xs:element ref="computer" maxOccurs="unbounded"/>
511
			<xs:element ref="accinstr" minOccurs="0"/>
512
			<xs:element ref="oncomp" minOccurs="0"/>
513
		</xs:sequence>
514
	</xs:complexType>
515
	<xs:element name="computer" type="computerType">
516
		<xs:annotation>
517
			<xs:documentation>Instructions for establishing communications with the distribution computer.</xs:documentation>
518
			<xs:appinfo>
519
				<xs:attribute name="mdname" fixed="Computer Contact Information"/>
520
				<xs:attribute name="use" fixed="Mandatory"/>
521
				<xs:attribute name="other-validation-rules" fixed="checkOr([networka,dialinst])"/>
522
			</xs:appinfo>
523
		</xs:annotation>
524
	</xs:element>
525
	<xs:complexType name="computerType">
526
		<xs:choice>
527
			<xs:element ref="networka"/>
528
			<xs:element ref="dialinst"/>
529
		</xs:choice>
530
	</xs:complexType>
531
	<xs:element name="networka" type="networkaType">
532
		<xs:annotation>
533
			<xs:documentation>The electronic address from which the data set can be obtained from the distribution computer.</xs:documentation>
534
			<xs:appinfo>
535
				<xs:attribute name="mdname" fixed="Network Address"/>
536
				<xs:attribute name="use" fixed="Mandatory"/>
537
			</xs:appinfo>
538
		</xs:annotation>
539
	</xs:element>
540
	<xs:complexType name="networkaType">
541
		<xs:sequence>
542
			<xs:element ref="networkr" maxOccurs="unbounded"/>
543
		</xs:sequence>
544
	</xs:complexType>
545
	<xs:element name="networkr" type="networkrType">
546
		<xs:annotation>
547
			<xs:documentation>The name of the file or service from which the data set can be obtained.</xs:documentation>
548
			<xs:appinfo>
549
				<xs:attribute name="mdname" fixed="Network Resource Name"/>
550
				<xs:attribute name="use" fixed="Mandatory"/>
551
			</xs:appinfo>
552
		</xs:annotation>
553
	</xs:element>
554
	<xs:simpleType name="networkrType">
555
		<xs:restriction base="FGDCstring"/>
556
	</xs:simpleType>
557
	<xs:element name="dialinst" type="dialinstType">
558
		<xs:annotation>
559
			<xs:documentation>Information required to access the distribution computer remotely through telephone lines.</xs:documentation>
560
			<xs:appinfo>
561
				<xs:attribute name="mdname" fixed="Dialup Instructions"/>
562
				<xs:attribute name="use" fixed="Mandatory"/>
563
				<xs:attribute name="other-validation-rules" fixed="checkGreaterThan([highbps,lowbps])"/>
564
			</xs:appinfo>
565
		</xs:annotation>
566
	</xs:element>
567
	<xs:complexType name="dialinstType">
568
		<xs:sequence>
569
			<xs:element ref="lowbps"/>
570
			<xs:element ref="highbps" minOccurs="0"/>
571
			<xs:element ref="numdata"/>
572
			<xs:element ref="numstop"/>
573
			<xs:element ref="parity"/>
574
			<xs:element ref="compress" minOccurs="0"/>
575
			<xs:element ref="dialtel" maxOccurs="unbounded"/>
576
			<xs:element ref="dialfile" maxOccurs="unbounded"/>
577
		</xs:sequence>
578
	</xs:complexType>
579
	<xs:simpleType name="bpsType">
580
		<xs:restriction base="xs:integer">
581
			<xs:minInclusive value="110"/>
582
		</xs:restriction>
583
	</xs:simpleType>
584
	<xs:element name="lowbps" type="lowbpsType">
585
		<xs:annotation>
586
			<xs:documentation>Lowest or only speed for the connection's communication, expressed in bits per second.</xs:documentation>
587
			<xs:appinfo>
588
				<xs:attribute name="mdname" fixed="Lowest BPS"/>
589
				<xs:attribute name="use" fixed="Mandatory"/>
590
				<xs:attribute name="string-input-format" fixed="Lowest BPS &gt;= 110"/>
591
			</xs:appinfo>
592
		</xs:annotation>
593
	</xs:element>
594
	<xs:simpleType name="lowbpsType">
595
		<xs:restriction base="bpsType"/>
596
	</xs:simpleType>
597
	<xs:element name="highbps" type="highbpsType">
598
		<xs:annotation>
599
			<xs:documentation>Highest speed for the connection's communication, expressed in bits per second.  Used in cases when a range of rates are provided.</xs:documentation>
600
			<xs:appinfo>
601
				<xs:attribute name="mdname" fixed="Highest BPS"/>
602
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
603
				<xs:attribute name="string-input-format" fixed="Highest BPS &gt; Lowest BPS"/>
604
			</xs:appinfo>
605
		</xs:annotation>
606
	</xs:element>
607
	<xs:simpleType name="highbpsType">
608
		<xs:restriction base="bpsType"/>
609
	</xs:simpleType>
610
	<xs:element name="numdata" type="numdataType">
611
		<xs:annotation>
612
			<xs:documentation>Number of data bits in each character exchanged in the communication.</xs:documentation>
613
			<xs:appinfo>
614
				<xs:attribute name="mdname" fixed="Number DataBits"/>
615
				<xs:attribute name="use" fixed="Mandatory"/>
616
				<xs:attribute name="string-input-format" fixed="7 &lt;= Number DataBits &lt;= 8"/>
617
			</xs:appinfo>
618
		</xs:annotation>
619
	</xs:element>
620
	<xs:simpleType name="numdataType">
621
		<xs:restriction base="xs:integer">
622
			<xs:minInclusive value="7"/>
623
			<xs:maxInclusive value="8"/>
624
		</xs:restriction>
625
	</xs:simpleType>
626
	<xs:element name="numstop" type="numstopType">
627
		<xs:annotation>
628
			<xs:documentation>Number of stop bits in each character exchanged in the communication.</xs:documentation>
629
			<xs:appinfo>
630
				<xs:attribute name="mdname" fixed="Number StopBits"/>
631
				<xs:attribute name="use" fixed="Mandatory"/>
632
				<xs:attribute name="string-input-format" fixed="1 &lt;= Number StopBits &lt;= 2"/>
633
			</xs:appinfo>
634
		</xs:annotation>
635
	</xs:element>
636
	<xs:simpleType name="numstopType">
637
		<xs:restriction base="xs:integer">
638
			<xs:minInclusive value="1"/>
639
			<xs:maxInclusive value="2"/>
640
		</xs:restriction>
641
	</xs:simpleType>
642
	<xs:element name="parity" type="parityType">
643
		<xs:annotation>
644
			<xs:documentation>Parity error checking used in each character exchanged in the communication.</xs:documentation>
645
			<xs:appinfo>
646
				<xs:attribute name="mdname" fixed="Parity"/>
647
				<xs:attribute name="use" fixed="Mandatory"/>
648
			</xs:appinfo>
649
		</xs:annotation>
650
	</xs:element>
651
	<xs:simpleType name="parityType">
652
		<xs:restriction base="xs:token">
653
			<xs:enumeration value="None"/>
654
			<xs:enumeration value="Odd"/>
655
			<xs:enumeration value="Even"/>
656
			<xs:enumeration value="Mark"/>
657
			<xs:enumeration value="Space"/>
658
		</xs:restriction>
659
	</xs:simpleType>
660
	<xs:element name="compress" type="compressType">
661
		<xs:annotation>
662
			<xs:documentation>Data compression available through the modem service to speed data transfer.</xs:documentation>
663
			<xs:appinfo>
664
				<xs:attribute name="mdname" fixed="Compression Support"/>
665
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
666
			</xs:appinfo>
667
		</xs:annotation>
668
	</xs:element>
669
	<xs:simpleType name="compressType">
670
		<xs:union memberTypes="FGDCstring">
671
			<xs:simpleType>
672
				<xs:restriction base="xs:token">
673
					<xs:enumeration value="V.32"/>
674
					<xs:enumeration value="V.32bis"/>
675
					<xs:enumeration value="V.42"/>
676
					<xs:enumeration value="V.42bis"/>
677
				</xs:restriction>
678
			</xs:simpleType>
679
		</xs:union>
680
	</xs:simpleType>
681
	<xs:element name="dialtel" type="dialtelType">
682
		<xs:annotation>
683
			<xs:documentation>The telephone number of the distribution computer.</xs:documentation>
684
			<xs:appinfo>
685
				<xs:attribute name="mdname" fixed="Dialup Telephone"/>
686
				<xs:attribute name="use" fixed="Mandatory"/>
687
			</xs:appinfo>
688
		</xs:annotation>
689
	</xs:element>
690
	<xs:simpleType name="dialtelType">
691
		<xs:restriction base="FGDCstring"/>
692
	</xs:simpleType>
693
	<xs:element name="dialfile" type="dialfileType">
694
		<xs:annotation>
695
			<xs:documentation>The name of a file containing the data set on the distribution computer.</xs:documentation>
696
			<xs:appinfo>
697
				<xs:attribute name="mdname" fixed="Dialup File Name"/>
698
				<xs:attribute name="use" fixed="Mandatory"/>
699
			</xs:appinfo>
700
		</xs:annotation>
701
	</xs:element>
702
	<xs:simpleType name="dialfileType">
703
		<xs:restriction base="FGDCstring"/>
704
	</xs:simpleType>
705
	<xs:element name="accinstr" type="accinstrType">
706
		<xs:annotation>
707
			<xs:documentation>Instructions on the steps required to access the data set.</xs:documentation>
708
			<xs:appinfo>
709
				<xs:attribute name="mdname" fixed="Access Instructions"/>
710
				<xs:attribute name="use" fixed="Optional"/>
711
			</xs:appinfo>
712
		</xs:annotation>
713
	</xs:element>
714
	<xs:simpleType name="accinstrType">
715
		<xs:restriction base="FGDCstring"/>
716
	</xs:simpleType>
717
	<xs:element name="oncomp" type="oncompType">
718
		<xs:annotation>
719
			<xs:documentation>The brand of distribution computer and its operating system.</xs:documentation>
720
			<xs:appinfo>
721
				<xs:attribute name="mdname" fixed="Online Computer and Operating System"/>
722
				<xs:attribute name="use" fixed="Optional"/>
723
			</xs:appinfo>
724
		</xs:annotation>
725
	</xs:element>
726
	<xs:simpleType name="oncompType">
727
		<xs:restriction base="FGDCstring"/>
728
	</xs:simpleType>
729
	<xs:element name="offoptn" type="offoptnType">
730
		<xs:annotation>
731
			<xs:documentation>Information about media-specific options for receiving the data set.</xs:documentation>
732
			<xs:appinfo>
733
				<xs:attribute name="mdname" fixed="Offline Option"/>
734
				<xs:attribute name="use" fixed="Mandatory"/>
735
			</xs:appinfo>
736
		</xs:annotation>
737
	</xs:element>
738
	<xs:complexType name="offoptnType">
739
		<xs:sequence>
740
			<xs:element ref="offmedia"/>
741
			<xs:element ref="reccap" minOccurs="0"/>
742
			<xs:element ref="recfmt" maxOccurs="unbounded"/>
743
			<xs:element ref="compat" minOccurs="0"/>
744
		</xs:sequence>
745
	</xs:complexType>
746
	<xs:element name="offmedia" type="offmediaType">
747
		<xs:annotation>
748
			<xs:documentation>Name of the media on which the data set can be received.</xs:documentation>
749
			<xs:appinfo>
750
				<xs:attribute name="mdname" fixed="Offline Media"/>
751
				<xs:attribute name="use" fixed="Mandatory"/>
752
			</xs:appinfo>
753
		</xs:annotation>
754
	</xs:element>
755
	<xs:simpleType name="offmediaType">
756
		<xs:union memberTypes="FGDCstring">
757
			<xs:simpleType>
758
				<xs:restriction base="xs:token">
759
					<xs:enumeration value="CD-ROM"/>
760
					<xs:enumeration value="3.5-inch floppy disk"/>
761
					<xs:enumeration value="5.25-inch floppy disk"/>
762
					<xs:enumeration value="9-track tape"/>
763
					<xs:enumeration value="4mm cartridge tape"/>
764
					<xs:enumeration value="8mm cartridge tape"/>
765
					<xs:enumeration value=".25-inch cartridge tape"/>
766
				</xs:restriction>
767
			</xs:simpleType>
768
		</xs:union>
769
	</xs:simpleType>
770
	<xs:element name="reccap" type="reccapType">
771
		<xs:annotation>
772
			<xs:documentation>The density of information to which data are written.  Used in cases where different recording capacities are possible.</xs:documentation>
773
			<xs:appinfo>
774
				<xs:attribute name="mdname" fixed="Recording Capacity"/>
775
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
776
				<xs:attribute name="other-validation-rules" fixed="checkRangeExcludeMin([recden,0.0])"/>
777
			</xs:appinfo>
778
		</xs:annotation>
779
	</xs:element>
780
	<xs:complexType name="reccapType">
781
		<xs:sequence>
782
			<xs:element ref="recden" maxOccurs="unbounded"/>
783
			<xs:element ref="recdenu"/>
784
		</xs:sequence>
785
	</xs:complexType>
786
	<xs:element name="recden" type="recdenType">
787
		<xs:annotation>
788
			<xs:documentation>The density in which the data set can be recorded.</xs:documentation>
789
			<xs:appinfo>
790
				<xs:attribute name="mdname" fixed="Recording Density"/>
791
				<xs:attribute name="use" fixed="Mandatory"/>
792
				<xs:attribute name="string-input-format" fixed="Recording Density &gt; 0.0"/>
793
			</xs:appinfo>
794
		</xs:annotation>
795
	</xs:element>
796
	<xs:simpleType name="recdenType">
797
		<xs:restriction base="xs:double">
798
			<xs:minExclusive value="0.0"/>
799
		</xs:restriction>
800
	</xs:simpleType>
801
	<xs:element name="recdenu" type="recdenuType">
802
		<xs:annotation>
803
			<xs:documentation>The units of measure for the recording density.</xs:documentation>
804
			<xs:appinfo>
805
				<xs:attribute name="mdname" fixed="Recording Density Units"/>
806
				<xs:attribute name="use" fixed="Mandatory"/>
807
			</xs:appinfo>
808
		</xs:annotation>
809
	</xs:element>
810
	<xs:simpleType name="recdenuType">
811
		<xs:restriction base="FGDCstring"/>
812
	</xs:simpleType>
813
	<xs:element name="recfmt" type="recfmtType">
814
		<xs:annotation>
815
			<xs:documentation>The options available or method used to write the data set to the medium.</xs:documentation>
816
			<xs:appinfo>
817
				<xs:attribute name="mdname" fixed="Recording Format"/>
818
				<xs:attribute name="use" fixed="Mandatory"/>
819
				<xs:attribute name="is-multiple-selection" fixed="true"/>
820
			</xs:appinfo>
821
		</xs:annotation>
822
	</xs:element>
823
	<xs:simpleType name="recfmtType">
824
		<xs:union memberTypes="FGDCstring">
825
			<xs:simpleType>
826
				<xs:restriction base="xs:token">
827
					<xs:enumeration value="cpio"/>
828
					<xs:enumeration value="High Sierra"/>
829
					<xs:enumeration value="ISO 9960"/>
830
					<xs:enumeration value="ISO 9960 with Rock Ridge extensions"/>
831
					<xs:enumeration value="ISO 9660 with Apple HFS extensions"/>
832
					<xs:enumeration value="tar"/>
833
				</xs:restriction>
834
			</xs:simpleType>
835
		</xs:union>
836
	</xs:simpleType>
837
	<xs:element name="compat" type="compatType">
838
		<xs:annotation>
839
			<xs:documentation>Description of other limitations or requirements for using the medium.</xs:documentation>
840
			<xs:appinfo>
841
				<xs:attribute name="mdname" fixed="Compatibility Information"/>
842
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
843
			</xs:appinfo>
844
		</xs:annotation>
845
	</xs:element>
846
	<xs:simpleType name="compatType">
847
		<xs:restriction base="FGDCstring"/>
848
	</xs:simpleType>
849
	<xs:element name="fees" type="feesType">
850
		<xs:annotation>
851
			<xs:documentation>The fees and terms for retrieving the data set.</xs:documentation>
852
			<xs:appinfo>
853
				<xs:attribute name="mdname" fixed="Fees"/>
854
				<xs:attribute name="use" fixed="Mandatory"/>
855
			</xs:appinfo>
856
		</xs:annotation>
857
	</xs:element>
858
	<xs:simpleType name="feesType">
859
		<xs:restriction base="FGDCstring"/>
860
	</xs:simpleType>
861
	<xs:element name="ordering" type="orderingType">
862
		<xs:annotation>
863
			<xs:documentation>General instructions and advice about, and special terms and services provided for, the data set by the distributor.</xs:documentation>
864
			<xs:appinfo>
865
				<xs:attribute name="mdname" fixed="Ordering Instructions"/>
866
				<xs:attribute name="use" fixed="Optional"/>
867
			</xs:appinfo>
868
		</xs:annotation>
869
	</xs:element>
870
	<xs:simpleType name="orderingType">
871
		<xs:restriction base="FGDCstring"/>
872
	</xs:simpleType>
873
	<xs:element name="turnarnd" type="turnarndType">
874
		<xs:annotation>
875
			<xs:documentation>Typical turnaround time for the filling of an order.</xs:documentation>
876
			<xs:appinfo>
877
				<xs:attribute name="mdname" fixed="Turnaround"/>
878
				<xs:attribute name="use" fixed="Optional"/>
879
			</xs:appinfo>
880
		</xs:annotation>
881
	</xs:element>
882
	<xs:simpleType name="turnarndType">
883
		<xs:restriction base="FGDCstring"/>
884
	</xs:simpleType>
885
	<xs:element name="custom" type="customType">
886
		<xs:annotation>
887
			<xs:documentation>Description of custom distribution services available, and the terms and conditions for obtaining these services.</xs:documentation>
888
			<xs:appinfo>
889
				<xs:attribute name="mdname" fixed="Custom Order Process"/>
890
				<xs:attribute name="use" fixed="Mandatory-if-applicable"/>
891
			</xs:appinfo>
892
		</xs:annotation>
893
	</xs:element>
894
	<xs:simpleType name="customType">
895
		<xs:restriction base="FGDCstring"/>
896
	</xs:simpleType>
897
	<xs:element name="techpreq" type="techpreqType">
898
		<xs:annotation>
899
			<xs:documentation>Description of any technical capabilities that the consumer must have to use the data set in the form(s) provided by the distributor.</xs:documentation>
900
			<xs:appinfo>
901
				<xs:attribute name="mdname" fixed="Technical Prerequisites"/>
902
				<xs:attribute name="use" fixed="Optional"/>
903
			</xs:appinfo>
904
		</xs:annotation>
905
	</xs:element>
906
	<xs:simpleType name="techpreqType">
907
		<xs:restriction base="FGDCstring"/>
908
	</xs:simpleType>
909
	<xs:element name="availabl" type="availablType">
910
		<xs:annotation>
911
			<xs:documentation>The time period when the data set will be available from the distributor.</xs:documentation>
912
			<xs:appinfo>
913
				<xs:attribute name="mdname" fixed="Available Time Period"/>
914
				<xs:attribute name="use" fixed="Optional"/>
915
			</xs:appinfo>
916
		</xs:annotation>
917
	</xs:element>
918
	<xs:complexType name="availablType">
919
		<xs:sequence>
920
			<xs:element ref="timeinfo"/>
921
		</xs:sequence>
922
	</xs:complexType>
923
</xs:schema>