@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,1426 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "oneOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "affiliationSearch"
10
+ },
11
+ "meta": {
12
+ "type": "object",
13
+ "properties": {
14
+ "schemaVersion": {
15
+ "default": "1.0",
16
+ "type": "string"
17
+ }
18
+ },
19
+ "required": [
20
+ "schemaVersion"
21
+ ],
22
+ "additionalProperties": false
23
+ },
24
+ "answer": {
25
+ "type": "object",
26
+ "properties": {
27
+ "affiliationId": {
28
+ "default": "",
29
+ "type": "string"
30
+ },
31
+ "affiliationName": {
32
+ "default": "",
33
+ "type": "string"
34
+ }
35
+ },
36
+ "required": [
37
+ "affiliationId",
38
+ "affiliationName"
39
+ ],
40
+ "additionalProperties": false
41
+ }
42
+ },
43
+ "required": [
44
+ "type",
45
+ "meta",
46
+ "answer"
47
+ ],
48
+ "additionalProperties": false
49
+ },
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "type": {
54
+ "type": "string",
55
+ "const": "boolean"
56
+ },
57
+ "meta": {
58
+ "type": "object",
59
+ "properties": {
60
+ "schemaVersion": {
61
+ "default": "1.0",
62
+ "type": "string"
63
+ }
64
+ },
65
+ "required": [
66
+ "schemaVersion"
67
+ ],
68
+ "additionalProperties": false
69
+ },
70
+ "answer": {
71
+ "default": false,
72
+ "type": "boolean"
73
+ }
74
+ },
75
+ "required": [
76
+ "type",
77
+ "meta",
78
+ "answer"
79
+ ],
80
+ "additionalProperties": false
81
+ },
82
+ {
83
+ "type": "object",
84
+ "properties": {
85
+ "type": {
86
+ "type": "string",
87
+ "const": "checkBoxes"
88
+ },
89
+ "meta": {
90
+ "type": "object",
91
+ "properties": {
92
+ "schemaVersion": {
93
+ "default": "1.0",
94
+ "type": "string"
95
+ }
96
+ },
97
+ "required": [
98
+ "schemaVersion"
99
+ ],
100
+ "additionalProperties": false
101
+ },
102
+ "answer": {
103
+ "default": [
104
+ ""
105
+ ],
106
+ "type": "array",
107
+ "items": {
108
+ "type": "string"
109
+ }
110
+ }
111
+ },
112
+ "required": [
113
+ "type",
114
+ "meta",
115
+ "answer"
116
+ ],
117
+ "additionalProperties": false
118
+ },
119
+ {
120
+ "type": "object",
121
+ "properties": {
122
+ "type": {
123
+ "type": "string",
124
+ "const": "currency"
125
+ },
126
+ "meta": {
127
+ "type": "object",
128
+ "properties": {
129
+ "schemaVersion": {
130
+ "default": "1.0",
131
+ "type": "string"
132
+ }
133
+ },
134
+ "required": [
135
+ "schemaVersion"
136
+ ],
137
+ "additionalProperties": false
138
+ },
139
+ "answer": {
140
+ "default": 0,
141
+ "type": "number"
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": "date"
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": "",
173
+ "type": "string"
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": "dateRange"
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
+ "type": "object",
205
+ "properties": {
206
+ "start": {
207
+ "default": "",
208
+ "type": "string"
209
+ },
210
+ "end": {
211
+ "default": "",
212
+ "type": "string"
213
+ }
214
+ },
215
+ "required": [
216
+ "start",
217
+ "end"
218
+ ],
219
+ "additionalProperties": false
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": "email"
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
+ "answer": {
250
+ "default": "",
251
+ "type": "string"
252
+ }
253
+ },
254
+ "required": [
255
+ "type",
256
+ "meta",
257
+ "answer"
258
+ ],
259
+ "additionalProperties": false
260
+ },
261
+ {
262
+ "type": "object",
263
+ "properties": {
264
+ "type": {
265
+ "type": "string",
266
+ "const": "licenseSearch"
267
+ },
268
+ "meta": {
269
+ "type": "object",
270
+ "properties": {
271
+ "schemaVersion": {
272
+ "default": "1.0",
273
+ "type": "string"
274
+ }
275
+ },
276
+ "required": [
277
+ "schemaVersion"
278
+ ],
279
+ "additionalProperties": false
280
+ },
281
+ "answer": {
282
+ "default": [],
283
+ "type": "array",
284
+ "items": {
285
+ "type": "object",
286
+ "properties": {
287
+ "licenseId": {
288
+ "default": "",
289
+ "type": "string"
290
+ },
291
+ "licenseName": {
292
+ "default": "",
293
+ "type": "string"
294
+ }
295
+ },
296
+ "required": [
297
+ "licenseId",
298
+ "licenseName"
299
+ ],
300
+ "additionalProperties": false
301
+ }
302
+ }
303
+ },
304
+ "required": [
305
+ "type",
306
+ "meta",
307
+ "answer"
308
+ ],
309
+ "additionalProperties": false
310
+ },
311
+ {
312
+ "type": "object",
313
+ "properties": {
314
+ "type": {
315
+ "type": "string",
316
+ "const": "metadataStandardSearch"
317
+ },
318
+ "meta": {
319
+ "type": "object",
320
+ "properties": {
321
+ "schemaVersion": {
322
+ "default": "1.0",
323
+ "type": "string"
324
+ }
325
+ },
326
+ "required": [
327
+ "schemaVersion"
328
+ ],
329
+ "additionalProperties": false
330
+ },
331
+ "answer": {
332
+ "default": [],
333
+ "type": "array",
334
+ "items": {
335
+ "type": "object",
336
+ "properties": {
337
+ "metadataStandardId": {
338
+ "default": "",
339
+ "type": "string"
340
+ },
341
+ "metadataStandardName": {
342
+ "default": "",
343
+ "type": "string"
344
+ }
345
+ },
346
+ "required": [
347
+ "metadataStandardId",
348
+ "metadataStandardName"
349
+ ],
350
+ "additionalProperties": false
351
+ }
352
+ }
353
+ },
354
+ "required": [
355
+ "type",
356
+ "meta",
357
+ "answer"
358
+ ],
359
+ "additionalProperties": false
360
+ },
361
+ {
362
+ "type": "object",
363
+ "properties": {
364
+ "type": {
365
+ "type": "string",
366
+ "const": "multiselectBox"
367
+ },
368
+ "meta": {
369
+ "type": "object",
370
+ "properties": {
371
+ "schemaVersion": {
372
+ "default": "1.0",
373
+ "type": "string"
374
+ }
375
+ },
376
+ "required": [
377
+ "schemaVersion"
378
+ ],
379
+ "additionalProperties": false
380
+ },
381
+ "answer": {
382
+ "default": [
383
+ ""
384
+ ],
385
+ "type": "array",
386
+ "items": {
387
+ "type": "string"
388
+ }
389
+ }
390
+ },
391
+ "required": [
392
+ "type",
393
+ "meta",
394
+ "answer"
395
+ ],
396
+ "additionalProperties": false
397
+ },
398
+ {
399
+ "type": "object",
400
+ "properties": {
401
+ "type": {
402
+ "type": "string",
403
+ "const": "number"
404
+ },
405
+ "meta": {
406
+ "type": "object",
407
+ "properties": {
408
+ "schemaVersion": {
409
+ "default": "1.0",
410
+ "type": "string"
411
+ }
412
+ },
413
+ "required": [
414
+ "schemaVersion"
415
+ ],
416
+ "additionalProperties": false
417
+ },
418
+ "answer": {
419
+ "default": 0,
420
+ "type": "number"
421
+ }
422
+ },
423
+ "required": [
424
+ "type",
425
+ "meta",
426
+ "answer"
427
+ ],
428
+ "additionalProperties": false
429
+ },
430
+ {
431
+ "type": "object",
432
+ "properties": {
433
+ "type": {
434
+ "type": "string",
435
+ "const": "numberRange"
436
+ },
437
+ "meta": {
438
+ "type": "object",
439
+ "properties": {
440
+ "schemaVersion": {
441
+ "default": "1.0",
442
+ "type": "string"
443
+ }
444
+ },
445
+ "required": [
446
+ "schemaVersion"
447
+ ],
448
+ "additionalProperties": false
449
+ },
450
+ "answer": {
451
+ "type": "object",
452
+ "properties": {
453
+ "start": {
454
+ "default": 0,
455
+ "type": "number"
456
+ },
457
+ "end": {
458
+ "default": 0,
459
+ "type": "number"
460
+ }
461
+ },
462
+ "required": [
463
+ "start",
464
+ "end"
465
+ ],
466
+ "additionalProperties": false
467
+ }
468
+ },
469
+ "required": [
470
+ "type",
471
+ "meta",
472
+ "answer"
473
+ ],
474
+ "additionalProperties": false
475
+ },
476
+ {
477
+ "type": "object",
478
+ "properties": {
479
+ "type": {
480
+ "type": "string",
481
+ "const": "radioButtons"
482
+ },
483
+ "meta": {
484
+ "type": "object",
485
+ "properties": {
486
+ "schemaVersion": {
487
+ "default": "1.0",
488
+ "type": "string"
489
+ }
490
+ },
491
+ "required": [
492
+ "schemaVersion"
493
+ ],
494
+ "additionalProperties": false
495
+ },
496
+ "answer": {
497
+ "default": "",
498
+ "type": "string"
499
+ }
500
+ },
501
+ "required": [
502
+ "type",
503
+ "meta",
504
+ "answer"
505
+ ],
506
+ "additionalProperties": false
507
+ },
508
+ {
509
+ "type": "object",
510
+ "properties": {
511
+ "type": {
512
+ "type": "string",
513
+ "const": "repositorySearch"
514
+ },
515
+ "meta": {
516
+ "type": "object",
517
+ "properties": {
518
+ "schemaVersion": {
519
+ "default": "1.0",
520
+ "type": "string"
521
+ }
522
+ },
523
+ "required": [
524
+ "schemaVersion"
525
+ ],
526
+ "additionalProperties": false
527
+ },
528
+ "answer": {
529
+ "default": [],
530
+ "type": "array",
531
+ "items": {
532
+ "type": "object",
533
+ "properties": {
534
+ "repositoryId": {
535
+ "default": "",
536
+ "type": "string"
537
+ },
538
+ "repositoryName": {
539
+ "default": "",
540
+ "type": "string"
541
+ }
542
+ },
543
+ "required": [
544
+ "repositoryId",
545
+ "repositoryName"
546
+ ],
547
+ "additionalProperties": false
548
+ }
549
+ }
550
+ },
551
+ "required": [
552
+ "type",
553
+ "meta",
554
+ "answer"
555
+ ],
556
+ "additionalProperties": false
557
+ },
558
+ {
559
+ "type": "object",
560
+ "properties": {
561
+ "type": {
562
+ "type": "string",
563
+ "const": "selectBox"
564
+ },
565
+ "meta": {
566
+ "type": "object",
567
+ "properties": {
568
+ "schemaVersion": {
569
+ "default": "1.0",
570
+ "type": "string"
571
+ }
572
+ },
573
+ "required": [
574
+ "schemaVersion"
575
+ ],
576
+ "additionalProperties": false
577
+ },
578
+ "answer": {
579
+ "default": "",
580
+ "type": "string"
581
+ }
582
+ },
583
+ "required": [
584
+ "type",
585
+ "meta",
586
+ "answer"
587
+ ],
588
+ "additionalProperties": false
589
+ },
590
+ {
591
+ "type": "object",
592
+ "properties": {
593
+ "type": {
594
+ "type": "string",
595
+ "const": "table"
596
+ },
597
+ "meta": {
598
+ "type": "object",
599
+ "properties": {
600
+ "schemaVersion": {
601
+ "default": "1.0",
602
+ "type": "string"
603
+ }
604
+ },
605
+ "required": [
606
+ "schemaVersion"
607
+ ],
608
+ "additionalProperties": false
609
+ },
610
+ "columnHeadings": {
611
+ "default": [
612
+ "Column A"
613
+ ],
614
+ "type": "array",
615
+ "items": {
616
+ "type": "string"
617
+ }
618
+ },
619
+ "answer": {
620
+ "type": "array",
621
+ "items": {
622
+ "type": "object",
623
+ "properties": {
624
+ "columns": {
625
+ "type": "array",
626
+ "items": {
627
+ "oneOf": [
628
+ {
629
+ "type": "object",
630
+ "properties": {
631
+ "type": {
632
+ "type": "string",
633
+ "const": "affiliationSearch"
634
+ },
635
+ "meta": {
636
+ "type": "object",
637
+ "properties": {
638
+ "schemaVersion": {
639
+ "default": "1.0",
640
+ "type": "string"
641
+ }
642
+ },
643
+ "required": [
644
+ "schemaVersion"
645
+ ],
646
+ "additionalProperties": false
647
+ },
648
+ "answer": {
649
+ "type": "object",
650
+ "properties": {
651
+ "affiliationId": {
652
+ "default": "",
653
+ "type": "string"
654
+ },
655
+ "affiliationName": {
656
+ "default": "",
657
+ "type": "string"
658
+ }
659
+ },
660
+ "required": [
661
+ "affiliationId",
662
+ "affiliationName"
663
+ ],
664
+ "additionalProperties": false
665
+ }
666
+ },
667
+ "required": [
668
+ "type",
669
+ "meta",
670
+ "answer"
671
+ ],
672
+ "additionalProperties": false
673
+ },
674
+ {
675
+ "type": "object",
676
+ "properties": {
677
+ "type": {
678
+ "type": "string",
679
+ "const": "boolean"
680
+ },
681
+ "meta": {
682
+ "type": "object",
683
+ "properties": {
684
+ "schemaVersion": {
685
+ "default": "1.0",
686
+ "type": "string"
687
+ }
688
+ },
689
+ "required": [
690
+ "schemaVersion"
691
+ ],
692
+ "additionalProperties": false
693
+ },
694
+ "answer": {
695
+ "default": false,
696
+ "type": "boolean"
697
+ }
698
+ },
699
+ "required": [
700
+ "type",
701
+ "meta",
702
+ "answer"
703
+ ],
704
+ "additionalProperties": false
705
+ },
706
+ {
707
+ "type": "object",
708
+ "properties": {
709
+ "type": {
710
+ "type": "string",
711
+ "const": "checkBoxes"
712
+ },
713
+ "meta": {
714
+ "type": "object",
715
+ "properties": {
716
+ "schemaVersion": {
717
+ "default": "1.0",
718
+ "type": "string"
719
+ }
720
+ },
721
+ "required": [
722
+ "schemaVersion"
723
+ ],
724
+ "additionalProperties": false
725
+ },
726
+ "answer": {
727
+ "default": [
728
+ ""
729
+ ],
730
+ "type": "array",
731
+ "items": {
732
+ "type": "string"
733
+ }
734
+ }
735
+ },
736
+ "required": [
737
+ "type",
738
+ "meta",
739
+ "answer"
740
+ ],
741
+ "additionalProperties": false
742
+ },
743
+ {
744
+ "type": "object",
745
+ "properties": {
746
+ "type": {
747
+ "type": "string",
748
+ "const": "currency"
749
+ },
750
+ "meta": {
751
+ "type": "object",
752
+ "properties": {
753
+ "schemaVersion": {
754
+ "default": "1.0",
755
+ "type": "string"
756
+ }
757
+ },
758
+ "required": [
759
+ "schemaVersion"
760
+ ],
761
+ "additionalProperties": false
762
+ },
763
+ "answer": {
764
+ "default": 0,
765
+ "type": "number"
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": "date"
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": "",
797
+ "type": "string"
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": "dateRange"
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
+ "type": "object",
829
+ "properties": {
830
+ "start": {
831
+ "default": "",
832
+ "type": "string"
833
+ },
834
+ "end": {
835
+ "default": "",
836
+ "type": "string"
837
+ }
838
+ },
839
+ "required": [
840
+ "start",
841
+ "end"
842
+ ],
843
+ "additionalProperties": false
844
+ }
845
+ },
846
+ "required": [
847
+ "type",
848
+ "meta",
849
+ "answer"
850
+ ],
851
+ "additionalProperties": false
852
+ },
853
+ {
854
+ "type": "object",
855
+ "properties": {
856
+ "type": {
857
+ "type": "string",
858
+ "const": "email"
859
+ },
860
+ "meta": {
861
+ "type": "object",
862
+ "properties": {
863
+ "schemaVersion": {
864
+ "default": "1.0",
865
+ "type": "string"
866
+ }
867
+ },
868
+ "required": [
869
+ "schemaVersion"
870
+ ],
871
+ "additionalProperties": false
872
+ },
873
+ "answer": {
874
+ "default": "",
875
+ "type": "string"
876
+ }
877
+ },
878
+ "required": [
879
+ "type",
880
+ "meta",
881
+ "answer"
882
+ ],
883
+ "additionalProperties": false
884
+ },
885
+ {
886
+ "type": "object",
887
+ "properties": {
888
+ "type": {
889
+ "type": "string",
890
+ "const": "licenseSearch"
891
+ },
892
+ "meta": {
893
+ "type": "object",
894
+ "properties": {
895
+ "schemaVersion": {
896
+ "default": "1.0",
897
+ "type": "string"
898
+ }
899
+ },
900
+ "required": [
901
+ "schemaVersion"
902
+ ],
903
+ "additionalProperties": false
904
+ },
905
+ "answer": {
906
+ "default": [],
907
+ "type": "array",
908
+ "items": {
909
+ "type": "object",
910
+ "properties": {
911
+ "licenseId": {
912
+ "default": "",
913
+ "type": "string"
914
+ },
915
+ "licenseName": {
916
+ "default": "",
917
+ "type": "string"
918
+ }
919
+ },
920
+ "required": [
921
+ "licenseId",
922
+ "licenseName"
923
+ ],
924
+ "additionalProperties": false
925
+ }
926
+ }
927
+ },
928
+ "required": [
929
+ "type",
930
+ "meta",
931
+ "answer"
932
+ ],
933
+ "additionalProperties": false
934
+ },
935
+ {
936
+ "type": "object",
937
+ "properties": {
938
+ "type": {
939
+ "type": "string",
940
+ "const": "metadataStandardSearch"
941
+ },
942
+ "meta": {
943
+ "type": "object",
944
+ "properties": {
945
+ "schemaVersion": {
946
+ "default": "1.0",
947
+ "type": "string"
948
+ }
949
+ },
950
+ "required": [
951
+ "schemaVersion"
952
+ ],
953
+ "additionalProperties": false
954
+ },
955
+ "answer": {
956
+ "default": [],
957
+ "type": "array",
958
+ "items": {
959
+ "type": "object",
960
+ "properties": {
961
+ "metadataStandardId": {
962
+ "default": "",
963
+ "type": "string"
964
+ },
965
+ "metadataStandardName": {
966
+ "default": "",
967
+ "type": "string"
968
+ }
969
+ },
970
+ "required": [
971
+ "metadataStandardId",
972
+ "metadataStandardName"
973
+ ],
974
+ "additionalProperties": false
975
+ }
976
+ }
977
+ },
978
+ "required": [
979
+ "type",
980
+ "meta",
981
+ "answer"
982
+ ],
983
+ "additionalProperties": false
984
+ },
985
+ {
986
+ "type": "object",
987
+ "properties": {
988
+ "type": {
989
+ "type": "string",
990
+ "const": "multiselectBox"
991
+ },
992
+ "meta": {
993
+ "type": "object",
994
+ "properties": {
995
+ "schemaVersion": {
996
+ "default": "1.0",
997
+ "type": "string"
998
+ }
999
+ },
1000
+ "required": [
1001
+ "schemaVersion"
1002
+ ],
1003
+ "additionalProperties": false
1004
+ },
1005
+ "answer": {
1006
+ "default": [
1007
+ ""
1008
+ ],
1009
+ "type": "array",
1010
+ "items": {
1011
+ "type": "string"
1012
+ }
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "type",
1017
+ "meta",
1018
+ "answer"
1019
+ ],
1020
+ "additionalProperties": false
1021
+ },
1022
+ {
1023
+ "type": "object",
1024
+ "properties": {
1025
+ "type": {
1026
+ "type": "string",
1027
+ "const": "number"
1028
+ },
1029
+ "meta": {
1030
+ "type": "object",
1031
+ "properties": {
1032
+ "schemaVersion": {
1033
+ "default": "1.0",
1034
+ "type": "string"
1035
+ }
1036
+ },
1037
+ "required": [
1038
+ "schemaVersion"
1039
+ ],
1040
+ "additionalProperties": false
1041
+ },
1042
+ "answer": {
1043
+ "default": 0,
1044
+ "type": "number"
1045
+ }
1046
+ },
1047
+ "required": [
1048
+ "type",
1049
+ "meta",
1050
+ "answer"
1051
+ ],
1052
+ "additionalProperties": false
1053
+ },
1054
+ {
1055
+ "type": "object",
1056
+ "properties": {
1057
+ "type": {
1058
+ "type": "string",
1059
+ "const": "numberWithContext"
1060
+ },
1061
+ "meta": {
1062
+ "type": "object",
1063
+ "properties": {
1064
+ "schemaVersion": {
1065
+ "default": "1.0",
1066
+ "type": "string"
1067
+ }
1068
+ },
1069
+ "required": [
1070
+ "schemaVersion"
1071
+ ],
1072
+ "additionalProperties": false
1073
+ },
1074
+ "answer": {
1075
+ "type": "object",
1076
+ "properties": {
1077
+ "value": {
1078
+ "default": 0,
1079
+ "type": "number"
1080
+ },
1081
+ "context": {
1082
+ "default": "",
1083
+ "type": "string"
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "value",
1088
+ "context"
1089
+ ],
1090
+ "additionalProperties": false
1091
+ }
1092
+ },
1093
+ "required": [
1094
+ "type",
1095
+ "meta",
1096
+ "answer"
1097
+ ],
1098
+ "additionalProperties": false
1099
+ },
1100
+ {
1101
+ "type": "object",
1102
+ "properties": {
1103
+ "type": {
1104
+ "type": "string",
1105
+ "const": "radioButtons"
1106
+ },
1107
+ "meta": {
1108
+ "type": "object",
1109
+ "properties": {
1110
+ "schemaVersion": {
1111
+ "default": "1.0",
1112
+ "type": "string"
1113
+ }
1114
+ },
1115
+ "required": [
1116
+ "schemaVersion"
1117
+ ],
1118
+ "additionalProperties": false
1119
+ },
1120
+ "answer": {
1121
+ "default": "",
1122
+ "type": "string"
1123
+ }
1124
+ },
1125
+ "required": [
1126
+ "type",
1127
+ "meta",
1128
+ "answer"
1129
+ ],
1130
+ "additionalProperties": false
1131
+ },
1132
+ {
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "type": {
1136
+ "type": "string",
1137
+ "const": "repositorySearch"
1138
+ },
1139
+ "meta": {
1140
+ "type": "object",
1141
+ "properties": {
1142
+ "schemaVersion": {
1143
+ "default": "1.0",
1144
+ "type": "string"
1145
+ }
1146
+ },
1147
+ "required": [
1148
+ "schemaVersion"
1149
+ ],
1150
+ "additionalProperties": false
1151
+ },
1152
+ "answer": {
1153
+ "default": [],
1154
+ "type": "array",
1155
+ "items": {
1156
+ "type": "object",
1157
+ "properties": {
1158
+ "repositoryId": {
1159
+ "default": "",
1160
+ "type": "string"
1161
+ },
1162
+ "repositoryName": {
1163
+ "default": "",
1164
+ "type": "string"
1165
+ }
1166
+ },
1167
+ "required": [
1168
+ "repositoryId",
1169
+ "repositoryName"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ }
1173
+ }
1174
+ },
1175
+ "required": [
1176
+ "type",
1177
+ "meta",
1178
+ "answer"
1179
+ ],
1180
+ "additionalProperties": false
1181
+ },
1182
+ {
1183
+ "type": "object",
1184
+ "properties": {
1185
+ "type": {
1186
+ "type": "string",
1187
+ "const": "selectBox"
1188
+ },
1189
+ "meta": {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "schemaVersion": {
1193
+ "default": "1.0",
1194
+ "type": "string"
1195
+ }
1196
+ },
1197
+ "required": [
1198
+ "schemaVersion"
1199
+ ],
1200
+ "additionalProperties": false
1201
+ },
1202
+ "answer": {
1203
+ "default": "",
1204
+ "type": "string"
1205
+ }
1206
+ },
1207
+ "required": [
1208
+ "type",
1209
+ "meta",
1210
+ "answer"
1211
+ ],
1212
+ "additionalProperties": false
1213
+ },
1214
+ {
1215
+ "type": "object",
1216
+ "properties": {
1217
+ "type": {
1218
+ "type": "string",
1219
+ "const": "text"
1220
+ },
1221
+ "meta": {
1222
+ "type": "object",
1223
+ "properties": {
1224
+ "schemaVersion": {
1225
+ "default": "1.0",
1226
+ "type": "string"
1227
+ }
1228
+ },
1229
+ "required": [
1230
+ "schemaVersion"
1231
+ ],
1232
+ "additionalProperties": false
1233
+ },
1234
+ "answer": {
1235
+ "default": "",
1236
+ "type": "string"
1237
+ }
1238
+ },
1239
+ "required": [
1240
+ "type",
1241
+ "meta",
1242
+ "answer"
1243
+ ],
1244
+ "additionalProperties": false
1245
+ },
1246
+ {
1247
+ "type": "object",
1248
+ "properties": {
1249
+ "type": {
1250
+ "type": "string",
1251
+ "const": "textArea"
1252
+ },
1253
+ "meta": {
1254
+ "type": "object",
1255
+ "properties": {
1256
+ "schemaVersion": {
1257
+ "default": "1.0",
1258
+ "type": "string"
1259
+ }
1260
+ },
1261
+ "required": [
1262
+ "schemaVersion"
1263
+ ],
1264
+ "additionalProperties": false
1265
+ },
1266
+ "answer": {
1267
+ "default": "",
1268
+ "type": "string"
1269
+ }
1270
+ },
1271
+ "required": [
1272
+ "type",
1273
+ "meta",
1274
+ "answer"
1275
+ ],
1276
+ "additionalProperties": false
1277
+ },
1278
+ {
1279
+ "type": "object",
1280
+ "properties": {
1281
+ "type": {
1282
+ "type": "string",
1283
+ "const": "url"
1284
+ },
1285
+ "meta": {
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "schemaVersion": {
1289
+ "default": "1.0",
1290
+ "type": "string"
1291
+ }
1292
+ },
1293
+ "required": [
1294
+ "schemaVersion"
1295
+ ],
1296
+ "additionalProperties": false
1297
+ },
1298
+ "answer": {
1299
+ "default": "",
1300
+ "type": "string"
1301
+ }
1302
+ },
1303
+ "required": [
1304
+ "type",
1305
+ "meta",
1306
+ "answer"
1307
+ ],
1308
+ "additionalProperties": false
1309
+ }
1310
+ ]
1311
+ }
1312
+ }
1313
+ },
1314
+ "required": [
1315
+ "columns"
1316
+ ],
1317
+ "additionalProperties": false
1318
+ }
1319
+ }
1320
+ },
1321
+ "required": [
1322
+ "type",
1323
+ "meta",
1324
+ "columnHeadings",
1325
+ "answer"
1326
+ ],
1327
+ "additionalProperties": false
1328
+ },
1329
+ {
1330
+ "type": "object",
1331
+ "properties": {
1332
+ "type": {
1333
+ "type": "string",
1334
+ "const": "text"
1335
+ },
1336
+ "meta": {
1337
+ "type": "object",
1338
+ "properties": {
1339
+ "schemaVersion": {
1340
+ "default": "1.0",
1341
+ "type": "string"
1342
+ }
1343
+ },
1344
+ "required": [
1345
+ "schemaVersion"
1346
+ ],
1347
+ "additionalProperties": false
1348
+ },
1349
+ "answer": {
1350
+ "default": "",
1351
+ "type": "string"
1352
+ }
1353
+ },
1354
+ "required": [
1355
+ "type",
1356
+ "meta",
1357
+ "answer"
1358
+ ],
1359
+ "additionalProperties": false
1360
+ },
1361
+ {
1362
+ "type": "object",
1363
+ "properties": {
1364
+ "type": {
1365
+ "type": "string",
1366
+ "const": "textArea"
1367
+ },
1368
+ "meta": {
1369
+ "type": "object",
1370
+ "properties": {
1371
+ "schemaVersion": {
1372
+ "default": "1.0",
1373
+ "type": "string"
1374
+ }
1375
+ },
1376
+ "required": [
1377
+ "schemaVersion"
1378
+ ],
1379
+ "additionalProperties": false
1380
+ },
1381
+ "answer": {
1382
+ "default": "",
1383
+ "type": "string"
1384
+ }
1385
+ },
1386
+ "required": [
1387
+ "type",
1388
+ "meta",
1389
+ "answer"
1390
+ ],
1391
+ "additionalProperties": false
1392
+ },
1393
+ {
1394
+ "type": "object",
1395
+ "properties": {
1396
+ "type": {
1397
+ "type": "string",
1398
+ "const": "url"
1399
+ },
1400
+ "meta": {
1401
+ "type": "object",
1402
+ "properties": {
1403
+ "schemaVersion": {
1404
+ "default": "1.0",
1405
+ "type": "string"
1406
+ }
1407
+ },
1408
+ "required": [
1409
+ "schemaVersion"
1410
+ ],
1411
+ "additionalProperties": false
1412
+ },
1413
+ "answer": {
1414
+ "default": "",
1415
+ "type": "string"
1416
+ }
1417
+ },
1418
+ "required": [
1419
+ "type",
1420
+ "meta",
1421
+ "answer"
1422
+ ],
1423
+ "additionalProperties": false
1424
+ }
1425
+ ]
1426
+ }