forked from uvalib/dplava-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dcterms.xsd
374 lines (317 loc) · 13.1 KB
/
dcterms.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" targetNamespace="http://purl.org/dc/terms/" xmlns="http://purl.org/dc/terms/" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation xml:lang="en">
DCterms XML Schema
XML Schema for http://purl.org/dc/terms/ namespace
Created 2008-02-11
Created by
Tim Cole ([email protected])
Tom Habing ([email protected])
Jane Hunter ([email protected])
Pete Johnston ([email protected]),
Carl Lagoze ([email protected])
This schema declares XML elements for the DC elements and
DC element refinements from the http://purl.org/dc/terms/ namespace.
It reuses the complexType dc:SimpleLiteral, imported from the dc.xsd
schema, which permits simple element content, and makes the xml:lang
attribute available.
This complexType permits the derivation of other complexTypes
which would permit child elements.
XML elements corresponding to DC elements are declared as substitutable for the abstract element dc:any, and
XML elements corresponding to DC element refinements are defined as substitutable for the base elements
which they refine.
This means that the default type for all XML elements (i.e. corresponding to all DC elements and
element refinements) is dc:SimpleLiteral.
Encoding schemes are defined as complexTypes which are restrictions
of the dc:SimpleLiteral complexType. These complexTypes restrict
values to an appropriates syntax or format using data typing,
regular expressions, or enumerated lists.
In order to specify one of these encodings an xsi:type attribute must
be used in the instance document.
Also, note that one shortcoming of this approach is that any type can be
applied to any of the elements or refinements. There is no convenient way
to restrict types to specific elements using this approach.
Changes in 2008-02-11 version:
Add element declarations corresponding to 15 new dcterms URIs, and amend use of substitutionGroups.
Add compexType definitions corresponding to ISO639-3, RFC4646.
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd">
</xs:import>
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd"/>
<xs:import namespace="http://purl.org/dc/dcmitype/" schemaLocation="dcmitype.xsd"/>
<xs:element name="title" substitutionGroup="dc:title"/>
<xs:element name="creator" substitutionGroup="dc:creator"/>
<xs:element name="subject" substitutionGroup="dc:subject"/>
<xs:element name="description" substitutionGroup="dc:description"/>
<xs:element name="publisher" substitutionGroup="dc:publisher"/>
<xs:element name="contributor" substitutionGroup="dc:contributor"/>
<xs:element name="date" substitutionGroup="dc:date"/>
<xs:element name="type" substitutionGroup="dc:type"/>
<xs:element name="format" substitutionGroup="dc:format"/>
<xs:element name="identifier" substitutionGroup="dc:identifier"/>
<xs:element name="source" substitutionGroup="dc:source"/>
<xs:element name="language" substitutionGroup="dc:language"/>
<xs:element name="relation" substitutionGroup="dc:relation"/>
<xs:element name="coverage" substitutionGroup="dc:coverage"/>
<xs:element name="rights" substitutionGroup="dc:rights"/>
<xs:element name="alternative" substitutionGroup="title"/>
<xs:element name="tableOfContents" substitutionGroup="description"/>
<xs:element name="abstract" substitutionGroup="description"/>
<xs:element name="created" substitutionGroup="date"/>
<xs:element name="valid" substitutionGroup="date"/>
<xs:element name="available" substitutionGroup="date"/>
<xs:element name="issued" substitutionGroup="date"/>
<xs:element name="modified" substitutionGroup="date"/>
<xs:element name="dateAccepted" substitutionGroup="date"/>
<xs:element name="dateCopyrighted" substitutionGroup="date"/>
<xs:element name="dateSubmitted" substitutionGroup="date"/>
<xs:element name="extent" substitutionGroup="format"/>
<xs:element name="medium" substitutionGroup="format"/>
<xs:element name="isVersionOf" substitutionGroup="relation"/>
<xs:element name="hasVersion" substitutionGroup="relation"/>
<xs:element name="isReplacedBy" substitutionGroup="relation"/>
<xs:element name="replaces" substitutionGroup="relation"/>
<xs:element name="isRequiredBy" substitutionGroup="relation"/>
<xs:element name="requires" substitutionGroup="relation"/>
<xs:element name="isPartOf" substitutionGroup="relation"/>
<xs:element name="hasPart" substitutionGroup="relation"/>
<xs:element name="isReferencedBy" substitutionGroup="relation"/>
<xs:element name="references" substitutionGroup="relation"/>
<xs:element name="isFormatOf" substitutionGroup="relation"/>
<xs:element name="hasFormat" substitutionGroup="relation"/>
<xs:element name="conformsTo" substitutionGroup="relation"/>
<xs:element name="spatial" substitutionGroup="coverage"/>
<xs:element name="temporal" substitutionGroup="coverage"/>
<xs:element name="audience" substitutionGroup="dc:any"/>
<xs:element name="accrualMethod" substitutionGroup="dc:any"/>
<xs:element name="accrualPeriodicity" substitutionGroup="dc:any"/>
<xs:element name="accrualPolicy" substitutionGroup="dc:any"/>
<xs:element name="instructionalMethod" substitutionGroup="dc:any"/>
<xs:element name="provenance" substitutionGroup="dc:any"/>
<xs:element name="rightsHolder" substitutionGroup="dc:any"/>
<xs:element name="mediator" substitutionGroup="audience"/>
<xs:element name="educationLevel" substitutionGroup="audience"/>
<xs:element name="accessRights" substitutionGroup="rights"/>
<xs:element name="license" substitutionGroup="rights"/>
<xs:element name="bibliographicCitation" substitutionGroup="identifier"/>
<xs:complexType name="LCSH">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="MESH">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="DDC">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LCC">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="UDC">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Period">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="W3CDTF">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:union memberTypes="xs:gYear xs:gYearMonth xs:date xs:dateTime"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="DCMIType">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="dcmitype:DCMIType"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="IMT">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="URI">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:anyURI"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ISO639-2">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ISO639-3">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="RFC1766">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:language"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="RFC3066">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:language"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="RFC4646">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:language"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Point">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ISO3166">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="Box">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="TGN">
<xs:simpleContent>
<xs:restriction base="dc:SimpleLiteral">
<xs:simpleType>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:attribute ref="xml:lang" use="prohibited"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
<xs:group name="elementsAndRefinementsGroup">
<xs:annotation>
<xs:documentation xml:lang="en">
This group is included as a convenience for schema authors
who need to refer to all the DC elements and element refinements
in the http://purl.org/dc/elements/1.1/ and
http://purl.org/dc/terms namespaces.
N.B. Refinements available via substitution groups.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="dc:any"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:complexType name="elementOrRefinementContainer">
<xs:annotation>
<xs:documentation xml:lang="en">
This is included as a convenience for schema authors who need to define a root
or container element for all of the DC elements and element refinements.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:group ref="elementsAndRefinementsGroup"/>
</xs:choice>
</xs:complexType>
</xs:schema>
<!--#include virtual="/schemas/xmls/qdc/2008/02/11/dcterms.xsd" -->