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