@dmptool/types 2.0.0 → 2.1.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.
Files changed (68) hide show
  1. package/dist/dmp/__tests__/commonStandard.spec.d.ts +1 -0
  2. package/dist/dmp/__tests__/commonStandard.spec.js +210 -0
  3. package/dist/dmp/__tests__/extensions.spec.d.ts +1 -0
  4. package/dist/dmp/__tests__/extensions.spec.js +99 -0
  5. package/dist/dmp/extension.d.ts +1006 -0
  6. package/dist/dmp/extension.js +234 -0
  7. package/dist/dmp/index.d.ts +9 -0
  8. package/dist/dmp/index.js +23 -0
  9. package/dist/index.d.ts +1 -0
  10. package/dist/index.js +1 -0
  11. package/dist/questions/index.d.ts +2 -22
  12. package/dist/questions/tableQuestions.d.ts +323 -25
  13. package/dist/questions/tableQuestions.js +3 -2
  14. package/dist/schemas/affiliationSearchAnswer.schema.json +47 -0
  15. package/dist/schemas/affiliationSearchQuestion.schema.json +142 -0
  16. package/dist/schemas/anyAnswer.schema.json +1426 -0
  17. package/dist/schemas/anyQuestion.schema.json +4744 -0
  18. package/dist/schemas/anyTableColumnAnswer.schema.json +687 -0
  19. package/dist/schemas/anyTableColumnQuestion.schema.json +1527 -0
  20. package/dist/schemas/booleanAnswer.schema.json +33 -0
  21. package/dist/schemas/booleanQuestion.schema.json +52 -0
  22. package/dist/schemas/checkboxesAnswer.schema.json +38 -0
  23. package/dist/schemas/checkboxesQuestion.schema.json +77 -0
  24. package/dist/schemas/currencyAnswer.schema.json +33 -0
  25. package/dist/schemas/currencyQuestion.schema.json +70 -0
  26. package/dist/schemas/dateAnswer.schema.json +33 -0
  27. package/dist/schemas/datePickerAnswer.schema.json +37 -0
  28. package/dist/schemas/datePickerQuestion.schema.json +52 -0
  29. package/dist/schemas/dateQuestion.schema.json +63 -0
  30. package/dist/schemas/dateRangeAnswer.schema.json +47 -0
  31. package/dist/schemas/dateRangeQuestion.schema.json +121 -0
  32. package/dist/schemas/dmp.schema.json +2070 -0
  33. package/dist/schemas/dmpExtension.schema.json +1874 -0
  34. package/dist/schemas/emailAnswer.schema.json +33 -0
  35. package/dist/schemas/emailQuestion.schema.json +68 -0
  36. package/dist/schemas/filteredSearchAnswer.schema.json +40 -0
  37. package/dist/schemas/filteredSearchQuestion.schema.json +130 -0
  38. package/dist/schemas/licenseSearchAnswer.schema.json +51 -0
  39. package/dist/schemas/licenseSearchQuestion.schema.json +140 -0
  40. package/dist/schemas/metadataStandardSearchAnswer.schema.json +51 -0
  41. package/dist/schemas/metadataStandardSearchQuestion.schema.json +141 -0
  42. package/dist/schemas/multiselectBoxAnswer.schema.json +38 -0
  43. package/dist/schemas/multiselectBoxQuestion.schema.json +84 -0
  44. package/dist/schemas/numberAnswer.schema.json +33 -0
  45. package/dist/schemas/numberQuestion.schema.json +65 -0
  46. package/dist/schemas/numberRangeAnswer.schema.json +47 -0
  47. package/dist/schemas/numberRangeQuestion.schema.json +125 -0
  48. package/dist/schemas/numberWithContextAnswer.schema.json +47 -0
  49. package/dist/schemas/numberWithContextQuestion.schema.json +95 -0
  50. package/dist/schemas/radioButtonsAnswer.schema.json +33 -0
  51. package/dist/schemas/radioButtonsQuestion.schema.json +77 -0
  52. package/dist/schemas/repositorySearchAnswer.schema.json +51 -0
  53. package/dist/schemas/repositorySearchQuestion.schema.json +140 -0
  54. package/dist/schemas/researchOutputTableAnswer.schema.json +16730 -0
  55. package/dist/schemas/researchOutputTableQuestion.schema.json +140 -0
  56. package/dist/schemas/selectBoxAnswer.schema.json +33 -0
  57. package/dist/schemas/selectBoxQuestion.schema.json +84 -0
  58. package/dist/schemas/tableAnswer.schema.json +740 -0
  59. package/dist/schemas/tableQuestion.schema.json +1629 -0
  60. package/dist/schemas/textAnswer.schema.json +33 -0
  61. package/dist/schemas/textAreaAnswer.schema.json +33 -0
  62. package/dist/schemas/textAreaQuestion.schema.json +78 -0
  63. package/dist/schemas/textQuestion.schema.json +63 -0
  64. package/dist/schemas/typeaheadSearchAnswer.schema.json +37 -0
  65. package/dist/schemas/typeaheadSearchQuestion.schema.json +120 -0
  66. package/dist/schemas/urlAnswer.schema.json +33 -0
  67. package/dist/schemas/urlQuestion.schema.json +63 -0
  68. package/package.json +5 -2
