commonmeta-py 0.22__py3-none-any.whl → 0.24__py3-none-any.whl
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.
- commonmeta/__init__.py +96 -0
- commonmeta/api_utils.py +77 -0
- commonmeta/author_utils.py +260 -0
- commonmeta/base_utils.py +121 -0
- commonmeta/cli.py +200 -0
- commonmeta/constants.py +587 -0
- commonmeta/crossref_utils.py +575 -0
- commonmeta/date_utils.py +193 -0
- commonmeta/doi_utils.py +273 -0
- commonmeta/metadata.py +320 -0
- commonmeta/readers/__init__.py +1 -0
- commonmeta/readers/bibtex_reader.py +0 -0
- commonmeta/readers/cff_reader.py +199 -0
- commonmeta/readers/codemeta_reader.py +112 -0
- commonmeta/readers/commonmeta_reader.py +13 -0
- commonmeta/readers/crossref_reader.py +409 -0
- commonmeta/readers/crossref_xml_reader.py +505 -0
- commonmeta/readers/csl_reader.py +98 -0
- commonmeta/readers/datacite_reader.py +390 -0
- commonmeta/readers/datacite_xml_reader.py +359 -0
- commonmeta/readers/inveniordm_reader.py +218 -0
- commonmeta/readers/json_feed_reader.py +420 -0
- commonmeta/readers/kbase_reader.py +205 -0
- commonmeta/readers/ris_reader.py +103 -0
- commonmeta/readers/schema_org_reader.py +506 -0
- commonmeta/resources/cff_v1.2.0.json +1827 -0
- commonmeta/resources/commonmeta_v0.12.json +601 -0
- commonmeta/resources/commonmeta_v0.13.json +559 -0
- commonmeta/resources/commonmeta_v0.14.json +573 -0
- commonmeta/resources/crossref/AccessIndicators.xsd +47 -0
- commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd +10130 -0
- commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd +48 -0
- commonmeta/resources/crossref/JATS-journalpublishing1-elements.xsd +8705 -0
- commonmeta/resources/crossref/JATS-journalpublishing1-mathml3-elements.xsd +8608 -0
- commonmeta/resources/crossref/JATS-journalpublishing1-mathml3.xsd +49 -0
- commonmeta/resources/crossref/JATS-journalpublishing1.xsd +6176 -0
- commonmeta/resources/crossref/clinicaltrials.xsd +61 -0
- commonmeta/resources/crossref/common5.3.1.xsd +1538 -0
- commonmeta/resources/crossref/crossref5.3.1.xsd +1949 -0
- commonmeta/resources/crossref/crossref_query_output3.0.xsd +1097 -0
- commonmeta/resources/crossref/fundref.xsd +49 -0
- commonmeta/resources/crossref/module-ali.xsd +39 -0
- commonmeta/resources/crossref/relations.xsd +444 -0
- commonmeta/resources/crossref-v0.2.json +60 -0
- commonmeta/resources/csl-data.json +538 -0
- commonmeta/resources/datacite-v4.5.json +829 -0
- commonmeta/resources/datacite-v4.5pr.json +608 -0
- commonmeta/resources/ietf-bcp-47.json +3025 -0
- commonmeta/resources/iso-8601.json +3182 -0
- commonmeta/resources/spdx/licenses.json +4851 -0
- commonmeta/resources/spdx-schema..json +903 -0
- commonmeta/resources/styles/apa.csl +1697 -0
- commonmeta/resources/styles/chicago-author-date.csl +684 -0
- commonmeta/resources/styles/harvard-cite-them-right.csl +321 -0
- commonmeta/resources/styles/ieee.csl +468 -0
- commonmeta/resources/styles/modern-language-association.csl +341 -0
- commonmeta/resources/styles/vancouver.csl +376 -0
- commonmeta/schema_utils.py +27 -0
- commonmeta/translators.py +47 -0
- commonmeta/utils.py +1108 -0
- commonmeta/writers/__init__.py +1 -0
- commonmeta/writers/bibtex_writer.py +149 -0
- commonmeta/writers/citation_writer.py +70 -0
- commonmeta/writers/commonmeta_writer.py +68 -0
- commonmeta/writers/crossref_xml_writer.py +17 -0
- commonmeta/writers/csl_writer.py +79 -0
- commonmeta/writers/datacite_writer.py +193 -0
- commonmeta/writers/inveniordm_writer.py +94 -0
- commonmeta/writers/ris_writer.py +58 -0
- commonmeta/writers/schema_org_writer.py +146 -0
- {commonmeta_py-0.22.dist-info → commonmeta_py-0.24.dist-info}/METADATA +56 -45
- commonmeta_py-0.24.dist-info/RECORD +75 -0
- {commonmeta_py-0.22.dist-info → commonmeta_py-0.24.dist-info}/WHEEL +1 -1
- commonmeta_py-0.24.dist-info/entry_points.txt +3 -0
- commonmeta_py/__init__.py +0 -2
- commonmeta_py-0.22.dist-info/RECORD +0 -5
- {commonmeta_py-0.22.dist-info/licenses → commonmeta_py-0.24.dist-info}/LICENSE +0 -0
@@ -0,0 +1,608 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"id": "datacite-v4.5.json",
|
4
|
+
"title": "DataCite v4.5",
|
5
|
+
"description": "JSON representation of the DataCite v4.5 schema.",
|
6
|
+
"additionalProperties": false,
|
7
|
+
"definitions": {
|
8
|
+
"nameType": {
|
9
|
+
"type": "string",
|
10
|
+
"enum": [
|
11
|
+
"Organizational",
|
12
|
+
"Personal"
|
13
|
+
]
|
14
|
+
},
|
15
|
+
"nameIdentifiers": {
|
16
|
+
"type": "array",
|
17
|
+
"items": {
|
18
|
+
"type": "object",
|
19
|
+
"properties": {
|
20
|
+
"nameIdentifier": {"type": "string"},
|
21
|
+
"nameIdentifierScheme": {"type": "string"},
|
22
|
+
"schemeUri": {"type": "string", "format": "uri"}
|
23
|
+
},
|
24
|
+
"required": ["nameIdentifier", "nameIdentifierScheme"]
|
25
|
+
},
|
26
|
+
"uniqueItems": true
|
27
|
+
},
|
28
|
+
"affiliation": {
|
29
|
+
"type": "array",
|
30
|
+
"items": {
|
31
|
+
"type": "object",
|
32
|
+
"properties": {
|
33
|
+
"name": {"type": "string"},
|
34
|
+
"affiliationIdentifier": {"type": "string"},
|
35
|
+
"affiliationIdentifierScheme": {"type": "string"},
|
36
|
+
"schemeUri": {"type": "string", "format": "uri"}
|
37
|
+
},
|
38
|
+
"required": ["name"]
|
39
|
+
},
|
40
|
+
"uniqueItems": true
|
41
|
+
},
|
42
|
+
"creator": {
|
43
|
+
"type": "object",
|
44
|
+
"properties": {
|
45
|
+
"name": {"type": "string"},
|
46
|
+
"nameType": {"$ref": "#/definitions/nameType"},
|
47
|
+
"givenName": {"type": "string"},
|
48
|
+
"familyName": {"type": "string"},
|
49
|
+
"nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"},
|
50
|
+
"affiliation": {"$ref": "#/definitions/affiliation"},
|
51
|
+
"lang": {"type": "string"}
|
52
|
+
},
|
53
|
+
"required": ["name"]
|
54
|
+
},
|
55
|
+
"contributor": {
|
56
|
+
"type": "object",
|
57
|
+
"allOf": [{ "$ref": "#/definitions/creator" }],
|
58
|
+
"properties": {
|
59
|
+
"contributorType": {"$ref": "#/definitions/contributorType"}
|
60
|
+
},
|
61
|
+
"required": ["name", "contributorType"]
|
62
|
+
},
|
63
|
+
"contributorType": {
|
64
|
+
"type": "string",
|
65
|
+
"enum": [
|
66
|
+
"ContactPerson",
|
67
|
+
"DataCollector",
|
68
|
+
"DataCurator",
|
69
|
+
"DataManager",
|
70
|
+
"Distributor",
|
71
|
+
"Editor",
|
72
|
+
"HostingInstitution",
|
73
|
+
"Producer",
|
74
|
+
"ProjectLeader",
|
75
|
+
"ProjectManager",
|
76
|
+
"ProjectMember",
|
77
|
+
"RegistrationAgency",
|
78
|
+
"RegistrationAuthority",
|
79
|
+
"RelatedPerson",
|
80
|
+
"Researcher",
|
81
|
+
"ResearchGroup",
|
82
|
+
"RightsHolder",
|
83
|
+
"Sponsor",
|
84
|
+
"Supervisor",
|
85
|
+
"WorkPackageLeader",
|
86
|
+
"Other"
|
87
|
+
]
|
88
|
+
},
|
89
|
+
"titleType": {
|
90
|
+
"type": "string",
|
91
|
+
"enum": [
|
92
|
+
"AlternativeTitle",
|
93
|
+
"Subtitle",
|
94
|
+
"TranslatedTitle",
|
95
|
+
"Other"
|
96
|
+
]
|
97
|
+
},
|
98
|
+
"longitude": {
|
99
|
+
"type": "number",
|
100
|
+
"maximum": 180,
|
101
|
+
"minimum": -180
|
102
|
+
},
|
103
|
+
"latitude": {
|
104
|
+
"type": "number",
|
105
|
+
"maximum": 90,
|
106
|
+
"minimum": -90
|
107
|
+
},
|
108
|
+
"date": {
|
109
|
+
"type": "string",
|
110
|
+
"anyOf": [
|
111
|
+
{"format": "year"},
|
112
|
+
{"format": "yearmonth"},
|
113
|
+
{"format": "date"},
|
114
|
+
{"format": "datetime"},
|
115
|
+
{"format": "year-range"},
|
116
|
+
{"format": "yearmonth-range"},
|
117
|
+
{"format": "date-range"},
|
118
|
+
{"format": "datetime-range"}
|
119
|
+
]
|
120
|
+
},
|
121
|
+
"dateType": {
|
122
|
+
"type": "string",
|
123
|
+
"enum": [
|
124
|
+
"Accepted",
|
125
|
+
"Available",
|
126
|
+
"Copyrighted",
|
127
|
+
"Collected",
|
128
|
+
"Created",
|
129
|
+
"Issued",
|
130
|
+
"Submitted",
|
131
|
+
"Updated",
|
132
|
+
"Valid",
|
133
|
+
"Withdrawn",
|
134
|
+
"Other"
|
135
|
+
]
|
136
|
+
},
|
137
|
+
"resourceTypeGeneral": {
|
138
|
+
"type": "string",
|
139
|
+
"enum": [
|
140
|
+
"Audiovisual",
|
141
|
+
"Book",
|
142
|
+
"BookChapter",
|
143
|
+
"Collection",
|
144
|
+
"ComputationalNotebook",
|
145
|
+
"ConferencePaper",
|
146
|
+
"ConferenceProceeding",
|
147
|
+
"DataPaper",
|
148
|
+
"Dataset",
|
149
|
+
"Dissertation",
|
150
|
+
"Event",
|
151
|
+
"Image",
|
152
|
+
"Instrument",
|
153
|
+
"InteractiveResource",
|
154
|
+
"Journal",
|
155
|
+
"JournalArticle",
|
156
|
+
"Model",
|
157
|
+
"OutputManagementPlan",
|
158
|
+
"PeerReview",
|
159
|
+
"PhysicalObject",
|
160
|
+
"Preprint",
|
161
|
+
"Report",
|
162
|
+
"Service",
|
163
|
+
"Software",
|
164
|
+
"Sound",
|
165
|
+
"Standard",
|
166
|
+
"StudyRegistration",
|
167
|
+
"Text",
|
168
|
+
"Workflow",
|
169
|
+
"Other"
|
170
|
+
]
|
171
|
+
},
|
172
|
+
"relatedIdentifierType": {
|
173
|
+
"type": "string",
|
174
|
+
"enum": [
|
175
|
+
"ARK",
|
176
|
+
"arXiv",
|
177
|
+
"bibcode",
|
178
|
+
"DOI",
|
179
|
+
"EAN13",
|
180
|
+
"EISSN",
|
181
|
+
"Handle",
|
182
|
+
"IGSN",
|
183
|
+
"ISBN",
|
184
|
+
"ISSN",
|
185
|
+
"ISTC",
|
186
|
+
"LISSN",
|
187
|
+
"LSID",
|
188
|
+
"PMID",
|
189
|
+
"PURL",
|
190
|
+
"UPC",
|
191
|
+
"URL",
|
192
|
+
"URN",
|
193
|
+
"w3id"
|
194
|
+
]
|
195
|
+
},
|
196
|
+
"relationType": {
|
197
|
+
"type": "string",
|
198
|
+
"enum": [
|
199
|
+
"IsCitedBy",
|
200
|
+
"Cites",
|
201
|
+
"IsCollectedBy",
|
202
|
+
"Collects",
|
203
|
+
"IsSupplementTo",
|
204
|
+
"IsSupplementedBy",
|
205
|
+
"IsContinuedBy",
|
206
|
+
"Continues",
|
207
|
+
"IsDescribedBy",
|
208
|
+
"Describes",
|
209
|
+
"HasMetadata",
|
210
|
+
"IsMetadataFor",
|
211
|
+
"HasVersion",
|
212
|
+
"IsVersionOf",
|
213
|
+
"IsNewVersionOf",
|
214
|
+
"IsPartOf",
|
215
|
+
"IsPreviousVersionOf",
|
216
|
+
"IsPublishedIn",
|
217
|
+
"HasPart",
|
218
|
+
"IsReferencedBy",
|
219
|
+
"References",
|
220
|
+
"IsDocumentedBy",
|
221
|
+
"Documents",
|
222
|
+
"IsCompiledBy",
|
223
|
+
"Compiles",
|
224
|
+
"IsVariantFormOf",
|
225
|
+
"IsOriginalFormOf",
|
226
|
+
"IsIdenticalTo",
|
227
|
+
"IsReviewedBy",
|
228
|
+
"Reviews",
|
229
|
+
"IsDerivedFrom",
|
230
|
+
"IsSourceOf",
|
231
|
+
"IsRequiredBy",
|
232
|
+
"Requires",
|
233
|
+
"IsObsoletedBy",
|
234
|
+
"Obsoletes"
|
235
|
+
]
|
236
|
+
},
|
237
|
+
"relatedObject": {
|
238
|
+
"type": "object",
|
239
|
+
"properties": {
|
240
|
+
"relationType": {"$ref": "#/definitions/relationType"},
|
241
|
+
"relatedMetadataScheme": {"type": "string"},
|
242
|
+
"schemeUri": {"type": "string", "format": "uri"},
|
243
|
+
"schemeType": {"type": "string"},
|
244
|
+
"resourceTypeGeneral": {"$ref": "#/definitions/resourceTypeGeneral"}
|
245
|
+
},
|
246
|
+
"required": ["relationType"]
|
247
|
+
},
|
248
|
+
"relatedObjectIf": {
|
249
|
+
"properties": {
|
250
|
+
"relationType": {"enum": ["HasMetadata", "IsMetadataFor"]}
|
251
|
+
}
|
252
|
+
},
|
253
|
+
"relatedObjectElse": {
|
254
|
+
"$comment": "these properties may only be used with relation types HasMetadata/IsMetadataFor",
|
255
|
+
"properties": {
|
256
|
+
"relatedMetadataScheme": false,
|
257
|
+
"schemeUri": false,
|
258
|
+
"schemeType": false
|
259
|
+
}
|
260
|
+
},
|
261
|
+
"descriptionType": {
|
262
|
+
"type": "string",
|
263
|
+
"enum": [
|
264
|
+
"Abstract",
|
265
|
+
"Methods",
|
266
|
+
"SeriesInformation",
|
267
|
+
"TableOfContents",
|
268
|
+
"TechnicalInfo",
|
269
|
+
"Other"
|
270
|
+
]
|
271
|
+
},
|
272
|
+
"geoLocationPoint": {
|
273
|
+
"type": "object",
|
274
|
+
"properties": {
|
275
|
+
"pointLongitude": {"$ref": "#/definitions/longitude"},
|
276
|
+
"pointLatitude": {"$ref": "#/definitions/latitude"}
|
277
|
+
},
|
278
|
+
"required": ["pointLongitude", "pointLatitude"]
|
279
|
+
},
|
280
|
+
"funderIdentifierType": {
|
281
|
+
"type": "string",
|
282
|
+
"enum": [
|
283
|
+
"ISNI",
|
284
|
+
"GRID",
|
285
|
+
"Crossref Funder ID",
|
286
|
+
"ROR",
|
287
|
+
"Other"
|
288
|
+
]
|
289
|
+
},
|
290
|
+
"publicationYear": {
|
291
|
+
"type": "string",
|
292
|
+
"pattern": "^[0-9]{4}$"
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"type": "object",
|
296
|
+
"properties": {
|
297
|
+
"doi": {"type": "string", "pattern" : "^10.\\d{4,9}/[-._;()/:a-z0-9A-Z]+$"},
|
298
|
+
"prefix":{"type": "string", "pattern": "^10.\\d{4,9}$"},
|
299
|
+
"suffix":{"type": "string", "pattern": "^[-._;()/:a-z0-9A-Z]+$"},
|
300
|
+
"event" : {
|
301
|
+
"type": "string",
|
302
|
+
"enum": [
|
303
|
+
"hide",
|
304
|
+
"register",
|
305
|
+
"publish"
|
306
|
+
]
|
307
|
+
},
|
308
|
+
"url": {"type": "string", "format": "uri"},
|
309
|
+
"types": {
|
310
|
+
"type": "object",
|
311
|
+
"properties": {
|
312
|
+
"resourceType": {"type": "string"},
|
313
|
+
"resourceTypeGeneral": {"$ref": "#/definitions/resourceTypeGeneral"}
|
314
|
+
},
|
315
|
+
"required": ["resourceTypeGeneral"]
|
316
|
+
},
|
317
|
+
"creators": {
|
318
|
+
"type": "array",
|
319
|
+
"items": {
|
320
|
+
"type": "object",
|
321
|
+
"allOf": [{ "$ref": "#/definitions/creator" }],
|
322
|
+
"required": ["name"]
|
323
|
+
},
|
324
|
+
"minItems": 1
|
325
|
+
},
|
326
|
+
"titles": {
|
327
|
+
"type": "array",
|
328
|
+
"items": {
|
329
|
+
"type": "object",
|
330
|
+
"properties": {
|
331
|
+
"title": {"type": "string"},
|
332
|
+
"titleType": {"$ref": "#/definitions/titleType"},
|
333
|
+
"lang": {"type": "string"}
|
334
|
+
},
|
335
|
+
"required": ["title"]
|
336
|
+
},
|
337
|
+
"minItems": 1,
|
338
|
+
"uniqueItems": true
|
339
|
+
},
|
340
|
+
"publisher": {
|
341
|
+
"type": "object",
|
342
|
+
"properties": {
|
343
|
+
"name": {"type":"string"},
|
344
|
+
"publisherIdentifier": {"type":"string"},
|
345
|
+
"publisherIdentifierScheme": {"type":"string"},
|
346
|
+
"schemeURI": {"type":"string", "format": "uri"},
|
347
|
+
"lang": {"type":"string"}
|
348
|
+
},
|
349
|
+
"required": ["name"]
|
350
|
+
},
|
351
|
+
"publicationYear": {"$ref": "#/definitions/publicationYear"},
|
352
|
+
"subjects": {
|
353
|
+
"type": "array",
|
354
|
+
"items": {
|
355
|
+
"type": "object",
|
356
|
+
"properties": {
|
357
|
+
"subject": {"type": "string"},
|
358
|
+
"subjectScheme": {"type": "string"},
|
359
|
+
"schemeUri": {"type": "string", "format": "uri"},
|
360
|
+
"valueUri": {"type": "string", "format": "uri"},
|
361
|
+
"classificationCode": {"type": "string"},
|
362
|
+
"lang": {"type": "string"}
|
363
|
+
},
|
364
|
+
"required": ["subject"]
|
365
|
+
},
|
366
|
+
"uniqueItems": true
|
367
|
+
},
|
368
|
+
"contributors": {
|
369
|
+
"type": "array",
|
370
|
+
"items": {
|
371
|
+
"type": "object",
|
372
|
+
"allOf": [{ "$ref": "#/definitions/contributor" }],
|
373
|
+
"required": ["contributorType", "name"]
|
374
|
+
}
|
375
|
+
},
|
376
|
+
"dates": {
|
377
|
+
"type": "array",
|
378
|
+
"items": {
|
379
|
+
"type": "object",
|
380
|
+
"properties": {
|
381
|
+
"date": {"$ref": "#/definitions/date"},
|
382
|
+
"dateType": {"$ref": "#/definitions/dateType"},
|
383
|
+
"dateInformation": {"type": "string"}
|
384
|
+
},
|
385
|
+
"required": ["date", "dateType"]
|
386
|
+
},
|
387
|
+
"uniqueItems": true
|
388
|
+
},
|
389
|
+
"language": {
|
390
|
+
"type": "string",
|
391
|
+
"$comment": "Primary language of the resource. Allowed values are taken from IETF BCP 47, ISO 639-1 language codes."
|
392
|
+
},
|
393
|
+
"alternateIdentifiers": {
|
394
|
+
"type": "array",
|
395
|
+
"items": {
|
396
|
+
"type": "object",
|
397
|
+
"properties": {
|
398
|
+
"alternateIdentifier": {"type": "string"},
|
399
|
+
"alternateIdentifierType": {"type": "string"}
|
400
|
+
},
|
401
|
+
"required": ["alternateIdentifier", "alternateIdentifierType"]
|
402
|
+
},
|
403
|
+
"uniqueItems": true
|
404
|
+
},
|
405
|
+
"relatedIdentifiers": {
|
406
|
+
"type": "array",
|
407
|
+
"items": {
|
408
|
+
"type": "object",
|
409
|
+
"allOf": [{ "$ref": "#/definitions/relatedObject"}],
|
410
|
+
"properties": {
|
411
|
+
"relatedIdentifier": {"type": "string"},
|
412
|
+
"relatedIdentifierType": {"$ref": "#/definitions/relatedIdentifierType"}
|
413
|
+
},
|
414
|
+
"required": ["relatedIdentifier", "relatedIdentifierType", "relationType"],
|
415
|
+
"if": {"$ref": "#/definitions/relatedObjectIf"},
|
416
|
+
"else": {"$ref": "#/definitions/relatedObjectElse"}
|
417
|
+
}
|
418
|
+
},
|
419
|
+
"relatedItems": {
|
420
|
+
"type": "array",
|
421
|
+
"items": {
|
422
|
+
"type": "object",
|
423
|
+
"allOf": [{ "$ref": "#/definitions/relatedObject"}],
|
424
|
+
"properties": {
|
425
|
+
"relatedItemIdentifier": {
|
426
|
+
"type": "object",
|
427
|
+
"properties": {
|
428
|
+
"relatedItemIdentifier": {"type": "string"},
|
429
|
+
"relatedItemIdentifierType": {"$ref": "#/definitions/relatedIdentifierType"}
|
430
|
+
},
|
431
|
+
"required": ["relatedItemIdentifier", "relatedItemIdentifierType"]
|
432
|
+
},
|
433
|
+
"relatedItemType": {"$ref": "#/definitions/resourceTypeGeneral"},
|
434
|
+
"creators": {
|
435
|
+
"type": "array",
|
436
|
+
"items": {
|
437
|
+
"type": "object",
|
438
|
+
"allOf": [{ "$ref": "#/definitions/creator" }],
|
439
|
+
"required": ["name"]
|
440
|
+
}
|
441
|
+
},
|
442
|
+
"contributors": {
|
443
|
+
"type": "array",
|
444
|
+
"items": {
|
445
|
+
"type": "object",
|
446
|
+
"allOf": [{ "$ref": "#/definitions/contributor" }],
|
447
|
+
"required": ["contributorType", "name"]
|
448
|
+
}
|
449
|
+
},
|
450
|
+
"titles": {
|
451
|
+
"type": "array",
|
452
|
+
"items": {
|
453
|
+
"type": "object",
|
454
|
+
"properties": {
|
455
|
+
"title": {"type": "string"},
|
456
|
+
"titleType": {"$ref": "#/definitions/titleType"},
|
457
|
+
"lang": {"type": "string"}
|
458
|
+
},
|
459
|
+
"required": ["title"]
|
460
|
+
},
|
461
|
+
"minItems": 1,
|
462
|
+
"uniqueItems": true
|
463
|
+
},
|
464
|
+
"publicationYear": {"$ref": "#/definitions/publicationYear"},
|
465
|
+
"volume": {"type": "string"},
|
466
|
+
"issue": {"type": "string"},
|
467
|
+
"firstPage": {"type": "string"},
|
468
|
+
"lastPage": {"type": "string"},
|
469
|
+
"edition": {"type": "string"},
|
470
|
+
"publisher": {"type": "string"},
|
471
|
+
"number": {"type":"string"},
|
472
|
+
"numberType": {
|
473
|
+
"type": "string",
|
474
|
+
"enum": [
|
475
|
+
"Article",
|
476
|
+
"Chapter",
|
477
|
+
"Report",
|
478
|
+
"Other"
|
479
|
+
]
|
480
|
+
}
|
481
|
+
},
|
482
|
+
"required": ["titles", "relatedItemType", "relationType"],
|
483
|
+
"if": {"$ref": "#/definitions/relatedObjectIf"},
|
484
|
+
"else": {"$ref": "#/definitions/relatedObjectElse"}
|
485
|
+
},
|
486
|
+
"uniqueItems": true
|
487
|
+
},
|
488
|
+
"sizes": {
|
489
|
+
"type": "array",
|
490
|
+
"items": {
|
491
|
+
"type": "string"
|
492
|
+
},
|
493
|
+
"uniqueItems": true
|
494
|
+
},
|
495
|
+
"formats": {
|
496
|
+
"type": "array",
|
497
|
+
"items": {
|
498
|
+
"type": "string"
|
499
|
+
},
|
500
|
+
"uniqueItems": true
|
501
|
+
},
|
502
|
+
"version": {
|
503
|
+
"type": "string"
|
504
|
+
},
|
505
|
+
"rightsList": {
|
506
|
+
"type": "array",
|
507
|
+
"items": {
|
508
|
+
"type": "object",
|
509
|
+
"properties": {
|
510
|
+
"rights": {"type": "string"},
|
511
|
+
"rightsUri": {"type": "string", "format": "uri"},
|
512
|
+
"rightsIdentifier": {"type": "string"},
|
513
|
+
"rightsIdentifierScheme": {"type": "string"},
|
514
|
+
"schemeUri": {"type": "string", "format": "uri"},
|
515
|
+
"lang": {"type": "string"}
|
516
|
+
}
|
517
|
+
},
|
518
|
+
"uniqueItems": true
|
519
|
+
},
|
520
|
+
"descriptions": {
|
521
|
+
"type": "array",
|
522
|
+
"items": {
|
523
|
+
"type": "object",
|
524
|
+
"properties": {
|
525
|
+
"description": {"type": "string"},
|
526
|
+
"descriptionType": {"$ref": "#/definitions/descriptionType"},
|
527
|
+
"lang": {"type": "string"}
|
528
|
+
},
|
529
|
+
"required": ["description", "descriptionType"]
|
530
|
+
},
|
531
|
+
"uniqueItems": true
|
532
|
+
},
|
533
|
+
"geoLocations": {
|
534
|
+
"type": "array",
|
535
|
+
"items": {
|
536
|
+
"type": "object",
|
537
|
+
"properties": {
|
538
|
+
"geoLocationPlace": {"type": "string"},
|
539
|
+
"geoLocationPoint": {"$ref": "#/definitions/geoLocationPoint"},
|
540
|
+
"geoLocationBox": {
|
541
|
+
"type": "object",
|
542
|
+
"properties": {
|
543
|
+
"westBoundLongitude": {"$ref": "#/definitions/longitude"},
|
544
|
+
"eastBoundLongitude": {"$ref": "#/definitions/longitude"},
|
545
|
+
"southBoundLatitude": {"$ref": "#/definitions/latitude"},
|
546
|
+
"northBoundLatitude": {"$ref": "#/definitions/latitude"}
|
547
|
+
},
|
548
|
+
"required": ["westBoundLongitude", "eastBoundLongitude", "southBoundLatitude", "northBoundLatitude"]
|
549
|
+
},
|
550
|
+
"geoLocationPolygons": {
|
551
|
+
"type": "array",
|
552
|
+
"items": {
|
553
|
+
"type": "object",
|
554
|
+
"properties": {
|
555
|
+
"polygonPoints": {
|
556
|
+
"type": "array",
|
557
|
+
"items": {"$ref": "#/definitions/geoLocationPoint"},
|
558
|
+
"minItems": 4
|
559
|
+
},
|
560
|
+
"inPolygonPoint": {"$ref": "#/definitions/geoLocationPoint"}
|
561
|
+
},
|
562
|
+
"required": ["polygonPoints"]
|
563
|
+
},
|
564
|
+
"uniqueItems": true
|
565
|
+
}
|
566
|
+
}
|
567
|
+
},
|
568
|
+
"uniqueItems": true
|
569
|
+
},
|
570
|
+
"fundingReferences": {
|
571
|
+
"type": "array",
|
572
|
+
"items": {
|
573
|
+
"type": "object",
|
574
|
+
"properties": {
|
575
|
+
"funderName": {"type": "string"},
|
576
|
+
"funderIdentifier": {"type": "string"},
|
577
|
+
"funderIdentifierType": {"$ref": "#/definitions/funderIdentifierType"},
|
578
|
+
"awardNumber": {"type": "string"},
|
579
|
+
"awardUri": {"type": "string", "format": "uri"},
|
580
|
+
"awardTitle": {"type": "string"}
|
581
|
+
},
|
582
|
+
"required": ["funderName"]
|
583
|
+
},
|
584
|
+
"uniqueItems": true
|
585
|
+
},
|
586
|
+
"schemaVersion": {
|
587
|
+
"type": "string",
|
588
|
+
"const": "http://datacite.org/schema/kernel-4"
|
589
|
+
},
|
590
|
+
"container": {
|
591
|
+
"type": "object",
|
592
|
+
"properties": {
|
593
|
+
"type": {"type": "string"},
|
594
|
+
"title": {"type": "string"},
|
595
|
+
"firstPage": {"type": "string"}
|
596
|
+
}
|
597
|
+
}
|
598
|
+
},
|
599
|
+
"required": [
|
600
|
+
"url",
|
601
|
+
"creators",
|
602
|
+
"titles",
|
603
|
+
"publisher",
|
604
|
+
"publicationYear",
|
605
|
+
"types",
|
606
|
+
"schemaVersion"
|
607
|
+
]
|
608
|
+
}
|