@dmptool/types 1.0.5 → 1.0.7
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 +5 -4
- package/dist/answers/__tests__/answers.spec.js +59 -7
- package/dist/answers/answer.d.ts +3 -3
- package/dist/answers/dateAnswers.d.ts +5 -5
- package/dist/answers/dateAnswers.js +3 -3
- package/dist/answers/index.d.ts +892 -513
- package/dist/answers/index.js +3 -2
- package/dist/answers/primitiveAnswers.d.ts +39 -0
- package/dist/answers/primitiveAnswers.js +8 -1
- package/dist/answers/tableAnswers.d.ts +1639 -32
- package/dist/answers/tableAnswers.js +10 -3
- package/dist/questions/__tests__/dateQuestions.spec.js +20 -20
- package/dist/questions/__tests__/primitiveQuestions.spec.js +92 -0
- package/dist/questions/__tests__/tableQuestion.spec.d.ts +1 -0
- package/dist/questions/__tests__/tableQuestion.spec.js +73 -0
- package/dist/questions/dateQuestions.d.ts +19 -19
- package/dist/questions/dateQuestions.js +8 -8
- package/dist/questions/graphQLQuestions.d.ts +20 -20
- package/dist/questions/graphQLQuestions.js +1 -1
- package/dist/questions/index.d.ts +1875 -1380
- package/dist/questions/index.js +3 -2
- package/dist/questions/optionBasedQuestions.js +1 -1
- package/dist/questions/primitiveQuestions.d.ts +214 -0
- package/dist/questions/primitiveQuestions.js +20 -3
- package/dist/questions/question.d.ts +4 -4
- package/dist/questions/question.js +2 -1
- package/dist/questions/tableQuestions.d.ts +2176 -145
- package/dist/questions/tableQuestions.js +7 -3
- package/dist/schemas/anyAnswer.schema.json +144 -119
- package/dist/schemas/anyQuestion.schema.json +161 -132
- package/dist/schemas/anyTableColumnAnswer.schema.json +1 -1
- package/dist/schemas/anyTableColumnQuestion.schema.json +20 -3
- package/dist/schemas/currencyQuestion.schema.json +10 -0
- package/dist/schemas/dateAnswer.schema.json +37 -0
- package/dist/schemas/datePickerAnswer.schema.json +4 -4
- package/dist/schemas/datePickerQuestion.schema.json +6 -5
- package/dist/schemas/dateQuestion.schema.json +51 -0
- package/dist/schemas/dateRangeQuestion.schema.json +1 -1
- package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
- package/dist/schemas/numberRangeAnswer.schema.json +50 -0
- package/dist/schemas/numberRangeQuestion.schema.json +106 -0
- package/dist/schemas/tableAnswer.schema.json +349 -324
- package/dist/schemas/tableQuestion.schema.json +497 -468
- package/dist/schemas/textAreaQuestion.schema.json +10 -0
- package/package.json +1 -1
|
@@ -27,612 +27,641 @@
|
|
|
27
27
|
"columns": {
|
|
28
28
|
"type": "array",
|
|
29
29
|
"items": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"meta": {
|
|
39
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
40
|
-
},
|
|
41
|
-
"attributes": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"heading": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"content": {
|
|
36
|
+
"anyOf": [
|
|
37
|
+
{
|
|
42
38
|
"type": "object",
|
|
43
39
|
"properties": {
|
|
44
|
-
"
|
|
45
|
-
"type": "
|
|
40
|
+
"type": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"const": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"meta": {
|
|
45
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
46
|
+
},
|
|
47
|
+
"attributes": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"checked": {
|
|
51
|
+
"type": "boolean"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
46
55
|
}
|
|
47
56
|
},
|
|
57
|
+
"required": [
|
|
58
|
+
"type",
|
|
59
|
+
"meta"
|
|
60
|
+
],
|
|
48
61
|
"additionalProperties": false
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"required": [
|
|
52
|
-
"type",
|
|
53
|
-
"meta"
|
|
54
|
-
],
|
|
55
|
-
"additionalProperties": false
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"type": "object",
|
|
59
|
-
"properties": {
|
|
60
|
-
"type": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"const": "checkBoxes"
|
|
63
|
-
},
|
|
64
|
-
"meta": {
|
|
65
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
66
62
|
},
|
|
67
|
-
|
|
68
|
-
"type": "
|
|
69
|
-
"
|
|
70
|
-
"type":
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
63
|
+
{
|
|
64
|
+
"type": "object",
|
|
65
|
+
"properties": {
|
|
66
|
+
"type": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"const": "checkBoxes"
|
|
69
|
+
},
|
|
70
|
+
"meta": {
|
|
71
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
72
|
+
},
|
|
73
|
+
"options": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
77
76
|
"type": "object",
|
|
78
77
|
"properties": {
|
|
79
|
-
"
|
|
80
|
-
"type": "string"
|
|
81
|
-
|
|
82
|
-
"value": {
|
|
83
|
-
"type": "string"
|
|
78
|
+
"type": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"const": "option"
|
|
84
81
|
},
|
|
85
|
-
"
|
|
86
|
-
"type": "
|
|
82
|
+
"attributes": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"properties": {
|
|
85
|
+
"label": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"value": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"checked": {
|
|
92
|
+
"type": "boolean"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": [
|
|
96
|
+
"label",
|
|
97
|
+
"value"
|
|
98
|
+
],
|
|
99
|
+
"additionalProperties": false
|
|
87
100
|
}
|
|
88
101
|
},
|
|
89
102
|
"required": [
|
|
90
|
-
"
|
|
91
|
-
"
|
|
103
|
+
"type",
|
|
104
|
+
"attributes"
|
|
92
105
|
],
|
|
93
106
|
"additionalProperties": false
|
|
94
107
|
}
|
|
95
|
-
},
|
|
96
|
-
"required": [
|
|
97
|
-
"type",
|
|
98
|
-
"attributes"
|
|
99
|
-
],
|
|
100
|
-
"additionalProperties": false
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"required": [
|
|
105
|
-
"type",
|
|
106
|
-
"meta",
|
|
107
|
-
"options"
|
|
108
|
-
],
|
|
109
|
-
"additionalProperties": false
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"type": "object",
|
|
113
|
-
"properties": {
|
|
114
|
-
"type": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"const": "currency"
|
|
117
|
-
},
|
|
118
|
-
"meta": {
|
|
119
|
-
"type": "object",
|
|
120
|
-
"properties": {
|
|
121
|
-
"denomination": {
|
|
122
|
-
"type": "string"
|
|
123
108
|
}
|
|
124
109
|
},
|
|
110
|
+
"required": [
|
|
111
|
+
"type",
|
|
112
|
+
"meta",
|
|
113
|
+
"options"
|
|
114
|
+
],
|
|
125
115
|
"additionalProperties": false
|
|
126
116
|
},
|
|
127
|
-
|
|
117
|
+
{
|
|
128
118
|
"type": "object",
|
|
129
119
|
"properties": {
|
|
130
|
-
"
|
|
131
|
-
"type": "
|
|
120
|
+
"type": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"const": "currency"
|
|
132
123
|
},
|
|
133
|
-
"
|
|
134
|
-
"type": "
|
|
124
|
+
"meta": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"schemaVersion": {
|
|
128
|
+
"$ref": "#/definitions/TableQuestion/properties/meta/properties/schemaVersion"
|
|
129
|
+
},
|
|
130
|
+
"labelTranslationKey": {
|
|
131
|
+
"$ref": "#/definitions/TableQuestion/properties/meta/properties/labelTranslationKey"
|
|
132
|
+
},
|
|
133
|
+
"denomination": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"schemaVersion"
|
|
139
|
+
],
|
|
140
|
+
"additionalProperties": false
|
|
135
141
|
},
|
|
136
|
-
"
|
|
137
|
-
"type": "
|
|
142
|
+
"attributes": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"max": {
|
|
146
|
+
"type": "number"
|
|
147
|
+
},
|
|
148
|
+
"min": {
|
|
149
|
+
"type": "number"
|
|
150
|
+
},
|
|
151
|
+
"step": {
|
|
152
|
+
"type": "number"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"additionalProperties": false
|
|
138
156
|
}
|
|
139
157
|
},
|
|
158
|
+
"required": [
|
|
159
|
+
"type",
|
|
160
|
+
"meta"
|
|
161
|
+
],
|
|
140
162
|
"additionalProperties": false
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"required": [
|
|
144
|
-
"type",
|
|
145
|
-
"meta"
|
|
146
|
-
],
|
|
147
|
-
"additionalProperties": false
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"type": "object",
|
|
151
|
-
"properties": {
|
|
152
|
-
"type": {
|
|
153
|
-
"type": "string",
|
|
154
|
-
"const": "datePicker"
|
|
155
|
-
},
|
|
156
|
-
"meta": {
|
|
157
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
158
163
|
},
|
|
159
|
-
|
|
164
|
+
{
|
|
160
165
|
"type": "object",
|
|
161
166
|
"properties": {
|
|
162
|
-
"
|
|
163
|
-
"type": "string"
|
|
167
|
+
"type": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"const": "date"
|
|
164
170
|
},
|
|
165
|
-
"
|
|
166
|
-
"
|
|
171
|
+
"meta": {
|
|
172
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
167
173
|
},
|
|
168
|
-
"
|
|
169
|
-
"type": "
|
|
174
|
+
"attributes": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"max": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
"min": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"step": {
|
|
184
|
+
"type": "number"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"additionalProperties": false
|
|
170
188
|
}
|
|
171
189
|
},
|
|
190
|
+
"required": [
|
|
191
|
+
"type",
|
|
192
|
+
"meta"
|
|
193
|
+
],
|
|
172
194
|
"additionalProperties": false
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"required": [
|
|
176
|
-
"type",
|
|
177
|
-
"meta"
|
|
178
|
-
],
|
|
179
|
-
"additionalProperties": false
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"type": "object",
|
|
183
|
-
"properties": {
|
|
184
|
-
"type": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"const": "dateRange"
|
|
187
195
|
},
|
|
188
|
-
|
|
189
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
190
|
-
},
|
|
191
|
-
"columns": {
|
|
196
|
+
{
|
|
192
197
|
"type": "object",
|
|
193
198
|
"properties": {
|
|
194
|
-
"
|
|
199
|
+
"type": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"const": "dateRange"
|
|
202
|
+
},
|
|
203
|
+
"meta": {
|
|
204
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
205
|
+
},
|
|
206
|
+
"columns": {
|
|
195
207
|
"type": "object",
|
|
196
208
|
"properties": {
|
|
197
|
-
"
|
|
198
|
-
"$ref": "#/definitions/TableQuestion/properties/columns/items/anyOf/3/properties/type"
|
|
199
|
-
},
|
|
200
|
-
"meta": {
|
|
201
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
202
|
-
},
|
|
203
|
-
"attributes": {
|
|
209
|
+
"start": {
|
|
204
210
|
"type": "object",
|
|
205
211
|
"properties": {
|
|
206
|
-
"
|
|
207
|
-
"
|
|
212
|
+
"type": {
|
|
213
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/3/properties/type"
|
|
214
|
+
},
|
|
215
|
+
"meta": {
|
|
216
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
217
|
+
},
|
|
218
|
+
"attributes": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {
|
|
221
|
+
"label": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"label"
|
|
227
|
+
],
|
|
228
|
+
"additionalProperties": false
|
|
208
229
|
}
|
|
209
230
|
},
|
|
210
231
|
"required": [
|
|
211
|
-
"
|
|
232
|
+
"type",
|
|
233
|
+
"meta",
|
|
234
|
+
"attributes"
|
|
212
235
|
],
|
|
213
236
|
"additionalProperties": false
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"required": [
|
|
217
|
-
"type",
|
|
218
|
-
"meta",
|
|
219
|
-
"attributes"
|
|
220
|
-
],
|
|
221
|
-
"additionalProperties": false
|
|
222
|
-
},
|
|
223
|
-
"end": {
|
|
224
|
-
"type": "object",
|
|
225
|
-
"properties": {
|
|
226
|
-
"type": {
|
|
227
|
-
"$ref": "#/definitions/TableQuestion/properties/columns/items/anyOf/3/properties/type"
|
|
228
237
|
},
|
|
229
|
-
"
|
|
230
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
231
|
-
},
|
|
232
|
-
"attributes": {
|
|
238
|
+
"end": {
|
|
233
239
|
"type": "object",
|
|
234
240
|
"properties": {
|
|
235
|
-
"
|
|
236
|
-
"
|
|
241
|
+
"type": {
|
|
242
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/3/properties/type"
|
|
243
|
+
},
|
|
244
|
+
"meta": {
|
|
245
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
246
|
+
},
|
|
247
|
+
"attributes": {
|
|
248
|
+
"type": "object",
|
|
249
|
+
"properties": {
|
|
250
|
+
"label": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"required": [
|
|
255
|
+
"label"
|
|
256
|
+
],
|
|
257
|
+
"additionalProperties": false
|
|
237
258
|
}
|
|
238
259
|
},
|
|
239
260
|
"required": [
|
|
240
|
-
"
|
|
261
|
+
"type",
|
|
262
|
+
"meta",
|
|
263
|
+
"attributes"
|
|
241
264
|
],
|
|
242
265
|
"additionalProperties": false
|
|
243
266
|
}
|
|
244
267
|
},
|
|
245
268
|
"required": [
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"attributes"
|
|
269
|
+
"start",
|
|
270
|
+
"end"
|
|
249
271
|
],
|
|
250
272
|
"additionalProperties": false
|
|
251
273
|
}
|
|
252
274
|
},
|
|
253
275
|
"required": [
|
|
254
|
-
"
|
|
255
|
-
"
|
|
276
|
+
"type",
|
|
277
|
+
"meta",
|
|
278
|
+
"columns"
|
|
256
279
|
],
|
|
257
280
|
"additionalProperties": false
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
"required": [
|
|
261
|
-
"type",
|
|
262
|
-
"meta",
|
|
263
|
-
"columns"
|
|
264
|
-
],
|
|
265
|
-
"additionalProperties": false
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"type": "object",
|
|
269
|
-
"properties": {
|
|
270
|
-
"type": {
|
|
271
|
-
"type": "string",
|
|
272
|
-
"const": "email"
|
|
273
|
-
},
|
|
274
|
-
"meta": {
|
|
275
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
276
281
|
},
|
|
277
|
-
|
|
282
|
+
{
|
|
278
283
|
"type": "object",
|
|
279
284
|
"properties": {
|
|
280
|
-
"
|
|
281
|
-
"type": "
|
|
285
|
+
"type": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"const": "email"
|
|
282
288
|
},
|
|
283
|
-
"
|
|
284
|
-
"
|
|
289
|
+
"meta": {
|
|
290
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
285
291
|
},
|
|
286
|
-
"
|
|
287
|
-
"type": "
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
292
|
+
"attributes": {
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"maxLength": {
|
|
296
|
+
"type": "number"
|
|
297
|
+
},
|
|
298
|
+
"minLength": {
|
|
299
|
+
"type": "number"
|
|
300
|
+
},
|
|
301
|
+
"multiple": {
|
|
302
|
+
"type": "boolean"
|
|
303
|
+
},
|
|
304
|
+
"pattern": {
|
|
305
|
+
"type": "string"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"additionalProperties": false
|
|
291
309
|
}
|
|
292
310
|
},
|
|
311
|
+
"required": [
|
|
312
|
+
"type",
|
|
313
|
+
"meta"
|
|
314
|
+
],
|
|
293
315
|
"additionalProperties": false
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"required": [
|
|
297
|
-
"type",
|
|
298
|
-
"meta"
|
|
299
|
-
],
|
|
300
|
-
"additionalProperties": false
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"type": "object",
|
|
304
|
-
"properties": {
|
|
305
|
-
"type": {
|
|
306
|
-
"type": "string",
|
|
307
|
-
"const": "filteredSearch"
|
|
308
316
|
},
|
|
309
|
-
|
|
310
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
311
|
-
},
|
|
312
|
-
"graphQL": {
|
|
317
|
+
{
|
|
313
318
|
"type": "object",
|
|
314
319
|
"properties": {
|
|
315
|
-
"
|
|
316
|
-
"type": "
|
|
317
|
-
"
|
|
318
|
-
"type": "object",
|
|
319
|
-
"properties": {
|
|
320
|
-
"propertyName": {
|
|
321
|
-
"type": "string"
|
|
322
|
-
},
|
|
323
|
-
"label": {
|
|
324
|
-
"type": "string"
|
|
325
|
-
},
|
|
326
|
-
"labelTranslationKey": {
|
|
327
|
-
"type": "string"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
"required": [
|
|
331
|
-
"propertyName",
|
|
332
|
-
"label"
|
|
333
|
-
],
|
|
334
|
-
"additionalProperties": false
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
"localQueryId": {
|
|
338
|
-
"type": "string"
|
|
339
|
-
},
|
|
340
|
-
"query": {
|
|
341
|
-
"type": "string"
|
|
320
|
+
"type": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"const": "filteredSearch"
|
|
342
323
|
},
|
|
343
|
-
"
|
|
344
|
-
"
|
|
324
|
+
"meta": {
|
|
325
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
345
326
|
},
|
|
346
|
-
"
|
|
347
|
-
"type": "
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
|
|
351
|
-
"
|
|
352
|
-
"type": "
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
327
|
+
"graphQL": {
|
|
328
|
+
"type": "object",
|
|
329
|
+
"properties": {
|
|
330
|
+
"displayFields": {
|
|
331
|
+
"type": "array",
|
|
332
|
+
"items": {
|
|
333
|
+
"type": "object",
|
|
334
|
+
"properties": {
|
|
335
|
+
"propertyName": {
|
|
336
|
+
"type": "string"
|
|
337
|
+
},
|
|
338
|
+
"label": {
|
|
339
|
+
"type": "string"
|
|
340
|
+
},
|
|
341
|
+
"labelTranslationKey": {
|
|
342
|
+
"type": "string"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"required": [
|
|
346
|
+
"propertyName",
|
|
347
|
+
"label"
|
|
348
|
+
],
|
|
349
|
+
"additionalProperties": false
|
|
368
350
|
}
|
|
369
351
|
},
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
352
|
+
"localQueryId": {
|
|
353
|
+
"type": "string"
|
|
354
|
+
},
|
|
355
|
+
"query": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
},
|
|
358
|
+
"responseField": {
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
"variables": {
|
|
362
|
+
"type": "array",
|
|
363
|
+
"items": {
|
|
364
|
+
"type": "object",
|
|
365
|
+
"properties": {
|
|
366
|
+
"minLength": {
|
|
367
|
+
"type": "number"
|
|
368
|
+
},
|
|
369
|
+
"label": {
|
|
370
|
+
"type": "string"
|
|
371
|
+
},
|
|
372
|
+
"labelTranslationKey": {
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"name": {
|
|
376
|
+
"type": "string"
|
|
377
|
+
},
|
|
378
|
+
"type": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"defaultValue": {
|
|
382
|
+
"type": "string"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"required": [
|
|
386
|
+
"name",
|
|
387
|
+
"type"
|
|
388
|
+
],
|
|
389
|
+
"additionalProperties": false
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"required": [
|
|
394
|
+
"displayFields",
|
|
395
|
+
"responseField"
|
|
396
|
+
],
|
|
397
|
+
"additionalProperties": false
|
|
398
|
+
},
|
|
399
|
+
"attributes": {
|
|
400
|
+
"type": "object",
|
|
401
|
+
"properties": {
|
|
402
|
+
"multiple": {
|
|
403
|
+
"type": "boolean"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"additionalProperties": false
|
|
376
407
|
}
|
|
377
408
|
},
|
|
378
409
|
"required": [
|
|
379
|
-
"
|
|
380
|
-
"
|
|
410
|
+
"type",
|
|
411
|
+
"meta",
|
|
412
|
+
"graphQL"
|
|
381
413
|
],
|
|
382
414
|
"additionalProperties": false
|
|
383
415
|
},
|
|
384
|
-
|
|
416
|
+
{
|
|
385
417
|
"type": "object",
|
|
386
418
|
"properties": {
|
|
387
|
-
"
|
|
388
|
-
"type": "
|
|
419
|
+
"type": {
|
|
420
|
+
"type": "string",
|
|
421
|
+
"const": "number"
|
|
422
|
+
},
|
|
423
|
+
"meta": {
|
|
424
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
425
|
+
},
|
|
426
|
+
"attributes": {
|
|
427
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/2/properties/attributes"
|
|
389
428
|
}
|
|
390
429
|
},
|
|
430
|
+
"required": [
|
|
431
|
+
"type",
|
|
432
|
+
"meta"
|
|
433
|
+
],
|
|
391
434
|
"additionalProperties": false
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
"required": [
|
|
395
|
-
"type",
|
|
396
|
-
"meta",
|
|
397
|
-
"graphQL",
|
|
398
|
-
"attributes"
|
|
399
|
-
],
|
|
400
|
-
"additionalProperties": false
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"type": "object",
|
|
404
|
-
"properties": {
|
|
405
|
-
"type": {
|
|
406
|
-
"type": "string",
|
|
407
|
-
"const": "number"
|
|
408
|
-
},
|
|
409
|
-
"meta": {
|
|
410
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
411
|
-
},
|
|
412
|
-
"attributes": {
|
|
413
|
-
"$ref": "#/definitions/TableQuestion/properties/columns/items/anyOf/2/properties/attributes"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
"required": [
|
|
417
|
-
"type",
|
|
418
|
-
"meta"
|
|
419
|
-
],
|
|
420
|
-
"additionalProperties": false
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"type": "object",
|
|
424
|
-
"properties": {
|
|
425
|
-
"type": {
|
|
426
|
-
"type": "string",
|
|
427
|
-
"const": "radioButtons"
|
|
428
|
-
},
|
|
429
|
-
"meta": {
|
|
430
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
431
435
|
},
|
|
432
|
-
|
|
433
|
-
"type": "
|
|
434
|
-
"
|
|
435
|
-
"type":
|
|
436
|
-
|
|
437
|
-
"
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
436
|
+
{
|
|
437
|
+
"type": "object",
|
|
438
|
+
"properties": {
|
|
439
|
+
"type": {
|
|
440
|
+
"type": "string",
|
|
441
|
+
"const": "radioButtons"
|
|
442
|
+
},
|
|
443
|
+
"meta": {
|
|
444
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
445
|
+
},
|
|
446
|
+
"options": {
|
|
447
|
+
"type": "array",
|
|
448
|
+
"items": {
|
|
442
449
|
"type": "object",
|
|
443
450
|
"properties": {
|
|
444
|
-
"
|
|
445
|
-
"
|
|
446
|
-
|
|
447
|
-
"value": {
|
|
448
|
-
"$ref": "#/definitions/TableQuestion/properties/columns/items/anyOf/1/properties/options/items/properties/attributes/properties/value"
|
|
451
|
+
"type": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"const": "option"
|
|
449
454
|
},
|
|
450
|
-
"
|
|
451
|
-
"type": "
|
|
455
|
+
"attributes": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"properties": {
|
|
458
|
+
"label": {
|
|
459
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/1/properties/options/items/properties/attributes/properties/label"
|
|
460
|
+
},
|
|
461
|
+
"value": {
|
|
462
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/1/properties/options/items/properties/attributes/properties/value"
|
|
463
|
+
},
|
|
464
|
+
"selected": {
|
|
465
|
+
"type": "boolean"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"required": [
|
|
469
|
+
"label",
|
|
470
|
+
"value"
|
|
471
|
+
],
|
|
472
|
+
"additionalProperties": false
|
|
452
473
|
}
|
|
453
474
|
},
|
|
454
475
|
"required": [
|
|
455
|
-
"
|
|
456
|
-
"
|
|
476
|
+
"type",
|
|
477
|
+
"attributes"
|
|
457
478
|
],
|
|
458
479
|
"additionalProperties": false
|
|
459
480
|
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
"
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
"required": [
|
|
470
|
-
"type",
|
|
471
|
-
"meta",
|
|
472
|
-
"options"
|
|
473
|
-
],
|
|
474
|
-
"additionalProperties": false
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"type": "object",
|
|
478
|
-
"properties": {
|
|
479
|
-
"type": {
|
|
480
|
-
"type": "string",
|
|
481
|
-
"const": "selectBox"
|
|
482
|
-
},
|
|
483
|
-
"meta": {
|
|
484
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
485
|
-
},
|
|
486
|
-
"options": {
|
|
487
|
-
"type": "array",
|
|
488
|
-
"items": {
|
|
489
|
-
"$ref": "#/definitions/TableQuestion/properties/columns/items/anyOf/8/properties/options/items"
|
|
490
|
-
}
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"required": [
|
|
484
|
+
"type",
|
|
485
|
+
"meta",
|
|
486
|
+
"options"
|
|
487
|
+
],
|
|
488
|
+
"additionalProperties": false
|
|
491
489
|
},
|
|
492
|
-
|
|
490
|
+
{
|
|
493
491
|
"type": "object",
|
|
494
492
|
"properties": {
|
|
495
|
-
"
|
|
496
|
-
"type": "
|
|
493
|
+
"type": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"const": "selectBox"
|
|
496
|
+
},
|
|
497
|
+
"meta": {
|
|
498
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
499
|
+
},
|
|
500
|
+
"options": {
|
|
501
|
+
"type": "array",
|
|
502
|
+
"items": {
|
|
503
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/8/properties/options/items"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"attributes": {
|
|
507
|
+
"type": "object",
|
|
508
|
+
"properties": {
|
|
509
|
+
"multiple": {
|
|
510
|
+
"type": "boolean"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"additionalProperties": false
|
|
497
514
|
}
|
|
498
515
|
},
|
|
516
|
+
"required": [
|
|
517
|
+
"type",
|
|
518
|
+
"meta",
|
|
519
|
+
"options"
|
|
520
|
+
],
|
|
499
521
|
"additionalProperties": false
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
"required": [
|
|
503
|
-
"type",
|
|
504
|
-
"meta",
|
|
505
|
-
"options"
|
|
506
|
-
],
|
|
507
|
-
"additionalProperties": false
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"type": "object",
|
|
511
|
-
"properties": {
|
|
512
|
-
"type": {
|
|
513
|
-
"type": "string",
|
|
514
|
-
"const": "textArea"
|
|
515
522
|
},
|
|
516
|
-
|
|
523
|
+
{
|
|
517
524
|
"type": "object",
|
|
518
525
|
"properties": {
|
|
519
|
-
"
|
|
520
|
-
"type": "
|
|
526
|
+
"type": {
|
|
527
|
+
"type": "string",
|
|
528
|
+
"const": "textArea"
|
|
529
|
+
},
|
|
530
|
+
"meta": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"schemaVersion": {
|
|
534
|
+
"$ref": "#/definitions/TableQuestion/properties/meta/properties/schemaVersion"
|
|
535
|
+
},
|
|
536
|
+
"labelTranslationKey": {
|
|
537
|
+
"$ref": "#/definitions/TableQuestion/properties/meta/properties/labelTranslationKey"
|
|
538
|
+
},
|
|
539
|
+
"asRichText": {
|
|
540
|
+
"type": "boolean"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"required": [
|
|
544
|
+
"schemaVersion"
|
|
545
|
+
],
|
|
546
|
+
"additionalProperties": false
|
|
547
|
+
},
|
|
548
|
+
"attributes": {
|
|
549
|
+
"type": "object",
|
|
550
|
+
"properties": {
|
|
551
|
+
"cols": {
|
|
552
|
+
"type": "number"
|
|
553
|
+
},
|
|
554
|
+
"maxLength": {
|
|
555
|
+
"type": "number"
|
|
556
|
+
},
|
|
557
|
+
"minLength": {
|
|
558
|
+
"type": "number"
|
|
559
|
+
},
|
|
560
|
+
"rows": {
|
|
561
|
+
"type": "number"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"additionalProperties": false
|
|
521
565
|
}
|
|
522
566
|
},
|
|
567
|
+
"required": [
|
|
568
|
+
"type",
|
|
569
|
+
"meta"
|
|
570
|
+
],
|
|
523
571
|
"additionalProperties": false
|
|
524
572
|
},
|
|
525
|
-
|
|
573
|
+
{
|
|
526
574
|
"type": "object",
|
|
527
575
|
"properties": {
|
|
528
|
-
"
|
|
529
|
-
"type": "
|
|
576
|
+
"type": {
|
|
577
|
+
"type": "string",
|
|
578
|
+
"const": "text"
|
|
530
579
|
},
|
|
531
|
-
"
|
|
532
|
-
"
|
|
580
|
+
"meta": {
|
|
581
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
533
582
|
},
|
|
534
|
-
"
|
|
535
|
-
"type": "
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
583
|
+
"attributes": {
|
|
584
|
+
"type": "object",
|
|
585
|
+
"properties": {
|
|
586
|
+
"maxLength": {
|
|
587
|
+
"type": "number"
|
|
588
|
+
},
|
|
589
|
+
"minLength": {
|
|
590
|
+
"type": "number"
|
|
591
|
+
},
|
|
592
|
+
"pattern": {
|
|
593
|
+
"type": "string"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"additionalProperties": false
|
|
539
597
|
}
|
|
540
598
|
},
|
|
599
|
+
"required": [
|
|
600
|
+
"type",
|
|
601
|
+
"meta"
|
|
602
|
+
],
|
|
541
603
|
"additionalProperties": false
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
"required": [
|
|
545
|
-
"type",
|
|
546
|
-
"meta"
|
|
547
|
-
],
|
|
548
|
-
"additionalProperties": false
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"type": "object",
|
|
552
|
-
"properties": {
|
|
553
|
-
"type": {
|
|
554
|
-
"type": "string",
|
|
555
|
-
"const": "text"
|
|
556
|
-
},
|
|
557
|
-
"meta": {
|
|
558
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
559
604
|
},
|
|
560
|
-
|
|
605
|
+
{
|
|
561
606
|
"type": "object",
|
|
562
607
|
"properties": {
|
|
563
|
-
"
|
|
564
|
-
"type": "
|
|
608
|
+
"type": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"const": "typeaheadSearch"
|
|
565
611
|
},
|
|
566
|
-
"
|
|
567
|
-
"
|
|
612
|
+
"meta": {
|
|
613
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
568
614
|
},
|
|
569
|
-
"
|
|
570
|
-
"
|
|
615
|
+
"graphQL": {
|
|
616
|
+
"$ref": "#/definitions/TableQuestion/properties/columns/items/properties/content/anyOf/6/properties/graphQL"
|
|
571
617
|
}
|
|
572
618
|
},
|
|
619
|
+
"required": [
|
|
620
|
+
"type",
|
|
621
|
+
"meta",
|
|
622
|
+
"graphQL"
|
|
623
|
+
],
|
|
573
624
|
"additionalProperties": false
|
|
574
|
-
}
|
|
575
|
-
},
|
|
576
|
-
"required": [
|
|
577
|
-
"type",
|
|
578
|
-
"meta"
|
|
579
|
-
],
|
|
580
|
-
"additionalProperties": false
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"type": "object",
|
|
584
|
-
"properties": {
|
|
585
|
-
"type": {
|
|
586
|
-
"type": "string",
|
|
587
|
-
"const": "typeaheadSearch"
|
|
588
|
-
},
|
|
589
|
-
"meta": {
|
|
590
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
591
625
|
},
|
|
592
|
-
|
|
593
|
-
"$ref": "#/definitions/TableQuestion/properties/columns/items/anyOf/6/properties/graphQL"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"required": [
|
|
597
|
-
"type",
|
|
598
|
-
"meta",
|
|
599
|
-
"graphQL"
|
|
600
|
-
],
|
|
601
|
-
"additionalProperties": false
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"type": "object",
|
|
605
|
-
"properties": {
|
|
606
|
-
"type": {
|
|
607
|
-
"type": "string",
|
|
608
|
-
"const": "url"
|
|
609
|
-
},
|
|
610
|
-
"meta": {
|
|
611
|
-
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
612
|
-
},
|
|
613
|
-
"attributes": {
|
|
626
|
+
{
|
|
614
627
|
"type": "object",
|
|
615
628
|
"properties": {
|
|
616
|
-
"
|
|
617
|
-
"type": "
|
|
629
|
+
"type": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"const": "url"
|
|
618
632
|
},
|
|
619
|
-
"
|
|
620
|
-
"
|
|
633
|
+
"meta": {
|
|
634
|
+
"$ref": "#/definitions/TableQuestion/properties/meta"
|
|
621
635
|
},
|
|
622
|
-
"
|
|
623
|
-
"type": "
|
|
636
|
+
"attributes": {
|
|
637
|
+
"type": "object",
|
|
638
|
+
"properties": {
|
|
639
|
+
"maxLength": {
|
|
640
|
+
"type": "number"
|
|
641
|
+
},
|
|
642
|
+
"minLength": {
|
|
643
|
+
"type": "number"
|
|
644
|
+
},
|
|
645
|
+
"pattern": {
|
|
646
|
+
"type": "string"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"additionalProperties": false
|
|
624
650
|
}
|
|
625
651
|
},
|
|
652
|
+
"required": [
|
|
653
|
+
"type",
|
|
654
|
+
"meta"
|
|
655
|
+
],
|
|
626
656
|
"additionalProperties": false
|
|
627
657
|
}
|
|
628
|
-
|
|
629
|
-
"required": [
|
|
630
|
-
"type",
|
|
631
|
-
"meta"
|
|
632
|
-
],
|
|
633
|
-
"additionalProperties": false
|
|
658
|
+
]
|
|
634
659
|
}
|
|
635
|
-
|
|
660
|
+
},
|
|
661
|
+
"required": [
|
|
662
|
+
"content"
|
|
663
|
+
],
|
|
664
|
+
"additionalProperties": false
|
|
636
665
|
}
|
|
637
666
|
},
|
|
638
667
|
"attributes": {
|