zenodo 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/lib/Zenodo.d.ts +76 -4
- package/lib/Zenodo.d.ts.map +1 -1
- package/lib/Zenodo.js +150 -19
- package/lib/Zenodo.js.map +1 -1
- package/lib/ZenodoAuthenticationStates.d.ts +21 -0
- package/lib/ZenodoAuthenticationStates.d.ts.map +1 -0
- package/lib/ZenodoAuthenticationStates.js +20 -0
- package/lib/ZenodoAuthenticationStates.js.map +1 -0
- package/lib/ZenodoFile.d.ts +2 -38
- package/lib/ZenodoFile.d.ts.map +1 -1
- package/lib/ZenodoFile.js +3 -18
- package/lib/ZenodoFile.js.map +1 -1
- package/lib/depositions/Deposition.d.ts +90 -6
- package/lib/depositions/Deposition.d.ts.map +1 -1
- package/lib/depositions/Deposition.js +198 -29
- package/lib/depositions/Deposition.js.map +1 -1
- package/lib/depositions/ListDepositionsOptions.d.ts +4 -2
- package/lib/depositions/ListDepositionsOptions.d.ts.map +1 -1
- package/lib/depositions/ListDepositionsOptions.js +1 -2
- package/lib/depositions/Record.d.ts +10 -0
- package/lib/depositions/Record.d.ts.map +1 -0
- package/lib/depositions/Record.js +19 -0
- package/lib/depositions/Record.js.map +1 -0
- package/lib/fetchZenodo.d.ts +44 -1
- package/lib/fetchZenodo.d.ts.map +1 -1
- package/lib/fetchZenodo.js +214 -15
- package/lib/fetchZenodo.js.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -17
- package/lib/index.js.map +1 -1
- package/lib/responseStatuses.js +1 -4
- package/lib/responseStatuses.js.map +1 -1
- package/lib/utilities/ZenodoDepositionSchema.d.ts +473 -0
- package/lib/utilities/ZenodoDepositionSchema.d.ts.map +1 -0
- package/lib/utilities/ZenodoDepositionSchema.js +80 -0
- package/lib/utilities/ZenodoDepositionSchema.js.map +1 -0
- package/lib/utilities/ZenodoFileSchema.d.ts +39 -0
- package/lib/utilities/ZenodoFileSchema.d.ts.map +1 -0
- package/lib/utilities/ZenodoFileSchema.js +37 -0
- package/lib/utilities/ZenodoFileSchema.js.map +1 -0
- package/lib/utilities/ZenodoMetadataSchema.d.ts +400 -0
- package/lib/utilities/ZenodoMetadataSchema.d.ts.map +1 -0
- package/lib/utilities/ZenodoMetadataSchema.js +602 -0
- package/lib/utilities/ZenodoMetadataSchema.js.map +1 -0
- package/lib/utilities/ZenodoRecordSchema.d.ts +544 -0
- package/lib/utilities/ZenodoRecordSchema.d.ts.map +1 -0
- package/lib/utilities/ZenodoRecordSchema.js +70 -0
- package/lib/utilities/ZenodoRecordSchema.js.map +1 -0
- package/lib/utilities/ZenodoReviewSchema.d.ts +112 -0
- package/lib/utilities/ZenodoReviewSchema.d.ts.map +1 -0
- package/lib/utilities/ZenodoReviewSchema.js +80 -0
- package/lib/utilities/ZenodoReviewSchema.js.map +1 -0
- package/lib/utilities/licensesEnum.d.ts +4 -0
- package/lib/utilities/licensesEnum.d.ts.map +1 -0
- package/lib/utilities/licensesEnum.js +449 -0
- package/lib/utilities/licensesEnum.js.map +1 -0
- package/lib/utilities/schemaValidation.d.ts +50 -0
- package/lib/utilities/schemaValidation.d.ts.map +1 -0
- package/lib/utilities/schemaValidation.js +124 -0
- package/lib/utilities/schemaValidation.js.map +1 -0
- package/lib/utilities/zipFiles.d.ts +9 -0
- package/lib/utilities/zipFiles.d.ts.map +1 -0
- package/lib/utilities/zipFiles.js +28 -0
- package/lib/utilities/zipFiles.js.map +1 -0
- package/package.json +28 -22
- package/src/Zenodo.ts +180 -10
- package/src/ZenodoAuthenticationStates.ts +22 -0
- package/src/ZenodoFile.ts +4 -18
- package/src/depositions/Deposition.ts +236 -24
- package/src/depositions/ListDepositionsOptions.ts +4 -2
- package/src/depositions/Record.ts +25 -0
- package/src/fetchZenodo.ts +402 -16
- package/src/index.ts +5 -1
- package/src/utilities/ZenodoDepositionSchema.ts +90 -0
- package/src/utilities/ZenodoFileSchema.ts +40 -0
- package/src/utilities/ZenodoMetadataSchema.ts +608 -0
- package/src/utilities/ZenodoRecordSchema.ts +75 -0
- package/src/utilities/ZenodoReviewSchema.ts +84 -0
- package/src/utilities/licensesEnum.ts +448 -0
- package/src/utilities/schemaValidation.ts +150 -0
- package/src/utilities/zipFiles.ts +36 -0
- package/lib/depositions/depositionSchema.d.ts +0 -982
- package/lib/depositions/depositionSchema.d.ts.map +0 -1
- package/lib/depositions/depositionSchema.js +0 -141
- package/lib/depositions/depositionSchema.js.map +0 -1
- package/lib-esm/Zenodo.d.ts +0 -19
- package/lib-esm/Zenodo.d.ts.map +0 -1
- package/lib-esm/Zenodo.js +0 -51
- package/lib-esm/Zenodo.js.map +0 -1
- package/lib-esm/ZenodoFile.d.ts +0 -45
- package/lib-esm/ZenodoFile.d.ts.map +0 -1
- package/lib-esm/ZenodoFile.js +0 -33
- package/lib-esm/ZenodoFile.js.map +0 -1
- package/lib-esm/depositions/Deposition.d.ts +0 -14
- package/lib-esm/depositions/Deposition.d.ts.map +0 -1
- package/lib-esm/depositions/Deposition.js +0 -51
- package/lib-esm/depositions/Deposition.js.map +0 -1
- package/lib-esm/depositions/ListDepositionsOptions.d.ts +0 -32
- package/lib-esm/depositions/ListDepositionsOptions.d.ts.map +0 -1
- package/lib-esm/depositions/ListDepositionsOptions.js +0 -2
- package/lib-esm/depositions/ListDepositionsOptions.js.map +0 -1
- package/lib-esm/depositions/depositionSchema.d.ts +0 -982
- package/lib-esm/depositions/depositionSchema.d.ts.map +0 -1
- package/lib-esm/depositions/depositionSchema.js +0 -138
- package/lib-esm/depositions/depositionSchema.js.map +0 -1
- package/lib-esm/fetchZenodo.d.ts +0 -12
- package/lib-esm/fetchZenodo.d.ts.map +0 -1
- package/lib-esm/fetchZenodo.js +0 -31
- package/lib-esm/fetchZenodo.js.map +0 -1
- package/lib-esm/index.d.ts +0 -2
- package/lib-esm/index.d.ts.map +0 -1
- package/lib-esm/index.js +0 -2
- package/lib-esm/index.js.map +0 -1
- package/lib-esm/responseStatuses.d.ts +0 -8
- package/lib-esm/responseStatuses.d.ts.map +0 -1
- package/lib-esm/responseStatuses.js +0 -68
- package/lib-esm/responseStatuses.js.map +0 -1
- package/src/__tests__/Zenodo.test.ts +0 -79
- package/src/__tests__/getConfig.ts +0 -9
- package/src/depositions/depositionSchema.ts +0 -154
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
import { licenseEnum } from "./licensesEnum.js";
|
|
2
|
+
/**
|
|
3
|
+
* The schema was taken from the Unofficial JSON schema for Zenodo upload metadata the 16th of June 2025.
|
|
4
|
+
* https:// github.com/zenodraft/metadata-schema-zenodo
|
|
5
|
+
*/
|
|
6
|
+
export const zenodoMetadataSchema = {
|
|
7
|
+
$schema: 'http://json-schema.org/draft-07/schema',
|
|
8
|
+
additionalProperties: true,
|
|
9
|
+
allOf: [
|
|
10
|
+
{
|
|
11
|
+
if: {
|
|
12
|
+
type: 'object',
|
|
13
|
+
properties: {
|
|
14
|
+
access_right: {
|
|
15
|
+
const: 'embargoed',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
required: ['access_right'],
|
|
19
|
+
},
|
|
20
|
+
// eslint-disable-next-line unicorn/no-thenable
|
|
21
|
+
then: {
|
|
22
|
+
type: 'object',
|
|
23
|
+
required: ['embargo_date', 'license'],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
definitions: {},
|
|
28
|
+
properties: {
|
|
29
|
+
access_conditions: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
},
|
|
32
|
+
access_right: {
|
|
33
|
+
description: 'Open access uploads have considerably higher visibility on Zenodo.',
|
|
34
|
+
enum: ['closed', 'embargoed', 'open', 'restricted'],
|
|
35
|
+
type: 'string',
|
|
36
|
+
},
|
|
37
|
+
communities: {
|
|
38
|
+
items: {
|
|
39
|
+
additionalProperties: true,
|
|
40
|
+
properties: {
|
|
41
|
+
identifier: {
|
|
42
|
+
type: 'string',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
required: [],
|
|
46
|
+
type: 'object',
|
|
47
|
+
},
|
|
48
|
+
minItems: 0,
|
|
49
|
+
type: 'array',
|
|
50
|
+
uniqueItems: true,
|
|
51
|
+
},
|
|
52
|
+
conference_acronym: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
},
|
|
55
|
+
conference_dates: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
},
|
|
58
|
+
conference_place: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
},
|
|
61
|
+
conference_session: {
|
|
62
|
+
type: 'string',
|
|
63
|
+
},
|
|
64
|
+
conference_session_part: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
},
|
|
67
|
+
conference_title: {
|
|
68
|
+
type: 'string',
|
|
69
|
+
},
|
|
70
|
+
conference_url: {
|
|
71
|
+
format: 'uri',
|
|
72
|
+
type: 'string',
|
|
73
|
+
},
|
|
74
|
+
contributors: {
|
|
75
|
+
items: {
|
|
76
|
+
additionalProperties: false,
|
|
77
|
+
properties: {
|
|
78
|
+
affiliation: {
|
|
79
|
+
minLength: 1,
|
|
80
|
+
type: ['string', 'null'],
|
|
81
|
+
},
|
|
82
|
+
name: {
|
|
83
|
+
description: 'Family name, given names',
|
|
84
|
+
minLength: 1,
|
|
85
|
+
type: 'string',
|
|
86
|
+
},
|
|
87
|
+
orcid: {
|
|
88
|
+
description: 'ORCID identifier',
|
|
89
|
+
examples: ['0000-0002-1825-0097'],
|
|
90
|
+
pattern: '[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]{1}',
|
|
91
|
+
type: 'string',
|
|
92
|
+
},
|
|
93
|
+
type: {
|
|
94
|
+
enum: [
|
|
95
|
+
'ContactPerson',
|
|
96
|
+
'DataCollector',
|
|
97
|
+
'DataCurator',
|
|
98
|
+
'DataManager',
|
|
99
|
+
'Distributor',
|
|
100
|
+
'Editor',
|
|
101
|
+
'HostingInstitution',
|
|
102
|
+
'Other',
|
|
103
|
+
'Producer',
|
|
104
|
+
'ProjectLeader',
|
|
105
|
+
'ProjectManager',
|
|
106
|
+
'ProjectMember',
|
|
107
|
+
'RegistrationAgency',
|
|
108
|
+
'RegistrationAuthority',
|
|
109
|
+
'RelatedPerson',
|
|
110
|
+
'Researcher',
|
|
111
|
+
'ResearchGroup',
|
|
112
|
+
'RightsHolder',
|
|
113
|
+
'Sponsor',
|
|
114
|
+
'Supervisor',
|
|
115
|
+
'WorkPackageLeader',
|
|
116
|
+
null,
|
|
117
|
+
],
|
|
118
|
+
type: ['string', 'null'],
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
required: ['name', 'type'],
|
|
122
|
+
type: 'object',
|
|
123
|
+
},
|
|
124
|
+
minItems: 0,
|
|
125
|
+
type: 'array',
|
|
126
|
+
uniqueItems: true,
|
|
127
|
+
},
|
|
128
|
+
creators: {
|
|
129
|
+
items: {
|
|
130
|
+
additionalProperties: false,
|
|
131
|
+
properties: {
|
|
132
|
+
affiliation: {
|
|
133
|
+
minLength: 1,
|
|
134
|
+
type: ['string', 'null'],
|
|
135
|
+
},
|
|
136
|
+
name: {
|
|
137
|
+
description: 'Family name, given names',
|
|
138
|
+
minLength: 1,
|
|
139
|
+
type: 'string',
|
|
140
|
+
},
|
|
141
|
+
orcid: {
|
|
142
|
+
description: 'ORCID identifier',
|
|
143
|
+
examples: ['0000-0002-1825-0097'],
|
|
144
|
+
pattern: '[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]{1}',
|
|
145
|
+
type: 'string',
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
required: ['name'],
|
|
149
|
+
type: 'object',
|
|
150
|
+
},
|
|
151
|
+
type: 'array',
|
|
152
|
+
uniqueItems: true,
|
|
153
|
+
minItems: 1,
|
|
154
|
+
},
|
|
155
|
+
description: {
|
|
156
|
+
description: 'Description',
|
|
157
|
+
type: 'string',
|
|
158
|
+
},
|
|
159
|
+
doi: {
|
|
160
|
+
oneOf: [
|
|
161
|
+
{
|
|
162
|
+
examples: ['10.5281/zenodo.1003150'],
|
|
163
|
+
pattern: String.raw `^10\.\d{4,9}(\.\d+)?/[A-Za-z0-9:/_;\-\.\(\)\[\]\\]+$`,
|
|
164
|
+
type: 'string',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
const: '',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
embargo_date: {
|
|
172
|
+
format: 'date',
|
|
173
|
+
type: 'string',
|
|
174
|
+
},
|
|
175
|
+
grants: {
|
|
176
|
+
items: {
|
|
177
|
+
additionalProperties: true,
|
|
178
|
+
examples: ['10.13039/501100000780::675191'],
|
|
179
|
+
properties: {
|
|
180
|
+
id: {
|
|
181
|
+
type: 'string',
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
required: [],
|
|
185
|
+
type: 'object',
|
|
186
|
+
},
|
|
187
|
+
minItems: 0,
|
|
188
|
+
type: 'array',
|
|
189
|
+
uniqueItems: true,
|
|
190
|
+
},
|
|
191
|
+
image_type: {
|
|
192
|
+
enum: ['diagram', 'drawing', 'figure', 'other', 'photo', 'plot'],
|
|
193
|
+
type: 'string',
|
|
194
|
+
},
|
|
195
|
+
imprint_isbn: {
|
|
196
|
+
type: 'string',
|
|
197
|
+
},
|
|
198
|
+
imprint_place: {
|
|
199
|
+
type: 'string',
|
|
200
|
+
},
|
|
201
|
+
imprint_publisher: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
},
|
|
204
|
+
journal_issue: {
|
|
205
|
+
type: 'string',
|
|
206
|
+
},
|
|
207
|
+
journal_pages: {
|
|
208
|
+
type: 'string',
|
|
209
|
+
},
|
|
210
|
+
journal_title: {
|
|
211
|
+
type: 'string',
|
|
212
|
+
},
|
|
213
|
+
journal_volume: {
|
|
214
|
+
type: 'string',
|
|
215
|
+
},
|
|
216
|
+
keywords: {
|
|
217
|
+
items: {
|
|
218
|
+
type: 'string',
|
|
219
|
+
},
|
|
220
|
+
minItems: 0,
|
|
221
|
+
type: 'array',
|
|
222
|
+
uniqueItems: true,
|
|
223
|
+
},
|
|
224
|
+
language: {
|
|
225
|
+
description: 'ISO 639 language identifier.',
|
|
226
|
+
examples: ['ada', 'eng', 'bla'],
|
|
227
|
+
pattern: '^[a-z]{2,3}$',
|
|
228
|
+
type: 'string',
|
|
229
|
+
},
|
|
230
|
+
license: {
|
|
231
|
+
anyOf: [
|
|
232
|
+
licenseEnum,
|
|
233
|
+
{ type: 'string' },
|
|
234
|
+
{
|
|
235
|
+
type: 'object',
|
|
236
|
+
properties: {
|
|
237
|
+
id: {
|
|
238
|
+
anyOf: [licenseEnum, { type: 'string' }],
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
required: ['id'],
|
|
242
|
+
additionalProperties: false,
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
},
|
|
246
|
+
notes: {
|
|
247
|
+
minLength: 0,
|
|
248
|
+
type: 'string',
|
|
249
|
+
},
|
|
250
|
+
partof_pages: {
|
|
251
|
+
type: 'string',
|
|
252
|
+
},
|
|
253
|
+
partof_title: {
|
|
254
|
+
type: 'string',
|
|
255
|
+
},
|
|
256
|
+
publication_date: {
|
|
257
|
+
description: 'Format: YYYY-MM-DD. In case your upload was already published elsewhere, please use the date of first publication.',
|
|
258
|
+
examples: ['2013-05-08'],
|
|
259
|
+
format: 'date',
|
|
260
|
+
type: 'string',
|
|
261
|
+
},
|
|
262
|
+
publication_type: {
|
|
263
|
+
enum: [
|
|
264
|
+
'annotationcollection',
|
|
265
|
+
'article',
|
|
266
|
+
'book',
|
|
267
|
+
'conferencepaper',
|
|
268
|
+
'datamanagementplan',
|
|
269
|
+
'deliverable',
|
|
270
|
+
'milestone',
|
|
271
|
+
'other',
|
|
272
|
+
'patent',
|
|
273
|
+
'preprint',
|
|
274
|
+
'proposal',
|
|
275
|
+
'report',
|
|
276
|
+
'section',
|
|
277
|
+
'softwaredocumentation',
|
|
278
|
+
'taxonomictreatment',
|
|
279
|
+
'technicalnote',
|
|
280
|
+
'thesis',
|
|
281
|
+
'workingpaper',
|
|
282
|
+
],
|
|
283
|
+
type: 'string',
|
|
284
|
+
},
|
|
285
|
+
references: {
|
|
286
|
+
items: {
|
|
287
|
+
type: 'string',
|
|
288
|
+
},
|
|
289
|
+
minItems: 0,
|
|
290
|
+
type: 'array',
|
|
291
|
+
uniqueItems: true,
|
|
292
|
+
},
|
|
293
|
+
related_identifiers: {
|
|
294
|
+
items: {
|
|
295
|
+
additionalProperties: false,
|
|
296
|
+
properties: {
|
|
297
|
+
identifier: {
|
|
298
|
+
type: 'string',
|
|
299
|
+
},
|
|
300
|
+
relation: {
|
|
301
|
+
enum: [
|
|
302
|
+
'cites',
|
|
303
|
+
'compiles',
|
|
304
|
+
'continues',
|
|
305
|
+
'describes',
|
|
306
|
+
'documents',
|
|
307
|
+
'hasMetadata',
|
|
308
|
+
'hasPart',
|
|
309
|
+
'hasVersion',
|
|
310
|
+
'isAlternateIdentifier',
|
|
311
|
+
'isCitedBy',
|
|
312
|
+
'isCompiledBy',
|
|
313
|
+
'isContinuedBy',
|
|
314
|
+
'isDerivedFrom',
|
|
315
|
+
'isDescribedBy',
|
|
316
|
+
'isDocumentedBy',
|
|
317
|
+
'isIdenticalTo',
|
|
318
|
+
'isMetadataFor',
|
|
319
|
+
'isNewVersionOf',
|
|
320
|
+
'isObsoletedBy',
|
|
321
|
+
'isOriginalFormOf',
|
|
322
|
+
'isPartOf',
|
|
323
|
+
'isPreviousVersionOf',
|
|
324
|
+
'isPublishedIn',
|
|
325
|
+
'isReferencedBy',
|
|
326
|
+
'isRequiredBy',
|
|
327
|
+
'isReviewedBy',
|
|
328
|
+
'isSourceOf',
|
|
329
|
+
'isSupplementedBy',
|
|
330
|
+
'isSupplementTo',
|
|
331
|
+
'isVariantFormOf',
|
|
332
|
+
'isVersionOf',
|
|
333
|
+
'obsoletes',
|
|
334
|
+
'references',
|
|
335
|
+
'requires',
|
|
336
|
+
'reviews',
|
|
337
|
+
],
|
|
338
|
+
type: 'string',
|
|
339
|
+
},
|
|
340
|
+
resource_type: {
|
|
341
|
+
enum: [
|
|
342
|
+
'dataset',
|
|
343
|
+
'image-diagram',
|
|
344
|
+
'image-drawing',
|
|
345
|
+
'image-figure',
|
|
346
|
+
'image-other',
|
|
347
|
+
'image-photo',
|
|
348
|
+
'image-plot',
|
|
349
|
+
'lesson',
|
|
350
|
+
'other',
|
|
351
|
+
'physicalobject',
|
|
352
|
+
'poster',
|
|
353
|
+
'presentation',
|
|
354
|
+
'publication',
|
|
355
|
+
'publication-annotationcollection',
|
|
356
|
+
'publication-article',
|
|
357
|
+
'publication-book',
|
|
358
|
+
'publication-conferencepaper',
|
|
359
|
+
'publication-datamanagementplan',
|
|
360
|
+
'publication-deliverable',
|
|
361
|
+
'publication-milestone',
|
|
362
|
+
'publication-other',
|
|
363
|
+
'publication-patent',
|
|
364
|
+
'publication-preprint',
|
|
365
|
+
'publication-proposal',
|
|
366
|
+
'publication-report',
|
|
367
|
+
'publication-section',
|
|
368
|
+
'publication-softwaredocumentation',
|
|
369
|
+
'publication-taxonomictreatment',
|
|
370
|
+
'publication-technicalnote',
|
|
371
|
+
'publication-thesis',
|
|
372
|
+
'publication-workingpaper',
|
|
373
|
+
'software',
|
|
374
|
+
'video',
|
|
375
|
+
],
|
|
376
|
+
type: 'string',
|
|
377
|
+
},
|
|
378
|
+
scheme: {
|
|
379
|
+
enum: [
|
|
380
|
+
'ads',
|
|
381
|
+
'ark',
|
|
382
|
+
'arxiv',
|
|
383
|
+
'doi',
|
|
384
|
+
'ean13',
|
|
385
|
+
'handle',
|
|
386
|
+
'isbn',
|
|
387
|
+
'isni',
|
|
388
|
+
'issn',
|
|
389
|
+
'istc',
|
|
390
|
+
'lsid',
|
|
391
|
+
'orcid',
|
|
392
|
+
'pmid',
|
|
393
|
+
'purl',
|
|
394
|
+
'url',
|
|
395
|
+
'urn',
|
|
396
|
+
'other',
|
|
397
|
+
],
|
|
398
|
+
type: 'string',
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
required: ['identifier', 'relation'],
|
|
402
|
+
type: 'object',
|
|
403
|
+
},
|
|
404
|
+
minItems: 0,
|
|
405
|
+
type: 'array',
|
|
406
|
+
uniqueItems: true,
|
|
407
|
+
},
|
|
408
|
+
resource_type: {
|
|
409
|
+
properties: {
|
|
410
|
+
type: {
|
|
411
|
+
enum: [
|
|
412
|
+
'dataset',
|
|
413
|
+
'image-diagram',
|
|
414
|
+
'image-drawing',
|
|
415
|
+
'image-figure',
|
|
416
|
+
'image-other',
|
|
417
|
+
'image-photo',
|
|
418
|
+
'image-plot',
|
|
419
|
+
'lesson',
|
|
420
|
+
'other',
|
|
421
|
+
'physicalobject',
|
|
422
|
+
'poster',
|
|
423
|
+
'presentation',
|
|
424
|
+
'publication',
|
|
425
|
+
'publication-annotationcollection',
|
|
426
|
+
'publication-article',
|
|
427
|
+
'publication-book',
|
|
428
|
+
'publication-conferencepaper',
|
|
429
|
+
'publication-datamanagementplan',
|
|
430
|
+
'publication-deliverable',
|
|
431
|
+
'publication-milestone',
|
|
432
|
+
'publication-other',
|
|
433
|
+
'publication-patent',
|
|
434
|
+
'publication-preprint',
|
|
435
|
+
'publication-proposal',
|
|
436
|
+
'publication-report',
|
|
437
|
+
'publication-section',
|
|
438
|
+
'publication-softwaredocumentation',
|
|
439
|
+
'publication-taxonomictreatment',
|
|
440
|
+
'publication-technicalnote',
|
|
441
|
+
'publication-thesis',
|
|
442
|
+
'publication-workingpaper',
|
|
443
|
+
'software',
|
|
444
|
+
'video',
|
|
445
|
+
],
|
|
446
|
+
type: 'string',
|
|
447
|
+
},
|
|
448
|
+
title: {
|
|
449
|
+
type: 'string',
|
|
450
|
+
},
|
|
451
|
+
},
|
|
452
|
+
type: 'object',
|
|
453
|
+
},
|
|
454
|
+
relations: {
|
|
455
|
+
additionalProperties: false,
|
|
456
|
+
properties: {
|
|
457
|
+
version: {
|
|
458
|
+
type: 'array',
|
|
459
|
+
items: {
|
|
460
|
+
type: 'object',
|
|
461
|
+
properties: {
|
|
462
|
+
index: {
|
|
463
|
+
type: 'integer',
|
|
464
|
+
minimum: 0,
|
|
465
|
+
},
|
|
466
|
+
is_last: {
|
|
467
|
+
type: 'boolean',
|
|
468
|
+
},
|
|
469
|
+
parent: {
|
|
470
|
+
type: 'object',
|
|
471
|
+
properties: {
|
|
472
|
+
pid_type: {
|
|
473
|
+
type: 'string',
|
|
474
|
+
},
|
|
475
|
+
pid_value: {
|
|
476
|
+
type: 'string',
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
type: 'object',
|
|
485
|
+
},
|
|
486
|
+
subjects: {
|
|
487
|
+
items: {
|
|
488
|
+
additionalProperties: false,
|
|
489
|
+
properties: {
|
|
490
|
+
identifier: {
|
|
491
|
+
type: 'string',
|
|
492
|
+
},
|
|
493
|
+
scheme: {
|
|
494
|
+
enum: [
|
|
495
|
+
'ads',
|
|
496
|
+
'ark',
|
|
497
|
+
'arxiv',
|
|
498
|
+
'ascl',
|
|
499
|
+
'bioproject',
|
|
500
|
+
'biosample',
|
|
501
|
+
'doi',
|
|
502
|
+
'ean13',
|
|
503
|
+
'ean8',
|
|
504
|
+
'ensembl',
|
|
505
|
+
'genome',
|
|
506
|
+
'gnd',
|
|
507
|
+
'hal',
|
|
508
|
+
'handle',
|
|
509
|
+
'isbn',
|
|
510
|
+
'isni',
|
|
511
|
+
'issn',
|
|
512
|
+
'istc',
|
|
513
|
+
'lsid',
|
|
514
|
+
'orcid',
|
|
515
|
+
'pmcid',
|
|
516
|
+
'pmid',
|
|
517
|
+
'purl',
|
|
518
|
+
'refseq',
|
|
519
|
+
'sra',
|
|
520
|
+
'swh',
|
|
521
|
+
'uniprot',
|
|
522
|
+
'url',
|
|
523
|
+
'urn',
|
|
524
|
+
],
|
|
525
|
+
type: 'string',
|
|
526
|
+
},
|
|
527
|
+
term: {
|
|
528
|
+
type: 'string',
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
required: ['identifier', 'term'],
|
|
532
|
+
type: 'object',
|
|
533
|
+
},
|
|
534
|
+
minItems: 0,
|
|
535
|
+
type: 'array',
|
|
536
|
+
uniqueItems: true,
|
|
537
|
+
},
|
|
538
|
+
thesis_supervisors: {
|
|
539
|
+
items: {
|
|
540
|
+
additionalProperties: false,
|
|
541
|
+
properties: {
|
|
542
|
+
affiliation: {
|
|
543
|
+
minLength: 1,
|
|
544
|
+
type: ['string', 'null'],
|
|
545
|
+
},
|
|
546
|
+
name: {
|
|
547
|
+
description: 'Family name, given names',
|
|
548
|
+
minLength: 1,
|
|
549
|
+
type: 'string',
|
|
550
|
+
},
|
|
551
|
+
orcid: {
|
|
552
|
+
description: 'ORCID identifier',
|
|
553
|
+
examples: ['0000-0002-1825-0097'],
|
|
554
|
+
pattern: '[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]{1}',
|
|
555
|
+
type: 'string',
|
|
556
|
+
},
|
|
557
|
+
},
|
|
558
|
+
required: ['name'],
|
|
559
|
+
type: 'object',
|
|
560
|
+
},
|
|
561
|
+
minItems: 0,
|
|
562
|
+
type: 'array',
|
|
563
|
+
uniqueItems: true,
|
|
564
|
+
},
|
|
565
|
+
thesis_university: {
|
|
566
|
+
type: 'string',
|
|
567
|
+
},
|
|
568
|
+
title: {
|
|
569
|
+
type: 'string',
|
|
570
|
+
},
|
|
571
|
+
upload_type: {
|
|
572
|
+
enum: [
|
|
573
|
+
'dataset',
|
|
574
|
+
'image',
|
|
575
|
+
'lesson',
|
|
576
|
+
'other',
|
|
577
|
+
'physicalobject',
|
|
578
|
+
'poster',
|
|
579
|
+
'presentation',
|
|
580
|
+
'publication',
|
|
581
|
+
'software',
|
|
582
|
+
'video',
|
|
583
|
+
],
|
|
584
|
+
type: 'string',
|
|
585
|
+
},
|
|
586
|
+
version: {
|
|
587
|
+
type: 'string',
|
|
588
|
+
},
|
|
589
|
+
prereserve_doi: {
|
|
590
|
+
type: 'object',
|
|
591
|
+
required: ['doi', 'recid'],
|
|
592
|
+
properties: {
|
|
593
|
+
doi: { type: 'string' },
|
|
594
|
+
recid: { type: 'integer' },
|
|
595
|
+
},
|
|
596
|
+
additionalProperties: false,
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
required: [],
|
|
600
|
+
type: 'object',
|
|
601
|
+
};
|
|
602
|
+
//# sourceMappingURL=ZenodoMetadataSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZenodoMetadataSchema.js","sourceRoot":"","sources":["../../src/utilities/ZenodoMetadataSchema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,wCAAwC;IACjD,oBAAoB,EAAE,IAAI;IAC1B,KAAK,EAAE;QACL;YACE,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,YAAY,EAAE;wBACZ,KAAK,EAAE,WAAW;qBACnB;iBACF;gBACD,QAAQ,EAAE,CAAC,cAAc,CAAC;aAC3B;YACD,+CAA+C;YAC/C,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,cAAc,EAAE,SAAS,CAAC;aACtC;SACF;KACF;IACD,WAAW,EAAE,EAAE;IACf,UAAU,EAAE;QACV,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,YAAY,EAAE;YACZ,WAAW,EACT,oEAAoE;YACtE,IAAI,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC;YACnD,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,KAAK,EAAE;gBACL,oBAAoB,EAAE,IAAI;gBAC1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