@dmptool/types 1.2.6 → 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 (103) hide show
  1. package/README.md +1 -1
  2. package/dist/answers/__tests__/defaults.spec.js +216 -0
  3. package/dist/answers/answer.d.ts +29 -14
  4. package/dist/answers/answer.js +11 -5
  5. package/dist/answers/dateAnswers.d.ts +20 -47
  6. package/dist/answers/dateAnswers.js +20 -10
  7. package/dist/answers/graphQLAnswers.d.ts +48 -120
  8. package/dist/answers/graphQLAnswers.js +46 -21
  9. package/dist/answers/index.d.ts +155 -1439
  10. package/dist/answers/index.js +26 -1
  11. package/dist/answers/numberAnswers.d.ts +38 -92
  12. package/dist/answers/numberAnswers.js +38 -19
  13. package/dist/answers/optionBasedAnswers.d.ts +42 -87
  14. package/dist/answers/optionBasedAnswers.js +37 -21
  15. package/dist/answers/tableAnswers.d.ts +348 -3032
  16. package/dist/answers/tableAnswers.js +25 -61
  17. package/dist/answers/textAnswers.d.ts +32 -68
  18. package/dist/answers/textAnswers.js +30 -17
  19. package/dist/dmp/__tests__/commonStandard.spec.d.ts +1 -0
  20. package/dist/dmp/__tests__/commonStandard.spec.js +210 -0
  21. package/dist/dmp/__tests__/extensions.spec.d.ts +1 -0
  22. package/dist/dmp/__tests__/extensions.spec.js +99 -0
  23. package/dist/dmp/extension.d.ts +1006 -0
  24. package/dist/dmp/extension.js +234 -0
  25. package/dist/dmp/index.d.ts +9 -0
  26. package/dist/dmp/index.js +23 -0
  27. package/dist/index.d.ts +1 -0
  28. package/dist/index.js +1 -0
  29. package/dist/questions/__tests__/dateQuestions.spec.js +3 -0
  30. package/dist/questions/__tests__/defaults.spec.d.ts +1 -0
  31. package/dist/questions/__tests__/defaults.spec.js +668 -0
  32. package/dist/questions/__tests__/optionBasedQuestions.spec.js +3 -2
  33. package/dist/questions/__tests__/tableQuestion.spec.js +22 -23
  34. package/dist/questions/__tests__/textQuestions.spec.js +32 -0
  35. package/dist/questions/dateQuestions.d.ts +45 -191
  36. package/dist/questions/dateQuestions.js +26 -23
  37. package/dist/questions/graphQLQuestions.d.ts +262 -556
  38. package/dist/questions/graphQLQuestions.js +225 -223
  39. package/dist/questions/index.d.ts +670 -7441
  40. package/dist/questions/index.js +26 -1
  41. package/dist/questions/numberQuestions.d.ts +85 -331
  42. package/dist/questions/numberQuestions.js +50 -36
  43. package/dist/questions/optionBasedQuestions.d.ts +83 -290
  44. package/dist/questions/optionBasedQuestions.js +58 -41
  45. package/dist/questions/question.d.ts +72 -35
  46. package/dist/questions/question.js +14 -5
  47. package/dist/questions/tableQuestions.d.ts +2228 -9599
  48. package/dist/questions/tableQuestions.js +185 -192
  49. package/dist/questions/textQuestions.d.ts +70 -226
  50. package/dist/questions/textQuestions.js +31 -31
  51. package/dist/schemas/affiliationSearchAnswer.schema.json +35 -33
  52. package/dist/schemas/affiliationSearchQuestion.schema.json +124 -122
  53. package/dist/schemas/anyAnswer.schema.json +1229 -408
  54. package/dist/schemas/anyQuestion.schema.json +4312 -2023
  55. package/dist/schemas/anyTableColumnAnswer.schema.json +535 -314
  56. package/dist/schemas/anyTableColumnQuestion.schema.json +1309 -874
  57. package/dist/schemas/booleanAnswer.schema.json +22 -23
  58. package/dist/schemas/booleanQuestion.schema.json +39 -43
  59. package/dist/schemas/checkboxesAnswer.schema.json +27 -28
  60. package/dist/schemas/checkboxesQuestion.schema.json +63 -62
  61. package/dist/schemas/currencyAnswer.schema.json +22 -23
  62. package/dist/schemas/currencyQuestion.schema.json +57 -54
  63. package/dist/schemas/dateAnswer.schema.json +22 -23
  64. package/dist/schemas/dateQuestion.schema.json +50 -49
  65. package/dist/schemas/dateRangeAnswer.schema.json +35 -33
  66. package/dist/schemas/dateRangeQuestion.schema.json +87 -78
  67. package/dist/schemas/dmp.schema.json +2070 -0
  68. package/dist/schemas/dmpExtension.schema.json +1874 -0
  69. package/dist/schemas/emailAnswer.schema.json +22 -23
  70. package/dist/schemas/emailQuestion.schema.json +55 -53
  71. package/dist/schemas/licenseSearchAnswer.schema.json +40 -38
  72. package/dist/schemas/licenseSearchQuestion.schema.json +122 -146
  73. package/dist/schemas/metadataStandardSearchAnswer.schema.json +40 -38
  74. package/dist/schemas/metadataStandardSearchQuestion.schema.json +123 -156
  75. package/dist/schemas/multiselectBoxAnswer.schema.json +27 -28
  76. package/dist/schemas/multiselectBoxQuestion.schema.json +70 -71
  77. package/dist/schemas/numberAnswer.schema.json +22 -23
  78. package/dist/schemas/numberQuestion.schema.json +52 -50
  79. package/dist/schemas/numberRangeAnswer.schema.json +35 -33
  80. package/dist/schemas/numberRangeQuestion.schema.json +91 -60
  81. package/dist/schemas/numberWithContextAnswer.schema.json +35 -33
  82. package/dist/schemas/numberWithContextQuestion.schema.json +81 -70
  83. package/dist/schemas/radioButtonsAnswer.schema.json +22 -23
  84. package/dist/schemas/radioButtonsQuestion.schema.json +63 -62
  85. package/dist/schemas/repositorySearchAnswer.schema.json +40 -38
  86. package/dist/schemas/repositorySearchQuestion.schema.json +122 -162
  87. package/dist/schemas/researchOutputTableAnswer.schema.json +16622 -411
  88. package/dist/schemas/researchOutputTableQuestion.schema.json +114 -1157
  89. package/dist/schemas/selectBoxAnswer.schema.json +22 -23
  90. package/dist/schemas/selectBoxQuestion.schema.json +70 -71
  91. package/dist/schemas/tableAnswer.schema.json +581 -360
  92. package/dist/schemas/tableQuestion.schema.json +1388 -942
  93. package/dist/schemas/textAnswer.schema.json +22 -23
  94. package/dist/schemas/textAreaAnswer.schema.json +22 -23
  95. package/dist/schemas/textAreaQuestion.schema.json +65 -57
  96. package/dist/schemas/textQuestion.schema.json +50 -49
  97. package/dist/schemas/urlAnswer.schema.json +22 -23
  98. package/dist/schemas/urlQuestion.schema.json +50 -49
  99. package/package.json +6 -4
  100. package/dist/answers/__tests__/usage.spec.js +0 -178
  101. package/dist/questions/__tests__/usage.spec.d.ts +0 -8
  102. package/dist/questions/__tests__/usage.spec.js +0 -473
  103. /package/dist/answers/__tests__/{usage.spec.d.ts → defaults.spec.d.ts} +0 -0
