-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheudat-core.xsd
398 lines (397 loc) · 20.4 KB
/
eudat-core.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
387
388
389
390
391
392
393
394
395
396
397
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schema.eudat.eu/schemas/v1.1" targetNamespace="http://schema.eudat.eu/schemas/v1.1" elementFormDefault="qualified" xml:lang="en">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:include schemaLocation="include/eudat-coreTypes-v1.xsd"/>
<xs:include schemaLocation="include/eudat-identifierType-v1.xsd"/>
<xs:include schemaLocation="include/eudat-limitedIdentifierType-v1.xsd"/>
<xs:element name="resource">
<xs:annotation>
<xs:documentation>
Root element of a single record. This wrapper element is for XML implementation only and is not defined in the EUDAT Core metadata standard.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<!--REQUIRED FIELDS-->
<xs:element name="identifiers" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="identifier" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A unique string that identifies the resource, ideally persistent.</xs:documentation>
<xs:documentation>To supply alternate identifiers, repeat this property. Use attributes for defining the identifier type, e.g. "DOI", 'Handle', 'URL' or other types.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute name="identifierType" type="limitedIdentifierType" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="titles" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="title" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A name or title by which a resource is known.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute ref="xml:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="publishers" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="publisher" type="nonEmptyContentStringType" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The name of the entity that holds, archives, publishes, prints, distributes, releases, issues, or produces the resource or is responsible for making the resource available.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="publicationYear" minOccurs="1">
<xs:annotation>
<xs:documentation>Year when the data was or will be made publicly available. If an embargo period has been in effect, use the date when the embargo period ends.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="yearType"/>
</xs:simpleType>
</xs:element>
<!--OPTIONAL FIELDS-->
<xs:element name="community" type="nonEmptyContentStringType" minOccurs="0">
<xs:annotation>
<xs:documentation>The scientific community, research infrastructure, project or data provider the resource belongs to or is being harvested from.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="resourceTypes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="resourceType" type="nonEmptyContentStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The type(s) of the resource, e.g. Dataset, AstroImage.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="creators" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="creator" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The main researcher(s) involved in producing the data, or the author(s) of the publication in priority order. To supply multiple creators, repeat this property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="creatorName" type="nonEmptyContentStringType" minOccurs="1">
<xs:annotation>
<xs:documentation>The full name of the creator. The personal name format should be: family, given.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="instruments" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="instrument" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The technical instrument(s) used to produce the data in the resource.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute name="instrumentIdentifier" type="nonEmptyContentStringType" use="optional" />
<xs:attribute name="instrumentIdentifierType" type="openIdentifierType" use="optional" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="keywords" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="keyword" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Subject(s), keyword(s), classification code(s), or key phrase(s) describing the resource. Can be free text.</xs:documentation>
<xs:documentation>To supply multiple keywords, repeat this property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute ref="xml:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="disciplines" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="discipline" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The research discipline(s) the resource can be categorized in.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute name="disciplineIdentifier" use="optional"/>
<xs:attribute name="disciplineScheme" use="optional"/>
<xs:attribute name="schemeURI" type="xs:anyURI" use="optional"/>
<xs:attribute name="valueURI" type="xs:anyURI" use="optional"/>
<xs:attribute ref="xml:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="contributors" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="contributor" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The institution or person responsible for collecting, managing, distributing, or otherwise contributing to the development of the resource. To supply multiple contributors, repeat this property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="contributorName" type="nonEmptyContentStringType" minOccurs="1">
<xs:annotation>
<xs:documentation>The personal name format should be: family, given.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="languages" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="language" type="xs:language" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Language(s) of the resource.</xs:documentation>
<xs:documentation>Allowed values should be taken from ISO 639-1 and 639-3 language codes or IETF BCP 47. Examples: 'en', 'de' or 'eng', 'deu' or 'de-AT', 'en-US'.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="relatedIdentifiers" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="relatedIdentifier" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Identifier(s) of related resources.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute name="relatedIdentifierType" type="identifierType" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sizes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="size" type="nonEmptyContentStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Size information about the resource, e.g. 123 MB, 3 pages, 102 files.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="formats" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="format" type="nonEmptyContentStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Technical format(s) of the resource.</xs:documentation>
<xs:documentation>Use the file extension or MIME type where possible, e.g., PDF, XML, MPG or application/pdf, text/xml, video/mpeg.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="version" type="nonEmptyContentStringType" minOccurs="0">
<xs:annotation>
<xs:documentation>Version number of the resource. If the primary resource has changed the version number increases. </xs:documentation>
<xs:documentation>Suggested practice: track major_version.minor_version.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="rightsList" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="rights" type="nonEmptyContentStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any rights information for this resource.The property may be repeated to record complex rights characteristics.</xs:documentation>
<xs:documentation>Use the complete title of a license and include version information if applicable.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="descriptions" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="description" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>All additional information that does not fit in any of the other categories. May be used for technical information. It is a best practice to supply a description.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute ref="xml:lang"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="contacts" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="contact" type="nonEmptyContentStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to contact information. This could be a reference using a URL or an email address.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="spatialCoverages" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="spatialCoverage" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Spatial region or named place where the data was gathered or about which the data is focused.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="geoLocationPlace" minOccurs="0">
<xs:annotation>
<xs:documentation>Description or name of a geographic location. Free text.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="geoLocationPoint" type="point" minOccurs="0">
<xs:annotation>
<xs:documentation>A point contains a single latitude-longitude pair.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="geoLocationBox" type="box" minOccurs="0">
<xs:annotation>
<xs:documentation>A box contains two white space separated latitude-longitude pairs, with each pair separated by whitespace. The first pair is the lower corner, the second is the upper corner.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="geoLocationPolygon" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A drawn polygon area, defined by a set of points and lines connecting the points in a closed chain.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="polygonPoint" type="point" minOccurs="3" maxOccurs="unbounded"/>
<xs:element name="inPolygonPoint" type="point" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="temporalCoverages" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="temporalCoverage" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Period of time the research data is related to. Could be a date format or plain text.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="startDate" type="date" minOccurs="0">
<xs:annotation>
<xs:documentation>Begin of time period the resource is about or focused on. Format should be YYYY, YYYY-MM-DD, YYYY-MM-DDThh:mm:ssTZD or any other format or level of granularity described in W3CDTF. Years before 0000 must be prefixed with a -sign, e.g.,-0054 to indicate 55 BC.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="endDate" type="date" minOccurs="0">
<xs:annotation>
<xs:documentation>End of time period the data is about, if applicable. Can be left open. Date format as in startDate.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="span" type="nonEmptyContentStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Name of a period that the resource is about, e.g. Paleocene.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="fundingReferences" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="fundingReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Information about financial support (funding) for the resource.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="funderName" minOccurs="1">
<xs:annotation>
<xs:documentation>Name of the funding provider.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="nonEmptyContentStringType"/>
</xs:simpleType>
</xs:element>
<xs:element name="awardNumber" minOccurs="0">
<xs:annotation>
<xs:documentation>The code assigned by the funder to a sponsored award (grant).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="nonEmptyContentStringType">
<xs:attribute name="awardURI" type="xs:anyURI" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>