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