@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,741 @@
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
+ "comment": {
25
+ "type": "string"
26
+ },
27
+ "answer": {
28
+ "type": "object",
29
+ "properties": {
30
+ "affiliationId": {
31
+ "default": "",
32
+ "type": "string"
33
+ },
34
+ "affiliationName": {
35
+ "default": "",
36
+ "type": "string"
37
+ }
38
+ },
39
+ "required": [
40
+ "affiliationId",
41
+ "affiliationName"
42
+ ],
43
+ "additionalProperties": false
44
+ }
45
+ },
46
+ "required": [
47
+ "type",
48
+ "meta",
49
+ "answer"
50
+ ],
51
+ "additionalProperties": false
52
+ },
53
+ {
54
+ "type": "object",
55
+ "properties": {
56
+ "type": {
57
+ "type": "string",
58
+ "const": "boolean"
59
+ },
60
+ "meta": {
61
+ "type": "object",
62
+ "properties": {
63
+ "schemaVersion": {
64
+ "default": "1.0",
65
+ "type": "string"
66
+ }
67
+ },
68
+ "required": [
69
+ "schemaVersion"
70
+ ],
71
+ "additionalProperties": false
72
+ },
73
+ "comment": {
74
+ "type": "string"
75
+ },
76
+ "answer": {
77
+ "default": false,
78
+ "type": "boolean"
79
+ }
80
+ },
81
+ "required": [
82
+ "type",
83
+ "meta",
84
+ "answer"
85
+ ],
86
+ "additionalProperties": false
87
+ },
88
+ {
89
+ "type": "object",
90
+ "properties": {
91
+ "type": {
92
+ "type": "string",
93
+ "const": "checkBoxes"
94
+ },
95
+ "meta": {
96
+ "type": "object",
97
+ "properties": {
98
+ "schemaVersion": {
99
+ "default": "1.0",
100
+ "type": "string"
101
+ }
102
+ },
103
+ "required": [
104
+ "schemaVersion"
105
+ ],
106
+ "additionalProperties": false
107
+ },
108
+ "comment": {
109
+ "type": "string"
110
+ },
111
+ "answer": {
112
+ "default": [
113
+ ""
114
+ ],
115
+ "type": "array",
116
+ "items": {
117
+ "type": "string"
118
+ }
119
+ }
120
+ },
121
+ "required": [
122
+ "type",
123
+ "meta",
124
+ "answer"
125
+ ],
126
+ "additionalProperties": false
127
+ },
128
+ {
129
+ "type": "object",
130
+ "properties": {
131
+ "type": {
132
+ "type": "string",
133
+ "const": "currency"
134
+ },
135
+ "meta": {
136
+ "type": "object",
137
+ "properties": {
138
+ "schemaVersion": {
139
+ "default": "1.0",
140
+ "type": "string"
141
+ }
142
+ },
143
+ "required": [
144
+ "schemaVersion"
145
+ ],
146
+ "additionalProperties": false
147
+ },
148
+ "comment": {
149
+ "type": "string"
150
+ },
151
+ "answer": {
152
+ "default": 0,
153
+ "type": "number"
154
+ }
155
+ },
156
+ "required": [
157
+ "type",
158
+ "meta",
159
+ "answer"
160
+ ],
161
+ "additionalProperties": false
162
+ },
163
+ {
164
+ "type": "object",
165
+ "properties": {
166
+ "type": {
167
+ "type": "string",
168
+ "const": "date"
169
+ },
170
+ "meta": {
171
+ "type": "object",
172
+ "properties": {
173
+ "schemaVersion": {
174
+ "default": "1.0",
175
+ "type": "string"
176
+ }
177
+ },
178
+ "required": [
179
+ "schemaVersion"
180
+ ],
181
+ "additionalProperties": false
182
+ },
183
+ "comment": {
184
+ "type": "string"
185
+ },
186
+ "answer": {
187
+ "default": "",
188
+ "type": "string"
189
+ }
190
+ },
191
+ "required": [
192
+ "type",
193
+ "meta",
194
+ "answer"
195
+ ],
196
+ "additionalProperties": false
197
+ },
198
+ {
199
+ "type": "object",
200
+ "properties": {
201
+ "type": {
202
+ "type": "string",
203
+ "const": "dateRange"
204
+ },
205
+ "meta": {
206
+ "type": "object",
207
+ "properties": {
208
+ "schemaVersion": {
209
+ "default": "1.0",
210
+ "type": "string"
211
+ }
212
+ },
213
+ "required": [
214
+ "schemaVersion"
215
+ ],
216
+ "additionalProperties": false
217
+ },
218
+ "comment": {
219
+ "type": "string"
220
+ },
221
+ "answer": {
222
+ "type": "object",
223
+ "properties": {
224
+ "start": {
225
+ "default": "",
226
+ "type": "string"
227
+ },
228
+ "end": {
229
+ "default": "",
230
+ "type": "string"
231
+ }
232
+ },
233
+ "required": [
234
+ "start",
235
+ "end"
236
+ ],
237
+ "additionalProperties": false
238
+ }
239
+ },
240
+ "required": [
241
+ "type",
242
+ "meta",
243
+ "answer"
244
+ ],
245
+ "additionalProperties": false
246
+ },
247
+ {
248
+ "type": "object",
249
+ "properties": {
250
+ "type": {
251
+ "type": "string",
252
+ "const": "email"
253
+ },
254
+ "meta": {
255
+ "type": "object",
256
+ "properties": {
257
+ "schemaVersion": {
258
+ "default": "1.0",
259
+ "type": "string"
260
+ }
261
+ },
262
+ "required": [
263
+ "schemaVersion"
264
+ ],
265
+ "additionalProperties": false
266
+ },
267
+ "comment": {
268
+ "type": "string"
269
+ },
270
+ "answer": {
271
+ "default": "",
272
+ "type": "string"
273
+ }
274
+ },
275
+ "required": [
276
+ "type",
277
+ "meta",
278
+ "answer"
279
+ ],
280
+ "additionalProperties": false
281
+ },
282
+ {
283
+ "type": "object",
284
+ "properties": {
285
+ "type": {
286
+ "type": "string",
287
+ "const": "licenseSearch"
288
+ },
289
+ "meta": {
290
+ "type": "object",
291
+ "properties": {
292
+ "schemaVersion": {
293
+ "default": "1.0",
294
+ "type": "string"
295
+ }
296
+ },
297
+ "required": [
298
+ "schemaVersion"
299
+ ],
300
+ "additionalProperties": false
301
+ },
302
+ "comment": {
303
+ "type": "string"
304
+ },
305
+ "answer": {
306
+ "default": [],
307
+ "type": "array",
308
+ "items": {
309
+ "type": "object",
310
+ "properties": {
311
+ "licenseId": {
312
+ "default": "",
313
+ "type": "string"
314
+ },
315
+ "licenseName": {
316
+ "default": "",
317
+ "type": "string"
318
+ }
319
+ },
320
+ "required": [
321
+ "licenseId",
322
+ "licenseName"
323
+ ],
324
+ "additionalProperties": false
325
+ }
326
+ }
327
+ },
328
+ "required": [
329
+ "type",
330
+ "meta",
331
+ "answer"
332
+ ],
333
+ "additionalProperties": false
334
+ },
335
+ {
336
+ "type": "object",
337
+ "properties": {
338
+ "type": {
339
+ "type": "string",
340
+ "const": "metadataStandardSearch"
341
+ },
342
+ "meta": {
343
+ "type": "object",
344
+ "properties": {
345
+ "schemaVersion": {
346
+ "default": "1.0",
347
+ "type": "string"
348
+ }
349
+ },
350
+ "required": [
351
+ "schemaVersion"
352
+ ],
353
+ "additionalProperties": false
354
+ },
355
+ "comment": {
356
+ "type": "string"
357
+ },
358
+ "answer": {
359
+ "default": [],
360
+ "type": "array",
361
+ "items": {
362
+ "type": "object",
363
+ "properties": {
364
+ "metadataStandardId": {
365
+ "default": "",
366
+ "type": "string"
367
+ },
368
+ "metadataStandardName": {
369
+ "default": "",
370
+ "type": "string"
371
+ }
372
+ },
373
+ "required": [
374
+ "metadataStandardId",
375
+ "metadataStandardName"
376
+ ],
377
+ "additionalProperties": false
378
+ }
379
+ }
380
+ },
381
+ "required": [
382
+ "type",
383
+ "meta",
384
+ "answer"
385
+ ],
386
+ "additionalProperties": false
387
+ },
388
+ {
389
+ "type": "object",
390
+ "properties": {
391
+ "type": {
392
+ "type": "string",
393
+ "const": "multiselectBox"
394
+ },
395
+ "meta": {
396
+ "type": "object",
397
+ "properties": {
398
+ "schemaVersion": {
399
+ "default": "1.0",
400
+ "type": "string"
401
+ }
402
+ },
403
+ "required": [
404
+ "schemaVersion"
405
+ ],
406
+ "additionalProperties": false
407
+ },
408
+ "comment": {
409
+ "type": "string"
410
+ },
411
+ "answer": {
412
+ "default": [
413
+ ""
414
+ ],
415
+ "type": "array",
416
+ "items": {
417
+ "type": "string"
418
+ }
419
+ }
420
+ },
421
+ "required": [
422
+ "type",
423
+ "meta",
424
+ "answer"
425
+ ],
426
+ "additionalProperties": false
427
+ },
428
+ {
429
+ "type": "object",
430
+ "properties": {
431
+ "type": {
432
+ "type": "string",
433
+ "const": "number"
434
+ },
435
+ "meta": {
436
+ "type": "object",
437
+ "properties": {
438
+ "schemaVersion": {
439
+ "default": "1.0",
440
+ "type": "string"
441
+ }
442
+ },
443
+ "required": [
444
+ "schemaVersion"
445
+ ],
446
+ "additionalProperties": false
447
+ },
448
+ "comment": {
449
+ "type": "string"
450
+ },
451
+ "answer": {
452
+ "default": 0,
453
+ "type": "number"
454
+ }
455
+ },
456
+ "required": [
457
+ "type",
458
+ "meta",
459
+ "answer"
460
+ ],
461
+ "additionalProperties": false
462
+ },
463
+ {
464
+ "type": "object",
465
+ "properties": {
466
+ "type": {
467
+ "type": "string",
468
+ "const": "numberWithContext"
469
+ },
470
+ "meta": {
471
+ "type": "object",
472
+ "properties": {
473
+ "schemaVersion": {
474
+ "default": "1.0",
475
+ "type": "string"
476
+ }
477
+ },
478
+ "required": [
479
+ "schemaVersion"
480
+ ],
481
+ "additionalProperties": false
482
+ },
483
+ "comment": {
484
+ "type": "string"
485
+ },
486
+ "answer": {
487
+ "type": "object",
488
+ "properties": {
489
+ "value": {
490
+ "default": 0,
491
+ "type": "number"
492
+ },
493
+ "context": {
494
+ "default": "",
495
+ "type": "string"
496
+ }
497
+ },
498
+ "required": [
499
+ "value",
500
+ "context"
501
+ ],
502
+ "additionalProperties": false
503
+ }
504
+ },
505
+ "required": [
506
+ "type",
507
+ "meta",
508
+ "answer"
509
+ ],
510
+ "additionalProperties": false
511
+ },
512
+ {
513
+ "type": "object",
514
+ "properties": {
515
+ "type": {
516
+ "type": "string",
517
+ "const": "radioButtons"
518
+ },
519
+ "meta": {
520
+ "type": "object",
521
+ "properties": {
522
+ "schemaVersion": {
523
+ "default": "1.0",
524
+ "type": "string"
525
+ }
526
+ },
527
+ "required": [
528
+ "schemaVersion"
529
+ ],
530
+ "additionalProperties": false
531
+ },
532
+ "comment": {
533
+ "type": "string"
534
+ },
535
+ "answer": {
536
+ "default": "",
537
+ "type": "string"
538
+ }
539
+ },
540
+ "required": [
541
+ "type",
542
+ "meta",
543
+ "answer"
544
+ ],
545
+ "additionalProperties": false
546
+ },
547
+ {
548
+ "type": "object",
549
+ "properties": {
550
+ "type": {
551
+ "type": "string",
552
+ "const": "repositorySearch"
553
+ },
554
+ "meta": {
555
+ "type": "object",
556
+ "properties": {
557
+ "schemaVersion": {
558
+ "default": "1.0",
559
+ "type": "string"
560
+ }
561
+ },
562
+ "required": [
563
+ "schemaVersion"
564
+ ],
565
+ "additionalProperties": false
566
+ },
567
+ "comment": {
568
+ "type": "string"
569
+ },
570
+ "answer": {
571
+ "default": [],
572
+ "type": "array",
573
+ "items": {
574
+ "type": "object",
575
+ "properties": {
576
+ "repositoryId": {
577
+ "default": "",
578
+ "type": "string"
579
+ },
580
+ "repositoryName": {
581
+ "default": "",
582
+ "type": "string"
583
+ }
584
+ },
585
+ "required": [
586
+ "repositoryId",
587
+ "repositoryName"
588
+ ],
589
+ "additionalProperties": false
590
+ }
591
+ }
592
+ },
593
+ "required": [
594
+ "type",
595
+ "meta",
596
+ "answer"
597
+ ],
598
+ "additionalProperties": false
599
+ },
600
+ {
601
+ "type": "object",
602
+ "properties": {
603
+ "type": {
604
+ "type": "string",
605
+ "const": "selectBox"
606
+ },
607
+ "meta": {
608
+ "type": "object",
609
+ "properties": {
610
+ "schemaVersion": {
611
+ "default": "1.0",
612
+ "type": "string"
613
+ }
614
+ },
615
+ "required": [
616
+ "schemaVersion"
617
+ ],
618
+ "additionalProperties": false
619
+ },
620
+ "comment": {
621
+ "type": "string"
622
+ },
623
+ "answer": {
624
+ "default": "",
625
+ "type": "string"
626
+ }
627
+ },
628
+ "required": [
629
+ "type",
630
+ "meta",
631
+ "answer"
632
+ ],
633
+ "additionalProperties": false
634
+ },
635
+ {
636
+ "type": "object",
637
+ "properties": {
638
+ "type": {
639
+ "type": "string",
640
+ "const": "text"
641
+ },
642
+ "meta": {
643
+ "type": "object",
644
+ "properties": {
645
+ "schemaVersion": {
646
+ "default": "1.0",
647
+ "type": "string"
648
+ }
649
+ },
650
+ "required": [
651
+ "schemaVersion"
652
+ ],
653
+ "additionalProperties": false
654
+ },
655
+ "comment": {
656
+ "type": "string"
657
+ },
658
+ "answer": {
659
+ "default": "",
660
+ "type": "string"
661
+ }
662
+ },
663
+ "required": [
664
+ "type",
665
+ "meta",
666
+ "answer"
667
+ ],
668
+ "additionalProperties": false
669
+ },
670
+ {
671
+ "type": "object",
672
+ "properties": {
673
+ "type": {
674
+ "type": "string",
675
+ "const": "textArea"
676
+ },
677
+ "meta": {
678
+ "type": "object",
679
+ "properties": {
680
+ "schemaVersion": {
681
+ "default": "1.0",
682
+ "type": "string"
683
+ }
684
+ },
685
+ "required": [
686
+ "schemaVersion"
687
+ ],
688
+ "additionalProperties": false
689
+ },
690
+ "comment": {
691
+ "type": "string"
692
+ },
693
+ "answer": {
694
+ "default": "",
695
+ "type": "string"
696
+ }
697
+ },
698
+ "required": [
699
+ "type",
700
+ "meta",
701
+ "answer"
702
+ ],
703
+ "additionalProperties": false
704
+ },
705
+ {
706
+ "type": "object",
707
+ "properties": {
708
+ "type": {
709
+ "type": "string",
710
+ "const": "url"
711
+ },
712
+ "meta": {
713
+ "type": "object",
714
+ "properties": {
715
+ "schemaVersion": {
716
+ "default": "1.0",
717
+ "type": "string"
718
+ }
719
+ },
720
+ "required": [
721
+ "schemaVersion"
722
+ ],
723
+ "additionalProperties": false
724
+ },
725
+ "comment": {
726
+ "type": "string"
727
+ },
728
+ "answer": {
729
+ "default": "",
730
+ "type": "string"
731
+ }
732
+ },
733
+ "required": [
734
+ "type",
735
+ "meta",
736
+ "answer"
737
+ ],
738
+ "additionalProperties": false
739
+ }
740
+ ]
741
+ }