-
Notifications
You must be signed in to change notification settings - Fork 0
/
rdUB.xsd
210 lines (176 loc) · 7.62 KB
/
rdUB.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
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
targetNamespace="https://www.ub.uni-muenchen.de/index"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:lmUB="https://www.ub.uni-muenchen.de/index"
xmlns:datacite="http://datacite.org/schema/kernel-4">
<!-- Import of the DataCite XML Schema 4.3 -->
<xsd:import namespace="http://datacite.org/schema/kernel-4"
schemaLocation="http://schema.datacite.org/meta/kernel-4.3/metadata.xsd"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
XML Schema for the research data repository of the University Library of LMU.
It extends the DataCite schema 4.3 by some elements needed for searching and displaying versioned and hierarchized data.
</xsd:documentation>
</xsd:annotation>
<!-- Root element -->
<xsd:element name="rData" type="lmUB:rData"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The root element of rdUB, rData, behaves like a wrapper.
It contains a DataCite record and a couple of elements that are not (yet) part of DataCite.
</xsd:documentation>
</xsd:annotation>
<!-- complexTypes (hierarchical order, top-down) -->
<xsd:complexType name="rData">
<xsd:sequence>
<xsd:element ref="datacite:resource"/>
<xsd:annotation>
<xsd:documentation>
The DataCite record.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="contentUrls" type="lmUB:contentUrls" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The link(s) to the location(s) where the research data is stored.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="metadataUrl" type="xsd:anyURI" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The link to the location where the metadata record (= rdUB) of the research data is stored.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="checksums" type="lmUB:checksums"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
A SHA1 file checksum.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="hierarchy" type="lmUB:hierarchy"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The level of description.
Example: If a project contains several items and the items are aggregated into datasets, then the project gets the tag "level1", the datasets get "level2" and the items "level3".
</xsd:documentation>
</xsd:annotation>
<xsd:element name="projectVersions" type="lmUB:projectVersions" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The version of the project, the research data is part of.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="objectVersion" type="xsd:string" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The version of the research data itself.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="currentVersion" type="xsd:boolean" />
<xsd:annotation>
<xsd:documentation xml:lang="en">
Marker for the current version of a research data record.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="collections" type="lmUB:collections" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
One ore more projects or (data) collections to which the research data can be related.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="faculties" type="lmUB:faculties" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
The faculty or faculties, the research data belongs to.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="geoLocations" type="lmUB:geoLocations" minOccurs="0"/>
<xsd:annotation>
<xsd:documentation xml:lang="en">
Like a DataCite geoLocations element but without the child elements geoLocationPoint, geoLocationBox and geoLocationPolygon.
Instead, there is an additional child element, geoIdentifier, to store a reference, for example, to GeoNames.
</xsd:documentation>
</xsd:annotation>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="contentUrls">
<xsd:sequence>
<xsd:element name="contentUrl" type="xsd:anyURI" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="checksums">
<xsd:sequence>
<xsd:element name="checksum" type="lmUB:checksum" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="projectVersions">
<xsd:sequence>
<xsd:element name="projectVersion" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="collections">
<xsd:sequence>
<xsd:element name="collection" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="faculties">
<xsd:sequence>
<xsd:element name="faculty" type="lmUB:faculty" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="geoLocations">
<xsd:sequence>
<xsd:element name="geoLocation" type="lmUB:geoLocation" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="geoLocation">
<xsd:sequence>
<xsd:element name="geoLocationPlace" type="xsd:string"/>
<xsd:element name="geoIdentifier" type="lmUB:geoIdentifier" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="geoIdentifier">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="schemeURI" type="xsd:anyURI"/>
<xsd:attribute name="nameIdentifierScheme" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- simpleTypes -->
<xsd:simpleType name="hierarchy">
<xsd:restriction base="xsd:string">
<xsd:pattern value="level[0-9]+"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="checksum">
<xsd:restriction base="xsd:string">
<xsd:pattern value="urn:sha1:\w{40}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="faculty">
<!-- The enumeration list contains all faculties of LMU Munich (status: Febr 2021) plus the University Library. -->
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Faculty of Catholic Theology"/>
<xsd:enumeration value="Faculty of Protestant Theology"/>
<xsd:enumeration value="Faculty of Law"/>
<xsd:enumeration value="Faculty of Business Administration - Munich School of Management"/>
<xsd:enumeration value="Faculty of Economics"/>
<xsd:enumeration value="Faculty of Medicine"/>
<xsd:enumeration value="Faculty of Veterinary Medicine"/>
<xsd:enumeration value="Faculty of History and the Arts"/>
<xsd:enumeration value="Faculty of Philosophy, Philosophy of Science and the Study of Religion"/>
<xsd:enumeration value="Faculty of Psychology and Educational Sciences"/>
<xsd:enumeration value="Faculty for the Study of Culture"/>
<xsd:enumeration value="Faculty for Languages and Literatures"/>
<xsd:enumeration value="Faculty of Social Sciences"/>
<xsd:enumeration value="Faculty of Mathematics, Informatics and Statistics"/>
<xsd:enumeration value="Faculty of Physics"/>
<xsd:enumeration value="Faculty of Chemistry and Pharmacy"/>
<xsd:enumeration value="Faculty of Biology"/>
<xsd:enumeration value="Faculty of Geosciences"/>
<xsd:enumeration value="University Library"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>