1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<!-- edited with XML Spy v4.0.1 U (http://www.xmlspy.com) by Peter McCartney (private) -->
|
3
|
<!--Generated by XML Authority. Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
|
4
|
<xsd:schema targetNamespace="edu.asu.ces.physical" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:lit="edu.asu.ces.literature" xmlns:rp="edu.asu.ces.ResponsibleParty" xmlns:cov="edu.asu.ces.coverage" xmlns:dist="edu.asu.ces.distribution" xmlns="edu.asu.ces.physical" elementFormDefault="unqualified">
|
5
|
<xsd:import namespace="edu.asu.ces.coverage" schemaLocation="coverage.xsd"/>
|
6
|
<xsd:import namespace="edu.asu.ces.distribution" schemaLocation="Distribution.xsd"/>
|
7
|
<xsd:import namespace="edu.asu.ces.literature" schemaLocation="literature.xsd"/>
|
8
|
<xsd:import namespace="edu.asu.ces.ResponsibleParty" schemaLocation="party.xsd"/>
|
9
|
<xsd:complexType name="PhysicalBase">
|
10
|
<xsd:annotation>
|
11
|
<xsd:documentation>Complext type for describing the physical occurrence of a data entity</xsd:documentation>
|
12
|
</xsd:annotation>
|
13
|
<xsd:sequence>
|
14
|
<xsd:element name="dataObject" type="DataObjectBase" maxOccurs="unbounded">
|
15
|
<xsd:annotation>
|
16
|
<xsd:documentation>The physical occurrence of a data entity as a digital object</xsd:documentation>
|
17
|
</xsd:annotation>
|
18
|
</xsd:element>
|
19
|
<xsd:element name="dataFormat">
|
20
|
<xsd:annotation>
|
21
|
<xsd:documentation>Format description for the data object</xsd:documentation>
|
22
|
</xsd:annotation>
|
23
|
<xsd:complexType>
|
24
|
<xsd:complexContent>
|
25
|
<xsd:extension base="DataFormatBase"/>
|
26
|
</xsd:complexContent>
|
27
|
</xsd:complexType>
|
28
|
</xsd:element>
|
29
|
<xsd:choice>
|
30
|
<xsd:element name="connection" type="dist:ConnectionBase">
|
31
|
<xsd:annotation>
|
32
|
<xsd:documentation>Connection information for this specific instance</xsd:documentation>
|
33
|
</xsd:annotation>
|
34
|
</xsd:element>
|
35
|
<xsd:element name="connectionName" type="xsd:string">
|
36
|
<xsd:annotation>
|
37
|
<xsd:documentation>Name of a conection defined in distribution section. Must match the name provided in connectionName</xsd:documentation>
|
38
|
</xsd:annotation>
|
39
|
</xsd:element>
|
40
|
</xsd:choice>
|
41
|
</xsd:sequence>
|
42
|
</xsd:complexType>
|
43
|
<xsd:complexType name="DataObjectBase">
|
44
|
<xsd:sequence>
|
45
|
<xsd:element name="objectName" type="xsd:string">
|
46
|
<xsd:annotation>
|
47
|
<xsd:documentation>Name of the object</xsd:documentation>
|
48
|
</xsd:annotation>
|
49
|
</xsd:element>
|
50
|
<xsd:element name="encodingMethod" minOccurs="0">
|
51
|
<xsd:annotation>
|
52
|
<xsd:documentation>Method used for encoding binary data such as uuencode</xsd:documentation>
|
53
|
</xsd:annotation>
|
54
|
</xsd:element>
|
55
|
<xsd:element name="compressionMethod" type="ArchiveFormatType" minOccurs="0">
|
56
|
<xsd:annotation>
|
57
|
<xsd:documentation>Name of any compression or archive format used </xsd:documentation>
|
58
|
</xsd:annotation>
|
59
|
</xsd:element>
|
60
|
<xsd:element name="owner" type="xsd:string" minOccurs="0">
|
61
|
<xsd:annotation>
|
62
|
<xsd:documentation>Owner attribute for the file. This is sometimes called schema in some platforms</xsd:documentation>
|
63
|
</xsd:annotation>
|
64
|
</xsd:element>
|
65
|
<xsd:element name="size" type="SizeBase" minOccurs="0">
|
66
|
<xsd:annotation>
|
67
|
<xsd:documentation>Size of the file</xsd:documentation>
|
68
|
</xsd:annotation>
|
69
|
</xsd:element>
|
70
|
<xsd:element name="coverage" type="cov:CoverageBase" minOccurs="0">
|
71
|
<xsd:annotation>
|
72
|
<xsd:documentation>The extent of the particular file when it is part of a distribution that has been physically broken up into tiles or series for the purpose of distribution.</xsd:documentation>
|
73
|
</xsd:annotation>
|
74
|
</xsd:element>
|
75
|
<xsd:element name="authentication" minOccurs="0">
|
76
|
<xsd:annotation>
|
77
|
<xsd:documentation>Means for authenticating object such as checksum, etc.</xsd:documentation>
|
78
|
</xsd:annotation>
|
79
|
</xsd:element>
|
80
|
</xsd:sequence>
|
81
|
</xsd:complexType>
|
82
|
<xsd:complexType name="DataFormatBase">
|
83
|
<xsd:choice>
|
84
|
<xsd:element name="formatType" type="FormatType">
|
85
|
<xsd:annotation>
|
86
|
<xsd:documentation>Source FGDC Definition: identification of a formal format type</xsd:documentation>
|
87
|
</xsd:annotation>
|
88
|
</xsd:element>
|
89
|
<xsd:element name="asciiDelim" type="AsciiDelimBase">
|
90
|
<xsd:annotation>
|
91
|
<xsd:documentation>Definition of an ascii delimited format</xsd:documentation>
|
92
|
</xsd:annotation>
|
93
|
</xsd:element>
|
94
|
<xsd:element name="asciiFixed" type="AsciiFixedBase">
|
95
|
<xsd:annotation>
|
96
|
<xsd:documentation>Documentation of a fixed-length ascii file format.</xsd:documentation>
|
97
|
</xsd:annotation>
|
98
|
</xsd:element>
|
99
|
<xsd:element name="binary" type="xsd:string">
|
100
|
<xsd:annotation>
|
101
|
<xsd:documentation>Documentation for a generic binary format</xsd:documentation>
|
102
|
</xsd:annotation>
|
103
|
</xsd:element>
|
104
|
<xsd:element name="raster" type="GridBase">
|
105
|
<xsd:annotation>
|
106
|
<xsd:documentation>documentation for a generic raster or image format</xsd:documentation>
|
107
|
</xsd:annotation>
|
108
|
</xsd:element>
|
109
|
</xsd:choice>
|
110
|
</xsd:complexType>
|
111
|
<xsd:simpleType name="ArchiveFormatType">
|
112
|
<xsd:restriction base="xsd:string">
|
113
|
<xsd:enumeration value="zip"/>
|
114
|
<xsd:enumeration value="gzip"/>
|
115
|
<xsd:enumeration value="tar"/>
|
116
|
<xsd:enumeration value="tar+gzip"/>
|
117
|
<xsd:enumeration value="binhex"/>
|
118
|
<xsd:enumeration value="esriexporta"/>
|
119
|
<xsd:enumeration value="esriexportb"/>
|
120
|
</xsd:restriction>
|
121
|
</xsd:simpleType>
|
122
|
<xsd:complexType name="SizeBase">
|
123
|
<xsd:sequence>
|
124
|
<xsd:element name="value" type="xsd:string">
|
125
|
<xsd:annotation>
|
126
|
<xsd:documentation>Size value</xsd:documentation>
|
127
|
</xsd:annotation>
|
128
|
</xsd:element>
|
129
|
<xsd:element name="units" type="xsd:string">
|
130
|
<xsd:annotation>
|
131
|
<xsd:documentation>Size units</xsd:documentation>
|
132
|
</xsd:annotation>
|
133
|
</xsd:element>
|
134
|
</xsd:sequence>
|
135
|
</xsd:complexType>
|
136
|
<xsd:complexType name="FormatType">
|
137
|
<xsd:sequence>
|
138
|
<xsd:element name="formatName" type="xsd:string">
|
139
|
<xsd:annotation>
|
140
|
<xsd:documentation>Name of the file format</xsd:documentation>
|
141
|
</xsd:annotation>
|
142
|
</xsd:element>
|
143
|
<xsd:element name="formatVersion" type="xsd:string" minOccurs="0">
|
144
|
<xsd:annotation>
|
145
|
<xsd:documentation>Version of the file format</xsd:documentation>
|
146
|
</xsd:annotation>
|
147
|
</xsd:element>
|
148
|
<xsd:element name="documentation" type="lit:LiteratureBase" minOccurs="0" maxOccurs="unbounded">
|
149
|
<xsd:annotation>
|
150
|
<xsd:documentation>Citation of any documentation to the format</xsd:documentation>
|
151
|
</xsd:annotation>
|
152
|
</xsd:element>
|
153
|
</xsd:sequence>
|
154
|
</xsd:complexType>
|
155
|
<xsd:complexType name="AsciiDelimBase">
|
156
|
<xsd:sequence>
|
157
|
<xsd:element name="endOfFieldString" type="xsd:string">
|
158
|
<xsd:annotation>
|
159
|
<xsd:documentation>String marking the end of a field.</xsd:documentation>
|
160
|
</xsd:annotation>
|
161
|
</xsd:element>
|
162
|
<xsd:element name="headerInFirstRow" type="xsd:boolean">
|
163
|
<xsd:annotation>
|
164
|
<xsd:documentation>Indication of whether the first row of the file contains the column names</xsd:documentation>
|
165
|
</xsd:annotation>
|
166
|
</xsd:element>
|
167
|
<xsd:element name="endOfRecordString" type="xsd:string">
|
168
|
<xsd:annotation>
|
169
|
<xsd:documentation>String marking the end of a record.</xsd:documentation>
|
170
|
</xsd:annotation>
|
171
|
</xsd:element>
|
172
|
<xsd:element name="endOfFileString" type="xsd:string">
|
173
|
<xsd:annotation>
|
174
|
<xsd:documentation>String marking the end of the file</xsd:documentation>
|
175
|
</xsd:annotation>
|
176
|
</xsd:element>
|
177
|
<xsd:element name="textDelimString" type="xsd:string" minOccurs="0">
|
178
|
<xsd:annotation>
|
179
|
<xsd:documentation>String used to delimit text values</xsd:documentation>
|
180
|
</xsd:annotation>
|
181
|
</xsd:element>
|
182
|
<xsd:element name="literalString" type="xsd:string" minOccurs="0">
|
183
|
<xsd:annotation>
|
184
|
<xsd:documentation>String used to signal the literal interpretation of the following character.</xsd:documentation>
|
185
|
</xsd:annotation>
|
186
|
</xsd:element>
|
187
|
</xsd:sequence>
|
188
|
</xsd:complexType>
|
189
|
<xsd:complexType name="AsciiFixedBase">
|
190
|
<xsd:sequence>
|
191
|
<xsd:element name="numberOfLines">
|
192
|
<xsd:annotation>
|
193
|
<xsd:documentation>number of physical records per logical record.</xsd:documentation>
|
194
|
</xsd:annotation>
|
195
|
</xsd:element>
|
196
|
<xsd:element name="lineLength" type="xsd:integer">
|
197
|
<xsd:annotation>
|
198
|
<xsd:documentation>physical Length of the record</xsd:documentation>
|
199
|
</xsd:annotation>
|
200
|
</xsd:element>
|
201
|
<xsd:element name="endOfFileString" type="xsd:string" minOccurs="0">
|
202
|
<xsd:annotation>
|
203
|
<xsd:documentation>String indicating end of the file </xsd:documentation>
|
204
|
</xsd:annotation>
|
205
|
</xsd:element>
|
206
|
<xsd:element name="fieldBounds" type="dist:FieldBoundsBase" maxOccurs="unbounded">
|
207
|
<xsd:annotation>
|
208
|
<xsd:documentation>Beginning and ending locations of the fields</xsd:documentation>
|
209
|
</xsd:annotation>
|
210
|
</xsd:element>
|
211
|
</xsd:sequence>
|
212
|
</xsd:complexType>
|
213
|
<xsd:complexType name="GridBase">
|
214
|
<xsd:sequence>
|
215
|
<xsd:element name="headerLength" type="xsd:integer"/>
|
216
|
<xsd:element name="order" type="xsd:string"/>
|
217
|
<xsd:element name="mostSigBit" type="xsd:string"/>
|
218
|
</xsd:sequence>
|
219
|
</xsd:complexType>
|
220
|
</xsd:schema>
|