@@ -0,0 +1,1874 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "provenance": {
6
+ "type": "string"
7
+ },
8
+ "privacy": {
9
+ "default": "private",
10
+ "type": "string",
11
+ "enum": [
12
+ "public",
13
+ "private",
14
+ "embargoed"
15
+ ]
16
+ },
17
+ "featured": {
18
+ "default": "no",
19
+ "type": "string",
20
+ "enum": [
21
+ "yes",
22
+ "no"
23
+ ]
24
+ },
25
+ "registered": {
26
+ "type": "string",
27
+ "format": "date-time",
28
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
29
+ },
30
+ "narrative": {
31
+ "type": "object",
32
+ "properties": {
33
+ "download_urls": {
34
+ "type": "object",
35
+ "properties": {
36
+ "csv": {
37
+ "type": "string"
38
+ },
39
+ "docx": {
40
+ "type": "string"
41
+ },
42
+ "html": {
43
+ "type": "string"
44
+ },
45
+ "pdf": {
46
+ "type": "string"
47
+ }
48
+ },
49
+ "additionalProperties": false
50
+ },
51
+ "template": {
52
+ "type": "object",
53
+ "properties": {
54
+ "id": {
55
+ "type": "number"
56
+ },
57
+ "title": {
58
+ "type": "string"
59
+ },
60
+ "description": {
61
+ "type": "string"
62
+ },
63
+ "version": {
64
+ "type": "string"
65
+ },
66
+ "section": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "object",
70
+ "properties": {
71
+ "id": {
72
+ "type": "number"
73
+ },
74
+ "order": {
75
+ "type": "number"
76
+ },
77
+ "title": {
78
+ "type": "string"
79
+ },
80
+ "description": {
81
+ "type": "string"
82
+ },
83
+ "question": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "object",
87
+ "properties": {
88
+ "id": {
89
+ "type": "number"
90
+ },
91
+ "order": {
92
+ "type": "number"
93
+ },
94
+ "text": {
95
+ "type": "string"
96
+ },
97
+ "answer": {
98
+ "type": "object",
99
+ "properties": {
100
+ "id": {
101
+ "type": "number"
102
+ },
103
+ "json": {
104
+ "oneOf": [
105
+ {
106
+ "type": "object",
107
+ "properties": {
108
+ "type": {
109
+ "type": "string",
110
+ "const": "affiliationSearch"
111
+ },
112
+ "meta": {
113
+ "type": "object",
114
+ "properties": {
115
+ "schemaVersion": {
116
+ "default": "1.0",
117
+ "type": "string"
118
+ }
119
+ },
120
+ "required": [
121
+ "schemaVersion"
122
+ ],
123
+ "additionalProperties": false
124
+ },
125
+ "answer": {
126
+ "type": "object",
127
+ "properties": {
128
+ "affiliationId": {
129
+ "default": "",
130
+ "type": "string"
131
+ },
132
+ "affiliationName": {
133
+ "default": "",
134
+ "type": "string"
135
+ }
136
+ },
137
+ "required": [
138
+ "affiliationId",
139
+ "affiliationName"
140
+ ],
141
+ "additionalProperties": false
142
+ }
143
+ },
144
+ "required": [
145
+ "type",
146
+ "meta",
147
+ "answer"
148
+ ],
149
+ "additionalProperties": false
150
+ },
151
+ {
152
+ "type": "object",
153
+ "properties": {
154
+ "type": {
155
+ "type": "string",
156
+ "const": "boolean"
157
+ },
158
+ "meta": {
159
+ "type": "object",
160
+ "properties": {
161
+ "schemaVersion": {
162
+ "default": "1.0",
163
+ "type": "string"
164
+ }
165
+ },
166
+ "required": [
167
+ "schemaVersion"
168
+ ],
169
+ "additionalProperties": false
170
+ },
171
+ "answer": {
172
+ "default": false,
173
+ "type": "boolean"
174
+ }
175
+ },
176
+ "required": [
177
+ "type",
178
+ "meta",
179
+ "answer"
180
+ ],
181
+ "additionalProperties": false
182
+ },
183
+ {
184
+ "type": "object",
185
+ "properties": {
186
+ "type": {
187
+ "type": "string",
188
+ "const": "checkBoxes"
189
+ },
190
+ "meta": {
191
+ "type": "object",
192
+ "properties": {
193
+ "schemaVersion": {
194
+ "default": "1.0",
195
+ "type": "string"
196
+ }
197
+ },
198
+ "required": [
199
+ "schemaVersion"
200
+ ],
201
+ "additionalProperties": false
202
+ },
203
+ "answer": {
204
+ "default": [
205
+ ""
206
+ ],
207
+ "type": "array",
208
+ "items": {
209
+ "type": "string"
210
+ }
211
+ }
212
+ },
213
+ "required": [
214
+ "type",
215
+ "meta",
216
+ "answer"
217
+ ],
218
+ "additionalProperties": false
219
+ },
220
+ {
221
+ "type": "object",
222
+ "properties": {
223
+ "type": {
224
+ "type": "string",
225
+ "const": "currency"
226
+ },
227
+ "meta": {
228
+ "type": "object",
229
+ "properties": {
230
+ "schemaVersion": {
231
+ "default": "1.0",
232
+ "type": "string"
233
+ }
234
+ },
235
+ "required": [
236
+ "schemaVersion"
237
+ ],
238
+ "additionalProperties": false
239
+ },
240
+ "answer": {
241
+ "default": 0,
242
+ "type": "number"
243
+ }
244
+ },
245
+ "required": [
246
+ "type",
247
+ "meta",
248
+ "answer"
249
+ ],
250
+ "additionalProperties": false
251
+ },
252
+ {
253
+ "type": "object",
254
+ "properties": {
255
+ "type": {
256
+ "type": "string",
257
+ "const": "date"
258
+ },
259
+ "meta": {
260
+ "type": "object",
261
+ "properties": {
262
+ "schemaVersion": {
263
+ "default": "1.0",
264
+ "type": "string"
265
+ }
266
+ },
267
+ "required": [
268
+ "schemaVersion"
269
+ ],
270
+ "additionalProperties": false
271
+ },
272
+ "answer": {
273
+ "default": "",
274
+ "type": "string"
275
+ }
276
+ },
277
+ "required": [
278
+ "type",
279
+ "meta",
280
+ "answer"
281
+ ],
282
+ "additionalProperties": false
283
+ },
284
+ {
285
+ "type": "object",
286
+ "properties": {
287
+ "type": {
288
+ "type": "string",
289
+ "const": "dateRange"
290
+ },
291
+ "meta": {
292
+ "type": "object",
293
+ "properties": {
294
+ "schemaVersion": {
295
+ "default": "1.0",
296
+ "type": "string"
297
+ }
298
+ },
299
+ "required": [
300
+ "schemaVersion"
301
+ ],
302
+ "additionalProperties": false
303
+ },
304
+ "answer": {
305
+ "type": "object",
306
+ "properties": {
307
+ "start": {
308
+ "default": "",
309
+ "type": "string"
310
+ },
311
+ "end": {
312
+ "default": "",
313
+ "type": "string"
314
+ }
315
+ },
316
+ "required": [
317
+ "start",
318
+ "end"
319
+ ],
320
+ "additionalProperties": false
321
+ }
322
+ },
323
+ "required": [
324
+ "type",
325
+ "meta",
326
+ "answer"
327
+ ],
328
+ "additionalProperties": false
329
+ },
330
+ {
331
+ "type": "object",
332
+ "properties": {
333
+ "type": {
334
+ "type": "string",
335
+ "const": "email"
336
+ },
337
+ "meta": {
338
+ "type": "object",
339
+ "properties": {
340
+ "schemaVersion": {
341
+ "default": "1.0",
342
+ "type": "string"
343
+ }
344
+ },
345
+ "required": [
346
+ "schemaVersion"
347
+ ],
348
+ "additionalProperties": false
349
+ },
350
+ "answer": {
351
+ "default": "",
352
+ "type": "string"
353
+ }
354
+ },
355
+ "required": [
356
+ "type",
357
+ "meta",
358
+ "answer"
359
+ ],
360
+ "additionalProperties": false
361
+ },
362
+ {
363
+ "type": "object",
364
+ "properties": {
365
+ "type": {
366
+ "type": "string",
367
+ "const": "licenseSearch"
368
+ },
369
+ "meta": {
370
+ "type": "object",
371
+ "properties": {
372
+ "schemaVersion": {
373
+ "default": "1.0",
374
+ "type": "string"
375
+ }
376
+ },
377
+ "required": [
378
+ "schemaVersion"
379
+ ],
380
+ "additionalProperties": false
381
+ },
382
+ "answer": {
383
+ "default": [],
384
+ "type": "array",
385
+ "items": {
386
+ "type": "object",
387
+ "properties": {
388
+ "licenseId": {
389
+ "default": "",
390
+ "type": "string"
391
+ },
392
+ "licenseName": {
393
+ "default": "",
394
+ "type": "string"
395
+ }
396
+ },
397
+ "required": [
398
+ "licenseId",
399
+ "licenseName"
400
+ ],
401
+ "additionalProperties": false
402
+ }
403
+ }
404
+ },
405
+ "required": [
406
+ "type",
407
+ "meta",
408
+ "answer"
409
+ ],
410
+ "additionalProperties": false
411
+ },
412
+ {
413
+ "type": "object",
414
+ "properties": {
415
+ "type": {
416
+ "type": "string",
417
+ "const": "metadataStandardSearch"
418
+ },
419
+ "meta": {
420
+ "type": "object",
421
+ "properties": {
422
+ "schemaVersion": {
423
+ "default": "1.0",
424
+ "type": "string"
425
+ }
426
+ },
427
+ "required": [
428
+ "schemaVersion"
429
+ ],
430
+ "additionalProperties": false
431
+ },
432
+ "answer": {
433
+ "default": [],
434
+ "type": "array",
435
+ "items": {
436
+ "type": "object",
437
+ "properties": {
438
+ "metadataStandardId": {
439
+ "default": "",
440
+ "type": "string"
441
+ },
442
+ "metadataStandardName": {
443
+ "default": "",
444
+ "type": "string"
445
+ }
446
+ },
447
+ "required": [
448
+ "metadataStandardId",
449
+ "metadataStandardName"
450
+ ],
451
+ "additionalProperties": false
452
+ }
453
+ }
454
+ },
455
+ "required": [
456
+ "type",
457
+ "meta",
458
+ "answer"
459
+ ],
460
+ "additionalProperties": false
461
+ },
462
+ {
463
+ "type": "object",
464
+ "properties": {
465
+ "type": {
466
+ "type": "string",
467
+ "const": "multiselectBox"
468
+ },
469
+ "meta": {
470
+ "type": "object",
471
+ "properties": {
472
+ "schemaVersion": {
473
+ "default": "1.0",
474
+ "type": "string"
475
+ }
476
+ },
477
+ "required": [
478
+ "schemaVersion"
479
+ ],
480
+ "additionalProperties": false
481
+ },
482
+ "answer": {
483
+ "default": [
484
+ ""
485
+ ],
486
+ "type": "array",
487
+ "items": {
488
+ "type": "string"
489
+ }
490
+ }
491
+ },
492
+ "required": [
493
+ "type",
494
+ "meta",
495
+ "answer"
496
+ ],
497
+ "additionalProperties": false
498
+ },
499
+ {
500
+ "type": "object",
501
+ "properties": {
502
+ "type": {
503
+ "type": "string",
504
+ "const": "number"
505
+ },
506
+ "meta": {
507
+ "type": "object",
508
+ "properties": {
509
+ "schemaVersion": {
510
+ "default": "1.0",
511
+ "type": "string"
512
+ }
513
+ },
514
+ "required": [
515
+ "schemaVersion"
516
+ ],
517
+ "additionalProperties": false
518
+ },
519
+ "answer": {
520
+ "default": 0,
521
+ "type": "number"
522
+ }
523
+ },
524
+ "required": [
525
+ "type",
526
+ "meta",
527
+ "answer"
528
+ ],
529
+ "additionalProperties": false
530
+ },
531
+ {
532
+ "type": "object",
533
+ "properties": {
534
+ "type": {
535
+ "type": "string",
536
+ "const": "numberRange"
537
+ },
538
+ "meta": {
539
+ "type": "object",
540
+ "properties": {
541
+ "schemaVersion": {
542
+ "default": "1.0",
543
+ "type": "string"
544
+ }
545
+ },
546
+ "required": [
547
+ "schemaVersion"
548
+ ],
549
+ "additionalProperties": false
550
+ },
551
+ "answer": {
552
+ "type": "object",
553
+ "properties": {
554
+ "start": {
555
+ "default": 0,
556
+ "type": "number"
557
+ },
558
+ "end": {
559
+ "default": 0,
560
+ "type": "number"
561
+ }
562
+ },
563
+ "required": [
564
+ "start",
565
+ "end"
566
+ ],
567
+ "additionalProperties": false
568
+ }
569
+ },
570
+ "required": [
571
+ "type",
572
+ "meta",
573
+ "answer"
574
+ ],
575
+ "additionalProperties": false
576
+ },
577
+ {
578
+ "type": "object",
579
+ "properties": {
580
+ "type": {
581
+ "type": "string",
582
+ "const": "radioButtons"
583
+ },
584
+ "meta": {
585
+ "type": "object",
586
+ "properties": {
587
+ "schemaVersion": {
588
+ "default": "1.0",
589
+ "type": "string"
590
+ }
591
+ },
592
+ "required": [
593
+ "schemaVersion"
594
+ ],
595
+ "additionalProperties": false
596
+ },
597
+ "answer": {
598
+ "default": "",
599
+ "type": "string"
600
+ }
601
+ },
602
+ "required": [
603
+ "type",
604
+ "meta",
605
+ "answer"
606
+ ],
607
+ "additionalProperties": false
608
+ },
609
+ {
610
+ "type": "object",
611
+ "properties": {
612
+ "type": {
613
+ "type": "string",
614
+ "const": "repositorySearch"
615
+ },
616
+ "meta": {
617
+ "type": "object",
618
+ "properties": {
619
+ "schemaVersion": {
620
+ "default": "1.0",
621
+ "type": "string"
622
+ }
623
+ },
624
+ "required": [
625
+ "schemaVersion"
626
+ ],
627
+ "additionalProperties": false
628
+ },
629
+ "answer": {
630
+ "default": [],
631
+ "type": "array",
632
+ "items": {
633
+ "type": "object",
634
+ "properties": {
635
+ "repositoryId": {
636
+ "default": "",
637
+ "type": "string"
638
+ },
639
+ "repositoryName": {
640
+ "default": "",
641
+ "type": "string"
642
+ }
643
+ },
644
+ "required": [
645
+ "repositoryId",
646
+ "repositoryName"
647
+ ],
648
+ "additionalProperties": false
649
+ }
650
+ }
651
+ },
652
+ "required": [
653
+ "type",
654
+ "meta",
655
+ "answer"
656
+ ],
657
+ "additionalProperties": false
658
+ },
659
+ {
660
+ "type": "object",
661
+ "properties": {
662
+ "type": {
663
+ "type": "string",
664
+ "const": "selectBox"
665
+ },
666
+ "meta": {
667
+ "type": "object",
668
+ "properties": {
669
+ "schemaVersion": {
670
+ "default": "1.0",
671
+ "type": "string"
672
+ }
673
+ },
674
+ "required": [
675
+ "schemaVersion"
676
+ ],
677
+ "additionalProperties": false
678
+ },
679
+ "answer": {
680
+ "default": "",
681
+ "type": "string"
682
+ }
683
+ },
684
+ "required": [
685
+ "type",
686
+ "meta",
687
+ "answer"
688
+ ],
689
+ "additionalProperties": false
690
+ },
691
+ {
692
+ "type": "object",
693
+ "properties": {
694
+ "type": {
695
+ "type": "string",
696
+ "const": "table"
697
+ },
698
+ "meta": {
699
+ "type": "object",
700
+ "properties": {
701
+ "schemaVersion": {
702
+ "default": "1.0",
703
+ "type": "string"
704
+ }
705
+ },
706
+ "required": [
707
+ "schemaVersion"
708
+ ],
709
+ "additionalProperties": false
710
+ },
711
+ "columnHeadings": {
712
+ "default": [
713
+ "Column A"
714
+ ],
715
+ "type": "array",
716
+ "items": {
717
+ "type": "string"
718
+ }
719
+ },
720
+ "answer": {
721
+ "type": "array",
722
+ "items": {
723
+ "type": "object",
724
+ "properties": {
725
+ "columns": {
726
+ "type": "array",
727
+ "items": {
728
+ "oneOf": [
729
+ {
730
+ "type": "object",
731
+ "properties": {
732
+ "type": {
733
+ "type": "string",
734
+ "const": "affiliationSearch"
735
+ },
736
+ "meta": {
737
+ "type": "object",
738
+ "properties": {
739
+ "schemaVersion": {
740
+ "default": "1.0",
741
+ "type": "string"
742
+ }
743
+ },
744
+ "required": [
745
+ "schemaVersion"
746
+ ],
747
+ "additionalProperties": false
748
+ },
749
+ "answer": {
750
+ "type": "object",
751
+ "properties": {
752
+ "affiliationId": {
753
+ "default": "",
754
+ "type": "string"
755
+ },
756
+ "affiliationName": {
757
+ "default": "",
758
+ "type": "string"
759
+ }
760
+ },
761
+ "required": [
762
+ "affiliationId",
763
+ "affiliationName"
764
+ ],
765
+ "additionalProperties": false
766
+ }
767
+ },
768
+ "required": [
769
+ "type",
770
+ "meta",
771
+ "answer"
772
+ ],
773
+ "additionalProperties": false
774
+ },
775
+ {
776
+ "type": "object",
777
+ "properties": {
778
+ "type": {
779
+ "type": "string",
780
+ "const": "boolean"
781
+ },
782
+ "meta": {
783
+ "type": "object",
784
+ "properties": {
785
+ "schemaVersion": {
786
+ "default": "1.0",
787
+ "type": "string"
788
+ }
789
+ },
790
+ "required": [
791
+ "schemaVersion"
792
+ ],
793
+ "additionalProperties": false
794
+ },
795
+ "answer": {
796
+ "default": false,
797
+ "type": "boolean"
798
+ }
799
+ },
800
+ "required": [
801
+ "type",
802
+ "meta",
803
+ "answer"
804
+ ],
805
+ "additionalProperties": false
806
+ },
807
+ {
808
+ "type": "object",
809
+ "properties": {
810
+ "type": {
811
+ "type": "string",
812
+ "const": "checkBoxes"
813
+ },
814
+ "meta": {
815
+ "type": "object",
816
+ "properties": {
817
+ "schemaVersion": {
818
+ "default": "1.0",
819
+ "type": "string"
820
+ }
821
+ },
822
+ "required": [
823
+ "schemaVersion"
824
+ ],
825
+ "additionalProperties": false
826
+ },
827
+ "answer": {
828
+ "default": [
829
+ ""
830
+ ],
831
+ "type": "array",
832
+ "items": {
833
+ "type": "string"
834
+ }
835
+ }
836
+ },
837
+ "required": [
838
+ "type",
839
+ "meta",
840
+ "answer"
841
+ ],
842
+ "additionalProperties": false
843
+ },
844
+ {
845
+ "type": "object",
846
+ "properties": {
847
+ "type": {
848
+ "type": "string",
849
+ "const": "currency"
850
+ },
851
+ "meta": {
852
+ "type": "object",
853
+ "properties": {
854
+ "schemaVersion": {
855
+ "default": "1.0",
856
+ "type": "string"
857
+ }
858
+ },
859
+ "required": [
860
+ "schemaVersion"
861
+ ],
862
+ "additionalProperties": false
863
+ },
864
+ "answer": {
865
+ "default": 0,
866
+ "type": "number"
867
+ }
868
+ },
869
+ "required": [
870
+ "type",
871
+ "meta",
872
+ "answer"
873
+ ],
874
+ "additionalProperties": false
875
+ },
876
+ {
877
+ "type": "object",
878
+ "properties": {
879
+ "type": {
880
+ "type": "string",
881
+ "const": "date"
882
+ },
883
+ "meta": {
884
+ "type": "object",
885
+ "properties": {
886
+ "schemaVersion": {
887
+ "default": "1.0",
888
+ "type": "string"
889
+ }
890
+ },
891
+ "required": [
892
+ "schemaVersion"
893
+ ],
894
+ "additionalProperties": false
895
+ },
896
+ "answer": {
897
+ "default": "",
898
+ "type": "string"
899
+ }
900
+ },
901
+ "required": [
902
+ "type",
903
+ "meta",
904
+ "answer"
905
+ ],
906
+ "additionalProperties": false
907
+ },
908
+ {
909
+ "type": "object",
910
+ "properties": {
911
+ "type": {
912
+ "type": "string",
913
+ "const": "dateRange"
914
+ },
915
+ "meta": {
916
+ "type": "object",
917
+ "properties": {
918
+ "schemaVersion": {
919
+ "default": "1.0",
920
+ "type": "string"
921
+ }
922
+ },
923
+ "required": [
924
+ "schemaVersion"
925
+ ],
926
+ "additionalProperties": false
927
+ },
928
+ "answer": {
929
+ "type": "object",
930
+ "properties": {
931
+ "start": {
932
+ "default": "",
933
+ "type": "string"
934
+ },
935
+ "end": {
936
+ "default": "",
937
+ "type": "string"
938
+ }
939
+ },
940
+ "required": [
941
+ "start",
942
+ "end"
943
+ ],
944
+ "additionalProperties": false
945
+ }
946
+ },
947
+ "required": [
948
+ "type",
949
+ "meta",
950
+ "answer"
951
+ ],
952
+ "additionalProperties": false
953
+ },
954
+ {
955
+ "type": "object",
956
+ "properties": {
957
+ "type": {
958
+ "type": "string",
959
+ "const": "email"
960
+ },
961
+ "meta": {
962
+ "type": "object",
963
+ "properties": {
964
+ "schemaVersion": {
965
+ "default": "1.0",
966
+ "type": "string"
967
+ }
968
+ },
969
+ "required": [
970
+ "schemaVersion"
971
+ ],
972
+ "additionalProperties": false
973
+ },
974
+ "answer": {
975
+ "default": "",
976
+ "type": "string"
977
+ }
978
+ },
979
+ "required": [
980
+ "type",
981
+ "meta",
982
+ "answer"
983
+ ],
984
+ "additionalProperties": false
985
+ },
986
+ {
987
+ "type": "object",
988
+ "properties": {
989
+ "type": {
990
+ "type": "string",
991
+ "const": "licenseSearch"
992
+ },
993
+ "meta": {
994
+ "type": "object",
995
+ "properties": {
996
+ "schemaVersion": {
997
+ "default": "1.0",
998
+ "type": "string"
999
+ }
1000
+ },
1001
+ "required": [
1002
+ "schemaVersion"
1003
+ ],
1004
+ "additionalProperties": false
1005
+ },
1006
+ "answer": {
1007
+ "default": [],
1008
+ "type": "array",
1009
+ "items": {
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "licenseId": {
1013
+ "default": "",
1014
+ "type": "string"
1015
+ },
1016
+ "licenseName": {
1017
+ "default": "",
1018
+ "type": "string"
1019
+ }
1020
+ },
1021
+ "required": [
1022
+ "licenseId",
1023
+ "licenseName"
1024
+ ],
1025
+ "additionalProperties": false
1026
+ }
1027
+ }
1028
+ },
1029
+ "required": [
1030
+ "type",
1031
+ "meta",
1032
+ "answer"
1033
+ ],
1034
+ "additionalProperties": false
1035
+ },
1036
+ {
1037
+ "type": "object",
1038
+ "properties": {
1039
+ "type": {
1040
+ "type": "string",
1041
+ "const": "metadataStandardSearch"
1042
+ },
1043
+ "meta": {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "schemaVersion": {
1047
+ "default": "1.0",
1048
+ "type": "string"
1049
+ }
1050
+ },
1051
+ "required": [
1052
+ "schemaVersion"
1053
+ ],
1054
+ "additionalProperties": false
1055
+ },
1056
+ "answer": {
1057
+ "default": [],
1058
+ "type": "array",
1059
+ "items": {
1060
+ "type": "object",
1061
+ "properties": {
1062
+ "metadataStandardId": {
1063
+ "default": "",
1064
+ "type": "string"
1065
+ },
1066
+ "metadataStandardName": {
1067
+ "default": "",
1068
+ "type": "string"
1069
+ }
1070
+ },
1071
+ "required": [
1072
+ "metadataStandardId",
1073
+ "metadataStandardName"
1074
+ ],
1075
+ "additionalProperties": false
1076
+ }
1077
+ }
1078
+ },
1079
+ "required": [
1080
+ "type",
1081
+ "meta",
1082
+ "answer"
1083
+ ],
1084
+ "additionalProperties": false
1085
+ },
1086
+ {
1087
+ "type": "object",
1088
+ "properties": {
1089
+ "type": {
1090
+ "type": "string",
1091
+ "const": "multiselectBox"
1092
+ },
1093
+ "meta": {
1094
+ "type": "object",
1095
+ "properties": {
1096
+ "schemaVersion": {
1097
+ "default": "1.0",
1098
+ "type": "string"
1099
+ }
1100
+ },
1101
+ "required": [
1102
+ "schemaVersion"
1103
+ ],
1104
+ "additionalProperties": false
1105
+ },
1106
+ "answer": {
1107
+ "default": [
1108
+ ""
1109
+ ],
1110
+ "type": "array",
1111
+ "items": {
1112
+ "type": "string"
1113
+ }
1114
+ }
1115
+ },
1116
+ "required": [
1117
+ "type",
1118
+ "meta",
1119
+ "answer"
1120
+ ],
1121
+ "additionalProperties": false
1122
+ },
1123
+ {
1124
+ "type": "object",
1125
+ "properties": {
1126
+ "type": {
1127
+ "type": "string",
1128
+ "const": "number"
1129
+ },
1130
+ "meta": {
1131
+ "type": "object",
1132
+ "properties": {
1133
+ "schemaVersion": {
1134
+ "default": "1.0",
1135
+ "type": "string"
1136
+ }
1137
+ },
1138
+ "required": [
1139
+ "schemaVersion"
1140
+ ],
1141
+ "additionalProperties": false
1142
+ },
1143
+ "answer": {
1144
+ "default": 0,
1145
+ "type": "number"
1146
+ }
1147
+ },
1148
+ "required": [
1149
+ "type",
1150
+ "meta",
1151
+ "answer"
1152
+ ],
1153
+ "additionalProperties": false
1154
+ },
1155
+ {
1156
+ "type": "object",
1157
+ "properties": {
1158
+ "type": {
1159
+ "type": "string",
1160
+ "const": "numberWithContext"
1161
+ },
1162
+ "meta": {
1163
+ "type": "object",
1164
+ "properties": {
1165
+ "schemaVersion": {
1166
+ "default": "1.0",
1167
+ "type": "string"
1168
+ }
1169
+ },
1170
+ "required": [
1171
+ "schemaVersion"
1172
+ ],
1173
+ "additionalProperties": false
1174
+ },
1175
+ "answer": {
1176
+ "type": "object",
1177
+ "properties": {
1178
+ "value": {
1179
+ "default": 0,
1180
+ "type": "number"
1181
+ },
1182
+ "context": {
1183
+ "default": "",
1184
+ "type": "string"
1185
+ }
1186
+ },
1187
+ "required": [
1188
+ "value",
1189
+ "context"
1190
+ ],
1191
+ "additionalProperties": false
1192
+ }
1193
+ },
1194
+ "required": [
1195
+ "type",
1196
+ "meta",
1197
+ "answer"
1198
+ ],
1199
+ "additionalProperties": false
1200
+ },
1201
+ {
1202
+ "type": "object",
1203
+ "properties": {
1204
+ "type": {
1205
+ "type": "string",
1206
+ "const": "radioButtons"
1207
+ },
1208
+ "meta": {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "schemaVersion": {
1212
+ "default": "1.0",
1213
+ "type": "string"
1214
+ }
1215
+ },
1216
+ "required": [
1217
+ "schemaVersion"
1218
+ ],
1219
+ "additionalProperties": false
1220
+ },
1221
+ "answer": {
1222
+ "default": "",
1223
+ "type": "string"
1224
+ }
1225
+ },
1226
+ "required": [
1227
+ "type",
1228
+ "meta",
1229
+ "answer"
1230
+ ],
1231
+ "additionalProperties": false
1232
+ },
1233
+ {
1234
+ "type": "object",
1235
+ "properties": {
1236
+ "type": {
1237
+ "type": "string",
1238
+ "const": "repositorySearch"
1239
+ },
1240
+ "meta": {
1241
+ "type": "object",
1242
+ "properties": {
1243
+ "schemaVersion": {
1244
+ "default": "1.0",
1245
+ "type": "string"
1246
+ }
1247
+ },
1248
+ "required": [
1249
+ "schemaVersion"
1250
+ ],
1251
+ "additionalProperties": false
1252
+ },
1253
+ "answer": {
1254
+ "default": [],
1255
+ "type": "array",
1256
+ "items": {
1257
+ "type": "object",
1258
+ "properties": {
1259
+ "repositoryId": {
1260
+ "default": "",
1261
+ "type": "string"
1262
+ },
1263
+ "repositoryName": {
1264
+ "default": "",
1265
+ "type": "string"
1266
+ }
1267
+ },
1268
+ "required": [
1269
+ "repositoryId",
1270
+ "repositoryName"
1271
+ ],
1272
+ "additionalProperties": false
1273
+ }
1274
+ }
1275
+ },
1276
+ "required": [
1277
+ "type",
1278
+ "meta",
1279
+ "answer"
1280
+ ],
1281
+ "additionalProperties": false
1282
+ },
1283
+ {
1284
+ "type": "object",
1285
+ "properties": {
1286
+ "type": {
1287
+ "type": "string",
1288
+ "const": "selectBox"
1289
+ },
1290
+ "meta": {
1291
+ "type": "object",
1292
+ "properties": {
1293
+ "schemaVersion": {
1294
+ "default": "1.0",
1295
+ "type": "string"
1296
+ }
1297
+ },
1298
+ "required": [
1299
+ "schemaVersion"
1300
+ ],
1301
+ "additionalProperties": false
1302
+ },
1303
+ "answer": {
1304
+ "default": "",
1305
+ "type": "string"
1306
+ }
1307
+ },
1308
+ "required": [
1309
+ "type",
1310
+ "meta",
1311
+ "answer"
1312
+ ],
1313
+ "additionalProperties": false
1314
+ },
1315
+ {
1316
+ "type": "object",
1317
+ "properties": {
1318
+ "type": {
1319
+ "type": "string",
1320
+ "const": "text"
1321
+ },
1322
+ "meta": {
1323
+ "type": "object",
1324
+ "properties": {
1325
+ "schemaVersion": {
1326
+ "default": "1.0",
1327
+ "type": "string"
1328
+ }
1329
+ },
1330
+ "required": [
1331
+ "schemaVersion"
1332
+ ],
1333
+ "additionalProperties": false
1334
+ },
1335
+ "answer": {
1336
+ "default": "",
1337
+ "type": "string"
1338
+ }
1339
+ },
1340
+ "required": [
1341
+ "type",
1342
+ "meta",
1343
+ "answer"
1344
+ ],
1345
+ "additionalProperties": false
1346
+ },
1347
+ {
1348
+ "type": "object",
1349
+ "properties": {
1350
+ "type": {
1351
+ "type": "string",
1352
+ "const": "textArea"
1353
+ },
1354
+ "meta": {
1355
+ "type": "object",
1356
+ "properties": {
1357
+ "schemaVersion": {
1358
+ "default": "1.0",
1359
+ "type": "string"
1360
+ }
1361
+ },
1362
+ "required": [
1363
+ "schemaVersion"
1364
+ ],
1365
+ "additionalProperties": false
1366
+ },
1367
+ "answer": {
1368
+ "default": "",
1369
+ "type": "string"
1370
+ }
1371
+ },
1372
+ "required": [
1373
+ "type",
1374
+ "meta",
1375
+ "answer"
1376
+ ],
1377
+ "additionalProperties": false
1378
+ },
1379
+ {
1380
+ "type": "object",
1381
+ "properties": {
1382
+ "type": {
1383
+ "type": "string",
1384
+ "const": "url"
1385
+ },
1386
+ "meta": {
1387
+ "type": "object",
1388
+ "properties": {
1389
+ "schemaVersion": {
1390
+ "default": "1.0",
1391
+ "type": "string"
1392
+ }
1393
+ },
1394
+ "required": [
1395
+ "schemaVersion"
1396
+ ],
1397
+ "additionalProperties": false
1398
+ },
1399
+ "answer": {
1400
+ "default": "",
1401
+ "type": "string"
1402
+ }
1403
+ },
1404
+ "required": [
1405
+ "type",
1406
+ "meta",
1407
+ "answer"
1408
+ ],
1409
+ "additionalProperties": false
1410
+ }
1411
+ ]
1412
+ }
1413
+ }
1414
+ },
1415
+ "required": [
1416
+ "columns"
1417
+ ],
1418
+ "additionalProperties": false
1419
+ }
1420
+ }
1421
+ },
1422
+ "required": [
1423
+ "type",
1424
+ "meta",
1425
+ "columnHeadings",
1426
+ "answer"
1427
+ ],
1428
+ "additionalProperties": false
1429
+ },
1430
+ {
1431
+ "type": "object",
1432
+ "properties": {
1433
+ "type": {
1434
+ "type": "string",
1435
+ "const": "text"
1436
+ },
1437
+ "meta": {
1438
+ "type": "object",
1439
+ "properties": {
1440
+ "schemaVersion": {
1441
+ "default": "1.0",
1442
+ "type": "string"
1443
+ }
1444
+ },
1445
+ "required": [
1446
+ "schemaVersion"
1447
+ ],
1448
+ "additionalProperties": false
1449
+ },
1450
+ "answer": {
1451
+ "default": "",
1452
+ "type": "string"
1453
+ }
1454
+ },
1455
+ "required": [
1456
+ "type",
1457
+ "meta",
1458
+ "answer"
1459
+ ],
1460
+ "additionalProperties": false
1461
+ },
1462
+ {
1463
+ "type": "object",
1464
+ "properties": {
1465
+ "type": {
1466
+ "type": "string",
1467
+ "const": "textArea"
1468
+ },
1469
+ "meta": {
1470
+ "type": "object",
1471
+ "properties": {
1472
+ "schemaVersion": {
1473
+ "default": "1.0",
1474
+ "type": "string"
1475
+ }
1476
+ },
1477
+ "required": [
1478
+ "schemaVersion"
1479
+ ],
1480
+ "additionalProperties": false
1481
+ },
1482
+ "answer": {
1483
+ "default": "",
1484
+ "type": "string"
1485
+ }
1486
+ },
1487
+ "required": [
1488
+ "type",
1489
+ "meta",
1490
+ "answer"
1491
+ ],
1492
+ "additionalProperties": false
1493
+ },
1494
+ {
1495
+ "type": "object",
1496
+ "properties": {
1497
+ "type": {
1498
+ "type": "string",
1499
+ "const": "url"
1500
+ },
1501
+ "meta": {
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "schemaVersion": {
1505
+ "default": "1.0",
1506
+ "type": "string"
1507
+ }
1508
+ },
1509
+ "required": [
1510
+ "schemaVersion"
1511
+ ],
1512
+ "additionalProperties": false
1513
+ },
1514
+ "answer": {
1515
+ "default": "",
1516
+ "type": "string"
1517
+ }
1518
+ },
1519
+ "required": [
1520
+ "type",
1521
+ "meta",
1522
+ "answer"
1523
+ ],
1524
+ "additionalProperties": false
1525
+ }
1526
+ ]
1527
+ }
1528
+ },
1529
+ "required": [
1530
+ "id",
1531
+ "json"
1532
+ ],
1533
+ "additionalProperties": false
1534
+ }
1535
+ },
1536
+ "required": [
1537
+ "id",
1538
+ "order",
1539
+ "text"
1540
+ ],
1541
+ "additionalProperties": false
1542
+ }
1543
+ }
1544
+ },
1545
+ "required": [
1546
+ "id",
1547
+ "order",
1548
+ "title",
1549
+ "question"
1550
+ ],
1551
+ "additionalProperties": false
1552
+ }
1553
+ }
1554
+ },
1555
+ "required": [
1556
+ "id",
1557
+ "title",
1558
+ "section"
1559
+ ],
1560
+ "additionalProperties": false
1561
+ }
1562
+ },
1563
+ "additionalProperties": false
1564
+ },
1565
+ "research_domain": {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "name": {
1569
+ "type": "string"
1570
+ },
1571
+ "research_domain_identifier": {
1572
+ "type": "object",
1573
+ "properties": {
1574
+ "identifier": {
1575
+ "type": "string"
1576
+ },
1577
+ "type": {
1578
+ "default": "url",
1579
+ "type": "string",
1580
+ "enum": [
1581
+ "ark",
1582
+ "doi",
1583
+ "handle",
1584
+ "url",
1585
+ "other"
1586
+ ]
1587
+ }
1588
+ },
1589
+ "required": [
1590
+ "type"
1591
+ ],
1592
+ "additionalProperties": false
1593
+ }
1594
+ },
1595
+ "required": [
1596
+ "name",
1597
+ "research_domain_identifier"
1598
+ ],
1599
+ "additionalProperties": false
1600
+ },
1601
+ "related_identifier": {
1602
+ "type": "array",
1603
+ "items": {
1604
+ "type": "object",
1605
+ "properties": {
1606
+ "descriptor": {
1607
+ "default": "cites",
1608
+ "type": "string",
1609
+ "enum": [
1610
+ "is_cited_by",
1611
+ "cites",
1612
+ "is_supplement_to",
1613
+ "is_supplemented_by",
1614
+ "is_continued_by",
1615
+ "continues",
1616
+ "is_described_by",
1617
+ "describes",
1618
+ "has_metadata",
1619
+ "is_metadata_for",
1620
+ "has_version",
1621
+ "is_version_of",
1622
+ "is_new_version_of",
1623
+ "is_previous_version_of",
1624
+ "is_part_of",
1625
+ "has_part",
1626
+ "is_published_in",
1627
+ "is_referenced_by",
1628
+ "references",
1629
+ "is_documented_by",
1630
+ "documents",
1631
+ "is_compiled_by",
1632
+ "compiles",
1633
+ "is_variant_form_of",
1634
+ "is_original_form_of",
1635
+ "is_identical_to",
1636
+ "is_reviewed_by",
1637
+ "reviews",
1638
+ "is_derived_from",
1639
+ "is_source_of",
1640
+ "is_required_by",
1641
+ "requires",
1642
+ "obsoletes",
1643
+ "is_obsoleted_by",
1644
+ "is_collected_by",
1645
+ "collects",
1646
+ "is_translation_of",
1647
+ "has_translation"
1648
+ ]
1649
+ },
1650
+ "identifier": {
1651
+ "type": "string"
1652
+ },
1653
+ "type": {
1654
+ "default": "url",
1655
+ "type": "string",
1656
+ "enum": [
1657
+ "ark",
1658
+ "doi",
1659
+ "handle",
1660
+ "url"
1661
+ ]
1662
+ },
1663
+ "work_type": {
1664
+ "default": "dataset",
1665
+ "type": "string",
1666
+ "enum": [
1667
+ "audiovisual",
1668
+ "book",
1669
+ "book_chapter",
1670
+ "collection",
1671
+ "computational_notebook",
1672
+ "conference_paper",
1673
+ "conference_proceeding",
1674
+ "data_paper",
1675
+ "dataset",
1676
+ "dissertation",
1677
+ "event",
1678
+ "image",
1679
+ "instrument",
1680
+ "interactive_resource",
1681
+ "journal",
1682
+ "journal_article",
1683
+ "model",
1684
+ "output_management_plan",
1685
+ "peer_review",
1686
+ "physical_object",
1687
+ "preprint",
1688
+ "project",
1689
+ "report",
1690
+ "service",
1691
+ "software",
1692
+ "sound",
1693
+ "standard",
1694
+ "study_registration",
1695
+ "text",
1696
+ "workflow",
1697
+ "other"
1698
+ ]
1699
+ }
1700
+ },
1701
+ "required": [
1702
+ "descriptor",
1703
+ "identifier",
1704
+ "type",
1705
+ "work_type"
1706
+ ],
1707
+ "additionalProperties": false
1708
+ }
1709
+ },
1710
+ "research_facility": {
1711
+ "type": "array",
1712
+ "items": {
1713
+ "type": "object",
1714
+ "properties": {
1715
+ "name": {
1716
+ "type": "string"
1717
+ },
1718
+ "type": {
1719
+ "default": "other",
1720
+ "type": "string",
1721
+ "enum": [
1722
+ "data_center",
1723
+ "field_station",
1724
+ "laboratory",
1725
+ "observatory",
1726
+ "other"
1727
+ ]
1728
+ },
1729
+ "research_facility_identifier": {
1730
+ "type": "object",
1731
+ "properties": {
1732
+ "identifier": {
1733
+ "type": "string"
1734
+ },
1735
+ "type": {
1736
+ "default": "url",
1737
+ "type": "string",
1738
+ "enum": [
1739
+ "ark",
1740
+ "doi",
1741
+ "handle",
1742
+ "url",
1743
+ "other"
1744
+ ]
1745
+ }
1746
+ },
1747
+ "required": [
1748
+ "identifier",
1749
+ "type"
1750
+ ],
1751
+ "additionalProperties": false
1752
+ }
1753
+ },
1754
+ "required": [
1755
+ "name",
1756
+ "type",
1757
+ "research_facility_identifier"
1758
+ ],
1759
+ "additionalProperties": false
1760
+ }
1761
+ },
1762
+ "version": {
1763
+ "type": "array",
1764
+ "items": {
1765
+ "type": "object",
1766
+ "properties": {
1767
+ "access_url": {
1768
+ "type": "string"
1769
+ },
1770
+ "version_date": {
1771
+ "type": "string",
1772
+ "format": "date-time",
1773
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
1774
+ }
1775
+ },
1776
+ "required": [
1777
+ "access_url",
1778
+ "version_date"
1779
+ ],
1780
+ "additionalProperties": false
1781
+ }
1782
+ },
1783
+ "funding_opportunity": {
1784
+ "type": "array",
1785
+ "items": {
1786
+ "type": "object",
1787
+ "properties": {
1788
+ "project_id": {
1789
+ "type": "object",
1790
+ "properties": {
1791
+ "identifier": {
1792
+ "type": "string"
1793
+ },
1794
+ "type": {
1795
+ "default": "other",
1796
+ "type": "string",
1797
+ "enum": [
1798
+ "ark",
1799
+ "doi",
1800
+ "handle",
1801
+ "url",
1802
+ "other"
1803
+ ]
1804
+ }
1805
+ },
1806
+ "required": [
1807
+ "identifier",
1808
+ "type"
1809
+ ],
1810
+ "additionalProperties": false
1811
+ },
1812
+ "funder_id": {
1813
+ "type": "object",
1814
+ "properties": {
1815
+ "identifier": {
1816
+ "type": "string"
1817
+ },
1818
+ "type": {
1819
+ "default": "ror",
1820
+ "type": "string",
1821
+ "enum": [
1822
+ "ror",
1823
+ "url",
1824
+ "other"
1825
+ ]
1826
+ }
1827
+ },
1828
+ "required": [
1829
+ "identifier",
1830
+ "type"
1831
+ ],
1832
+ "additionalProperties": false
1833
+ },
1834
+ "opportunity_identifier": {
1835
+ "type": "object",
1836
+ "properties": {
1837
+ "identifier": {
1838
+ "type": "string"
1839
+ },
1840
+ "type": {
1841
+ "default": "url",
1842
+ "type": "string",
1843
+ "enum": [
1844
+ "ark",
1845
+ "doi",
1846
+ "handle",
1847
+ "url",
1848
+ "other"
1849
+ ]
1850
+ }
1851
+ },
1852
+ "required": [
1853
+ "identifier",
1854
+ "type"
1855
+ ],
1856
+ "additionalProperties": false
1857
+ }
1858
+ },
1859
+ "required": [
1860
+ "project_id",
1861
+ "funder_id",
1862
+ "opportunity_identifier"
1863
+ ],
1864
+ "additionalProperties": false
1865
+ }
1866
+ }
1867
+ },
1868
+ "required": [
1869
+ "provenance",
1870
+ "privacy",
1871
+ "featured"
1872
+ ],
1873
+ "additionalProperties": false
1874
+ }