@@ -1,605 +1,1426 @@
1
1
  {
2
- "$ref": "#/definitions/AnyAnswer",
3
- "definitions": {
4
- "AnyAnswer": {
5
- "anyOf": [
6
- {
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": {
7
12
  "type": "object",
8
13
  "properties": {
9
- "type": {
10
- "type": "string",
11
- "const": "affiliationSearch"
12
- },
13
- "meta": {
14
- "type": "object",
15
- "properties": {
16
- "schemaVersion": {
17
- "type": "string",
18
- "default": "1.0"
19
- }
20
- },
21
- "additionalProperties": false,
22
- "default": {}
23
- },
24
- "answer": {
25
- "type": "object",
26
- "properties": {
27
- "affiliationId": {
28
- "type": "string",
29
- "default": ""
30
- },
31
- "affiliationName": {
32
- "type": "string",
33
- "default": ""
34
- }
35
- },
36
- "additionalProperties": false,
37
- "default": {}
14
+ "schemaVersion": {
15
+ "default": "1.0",
16
+ "type": "string"
38
17
  }
39
18
  },
40
19
  "required": [
41
- "type"
20
+ "schemaVersion"
42
21
  ],
43
22
  "additionalProperties": false
44
23
  },
45
- {
24
+ "answer": {
46
25
  "type": "object",
47
26
  "properties": {
48
- "type": {
49
- "type": "string",
50
- "const": "boolean"
51
- },
52
- "meta": {
53
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
27
+ "affiliationId": {
28
+ "default": "",
29
+ "type": "string"
54
30
  },
55
- "answer": {
56
- "type": "boolean",
57
- "default": false
31
+ "affiliationName": {
32
+ "default": "",
33
+ "type": "string"
58
34
  }
59
35
  },
60
36
  "required": [
61
- "type"
37
+ "affiliationId",
38
+ "affiliationName"
62
39
  ],
63
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"
64
56
  },
65
- {
57
+ "meta": {
66
58
  "type": "object",
67
59
  "properties": {
68
- "type": {
69
- "type": "string",
70
- "const": "checkBoxes"
71
- },
72
- "meta": {
73
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
74
- },
75
- "answer": {
76
- "type": "array",
77
- "items": {
78
- "type": "string"
79
- },
80
- "default": [
81
- ""
82
- ]
60
+ "schemaVersion": {
61
+ "default": "1.0",
62
+ "type": "string"
83
63
  }
84
64
  },
85
65
  "required": [
86
- "type"
66
+ "schemaVersion"
87
67
  ],
88
68
  "additionalProperties": false
89
69
  },
90
- {
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": {
91
90
  "type": "object",
92
91
  "properties": {
93
- "type": {
94
- "type": "string",
95
- "const": "currency"
96
- },
97
- "meta": {
98
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
99
- },
100
- "answer": {
101
- "type": "number",
102
- "default": 0
92
+ "schemaVersion": {
93
+ "default": "1.0",
94
+ "type": "string"
103
95
  }
104
96
  },
105
97
  "required": [
106
- "type"
98
+ "schemaVersion"
107
99
  ],
108
100
  "additionalProperties": false
109
101
  },
110
- {
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": {
111
127
  "type": "object",
112
128
  "properties": {
113
- "type": {
114
- "type": "string",
115
- "const": "date"
116
- },
117
- "meta": {
118
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
119
- },
120
- "answer": {
121
- "type": "string",
122
- "default": ""
129
+ "schemaVersion": {
130
+ "default": "1.0",
131
+ "type": "string"
123
132
  }
124
133
  },
125
134
  "required": [
126
- "type"
135
+ "schemaVersion"
127
136
  ],
128
137
  "additionalProperties": false
129
138
  },
130
- {
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": {
131
159
  "type": "object",
132
160
  "properties": {
133
- "type": {
134
- "type": "string",
135
- "const": "dateRange"
136
- },
137
- "meta": {
138
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
139
- },
140
- "answer": {
141
- "type": "object",
142
- "properties": {
143
- "start": {
144
- "type": "string",
145
- "default": ""
146
- },
147
- "end": {
148
- "type": "string",
149
- "default": ""
150
- }
151
- },
152
- "additionalProperties": false,
153
- "default": {}
161
+ "schemaVersion": {
162
+ "default": "1.0",
163
+ "type": "string"
154
164
  }
155
165
  },
156
166
  "required": [
157
- "type"
167
+ "schemaVersion"
158
168
  ],
159
169
  "additionalProperties": false
160
170
  },
161
- {
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": {
162
191
  "type": "object",
163
192
  "properties": {
164
- "type": {
165
- "type": "string",
166
- "const": "email"
167
- },
168
- "meta": {
169
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
170
- },
171
- "answer": {
172
- "type": "string",
173
- "default": ""
193
+ "schemaVersion": {
194
+ "default": "1.0",
195
+ "type": "string"
174
196
  }
175
197
  },
176
198
  "required": [
177
- "type"
199
+ "schemaVersion"
178
200
  ],
179
201
  "additionalProperties": false
180
202
  },
181
- {
203
+ "answer": {
182
204
  "type": "object",
183
205
  "properties": {
184
- "type": {
185
- "type": "string",
186
- "const": "licenseSearch"
187
- },
188
- "meta": {
189
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
206
+ "start": {
207
+ "default": "",
208
+ "type": "string"
190
209
  },
191
- "answer": {
192
- "type": "array",
193
- "items": {
194
- "type": "object",
195
- "properties": {
196
- "licenseId": {
197
- "type": "string",
198
- "default": ""
199
- },
200
- "licenseName": {
201
- "type": "string",
202
- "default": ""
203
- }
204
- },
205
- "additionalProperties": false,
206
- "default": {}
207
- },
208
- "default": []
210
+ "end": {
211
+ "default": "",
212
+ "type": "string"
209
213
  }
210
214
  },
211
215
  "required": [
212
- "type"
216
+ "start",
217
+ "end"
213
218
  ],
214
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"
215
235
  },
216
- {
236
+ "meta": {
217
237
  "type": "object",
218
238
  "properties": {
219
- "type": {
220
- "type": "string",
221
- "const": "metadataStandardSearch"
222
- },
223
- "meta": {
224
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
225
- },
226
- "answer": {
227
- "type": "array",
228
- "items": {
229
- "type": "object",
230
- "properties": {
231
- "metadataStandardId": {
232
- "type": "string",
233
- "default": ""
234
- },
235
- "metadataStandardName": {
236
- "type": "string",
237
- "default": ""
238
- }
239
- },
240
- "additionalProperties": false,
241
- "default": {}
242
- },
243
- "default": []
239
+ "schemaVersion": {
240
+ "default": "1.0",
241
+ "type": "string"
244
242
  }
245
243
  },
246
244
  "required": [
247
- "type"
245
+ "schemaVersion"
248
246
  ],
249
247
  "additionalProperties": false
250
248
  },
251
- {
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": {
252
269
  "type": "object",
253
270
  "properties": {
254
- "type": {
255
- "type": "string",
256
- "const": "multiselectBox"
257
- },
258
- "meta": {
259
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
260
- },
261
- "answer": {
262
- "type": "array",
263
- "items": {
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": "",
264
289
  "type": "string"
265
290
  },
266
- "default": [
267
- ""
268
- ]
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"
269
324
  }
270
325
  },
271
326
  "required": [
272
- "type"
327
+ "schemaVersion"
273
328
  ],
274
329
  "additionalProperties": false
275
330
  },
276
- {
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": {
277
369
  "type": "object",
278
370
  "properties": {
279
- "type": {
280
- "type": "string",
281
- "const": "number"
282
- },
283
- "meta": {
284
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
285
- },
286
- "answer": {
287
- "type": "number",
288
- "default": 0
371
+ "schemaVersion": {
372
+ "default": "1.0",
373
+ "type": "string"
289
374
  }
290
375
  },
291
376
  "required": [
292
- "type"
377
+ "schemaVersion"
293
378
  ],
294
379
  "additionalProperties": false
295
380
  },
296
- {
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": {
297
406
  "type": "object",
298
407
  "properties": {
299
- "type": {
300
- "type": "string",
301
- "const": "numberRange"
302
- },
303
- "meta": {
304
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
305
- },
306
- "answer": {
307
- "type": "object",
308
- "properties": {
309
- "start": {
310
- "type": "number",
311
- "default": 0
312
- },
313
- "end": {
314
- "type": "number",
315
- "default": 0
316
- }
317
- },
318
- "additionalProperties": false,
319
- "default": {}
408
+ "schemaVersion": {
409
+ "default": "1.0",
410
+ "type": "string"
320
411
  }
321
412
  },
322
413
  "required": [
323
- "type"
414
+ "schemaVersion"
324
415
  ],
325
416
  "additionalProperties": false
326
417
  },
327
- {
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": {
328
438
  "type": "object",
329
439
  "properties": {
330
- "type": {
331
- "type": "string",
332
- "const": "radioButtons"
333
- },
334
- "meta": {
335
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
336
- },
337
- "answer": {
338
- "type": "string",
339
- "default": ""
440
+ "schemaVersion": {
441
+ "default": "1.0",
442
+ "type": "string"
340
443
  }
341
444
  },
342
445
  "required": [
343
- "type"
446
+ "schemaVersion"
344
447
  ],
345
448
  "additionalProperties": false
346
449
  },
347
- {
450
+ "answer": {
348
451
  "type": "object",
349
452
  "properties": {
350
- "type": {
351
- "type": "string",
352
- "const": "repositorySearch"
453
+ "start": {
454
+ "default": 0,
455
+ "type": "number"
353
456
  },
354
- "meta": {
355
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
356
- },
357
- "answer": {
358
- "type": "array",
359
- "items": {
360
- "type": "object",
361
- "properties": {
362
- "repositoryId": {
363
- "type": "string",
364
- "default": ""
365
- },
366
- "repositoryName": {
367
- "type": "string",
368
- "default": ""
369
- }
370
- },
371
- "additionalProperties": false,
372
- "default": {}
373
- },
374
- "default": []
457
+ "end": {
458
+ "default": 0,
459
+ "type": "number"
375
460
  }
376
461
  },
377
462
  "required": [
378
- "type"
463
+ "start",
464
+ "end"
379
465
  ],
380
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"
381
482
  },
382
- {
483
+ "meta": {
383
484
  "type": "object",
384
485
  "properties": {
385
- "type": {
386
- "type": "string",
387
- "const": "selectBox"
388
- },
389
- "meta": {
390
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
391
- },
392
- "answer": {
393
- "type": "string",
394
- "default": ""
486
+ "schemaVersion": {
487
+ "default": "1.0",
488
+ "type": "string"
395
489
  }
396
490
  },
397
491
  "required": [
398
- "type"
492
+ "schemaVersion"
399
493
  ],
400
494
  "additionalProperties": false
401
495
  },
402
- {
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": {
403
516
  "type": "object",
404
517
  "properties": {
405
- "type": {
406
- "type": "string",
407
- "const": "table"
408
- },
409
- "meta": {
410
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
411
- },
412
- "columnHeadings": {
413
- "type": "array",
414
- "items": {
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": "",
415
536
  "type": "string"
416
537
  },
417
- "default": [
418
- "Column A"
419
- ]
538
+ "repositoryName": {
539
+ "default": "",
540
+ "type": "string"
541
+ }
420
542
  },
421
- "answer": {
422
- "type": "array",
423
- "items": {
424
- "type": "object",
425
- "properties": {
426
- "columns": {
427
- "type": "array",
428
- "items": {
429
- "anyOf": [
430
- {
431
- "$ref": "#/definitions/AnyAnswer/anyOf/0"
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"
432
634
  },
433
- {
434
- "$ref": "#/definitions/AnyAnswer/anyOf/1"
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
435
647
  },
436
- {
437
- "$ref": "#/definitions/AnyAnswer/anyOf/2"
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"
438
680
  },
439
- {
440
- "$ref": "#/definitions/AnyAnswer/anyOf/3"
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
441
693
  },
442
- {
443
- "$ref": "#/definitions/AnyAnswer/anyOf/4"
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"
444
712
  },
445
- {
446
- "$ref": "#/definitions/AnyAnswer/anyOf/5"
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
447
725
  },
448
- {
449
- "$ref": "#/definitions/AnyAnswer/anyOf/6"
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"
450
749
  },
451
- {
452
- "$ref": "#/definitions/AnyAnswer/anyOf/7"
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
453
762
  },
454
- {
455
- "$ref": "#/definitions/AnyAnswer/anyOf/8"
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
456
794
  },
457
- {
458
- "$ref": "#/definitions/AnyAnswer/anyOf/9"
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"
459
813
  },
460
- {
461
- "$ref": "#/definitions/AnyAnswer/anyOf/10"
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
462
826
  },
463
- {
827
+ "answer": {
464
828
  "type": "object",
465
829
  "properties": {
466
- "type": {
467
- "type": "string",
468
- "const": "numberWithContext"
830
+ "start": {
831
+ "default": "",
832
+ "type": "string"
469
833
  },
470
- "meta": {
471
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
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
+ }
472
919
  },
473
- "answer": {
474
- "type": "object",
475
- "properties": {
476
- "value": {
477
- "type": "number",
478
- "default": 0
479
- },
480
- "context": {
481
- "type": "string",
482
- "default": ""
483
- }
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"
484
964
  },
485
- "additionalProperties": false
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"
486
998
  }
487
999
  },
488
1000
  "required": [
489
- "type",
490
- "answer"
1001
+ "schemaVersion"
491
1002
  ],
492
1003
  "additionalProperties": false
493
1004
  },
494
- {
495
- "$ref": "#/definitions/AnyAnswer/anyOf/12"
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"
496
1028
  },
497
- {
498
- "$ref": "#/definitions/AnyAnswer/anyOf/13"
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
499
1041
  },
500
- {
501
- "$ref": "#/definitions/AnyAnswer/anyOf/14"
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"
502
1060
  },
503
- {
1061
+ "meta": {
504
1062
  "type": "object",
505
1063
  "properties": {
506
- "type": {
507
- "type": "string",
508
- "const": "text"
509
- },
510
- "meta": {
511
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
512
- },
513
- "answer": {
514
- "type": "string",
515
- "default": ""
1064
+ "schemaVersion": {
1065
+ "default": "1.0",
1066
+ "type": "string"
516
1067
  }
517
1068
  },
518
1069
  "required": [
519
- "type"
1070
+ "schemaVersion"
520
1071
  ],
521
1072
  "additionalProperties": false
522
1073
  },
523
- {
1074
+ "answer": {
524
1075
  "type": "object",
525
1076
  "properties": {
526
- "type": {
527
- "type": "string",
528
- "const": "textArea"
529
- },
530
- "meta": {
531
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
1077
+ "value": {
1078
+ "default": 0,
1079
+ "type": "number"
532
1080
  },
533
- "answer": {
534
- "type": "string",
535
- "default": ""
1081
+ "context": {
1082
+ "default": "",
1083
+ "type": "string"
536
1084
  }
537
1085
  },
538
1086
  "required": [
539
- "type"
1087
+ "value",
1088
+ "context"
540
1089
  ],
541
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"
542
1106
  },
543
- {
1107
+ "meta": {
544
1108
  "type": "object",
545
1109
  "properties": {
546
- "type": {
547
- "type": "string",
548
- "const": "url"
549
- },
550
- "meta": {
551
- "$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
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
+ }
552
1166
  },
553
- "answer": {
554
- "type": "string",
555
- "default": ""
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"
556
1195
  }
557
1196
  },
558
1197
  "required": [
559
- "type"
1198
+ "schemaVersion"
560
1199
  ],
561
1200
  "additionalProperties": false
1201
+ },
1202
+ "answer": {
1203
+ "default": "",
1204
+ "type": "string"
562
1205
  }
563
- ]
564
- }
565
- }
566
- },
567
- "required": [
568
- "columns"
569
- ],
570
- "additionalProperties": false
571
- },
572
- "default": [
573
- {
574
- "columns": [
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
+ },
575
1246
  {
576
- "type": "textArea",
577
- "answer": "",
578
- "meta": {
579
- "schemaVersion": "1.0"
580
- }
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
581
1309
  }
582
1310
  ]
583
1311
  }
584
- ]
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"
585
1342
  }
586
1343
  },
587
1344
  "required": [
588
- "type"
1345
+ "schemaVersion"
589
1346
  ],
590
1347
  "additionalProperties": false
591
1348
  },
592
- {
593
- "$ref": "#/definitions/AnyAnswer/anyOf/15/properties/answer/items/properties/columns/items/anyOf/15"
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
594
1380
  },
595
- {
596
- "$ref": "#/definitions/AnyAnswer/anyOf/15/properties/answer/items/properties/columns/items/anyOf/16"
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
597
1412
  },
598
- {
599
- "$ref": "#/definitions/AnyAnswer/anyOf/15/properties/answer/items/properties/columns/items/anyOf/17"
1413
+ "answer": {
1414
+ "default": "",
1415
+ "type": "string"
600
1416
  }
601
- ]
1417
+ },
1418
+ "required": [
1419
+ "type",
1420
+ "meta",
1421
+ "answer"
1422
+ ],
1423
+ "additionalProperties": false
602
1424
  }
603
- },
604
- "$schema": "http://json-schema.org/draft-07/schema#"
1425
+ ]
605
1426
  }