@dmptool/types 1.1.3 → 1.2.1
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.
- package/README.md +119 -47
- package/dist/answers/__tests__/answers.spec.js +27 -28
- package/dist/answers/__tests__/usage.spec.d.ts +1 -0
- package/dist/answers/__tests__/usage.spec.js +178 -0
- package/dist/answers/answer.d.ts +12 -15
- package/dist/answers/answer.js +3 -4
- package/dist/answers/dateAnswers.d.ts +30 -30
- package/dist/answers/dateAnswers.js +6 -5
- package/dist/answers/graphQLAnswers.d.ts +41 -26
- package/dist/answers/graphQLAnswers.js +7 -4
- package/dist/answers/index.d.ts +887 -1088
- package/dist/answers/index.js +2 -2
- package/dist/answers/numberAnswers.d.ts +41 -41
- package/dist/answers/numberAnswers.js +8 -8
- package/dist/answers/optionBasedAnswers.d.ts +55 -55
- package/dist/answers/optionBasedAnswers.js +10 -10
- package/dist/answers/tableAnswers.d.ts +880 -1778
- package/dist/answers/tableAnswers.js +12 -8
- package/dist/answers/textAnswers.d.ts +44 -44
- package/dist/answers/textAnswers.js +8 -8
- package/dist/questions/__tests__/graphQLQuestions.spec.js +1 -1
- package/dist/questions/__tests__/usage.spec.d.ts +8 -0
- package/dist/questions/__tests__/usage.spec.js +312 -0
- package/dist/questions/dateQuestions.d.ts +81 -82
- package/dist/questions/dateQuestions.js +12 -16
- package/dist/questions/graphQLQuestions.d.ts +142 -142
- package/dist/questions/graphQLQuestions.js +35 -30
- package/dist/questions/index.d.ts +1492 -1672
- package/dist/questions/index.js +2 -2
- package/dist/questions/numberQuestions.d.ts +97 -98
- package/dist/questions/numberQuestions.js +7 -19
- package/dist/questions/optionBasedQuestions.d.ts +163 -166
- package/dist/questions/optionBasedQuestions.js +20 -36
- package/dist/questions/question.d.ts +24 -48
- package/dist/questions/question.js +78 -17
- package/dist/questions/tableQuestions.d.ts +2215 -2227
- package/dist/questions/tableQuestions.js +6 -11
- package/dist/questions/textQuestions.d.ts +104 -104
- package/dist/questions/textQuestions.js +6 -23
- package/dist/schemas/affiliationSearchAnswer.schema.json +20 -12
- package/dist/schemas/affiliationSearchQuestion.schema.json +30 -36
- package/dist/schemas/anyAnswer.schema.json +235 -233
- package/dist/schemas/anyQuestion.schema.json +292 -493
- package/dist/schemas/anyTableColumnAnswer.schema.json +104 -106
- package/dist/schemas/anyTableColumnQuestion.schema.json +164 -325
- package/dist/schemas/booleanAnswer.schema.json +8 -11
- package/dist/schemas/booleanQuestion.schema.json +7 -10
- package/dist/schemas/checkboxesAnswer.schema.json +13 -14
- package/dist/schemas/checkboxesQuestion.schema.json +12 -13
- package/dist/schemas/currencyAnswer.schema.json +8 -11
- package/dist/schemas/currencyQuestion.schema.json +7 -10
- package/dist/schemas/dateAnswer.schema.json +8 -11
- package/dist/schemas/dateQuestion.schema.json +7 -10
- package/dist/schemas/dateRangeAnswer.schema.json +16 -21
- package/dist/schemas/dateRangeQuestion.schema.json +38 -20
- package/dist/schemas/emailAnswer.schema.json +8 -11
- package/dist/schemas/emailQuestion.schema.json +7 -10
- package/dist/schemas/multiselectBoxAnswer.schema.json +13 -14
- package/dist/schemas/multiselectBoxQuestion.schema.json +14 -14
- package/dist/schemas/numberAnswer.schema.json +8 -11
- package/dist/schemas/numberQuestion.schema.json +7 -10
- package/dist/schemas/numberRangeAnswer.schema.json +17 -22
- package/dist/schemas/numberRangeQuestion.schema.json +18 -19
- package/dist/schemas/radioButtonsAnswer.schema.json +8 -11
- package/dist/schemas/radioButtonsQuestion.schema.json +12 -13
- package/dist/schemas/selectBoxAnswer.schema.json +8 -11
- package/dist/schemas/selectBoxQuestion.schema.json +18 -15
- package/dist/schemas/tableAnswer.schema.json +343 -338
- package/dist/schemas/tableQuestion.schema.json +178 -352
- package/dist/schemas/textAnswer.schema.json +8 -11
- package/dist/schemas/textAreaAnswer.schema.json +8 -11
- package/dist/schemas/textAreaQuestion.schema.json +7 -10
- package/dist/schemas/textQuestion.schema.json +7 -10
- package/dist/schemas/urlAnswer.schema.json +8 -11
- package/dist/schemas/urlQuestion.schema.json +7 -10
- package/package.json +1 -1
|
@@ -10,27 +10,24 @@
|
|
|
10
10
|
"type": "string",
|
|
11
11
|
"const": "boolean"
|
|
12
12
|
},
|
|
13
|
-
"answer": {
|
|
14
|
-
"type": "boolean"
|
|
15
|
-
},
|
|
16
13
|
"meta": {
|
|
17
14
|
"type": "object",
|
|
18
15
|
"properties": {
|
|
19
16
|
"schemaVersion": {
|
|
20
17
|
"type": "string",
|
|
21
|
-
"
|
|
18
|
+
"default": "1.0"
|
|
22
19
|
}
|
|
23
20
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"default": {}
|
|
23
|
+
},
|
|
24
|
+
"answer": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"default": false
|
|
28
27
|
}
|
|
29
28
|
},
|
|
30
29
|
"required": [
|
|
31
|
-
"type"
|
|
32
|
-
"answer",
|
|
33
|
-
"meta"
|
|
30
|
+
"type"
|
|
34
31
|
],
|
|
35
32
|
"additionalProperties": false
|
|
36
33
|
},
|
|
@@ -41,20 +38,21 @@
|
|
|
41
38
|
"type": "string",
|
|
42
39
|
"const": "checkBoxes"
|
|
43
40
|
},
|
|
41
|
+
"meta": {
|
|
42
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
43
|
+
},
|
|
44
44
|
"answer": {
|
|
45
45
|
"type": "array",
|
|
46
46
|
"items": {
|
|
47
47
|
"type": "string"
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
},
|
|
49
|
+
"default": [
|
|
50
|
+
""
|
|
51
|
+
]
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"required": [
|
|
55
|
-
"type"
|
|
56
|
-
"answer",
|
|
57
|
-
"meta"
|
|
55
|
+
"type"
|
|
58
56
|
],
|
|
59
57
|
"additionalProperties": false
|
|
60
58
|
},
|
|
@@ -65,17 +63,16 @@
|
|
|
65
63
|
"type": "string",
|
|
66
64
|
"const": "currency"
|
|
67
65
|
},
|
|
68
|
-
"answer": {
|
|
69
|
-
"type": "number"
|
|
70
|
-
},
|
|
71
66
|
"meta": {
|
|
72
67
|
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
68
|
+
},
|
|
69
|
+
"answer": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"default": 0
|
|
73
72
|
}
|
|
74
73
|
},
|
|
75
74
|
"required": [
|
|
76
|
-
"type"
|
|
77
|
-
"answer",
|
|
78
|
-
"meta"
|
|
75
|
+
"type"
|
|
79
76
|
],
|
|
80
77
|
"additionalProperties": false
|
|
81
78
|
},
|
|
@@ -86,17 +83,16 @@
|
|
|
86
83
|
"type": "string",
|
|
87
84
|
"const": "date"
|
|
88
85
|
},
|
|
89
|
-
"answer": {
|
|
90
|
-
"type": "string"
|
|
91
|
-
},
|
|
92
86
|
"meta": {
|
|
93
87
|
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
88
|
+
},
|
|
89
|
+
"answer": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"default": ""
|
|
94
92
|
}
|
|
95
93
|
},
|
|
96
94
|
"required": [
|
|
97
|
-
"type"
|
|
98
|
-
"answer",
|
|
99
|
-
"meta"
|
|
95
|
+
"type"
|
|
100
96
|
],
|
|
101
97
|
"additionalProperties": false
|
|
102
98
|
},
|
|
@@ -107,30 +103,27 @@
|
|
|
107
103
|
"type": "string",
|
|
108
104
|
"const": "dateRange"
|
|
109
105
|
},
|
|
106
|
+
"meta": {
|
|
107
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
108
|
+
},
|
|
110
109
|
"answer": {
|
|
111
110
|
"type": "object",
|
|
112
111
|
"properties": {
|
|
113
112
|
"start": {
|
|
114
|
-
"type": "string"
|
|
113
|
+
"type": "string",
|
|
114
|
+
"default": ""
|
|
115
115
|
},
|
|
116
116
|
"end": {
|
|
117
|
-
"type": "string"
|
|
117
|
+
"type": "string",
|
|
118
|
+
"default": ""
|
|
118
119
|
}
|
|
119
120
|
},
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
"end"
|
|
123
|
-
],
|
|
124
|
-
"additionalProperties": false
|
|
125
|
-
},
|
|
126
|
-
"meta": {
|
|
127
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"default": {}
|
|
128
123
|
}
|
|
129
124
|
},
|
|
130
125
|
"required": [
|
|
131
|
-
"type"
|
|
132
|
-
"answer",
|
|
133
|
-
"meta"
|
|
126
|
+
"type"
|
|
134
127
|
],
|
|
135
128
|
"additionalProperties": false
|
|
136
129
|
},
|
|
@@ -141,41 +134,16 @@
|
|
|
141
134
|
"type": "string",
|
|
142
135
|
"const": "email"
|
|
143
136
|
},
|
|
144
|
-
"answer": {
|
|
145
|
-
"type": "string"
|
|
146
|
-
},
|
|
147
137
|
"meta": {
|
|
148
138
|
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"required": [
|
|
152
|
-
"type",
|
|
153
|
-
"answer",
|
|
154
|
-
"meta"
|
|
155
|
-
],
|
|
156
|
-
"additionalProperties": false
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"type": "object",
|
|
160
|
-
"properties": {
|
|
161
|
-
"type": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"const": "filteredSearch"
|
|
164
139
|
},
|
|
165
140
|
"answer": {
|
|
166
|
-
"type": "
|
|
167
|
-
"
|
|
168
|
-
"type": "string"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"meta": {
|
|
172
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
141
|
+
"type": "string",
|
|
142
|
+
"default": ""
|
|
173
143
|
}
|
|
174
144
|
},
|
|
175
145
|
"required": [
|
|
176
|
-
"type"
|
|
177
|
-
"answer",
|
|
178
|
-
"meta"
|
|
146
|
+
"type"
|
|
179
147
|
],
|
|
180
148
|
"additionalProperties": false
|
|
181
149
|
},
|
|
@@ -186,17 +154,16 @@
|
|
|
186
154
|
"type": "string",
|
|
187
155
|
"const": "number"
|
|
188
156
|
},
|
|
189
|
-
"answer": {
|
|
190
|
-
"type": "number"
|
|
191
|
-
},
|
|
192
157
|
"meta": {
|
|
193
158
|
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
159
|
+
},
|
|
160
|
+
"answer": {
|
|
161
|
+
"type": "number",
|
|
162
|
+
"default": 0
|
|
194
163
|
}
|
|
195
164
|
},
|
|
196
165
|
"required": [
|
|
197
|
-
"type"
|
|
198
|
-
"answer",
|
|
199
|
-
"meta"
|
|
166
|
+
"type"
|
|
200
167
|
],
|
|
201
168
|
"additionalProperties": false
|
|
202
169
|
},
|
|
@@ -207,17 +174,16 @@
|
|
|
207
174
|
"type": "string",
|
|
208
175
|
"const": "radioButtons"
|
|
209
176
|
},
|
|
210
|
-
"answer": {
|
|
211
|
-
"type": "string"
|
|
212
|
-
},
|
|
213
177
|
"meta": {
|
|
214
178
|
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
179
|
+
},
|
|
180
|
+
"answer": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"default": ""
|
|
215
183
|
}
|
|
216
184
|
},
|
|
217
185
|
"required": [
|
|
218
|
-
"type"
|
|
219
|
-
"answer",
|
|
220
|
-
"meta"
|
|
186
|
+
"type"
|
|
221
187
|
],
|
|
222
188
|
"additionalProperties": false
|
|
223
189
|
},
|
|
@@ -228,17 +194,16 @@
|
|
|
228
194
|
"type": "string",
|
|
229
195
|
"const": "selectBox"
|
|
230
196
|
},
|
|
231
|
-
"answer": {
|
|
232
|
-
"type": "string"
|
|
233
|
-
},
|
|
234
197
|
"meta": {
|
|
235
198
|
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
199
|
+
},
|
|
200
|
+
"answer": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"default": ""
|
|
236
203
|
}
|
|
237
204
|
},
|
|
238
205
|
"required": [
|
|
239
|
-
"type"
|
|
240
|
-
"answer",
|
|
241
|
-
"meta"
|
|
206
|
+
"type"
|
|
242
207
|
],
|
|
243
208
|
"additionalProperties": false
|
|
244
209
|
},
|
|
@@ -249,6 +214,18 @@
|
|
|
249
214
|
"type": "string",
|
|
250
215
|
"const": "table"
|
|
251
216
|
},
|
|
217
|
+
"meta": {
|
|
218
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
219
|
+
},
|
|
220
|
+
"columnHeadings": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"default": [
|
|
226
|
+
"Column A"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
252
229
|
"answer": {
|
|
253
230
|
"type": "array",
|
|
254
231
|
"items": {
|
|
@@ -257,159 +234,176 @@
|
|
|
257
234
|
"columns": {
|
|
258
235
|
"type": "array",
|
|
259
236
|
"items": {
|
|
260
|
-
"
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
"
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
237
|
+
"anyOf": [
|
|
238
|
+
{
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"type": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"const": "affiliationSearch"
|
|
244
|
+
},
|
|
245
|
+
"meta": {
|
|
246
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
247
|
+
},
|
|
248
|
+
"answer": {
|
|
268
249
|
"type": "object",
|
|
269
250
|
"properties": {
|
|
270
|
-
"
|
|
251
|
+
"affiliationId": {
|
|
271
252
|
"type": "string",
|
|
272
|
-
"
|
|
253
|
+
"default": ""
|
|
273
254
|
},
|
|
274
|
-
"
|
|
275
|
-
"type": "string"
|
|
276
|
-
|
|
277
|
-
"meta": {
|
|
278
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
255
|
+
"affiliationName": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"default": ""
|
|
279
258
|
}
|
|
280
259
|
},
|
|
281
|
-
"
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
260
|
+
"additionalProperties": false,
|
|
261
|
+
"default": {}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": [
|
|
265
|
+
"type"
|
|
266
|
+
],
|
|
267
|
+
"additionalProperties": false
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/1"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/2"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/3"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/4"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/5"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "object",
|
|
289
|
+
"properties": {
|
|
290
|
+
"type": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"const": "filteredSearch"
|
|
299
293
|
},
|
|
300
|
-
{
|
|
301
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
294
|
+
"meta": {
|
|
295
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
302
296
|
},
|
|
303
|
-
{
|
|
304
|
-
"
|
|
297
|
+
"answer": {
|
|
298
|
+
"type": "array",
|
|
299
|
+
"items": {
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
"default": [
|
|
303
|
+
""
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"required": [
|
|
308
|
+
"type"
|
|
309
|
+
],
|
|
310
|
+
"additionalProperties": false
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"type": "object",
|
|
314
|
+
"properties": {
|
|
315
|
+
"type": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"const": "multiselectBox"
|
|
305
318
|
},
|
|
306
|
-
{
|
|
307
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
319
|
+
"meta": {
|
|
320
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
308
321
|
},
|
|
309
|
-
{
|
|
310
|
-
"type": "
|
|
311
|
-
"
|
|
312
|
-
"type":
|
|
313
|
-
"type": "string",
|
|
314
|
-
"const": "multiselectBox"
|
|
315
|
-
},
|
|
316
|
-
"answer": {
|
|
317
|
-
"type": "array",
|
|
318
|
-
"items": {
|
|
319
|
-
"type": "string"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
"meta": {
|
|
323
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
324
|
-
}
|
|
322
|
+
"answer": {
|
|
323
|
+
"type": "array",
|
|
324
|
+
"items": {
|
|
325
|
+
"type": "string"
|
|
325
326
|
},
|
|
326
|
-
"
|
|
327
|
-
"
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
327
|
+
"default": [
|
|
328
|
+
""
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"type"
|
|
334
|
+
],
|
|
335
|
+
"additionalProperties": false
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/6"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/7"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/8"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "object",
|
|
348
|
+
"properties": {
|
|
349
|
+
"type": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"const": "text"
|
|
332
352
|
},
|
|
333
|
-
{
|
|
334
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
353
|
+
"meta": {
|
|
354
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
335
355
|
},
|
|
336
|
-
{
|
|
337
|
-
"
|
|
356
|
+
"answer": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"default": ""
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"required": [
|
|
362
|
+
"type"
|
|
363
|
+
],
|
|
364
|
+
"additionalProperties": false
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "object",
|
|
368
|
+
"properties": {
|
|
369
|
+
"type": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"const": "textArea"
|
|
338
372
|
},
|
|
339
|
-
{
|
|
340
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
373
|
+
"meta": {
|
|
374
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
341
375
|
},
|
|
342
|
-
{
|
|
343
|
-
"type": "
|
|
344
|
-
"
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
"
|
|
357
|
-
|
|
358
|
-
"answer",
|
|
359
|
-
"meta"
|
|
360
|
-
],
|
|
361
|
-
"additionalProperties": false
|
|
376
|
+
"answer": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"default": ""
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"required": [
|
|
382
|
+
"type"
|
|
383
|
+
],
|
|
384
|
+
"additionalProperties": false
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"type": "object",
|
|
388
|
+
"properties": {
|
|
389
|
+
"type": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"const": "url"
|
|
362
392
|
},
|
|
363
|
-
{
|
|
364
|
-
"
|
|
365
|
-
"properties": {
|
|
366
|
-
"type": {
|
|
367
|
-
"type": "string",
|
|
368
|
-
"const": "textArea"
|
|
369
|
-
},
|
|
370
|
-
"answer": {
|
|
371
|
-
"type": "string"
|
|
372
|
-
},
|
|
373
|
-
"meta": {
|
|
374
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
"required": [
|
|
378
|
-
"type",
|
|
379
|
-
"answer",
|
|
380
|
-
"meta"
|
|
381
|
-
],
|
|
382
|
-
"additionalProperties": false
|
|
393
|
+
"meta": {
|
|
394
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
383
395
|
},
|
|
384
|
-
{
|
|
385
|
-
"type": "
|
|
386
|
-
"
|
|
387
|
-
"type": {
|
|
388
|
-
"type": "string",
|
|
389
|
-
"const": "url"
|
|
390
|
-
},
|
|
391
|
-
"answer": {
|
|
392
|
-
"type": "string"
|
|
393
|
-
},
|
|
394
|
-
"meta": {
|
|
395
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/0/properties/meta"
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
"required": [
|
|
399
|
-
"type",
|
|
400
|
-
"answer",
|
|
401
|
-
"meta"
|
|
402
|
-
],
|
|
403
|
-
"additionalProperties": false
|
|
396
|
+
"answer": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"default": ""
|
|
404
399
|
}
|
|
405
|
-
|
|
400
|
+
},
|
|
401
|
+
"required": [
|
|
402
|
+
"type"
|
|
403
|
+
],
|
|
404
|
+
"additionalProperties": false
|
|
406
405
|
}
|
|
407
|
-
|
|
408
|
-
"required": [
|
|
409
|
-
"heading",
|
|
410
|
-
"content"
|
|
411
|
-
],
|
|
412
|
-
"additionalProperties": false
|
|
406
|
+
]
|
|
413
407
|
}
|
|
414
408
|
}
|
|
415
409
|
},
|
|
@@ -417,27 +411,35 @@
|
|
|
417
411
|
"columns"
|
|
418
412
|
],
|
|
419
413
|
"additionalProperties": false
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
414
|
+
},
|
|
415
|
+
"default": [
|
|
416
|
+
{
|
|
417
|
+
"columns": [
|
|
418
|
+
{
|
|
419
|
+
"type": "textArea",
|
|
420
|
+
"answer": "",
|
|
421
|
+
"meta": {
|
|
422
|
+
"schemaVersion": "1.0"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
]
|
|
426
|
+
}
|
|
427
|
+
]
|
|
424
428
|
}
|
|
425
429
|
},
|
|
426
430
|
"required": [
|
|
427
|
-
"type"
|
|
428
|
-
"answer",
|
|
429
|
-
"meta"
|
|
431
|
+
"type"
|
|
430
432
|
],
|
|
431
433
|
"additionalProperties": false
|
|
432
434
|
},
|
|
433
435
|
{
|
|
434
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
436
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/9/properties/answer/items/properties/columns/items/anyOf/12"
|
|
435
437
|
},
|
|
436
438
|
{
|
|
437
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
439
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/9/properties/answer/items/properties/columns/items/anyOf/13"
|
|
438
440
|
},
|
|
439
441
|
{
|
|
440
|
-
"$ref": "#/definitions/AnyAnswer/anyOf/
|
|
442
|
+
"$ref": "#/definitions/AnyAnswer/anyOf/9/properties/answer/items/properties/columns/items/anyOf/14"
|
|
441
443
|
}
|
|
442
444
|
]
|
|
443
445
|
}
|