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