@dmptool/types 2.1.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 (121) 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/extension.d.ts +111 -0
  13. package/dist/dmp/index.js +48 -2
  14. package/dist/questions/__tests__/defaults.spec.js +2 -2
  15. package/dist/questions/__tests__/optionBasedQuestions.spec.js +8 -4
  16. package/dist/questions/dateQuestions.d.ts +4 -0
  17. package/dist/questions/dateQuestions.js +2 -2
  18. package/dist/questions/index.d.ts +28 -0
  19. package/dist/questions/numberQuestions.d.ts +8 -0
  20. package/dist/questions/numberQuestions.js +4 -4
  21. package/dist/questions/optionBasedQuestions.d.ts +10 -0
  22. package/dist/questions/optionBasedQuestions.js +5 -5
  23. package/dist/questions/tableQuestions.d.ts +70 -0
  24. package/dist/questions/textQuestions.d.ts +4 -0
  25. package/dist/questions/textQuestions.js +2 -2
  26. package/dist/schemas/affiliationSearchAnswer.schema.json +3 -0
  27. package/dist/schemas/anyAnswer.schema.json +111 -0
  28. package/dist/schemas/anyQuestion.schema.json +84 -0
  29. package/dist/schemas/anyTableColumnAnswer.schema.json +54 -0
  30. package/dist/schemas/anyTableColumnQuestion.schema.json +33 -0
  31. package/dist/schemas/booleanAnswer.schema.json +3 -0
  32. package/dist/schemas/booleanQuestion.schema.json +3 -0
  33. package/dist/schemas/checkboxesAnswer.schema.json +3 -0
  34. package/dist/schemas/checkboxesQuestion.schema.json +3 -0
  35. package/dist/schemas/currencyAnswer.schema.json +3 -0
  36. package/dist/schemas/currencyQuestion.schema.json +3 -0
  37. package/dist/schemas/dateAnswer.schema.json +3 -0
  38. package/dist/schemas/dateQuestion.schema.json +3 -0
  39. package/dist/schemas/dateRangeAnswer.schema.json +3 -0
  40. package/dist/schemas/dateRangeQuestion.schema.json +3 -0
  41. package/dist/schemas/dmpExtension.schema.json +111 -0
  42. package/dist/schemas/emailAnswer.schema.json +3 -0
  43. package/dist/schemas/emailQuestion.schema.json +3 -0
  44. package/dist/schemas/licenseSearchAnswer.schema.json +3 -0
  45. package/dist/schemas/metadataStandardSearchAnswer.schema.json +3 -0
  46. package/dist/schemas/multiselectBoxAnswer.schema.json +3 -0
  47. package/dist/schemas/multiselectBoxQuestion.schema.json +3 -0
  48. package/dist/schemas/numberAnswer.schema.json +3 -0
  49. package/dist/schemas/numberQuestion.schema.json +3 -0
  50. package/dist/schemas/numberRangeAnswer.schema.json +3 -0
  51. package/dist/schemas/numberRangeQuestion.schema.json +3 -0
  52. package/dist/schemas/numberWithContextAnswer.schema.json +3 -0
  53. package/dist/schemas/numberWithContextQuestion.schema.json +3 -0
  54. package/dist/schemas/radioButtonsAnswer.schema.json +3 -0
  55. package/dist/schemas/radioButtonsQuestion.schema.json +3 -0
  56. package/dist/schemas/repositorySearchAnswer.schema.json +3 -0
  57. package/dist/schemas/researchOutputTableAnswer.schema.json +3344 -9
  58. package/dist/schemas/selectBoxAnswer.schema.json +3 -0
  59. package/dist/schemas/selectBoxQuestion.schema.json +3 -0
  60. package/dist/schemas/tableAnswer.schema.json +57 -0
  61. package/dist/schemas/tableQuestion.schema.json +33 -0
  62. package/dist/schemas/textAnswer.schema.json +3 -0
  63. package/dist/schemas/textAreaAnswer.schema.json +3 -0
  64. package/dist/schemas/urlAnswer.schema.json +3 -0
  65. package/dist/schemas/urlQuestion.schema.json +3 -0
  66. package/package.json +9 -4
  67. package/schemas/.placeholder +0 -0
  68. package/schemas/affiliationSearchAnswer.schema.json +50 -0
  69. package/schemas/affiliationSearchQuestion.schema.json +142 -0
  70. package/schemas/anyAnswer.schema.json +1537 -0
  71. package/schemas/anyQuestion.schema.json +4828 -0
  72. package/schemas/anyTableColumnAnswer.schema.json +741 -0
  73. package/schemas/anyTableColumnQuestion.schema.json +1560 -0
  74. package/schemas/booleanAnswer.schema.json +36 -0
  75. package/schemas/booleanQuestion.schema.json +55 -0
  76. package/schemas/checkboxesAnswer.schema.json +41 -0
  77. package/schemas/checkboxesQuestion.schema.json +80 -0
  78. package/schemas/currencyAnswer.schema.json +36 -0
  79. package/schemas/currencyQuestion.schema.json +73 -0
  80. package/schemas/dateAnswer.schema.json +36 -0
  81. package/schemas/datePickerAnswer.schema.json +37 -0
  82. package/schemas/datePickerQuestion.schema.json +52 -0
  83. package/schemas/dateQuestion.schema.json +66 -0
  84. package/schemas/dateRangeAnswer.schema.json +50 -0
  85. package/schemas/dateRangeQuestion.schema.json +124 -0
  86. package/schemas/dmp.schema.json +2070 -0
  87. package/schemas/dmpExtension.schema.json +1985 -0
  88. package/schemas/emailAnswer.schema.json +36 -0
  89. package/schemas/emailQuestion.schema.json +71 -0
  90. package/schemas/filteredSearchAnswer.schema.json +40 -0
  91. package/schemas/filteredSearchQuestion.schema.json +130 -0
  92. package/schemas/licenseSearchAnswer.schema.json +54 -0
  93. package/schemas/licenseSearchQuestion.schema.json +140 -0
  94. package/schemas/metadataStandardSearchAnswer.schema.json +54 -0
  95. package/schemas/metadataStandardSearchQuestion.schema.json +141 -0
  96. package/schemas/multiselectBoxAnswer.schema.json +41 -0
  97. package/schemas/multiselectBoxQuestion.schema.json +87 -0
  98. package/schemas/numberAnswer.schema.json +36 -0
  99. package/schemas/numberQuestion.schema.json +68 -0
  100. package/schemas/numberRangeAnswer.schema.json +50 -0
  101. package/schemas/numberRangeQuestion.schema.json +128 -0
  102. package/schemas/numberWithContextAnswer.schema.json +50 -0
  103. package/schemas/numberWithContextQuestion.schema.json +98 -0
  104. package/schemas/radioButtonsAnswer.schema.json +36 -0
  105. package/schemas/radioButtonsQuestion.schema.json +80 -0
  106. package/schemas/repositorySearchAnswer.schema.json +54 -0
  107. package/schemas/repositorySearchQuestion.schema.json +140 -0
  108. package/schemas/researchOutputTableAnswer.schema.json +20065 -0
  109. package/schemas/researchOutputTableQuestion.schema.json +140 -0
  110. package/schemas/selectBoxAnswer.schema.json +36 -0
  111. package/schemas/selectBoxQuestion.schema.json +87 -0
  112. package/schemas/tableAnswer.schema.json +797 -0
  113. package/schemas/tableQuestion.schema.json +1662 -0
  114. package/schemas/textAnswer.schema.json +36 -0
  115. package/schemas/textAreaAnswer.schema.json +36 -0
  116. package/schemas/textAreaQuestion.schema.json +78 -0
  117. package/schemas/textQuestion.schema.json +63 -0
  118. package/schemas/typeaheadSearchAnswer.schema.json +37 -0
  119. package/schemas/typeaheadSearchQuestion.schema.json +120 -0
  120. package/schemas/urlAnswer.schema.json +36 -0
  121. package/schemas/urlQuestion.schema.json +66 -0
