-
Notifications
You must be signed in to change notification settings - Fork 0
/
DistributionInformation_old2.xsd
386 lines (332 loc) · 15.9 KB
/
DistributionInformation_old2.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<?xml version="1.0"?>
<xsd:schema targetNamespace="/mt/apps/gpms/xsd/DistributionInformation"
xmlns:di="/mt/apps/gpms/xsd/DistributionInformation"
xmlns:coni="/mt/apps/gpms/xsd/ContactInformation"
xmlns:mtag="/mt/apps/gpms/xsd/MiscTypesAndGroups"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb">
<xsd:import namespace="/mt/apps/gpms/xsd/ContactInformation"
schemaLocation="/mt/apps/gpms/xsd/ContactInformation.xsd"/>
<xsd:import namespace="/mt/apps/gpms/xsd/MiscTypesAndGroups"
schemaLocation="/mt/apps/gpms/xsd/MiscTypesAndGroups.xsd"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
Name: ContactInformation.xsd
Authors: James W. Allor, Matthew J. McCready
Date: 20050315
Description: Validating XML Schema for the Distribution Information
section. Please reference the Census Bureau Geospatial
Product Metadata Standard (GPMS), Table 1.
Modification History:
Initial Date Change Request ID Description
JWA 20050315 N/A Initial Version
JWA 20051115 N/A Updated to reflect current GPMS Table 1.
JWA 20051201 N/A Added types and attributes
for Oracle XML DB.
JWA 20051215 N/A Changed xsd:string to mtag:vstring
to validate elements have a value.
MMC 20071206 N/A Modified so that Resource_Description,
Distribution_Liability, Non-Digital_Form,
Network_Resource_Name,Fees,Ordering_Instructions
and Technical_Prerequisites all have to have a
minimum string length of 1 character.
MMC 20071210 N/A Modified Format_Name and File_Decompression_Technique
to have both an enumerated list and a minimum
string length of 1.
MMC 20071211 N/A Modified File_Decomopression_Technique so that
PK-ZIP, version 1.93 A or higher is included in
the enumeration list.
MMC 20080616 N/A Xpaths modified to mirror the directory structure on
node104.
MMC 20100624 N/A Modified File_Decomopression_Technique so that No compression technique
is included in the enumeration list.
MMC 20200901 N/A Modified Network_Resource_Name so that it will only accept a value of
"http://www.census.gov/geo/www/tiger"
</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="Legacy_Atlas_Type">
<xsd:sequence>
<xsd:element name="Distributor" type="coni:Some_Optional_Type"/>
<xsd:element name="Resource_Description" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Distribution_Liability">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Standard_Order_Process" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:choice>
<xsd:element name="Non-Digital_Form">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Digital_Form" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Format_Name"
type="di:Format_Name_Type"/>
<xsd:element name="File_Decompression_Technique"
type="di:File_Decompression_Technique_Type"/>
<xsd:element name="Transfer_Size" type="di:positiveFloat"
minOccurs="0"/>
<xsd:element name="Digital_Transfer_Option"
maxOccurs="unbounded">
<xsd:complexType>
<!-- <xsd:choice> -->
<xsd:sequence>
<xsd:element name="Network_Resource_Name" minOccurs="0" maxOccurs="unbounded">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:group ref="di:Offline_Option_Group" minOccurs="0"/>
<!-- </xsd:choice> -->
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:element name="Fees">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ordering_Instructions" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Technical_Prerequisites" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Map_Type">
<xsd:complexContent>
<xsd:extension base="di:Legacy_Atlas_Type"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Vector_Type">
<xsd:sequence>
<xsd:element name="Distributor" type="coni:Some_Optional_Type"/>
<xsd:element name="Resource_Description" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Distribution_Liability">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Standard_Order_Process" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Digital_Form" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Format_Name" type="di:Format_Name_Type"/>
<xsd:element name="File_Decompression_Technique"
type="di:File_Decompression_Technique_Type"/>
<xsd:element name="Transfer_Size" type="di:positiveFloat"
minOccurs="0"/>
<xsd:element name="Digital_Transfer_Option" maxOccurs="unbounded">
<xsd:complexType>
<!-- <xsd:choice> -->
<xsd:sequence>
<xsd:element name="Network_Resource_Name" minOccurs="0" maxOccurs="unbounded">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
<!-- <xsd:enumeration value="http://www.census.gov/geo/www/tiger"/>-->
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:group ref="di:Offline_Option_Group" minOccurs="0" />
<!-- </xsd:choice> -->
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Fees">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ordering_Instructions" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Technical_Prerequisites" minOccurs="1">
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Tabular_Type">
<xsd:complexContent>
<xsd:extension base="di:Legacy_Atlas_Type"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Repository_Type">
<xsd:complexContent>
<xsd:extension base="di:Legacy_Atlas_Type"/>
</xsd:complexContent>
</xsd:complexType>
<!-- Simple Type and Group Definitions -->
<xsd:simpleType name="Format_Name_Type">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ARCE"/> <!-- ARC/INFO Export format -->
<xsd:enumeration value="ARCG"/> <!-- ARC/INFO Generate format -->
<xsd:enumeration value="ASCII"/> <!-- ASCII FILE, formatted for text attributes, declared format -->
<xsd:enumeration value="BIL"/> <!-- Imagery, band interleaved by line -->
<xsd:enumeration value="BIP"/> <!-- Imagery, band interleaved by pixel -->
<xsd:enumeration value="BSQ"/> <!-- Imagery, band interleaved sequential -->
<xsd:enumeration value="CDF"/> <!-- Common Data Format -->
<xsd:enumeration value="CFF"/> <!-- Cartographic Feature File (US Forest Service) -->
<xsd:enumeration value="COORD"/> <!-- User-created coordinate file, declared format -->
<xsd:enumeration value="DEM"/> <!-- Digital Elevation Model format (US Geological Survey) -->
<xsd:enumeration value="DFAD"/> <!-- Digital Feature Analysis Data (NIMA) -->
<xsd:enumeration value="DGN"/> <!-- Microstation Format (Intergraph) -->
<xsd:enumeration value="DIGEST"/> <!-- Digital Geographic Information Exchange Standard -->
<xsd:enumeration value="DLG"/> <!-- Digital Line Graph (US Geological Survey) -->
<xsd:enumeration value="DTED"/> <!-- Digital Terrain Elevation Data (MIL-D-89020) -->
<xsd:enumeration value="DWG"/> <!-- AutoCAD Drawing format -->
<xsd:enumeration value="DX90"/> <!-- Data Exchange '90 -->
<xsd:enumeration value="DXF"/> <!-- AutoCAD Drawing Exchange Format -->
<xsd:enumeration value="ERDAS"/> <!-- ERDAS image files (ERDAS Corporation) -->
<xsd:enumeration value="GRASS"/> <!-- Geographic Resources Analysis Support System -->
<xsd:enumeration value="HDF"/> <!-- Hierarchical Data Format -->
<xsd:enumeration value="IGDS"/> <!-- Interactive Graphic Design System format (Intergraph Corporation) -->
<xsd:enumeration value="IGES"/> <!-- Initial Graphics Exchange Standard -->
<xsd:enumeration value="MOSS"/> <!-- Multiple Overlay Statistical System export file -->
<xsd:enumeration value="netCDF"/> <!-- network Common Data Format -->
<xsd:enumeration value="NITF"/> <!-- National Imagery Transfer Format -->
<xsd:enumeration value="RPF"/> <!-- Raster Product Format -->
<xsd:enumeration value="RVC"/> <!-- Raster Vector Converted format (MicroImages) -->
<xsd:enumeration value="RVF"/> <!-- Raster Vector Format (MicroImages) -->
<xsd:enumeration value="SDTS"/> <!-- Spatial Data Transfer Standard (FIPS 173) -->
<xsd:enumeration value="SIF"/> <!-- Standar Interchange Format (DOD Proj 2851) -->
<xsd:enumeration value="SLF"/> <!-- Standard Linear Format (NIMA> -->
<xsd:enumeration value="TIFF"/> <!-- Tagged Image File Format -->
<xsd:enumeration value="TGRLN"/> <!-- Tiger Line -->
<xsd:enumeration value="VPF"/> <!-- Vector Product Format (NIMA) -->
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:simpleType name="File_Decompression_Technique_Type">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="No compression applied"/>
<xsd:enumeration value="PK-ZIP, version 1.93 A or higher"/>
<xsd:enumeration value="No compression technique"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="mtag:vstring">
<xsd:enumeration value="No compression applied"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:simpleType name="positiveFloat">
<xsd:restriction base="xsd:float">
<xsd:minExclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:group name="Offline_Option_Group">
<xsd:sequence>
<xsd:element name="Offline_Media" type="di:Offline_Media_Type"/>
<xsd:element name="Recording_Format" type="di:Recording_Format_Type"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:group>
<xsd:simpleType name="Offline_Media_Type">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CD-ROM"/>
<xsd:enumeration value="3-1/2 inch floppy disk"/>
<xsd:enumeration value="5-1/4 inch floppy disk"/>
<xsd:enumeration value="9-track tape"/>
<xsd:enumeration value="4 mm cartridge tape"/>
<xsd:enumeration value="8 mm cartridge tape"/>
<xsd:enumeration value="1/4-inch cartridge tape"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="mtag:vstring"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
<xsd:simpleType name="Recording_Format_Type">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="cpio"/>
<xsd:enumeration value="tar"/>
<xsd:enumeration value="High Sierra"/>
<xsd:enumeration value="ISO 9660"/>
<xsd:enumeration value="ISO 9660 with Rock Ridge extensions"/>
<xsd:enumeration value="ISO 9660 with Apple HFS extensions"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="mtag:vstring"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:schema>