1
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
2
|
elementFormDefault="unqualified" xmlns="http://namespace.openaire.eu/oaf"
|
3
|
targetNamespace="http://namespace.openaire.eu/oaf">
|
4
|
|
5
|
<xs:annotation>
|
6
|
<xs:documentation>This schema describes elements and properties of
|
7
|
OpenAIRE+ entities of
|
8
|
type result, namely: publications and datasets.
|
9
|
</xs:documentation>
|
10
|
</xs:annotation>
|
11
|
|
12
|
<xs:include schemaLocation="oaf-common-0.2.xsd" />
|
13
|
|
14
|
<xs:element name="result">
|
15
|
<xs:complexType>
|
16
|
<xs:choice maxOccurs="unbounded">
|
17
|
<xs:element name="subject" type="optionalClassedSchemedElement"
|
18
|
maxOccurs="unbounded">
|
19
|
<xs:annotation>
|
20
|
<xs:documentation>
|
21
|
Subjects and keywords.
|
22
|
<p>For allowed values check:
|
23
|
$vocabulariesURL$/dnet:result_subjects
|
24
|
</p>
|
25
|
</xs:documentation>
|
26
|
</xs:annotation>
|
27
|
</xs:element>
|
28
|
<xs:element name="title" type="classedSchemedElement">
|
29
|
<xs:annotation>
|
30
|
<xs:documentation>
|
31
|
Title of this research result.
|
32
|
<p>Different types of titles are allowed: see
|
33
|
$vocabulariesURL$/dnet:dataCite_title
|
34
|
</p>
|
35
|
</xs:documentation>
|
36
|
</xs:annotation>
|
37
|
</xs:element>
|
38
|
<xs:element name="dateofacceptance" type="inferenceExtendedStringType" />
|
39
|
<xs:element name="publisher" type="inferenceExtendedStringType" />
|
40
|
<xs:element name="resulttype" type="classedSchemedElement">
|
41
|
<xs:annotation>
|
42
|
<xs:documentation>
|
43
|
Tells if this record is about a publication or a dataset.
|
44
|
<p>For allowed values check:
|
45
|
$vocabulariesURL$/dnet:result_typologies
|
46
|
</p>
|
47
|
</xs:documentation>
|
48
|
</xs:annotation>
|
49
|
</xs:element>
|
50
|
<xs:element name="language" type="optionalClassedSchemedElement">
|
51
|
<xs:annotation>
|
52
|
<xs:documentation>
|
53
|
Language in ISO 639-2.
|
54
|
<p>For allowed values check: $vocabulariesURL$/dnet:languages</p>
|
55
|
</xs:documentation>
|
56
|
</xs:annotation>
|
57
|
</xs:element>
|
58
|
<xs:element name="journal" type="journalType" />
|
59
|
<xs:element name="description" type="inferenceExtendedStringType"
|
60
|
maxOccurs="unbounded" />
|
61
|
<xs:element name="source" type="inferenceExtendedStringType">
|
62
|
<xs:annotation>
|
63
|
<xs:documentation>The semantics of this field is inherited from
|
64
|
dc:source in Dublin Core.
|
65
|
</xs:documentation>
|
66
|
</xs:annotation>
|
67
|
</xs:element>
|
68
|
<xs:element name="relevantdate" type="optionalClassedSchemedElement" />
|
69
|
<xs:element name="embargoenddate" type="inferenceExtendedStringType" />
|
70
|
<xs:element name="storagedate" type="inferenceExtendedStringType" />
|
71
|
<xs:element name="fulltext" type="inferenceExtendedStringType" />
|
72
|
<xs:element name="resourcetype" type="optionalClassedSchemedElement">
|
73
|
<xs:annotation>
|
74
|
<xs:documentation>
|
75
|
This field is valid only if resulttype is "dataset". It expresses the nature of the dataset.
|
76
|
<p>For allowed values check:
|
77
|
$vocabulariesURL$/dnet:publication_resource
|
78
|
</p>
|
79
|
</xs:documentation>
|
80
|
</xs:annotation>
|
81
|
</xs:element>
|
82
|
<xs:element name="device" type="inferenceExtendedStringType">
|
83
|
<xs:annotation>
|
84
|
<xs:documentation>
|
85
|
This field is valid only if resulttype is "dataset". It contains information about the device used to generate the dataset.
|
86
|
</xs:documentation>
|
87
|
</xs:annotation>
|
88
|
</xs:element>
|
89
|
<xs:element name="size" type="inferenceExtendedStringType">
|
90
|
<xs:annotation>
|
91
|
<xs:documentation>
|
92
|
This field is valid only if resulttype is "dataset". It contains information about the size of the dataset.
|
93
|
</xs:documentation>
|
94
|
</xs:annotation>
|
95
|
</xs:element>
|
96
|
<xs:element name="format" type="inferenceExtendedStringType">
|
97
|
<xs:annotation>
|
98
|
<xs:documentation>
|
99
|
This field is valid only if resulttype is "dataset". It contains information about the format of the dataset.
|
100
|
</xs:documentation>
|
101
|
</xs:annotation>
|
102
|
</xs:element>
|
103
|
<xs:element name="version" type="inferenceExtendedStringType">
|
104
|
<xs:annotation>
|
105
|
<xs:documentation>
|
106
|
This field is valid only if resulttype is "dataset". It contains information about the version of the dataset.
|
107
|
</xs:documentation>
|
108
|
</xs:annotation>
|
109
|
</xs:element>
|
110
|
<xs:element name="lastmetadataupdate" type="inferenceExtendedStringType">
|
111
|
<xs:annotation>
|
112
|
<xs:documentation>
|
113
|
This field is valid only if resulttype is "dataset". It is the last update date of the metadata of the dataset.
|
114
|
</xs:documentation>
|
115
|
</xs:annotation>
|
116
|
</xs:element>
|
117
|
<xs:element name="metadataversionnumber" type="inferenceExtendedStringType">
|
118
|
<xs:annotation>
|
119
|
<xs:documentation>
|
120
|
This field is valid only if resulttype is "dataset". It contains information about the version of the metadata of the dataset.
|
121
|
</xs:documentation>
|
122
|
</xs:annotation>
|
123
|
</xs:element>
|
124
|
<xs:element name="originalId" type="xs:string" maxOccurs="unbounded" />
|
125
|
<xs:element name="collectedfrom" type="namedIdElement"
|
126
|
maxOccurs="unbounded">
|
127
|
<xs:annotation>
|
128
|
<xs:documentation>Identifier and name of the datasource from which
|
129
|
this result has been collected from (e.g., "OpenDOAR").
|
130
|
</xs:documentation>
|
131
|
</xs:annotation>
|
132
|
</xs:element>
|
133
|
<xs:element name="pid" type="optionalClassedSchemedElement">
|
134
|
<xs:annotation>
|
135
|
<xs:documentation>
|
136
|
Persistent identifier.
|
137
|
<p>For allowed pid systems check:
|
138
|
$vocabulariesURL$/dnet:pid_types
|
139
|
</p>
|
140
|
</xs:documentation>
|
141
|
</xs:annotation>
|
142
|
</xs:element>
|
143
|
<xs:element name="bestlicense" type="classedSchemedElement">
|
144
|
<xs:annotation>
|
145
|
<xs:documentation>
|
146
|
The best license available for this result among the
|
147
|
available
|
148
|
licenses of its children elements.
|
149
|
<p>For allowed values check: $vocabulariesURL$/dnet:access_modes
|
150
|
</p>
|
151
|
</xs:documentation>
|
152
|
</xs:annotation>
|
153
|
</xs:element>
|
154
|
<xs:element name="context" type="contextType">
|
155
|
<xs:annotation>
|
156
|
<xs:documentation>Contextual information for the publication or
|
157
|
dataset. Examples are: research project and funding.
|
158
|
</xs:documentation>
|
159
|
</xs:annotation>
|
160
|
</xs:element>
|
161
|
<xs:element name="datainfo" type="datainfoType"/>
|
162
|
<xs:element name="rels" type="relsType">
|
163
|
<xs:annotation>
|
164
|
<xs:documentation>Relationships to other entities.
|
165
|
</xs:documentation>
|
166
|
</xs:annotation>
|
167
|
</xs:element>
|
168
|
<xs:element name="children" type="resultChildrenType" />
|
169
|
</xs:choice>
|
170
|
</xs:complexType>
|
171
|
</xs:element>
|
172
|
|
173
|
<xs:complexType name="journalType">
|
174
|
<xs:annotation>
|
175
|
<xs:documentation>Journal where the publication has been published.Attributes refer to electronic, printed and linking (ISSN-L) ISSN.
|
176
|
This field is applicable when resulttype is "publication".
|
177
|
</xs:documentation>
|
178
|
</xs:annotation>
|
179
|
<xs:simpleContent>
|
180
|
<xs:extension base="inferenceExtendedStringType">
|
181
|
<xs:attribute name="eissn" use="optional"/>
|
182
|
<xs:attribute name="issn" use="optional" />
|
183
|
<xs:attribute name="lissn" use="optional" />
|
184
|
</xs:extension>
|
185
|
</xs:simpleContent>
|
186
|
</xs:complexType>
|
187
|
|
188
|
<xs:complexType name="contextType">
|
189
|
<xs:annotation>
|
190
|
<xs:documentation>Contextual information of the entity. Examples are:
|
191
|
research project
|
192
|
and funding.
|
193
|
</xs:documentation>
|
194
|
</xs:annotation>
|
195
|
<xs:complexContent>
|
196
|
<xs:extension base="labeledIdElement">
|
197
|
<xs:sequence maxOccurs="unbounded">
|
198
|
<xs:element name="category" type="categoryType" />
|
199
|
</xs:sequence>
|
200
|
<xs:attribute name="type" use="required" />
|
201
|
</xs:extension>
|
202
|
</xs:complexContent>
|
203
|
</xs:complexType>
|
204
|
|
205
|
<xs:complexType name="categoryType">
|
206
|
<xs:complexContent>
|
207
|
<xs:extension base="labeledIdElement">
|
208
|
<xs:sequence maxOccurs="unbounded">
|
209
|
<xs:element name="concept" type="conceptType" />
|
210
|
</xs:sequence>
|
211
|
<xs:attribute name="claim" type="xs:boolean" />
|
212
|
</xs:extension>
|
213
|
</xs:complexContent>
|
214
|
</xs:complexType>
|
215
|
|
216
|
<xs:complexType name="conceptType">
|
217
|
<xs:complexContent>
|
218
|
<xs:extension base="labeledIdElement">
|
219
|
<xs:sequence maxOccurs="unbounded" minOccurs="0">
|
220
|
<xs:element name="concept" type="conceptType" />
|
221
|
</xs:sequence>
|
222
|
<xs:attribute name="claim" type="xs:boolean" />
|
223
|
</xs:extension>
|
224
|
</xs:complexContent>
|
225
|
</xs:complexType>
|
226
|
|
227
|
<xs:complexType name="resultChildrenType">
|
228
|
<xs:choice maxOccurs="unbounded">
|
229
|
<xs:element name="result" type="childrenResult" minOccurs="0"
|
230
|
maxOccurs="unbounded" />
|
231
|
<xs:element name="instance" type="instanceType" minOccurs="0"
|
232
|
maxOccurs="unbounded">
|
233
|
<xs:annotation>
|
234
|
<xs:documentation>Actual digital representation of the publication
|
235
|
or dataset.
|
236
|
</xs:documentation>
|
237
|
</xs:annotation>
|
238
|
</xs:element>
|
239
|
<xs:sequence maxOccurs="unbounded">
|
240
|
<xs:element name="externalreference" type="externalreferenceType" />
|
241
|
</xs:sequence>
|
242
|
</xs:choice>
|
243
|
</xs:complexType>
|
244
|
|
245
|
<xs:complexType name="childrenResult">
|
246
|
<xs:choice maxOccurs="unbounded">
|
247
|
<xs:element name="title" type="classedSchemedElement"
|
248
|
maxOccurs="unbounded">
|
249
|
<xs:annotation>
|
250
|
<xs:documentation>
|
251
|
Title of this research result.
|
252
|
<p>Different types of titles are allowed: see
|
253
|
$vocabulariesURL$/dnet:dataCite_title
|
254
|
</p>
|
255
|
</xs:documentation>
|
256
|
</xs:annotation>
|
257
|
</xs:element>
|
258
|
<xs:element name="dateofacceptance" type="xs:string" />
|
259
|
<xs:element name="publisher" type="xs:string" />
|
260
|
<xs:element name="resulttype" type="classedSchemedElement">
|
261
|
<xs:annotation>
|
262
|
<xs:documentation>
|
263
|
Tells if this record is about a publication or a dataset.
|
264
|
<p>For allowed values check:
|
265
|
$vocabulariesURL$/dnet:result_typologies
|
266
|
</p>
|
267
|
</xs:documentation>
|
268
|
</xs:annotation>
|
269
|
</xs:element>
|
270
|
</xs:choice>
|
271
|
<xs:attribute name="objidentifier" use="required" />
|
272
|
</xs:complexType>
|
273
|
|
274
|
<xs:complexType name="instanceType">
|
275
|
<xs:choice maxOccurs="unbounded">
|
276
|
<xs:element name="licence" type="classedSchemedElement">
|
277
|
<xs:annotation>
|
278
|
<xs:documentation>
|
279
|
License to access this actual manifestation of the publication or
|
280
|
dataset.
|
281
|
<p>For allowed values check: $vocabulariesURL$/dnet:access_modes
|
282
|
</p>
|
283
|
<p>When several instances are available for the same publication,
|
284
|
the
|
285
|
opener license is selected as the bestlicese field in element
|
286
|
result.
|
287
|
</p>
|
288
|
</xs:documentation>
|
289
|
</xs:annotation>
|
290
|
</xs:element>
|
291
|
<xs:element name="instancetype" type="classedSchemedElement">
|
292
|
<xs:annotation>
|
293
|
<xs:documentation>
|
294
|
Type of the instance, for example: article, thesis, etc.
|
295
|
<p>For allowed values check:
|
296
|
$vocabulariesURL$/dnet:publication_resource
|
297
|
</p>
|
298
|
</xs:documentation>
|
299
|
</xs:annotation>
|
300
|
|
301
|
</xs:element>
|
302
|
<xs:element name="hostedby" type="namedIdElement"
|
303
|
maxOccurs="1">
|
304
|
<xs:annotation>
|
305
|
<xs:documentation>Organisation hosting this file.
|
306
|
</xs:documentation>
|
307
|
</xs:annotation>
|
308
|
</xs:element>
|
309
|
<xs:element name="webresource" type="webresourceType"
|
310
|
minOccurs="1" maxOccurs="unbounded" />
|
311
|
</xs:choice>
|
312
|
<xs:attribute name="id" use="required" />
|
313
|
</xs:complexType>
|
314
|
|
315
|
<xs:complexType name="webresourceType">
|
316
|
<xs:sequence>
|
317
|
<xs:element name="url" type="xs:anyURI" minOccurs="1"
|
318
|
maxOccurs="1" />
|
319
|
</xs:sequence>
|
320
|
</xs:complexType>
|
321
|
|
322
|
</xs:schema>
|