@@ -0,0 +1,797 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "table"
8
+ },
9
+ "meta": {
10
+ "type": "object",
11
+ "properties": {
12
+ "schemaVersion": {
13
+ "default": "1.0",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "required": [
18
+ "schemaVersion"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "comment": {
23
+ "type": "string"
24
+ },
25
+ "columnHeadings": {
26
+ "default": [
27
+ "Column A"
28
+ ],
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "answer": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "object",
38
+ "properties": {
39
+ "columns": {
40
+ "type": "array",
41
+ "items": {
42
+ "oneOf": [
43
+ {
44
+ "type": "object",
45
+ "properties": {
46
+ "type": {
47
+ "type": "string",
48
+ "const": "affiliationSearch"
49
+ },
50
+ "meta": {
51
+ "type": "object",
52
+ "properties": {
53
+ "schemaVersion": {
54
+ "default": "1.0",
55
+ "type": "string"
56
+ }
57
+ },
58
+ "required": [
59
+ "schemaVersion"
60
+ ],
61
+ "additionalProperties": false
62
+ },
63
+ "comment": {
64
+ "type": "string"
65
+ },
66
+ "answer": {
67
+ "type": "object",
68
+ "properties": {
69
+ "affiliationId": {
70
+ "default": "",
71
+ "type": "string"
72
+ },
73
+ "affiliationName": {
74
+ "default": "",
75
+ "type": "string"
76
+ }
77
+ },
78
+ "required": [
79
+ "affiliationId",
80
+ "affiliationName"
81
+ ],
82
+ "additionalProperties": false
83
+ }
84
+ },
85
+ "required": [
86
+ "type",
87
+ "meta",
88
+ "answer"
89
+ ],
90
+ "additionalProperties": false
91
+ },
92
+ {
93
+ "type": "object",
94
+ "properties": {
95
+ "type": {
96
+ "type": "string",
97
+ "const": "boolean"
98
+ },
99
+ "meta": {
100
+ "type": "object",
101
+ "properties": {
102
+ "schemaVersion": {
103
+ "default": "1.0",
104
+ "type": "string"
105
+ }
106
+ },
107
+ "required": [
108
+ "schemaVersion"
109
+ ],
110
+ "additionalProperties": false
111
+ },
112
+ "comment": {
113
+ "type": "string"
114
+ },
115
+ "answer": {
116
+ "default": false,
117
+ "type": "boolean"
118
+ }
119
+ },
120
+ "required": [
121
+ "type",
122
+ "meta",
123
+ "answer"
124
+ ],
125
+ "additionalProperties": false
126
+ },
127
+ {
128
+ "type": "object",
129
+ "properties": {
130
+ "type": {
131
+ "type": "string",
132
+ "const": "checkBoxes"
133
+ },
134
+ "meta": {
135
+ "type": "object",
136
+ "properties": {
137
+ "schemaVersion": {
138
+ "default": "1.0",
139
+ "type": "string"
140
+ }
141
+ },
142
+ "required": [
143
+ "schemaVersion"
144
+ ],
145
+ "additionalProperties": false
146
+ },
147
+ "comment": {
148
+ "type": "string"
149
+ },
150
+ "answer": {
151
+ "default": [
152
+ ""
153
+ ],
154
+ "type": "array",
155
+ "items": {
156
+ "type": "string"
157
+ }
158
+ }
159
+ },
160
+ "required": [
161
+ "type",
162
+ "meta",
163
+ "answer"
164
+ ],
165
+ "additionalProperties": false
166
+ },
167
+ {
168
+ "type": "object",
169
+ "properties": {
170
+ "type": {
171
+ "type": "string",
172
+ "const": "currency"
173
+ },
174
+ "meta": {
175
+ "type": "object",
176
+ "properties": {
177
+ "schemaVersion": {
178
+ "default": "1.0",
179
+ "type": "string"
180
+ }
181
+ },
182
+ "required": [
183
+ "schemaVersion"
184
+ ],
185
+ "additionalProperties": false
186
+ },
187
+ "comment": {
188
+ "type": "string"
189
+ },
190
+ "answer": {
191
+ "default": 0,
192
+ "type": "number"
193
+ }
194
+ },
195
+ "required": [
196
+ "type",
197
+ "meta",
198
+ "answer"
199
+ ],
200
+ "additionalProperties": false
201
+ },
202
+ {
203
+ "type": "object",
204
+ "properties": {
205
+ "type": {
206
+ "type": "string",
207
+ "const": "date"
208
+ },
209
+ "meta": {
210
+ "type": "object",
211
+ "properties": {
212
+ "schemaVersion": {
213
+ "default": "1.0",
214
+ "type": "string"
215
+ }
216
+ },
217
+ "required": [
218
+ "schemaVersion"
219
+ ],
220
+ "additionalProperties": false
221
+ },
222
+ "comment": {
223
+ "type": "string"
224
+ },
225
+ "answer": {
226
+ "default": "",
227
+ "type": "string"
228
+ }
229
+ },
230
+ "required": [
231
+ "type",
232
+ "meta",
233
+ "answer"
234
+ ],
235
+ "additionalProperties": false
236
+ },
237
+ {
238
+ "type": "object",
239
+ "properties": {
240
+ "type": {
241
+ "type": "string",
242
+ "const": "dateRange"
243
+ },
244
+ "meta": {
245
+ "type": "object",
246
+ "properties": {
247
+ "schemaVersion": {
248
+ "default": "1.0",
249
+ "type": "string"
250
+ }
251
+ },
252
+ "required": [
253
+ "schemaVersion"
254
+ ],
255
+ "additionalProperties": false
256
+ },
257
+ "comment": {
258
+ "type": "string"
259
+ },
260
+ "answer": {
261
+ "type": "object",
262
+ "properties": {
263
+ "start": {
264
+ "default": "",
265
+ "type": "string"
266
+ },
267
+ "end": {
268
+ "default": "",
269
+ "type": "string"
270
+ }
271
+ },
272
+ "required": [
273
+ "start",
274
+ "end"
275
+ ],
276
+ "additionalProperties": false
277
+ }
278
+ },
279
+ "required": [
280
+ "type",
281
+ "meta",
282
+ "answer"
283
+ ],
284
+ "additionalProperties": false
285
+ },
286
+ {
287
+ "type": "object",
288
+ "properties": {
289
+ "type": {
290
+ "type": "string",
291
+ "const": "email"
292
+ },
293
+ "meta": {
294
+ "type": "object",
295
+ "properties": {
296
+ "schemaVersion": {
297
+ "default": "1.0",
298
+ "type": "string"
299
+ }
300
+ },
301
+ "required": [
302
+ "schemaVersion"
303
+ ],
304
+ "additionalProperties": false
305
+ },
306
+ "comment": {
307
+ "type": "string"
308
+ },
309
+ "answer": {
310
+ "default": "",
311
+ "type": "string"
312
+ }
313
+ },
314
+ "required": [
315
+ "type",
316
+ "meta",
317
+ "answer"
318
+ ],
319
+ "additionalProperties": false
320
+ },
321
+ {
322
+ "type": "object",
323
+ "properties": {
324
+ "type": {
325
+ "type": "string",
326
+ "const": "licenseSearch"
327
+ },
328
+ "meta": {
329
+ "type": "object",
330
+ "properties": {
331
+ "schemaVersion": {
332
+ "default": "1.0",
333
+ "type": "string"
334
+ }
335
+ },
336
+ "required": [
337
+ "schemaVersion"
338
+ ],
339
+ "additionalProperties": false
340
+ },
341
+ "comment": {
342
+ "type": "string"
343
+ },
344
+ "answer": {
345
+ "default": [],
346
+ "type": "array",
347
+ "items": {
348
+ "type": "object",
349
+ "properties": {
350
+ "licenseId": {
351
+ "default": "",
352
+ "type": "string"
353
+ },
354
+ "licenseName": {
355
+ "default": "",
356
+ "type": "string"
357
+ }
358
+ },
359
+ "required": [
360
+ "licenseId",
361
+ "licenseName"
362
+ ],
363
+ "additionalProperties": false
364
+ }
365
+ }
366
+ },
367
+ "required": [
368
+ "type",
369
+ "meta",
370
+ "answer"
371
+ ],
372
+ "additionalProperties": false
373
+ },
374
+ {
375
+ "type": "object",
376
+ "properties": {
377
+ "type": {
378
+ "type": "string",
379
+ "const": "metadataStandardSearch"
380
+ },
381
+ "meta": {
382
+ "type": "object",
383
+ "properties": {
384
+ "schemaVersion": {
385
+ "default": "1.0",
386
+ "type": "string"
387
+ }
388
+ },
389
+ "required": [
390
+ "schemaVersion"
391
+ ],
392
+ "additionalProperties": false
393
+ },
394
+ "comment": {
395
+ "type": "string"
396
+ },
397
+ "answer": {
398
+ "default": [],
399
+ "type": "array",
400
+ "items": {
401
+ "type": "object",
402
+ "properties": {
403
+ "metadataStandardId": {
404
+ "default": "",
405
+ "type": "string"
406
+ },
407
+ "metadataStandardName": {
408
+ "default": "",
409
+ "type": "string"
410
+ }
411
+ },
412
+ "required": [
413
+ "metadataStandardId",
414
+ "metadataStandardName"
415
+ ],
416
+ "additionalProperties": false
417
+ }
418
+ }
419
+ },
420
+ "required": [
421
+ "type",
422
+ "meta",
423
+ "answer"
424
+ ],
425
+ "additionalProperties": false
426
+ },
427
+ {
428
+ "type": "object",
429
+ "properties": {
430
+ "type": {
431
+ "type": "string",
432
+ "const": "multiselectBox"
433
+ },
434
+ "meta": {
435
+ "type": "object",
436
+ "properties": {
437
+ "schemaVersion": {
438
+ "default": "1.0",
439
+ "type": "string"
440
+ }
441
+ },
442
+ "required": [
443
+ "schemaVersion"
444
+ ],
445
+ "additionalProperties": false
446
+ },
447
+ "comment": {
448
+ "type": "string"
449
+ },
450
+ "answer": {
451
+ "default": [
452
+ ""
453
+ ],
454
+ "type": "array",
455
+ "items": {
456
+ "type": "string"
457
+ }
458
+ }
459
+ },
460
+ "required": [
461
+ "type",
462
+ "meta",
463
+ "answer"
464
+ ],
465
+ "additionalProperties": false
466
+ },
467
+ {
468
+ "type": "object",
469
+ "properties": {
470
+ "type": {
471
+ "type": "string",
472
+ "const": "number"
473
+ },
474
+ "meta": {
475
+ "type": "object",
476
+ "properties": {
477
+ "schemaVersion": {
478
+ "default": "1.0",
479
+ "type": "string"
480
+ }
481
+ },
482
+ "required": [
483
+ "schemaVersion"
484
+ ],
485
+ "additionalProperties": false
486
+ },
487
+ "comment": {
488
+ "type": "string"
489
+ },
490
+ "answer": {
491
+ "default": 0,
492
+ "type": "number"
493
+ }
494
+ },
495
+ "required": [
496
+ "type",
497
+ "meta",
498
+ "answer"
499
+ ],
500
+ "additionalProperties": false
501
+ },
502
+ {
503
+ "type": "object",
504
+ "properties": {
505
+ "type": {
506
+ "type": "string",
507
+ "const": "numberWithContext"
508
+ },
509
+ "meta": {
510
+ "type": "object",
511
+ "properties": {
512
+ "schemaVersion": {
513
+ "default": "1.0",
514
+ "type": "string"
515
+ }
516
+ },
517
+ "required": [
518
+ "schemaVersion"
519
+ ],
520
+ "additionalProperties": false
521
+ },
522
+ "comment": {
523
+ "type": "string"
524
+ },
525
+ "answer": {
526
+ "type": "object",
527
+ "properties": {
528
+ "value": {
529
+ "default": 0,
530
+ "type": "number"
531
+ },
532
+ "context": {
533
+ "default": "",
534
+ "type": "string"
535
+ }
536
+ },
537
+ "required": [
538
+ "value",
539
+ "context"
540
+ ],
541
+ "additionalProperties": false
542
+ }
543
+ },
544
+ "required": [
545
+ "type",
546
+ "meta",
547
+ "answer"
548
+ ],
549
+ "additionalProperties": false
550
+ },
551
+ {
552
+ "type": "object",
553
+ "properties": {
554
+ "type": {
555
+ "type": "string",
556
+ "const": "radioButtons"
557
+ },
558
+ "meta": {
559
+ "type": "object",
560
+ "properties": {
561
+ "schemaVersion": {
562
+ "default": "1.0",
563
+ "type": "string"
564
+ }
565
+ },
566
+ "required": [
567
+ "schemaVersion"
568
+ ],
569
+ "additionalProperties": false
570
+ },
571
+ "comment": {
572
+ "type": "string"
573
+ },
574
+ "answer": {
575
+ "default": "",
576
+ "type": "string"
577
+ }
578
+ },
579
+ "required": [
580
+ "type",
581
+ "meta",
582
+ "answer"
583
+ ],
584
+ "additionalProperties": false
585
+ },
586
+ {
587
+ "type": "object",
588
+ "properties": {
589
+ "type": {
590
+ "type": "string",
591
+ "const": "repositorySearch"
592
+ },
593
+ "meta": {
594
+ "type": "object",
595
+ "properties": {
596
+ "schemaVersion": {
597
+ "default": "1.0",
598
+ "type": "string"
599
+ }
600
+ },
601
+ "required": [
602
+ "schemaVersion"
603
+ ],
604
+ "additionalProperties": false
605
+ },
606
+ "comment": {
607
+ "type": "string"
608
+ },
609
+ "answer": {
610
+ "default": [],
611
+ "type": "array",
612
+ "items": {
613
+ "type": "object",
614
+ "properties": {
615
+ "repositoryId": {
616
+ "default": "",
617
+ "type": "string"
618
+ },
619
+ "repositoryName": {
620
+ "default": "",
621
+ "type": "string"
622
+ }
623
+ },
624
+ "required": [
625
+ "repositoryId",
626
+ "repositoryName"
627
+ ],
628
+ "additionalProperties": false
629
+ }
630
+ }
631
+ },
632
+ "required": [
633
+ "type",
634
+ "meta",
635
+ "answer"
636
+ ],
637
+ "additionalProperties": false
638
+ },
639
+ {
640
+ "type": "object",
641
+ "properties": {
642
+ "type": {
643
+ "type": "string",
644
+ "const": "selectBox"
645
+ },
646
+ "meta": {
647
+ "type": "object",
648
+ "properties": {
649
+ "schemaVersion": {
650
+ "default": "1.0",
651
+ "type": "string"
652
+ }
653
+ },
654
+ "required": [
655
+ "schemaVersion"
656
+ ],
657
+ "additionalProperties": false
658
+ },
659
+ "comment": {
660
+ "type": "string"
661
+ },
662
+ "answer": {
663
+ "default": "",
664
+ "type": "string"
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": "text"
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
+ "comment": {
695
+ "type": "string"
696
+ },
697
+ "answer": {
698
+ "default": "",
699
+ "type": "string"
700
+ }
701
+ },
702
+ "required": [
703
+ "type",
704
+ "meta",
705
+ "answer"
706
+ ],
707
+ "additionalProperties": false
708
+ },
709
+ {
710
+ "type": "object",
711
+ "properties": {
712
+ "type": {
713
+ "type": "string",
714
+ "const": "textArea"
715
+ },
716
+ "meta": {
717
+ "type": "object",
718
+ "properties": {
719
+ "schemaVersion": {
720
+ "default": "1.0",
721
+ "type": "string"
722
+ }
723
+ },
724
+ "required": [
725
+ "schemaVersion"
726
+ ],
727
+ "additionalProperties": false
728
+ },
729
+ "comment": {
730
+ "type": "string"
731
+ },
732
+ "answer": {
733
+ "default": "",
734
+ "type": "string"
735
+ }
736
+ },
737
+ "required": [
738
+ "type",
739
+ "meta",
740
+ "answer"
741
+ ],
742
+ "additionalProperties": false
743
+ },
744
+ {
745
+ "type": "object",
746
+ "properties": {
747
+ "type": {
748
+ "type": "string",
749
+ "const": "url"
750
+ },
751
+ "meta": {
752
+ "type": "object",
753
+ "properties": {
754
+ "schemaVersion": {
755
+ "default": "1.0",
756
+ "type": "string"
757
+ }
758
+ },
759
+ "required": [
760
+ "schemaVersion"
761
+ ],
762
+ "additionalProperties": false
763
+ },
764
+ "comment": {
765
+ "type": "string"
766
+ },
767
+ "answer": {
768
+ "default": "",
769
+ "type": "string"
770
+ }
771
+ },
772
+ "required": [
773
+ "type",
774
+ "meta",
775
+ "answer"
776
+ ],
777
+ "additionalProperties": false
778
+ }
779
+ ]
780
+ }
781
+ }
782
+ },
783
+ "required": [
784
+ "columns"
785
+ ],
786
+ "additionalProperties": false
787
+ }
788
+ }
789
+ },
790
+ "required": [
791
+ "type",
792
+ "meta",
793
+ "columnHeadings",
794
+ "answer"
795
+ ],
796
+ "additionalProperties": false
797
+ }