@dmptool/types 1.1.2 → 1.1.3

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 (37) hide show
  1. package/dist/questions/__tests__/graphQLQuestions.spec.js +6 -4
  2. package/dist/questions/__tests__/optionBasedQuestions.spec.js +4 -12
  3. package/dist/questions/dateQuestions.d.ts +31 -41
  4. package/dist/questions/dateQuestions.js +5 -20
  5. package/dist/questions/graphQLQuestions.d.ts +75 -81
  6. package/dist/questions/graphQLQuestions.js +18 -24
  7. package/dist/questions/index.d.ts +524 -723
  8. package/dist/questions/numberQuestions.d.ts +51 -66
  9. package/dist/questions/numberQuestions.js +6 -28
  10. package/dist/questions/optionBasedQuestions.d.ts +44 -69
  11. package/dist/questions/optionBasedQuestions.js +7 -55
  12. package/dist/questions/question.d.ts +0 -8
  13. package/dist/questions/question.js +0 -1
  14. package/dist/questions/tableQuestions.d.ts +717 -998
  15. package/dist/questions/tableQuestions.js +3 -10
  16. package/dist/questions/textQuestions.d.ts +21 -41
  17. package/dist/questions/textQuestions.js +10 -34
  18. package/dist/schemas/affiliationSearchQuestion.schema.json +39 -26
  19. package/dist/schemas/anyQuestion.schema.json +152 -119
  20. package/dist/schemas/anyTableColumnQuestion.schema.json +142 -104
  21. package/dist/schemas/booleanQuestion.schema.json +2 -5
  22. package/dist/schemas/checkboxesQuestion.schema.json +6 -11
  23. package/dist/schemas/currencyQuestion.schema.json +6 -7
  24. package/dist/schemas/dateQuestion.schema.json +2 -5
  25. package/dist/schemas/dateRangeQuestion.schema.json +6 -5
  26. package/dist/schemas/emailQuestion.schema.json +4 -6
  27. package/dist/schemas/filteredSearchQuestion.schema.json +0 -3
  28. package/dist/schemas/multiselectBoxQuestion.schema.json +6 -11
  29. package/dist/schemas/numberQuestion.schema.json +4 -6
  30. package/dist/schemas/numberRangeQuestion.schema.json +8 -6
  31. package/dist/schemas/radioButtonsQuestion.schema.json +6 -11
  32. package/dist/schemas/selectBoxQuestion.schema.json +7 -15
  33. package/dist/schemas/tableQuestion.schema.json +148 -111
  34. package/dist/schemas/textAreaQuestion.schema.json +6 -7
  35. package/dist/schemas/textQuestion.schema.json +2 -5
  36. package/dist/schemas/urlQuestion.schema.json +2 -5
  37. package/package.json +1 -1
@@ -27,98 +27,97 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
27
27
  help?: string | undefined;
28
28
  labelTranslationKey?: string | undefined;
29
29
  }>>;
30
+ } & {
31
+ type: z.ZodLiteral<"affiliationSearch">;
30
32
  graphQL: z.ZodObject<{
31
- displayFields: z.ZodArray<z.ZodObject<{
32
- propertyName: z.ZodString;
33
- label: z.ZodString;
34
- labelTranslationKey: z.ZodOptional<z.ZodString>;
33
+ localQueryId: z.ZodOptional<z.ZodString>;
34
+ } & {
35
+ query: z.ZodLiteral<"query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}">;
36
+ queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
37
+ variables: z.ZodArray<z.ZodObject<{
38
+ name: z.ZodLiteral<"name">;
39
+ type: z.ZodDefault<z.ZodString>;
40
+ label: z.ZodDefault<z.ZodString>;
41
+ minLength: z.ZodLiteral<3>;
42
+ labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
35
43
  }, "strip", z.ZodTypeAny, {
44
+ type: string;
36
45
  label: string;
37
- propertyName: string;
46
+ minLength: 3;
47
+ name: "name";
38
48
  labelTranslationKey?: string | undefined;
39
49
  }, {
40
- label: string;
41
- propertyName: string;
50
+ minLength: 3;
51
+ name: "name";
52
+ type?: string | undefined;
53
+ label?: string | undefined;
42
54
  labelTranslationKey?: string | undefined;
43
55
  }>, "many">;
44
- localQueryId: z.ZodOptional<z.ZodString>;
45
- query: z.ZodOptional<z.ZodString>;
46
- responseField: z.ZodString;
47
- variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
- minLength: z.ZodOptional<z.ZodNumber>;
49
- label: z.ZodOptional<z.ZodString>;
50
- labelTranslationKey: z.ZodOptional<z.ZodString>;
51
- name: z.ZodString;
52
- type: z.ZodString;
53
- defaultValue: z.ZodOptional<z.ZodString>;
56
+ answerField: z.ZodLiteral<"uri">;
57
+ displayFields: z.ZodArray<z.ZodObject<{
58
+ propertyName: z.ZodLiteral<"displayName">;
59
+ label: z.ZodDefault<z.ZodString>;
60
+ labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
54
61
  }, "strip", z.ZodTypeAny, {
55
- type: string;
56
- name: string;
57
- label?: string | undefined;
62
+ label: string;
63
+ propertyName: "displayName";
58
64
  labelTranslationKey?: string | undefined;
59
- minLength?: number | undefined;
60
- defaultValue?: string | undefined;
61
65
  }, {
62
- type: string;
63
- name: string;
66
+ propertyName: "displayName";
64
67
  label?: string | undefined;
65
68
  labelTranslationKey?: string | undefined;
66
- minLength?: number | undefined;
67
- defaultValue?: string | undefined;
68
- }>, "many">>;
69
+ }>, "many">;
70
+ responseField: z.ZodLiteral<"affiliations.items">;
69
71
  }, "strip", z.ZodTypeAny, {
70
72
  displayFields: {
71
73
  label: string;
72
- propertyName: string;
74
+ propertyName: "displayName";
73
75
  labelTranslationKey?: string | undefined;
74
76
  }[];
75
- responseField: string;
76
- localQueryId?: string | undefined;
77
- query?: string | undefined;
78
- variables?: {
77
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
78
+ responseField: "affiliations.items";
79
+ variables: {
79
80
  type: string;
80
- name: string;
81
- label?: string | undefined;
81
+ label: string;
82
+ minLength: 3;
83
+ name: "name";
82
84
  labelTranslationKey?: string | undefined;
83
- minLength?: number | undefined;
84
- defaultValue?: string | undefined;
85
- }[] | undefined;
85
+ }[];
86
+ answerField: "uri";
87
+ localQueryId?: string | undefined;
88
+ queryId?: string | undefined;
86
89
  }, {
87
90
  displayFields: {
88
- label: string;
89
- propertyName: string;
91
+ propertyName: "displayName";
92
+ label?: string | undefined;
90
93
  labelTranslationKey?: string | undefined;
91
94
  }[];
92
- responseField: string;
93
- localQueryId?: string | undefined;
94
- query?: string | undefined;
95
- variables?: {
96
- type: string;
97
- name: string;
95
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
96
+ responseField: "affiliations.items";
97
+ variables: {
98
+ minLength: 3;
99
+ name: "name";
100
+ type?: string | undefined;
98
101
  label?: string | undefined;
99
102
  labelTranslationKey?: string | undefined;
100
- minLength?: number | undefined;
101
- defaultValue?: string | undefined;
102
- }[] | undefined;
103
+ }[];
104
+ answerField: "uri";
105
+ localQueryId?: string | undefined;
106
+ queryId?: string | undefined;
103
107
  }>;
104
- } & {
105
- type: z.ZodLiteral<"affiliationSearch">;
106
108
  meta: z.ZodObject<{
107
109
  schemaVersion: z.ZodLiteral<"1.0">;
108
110
  } & {
109
111
  title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
110
112
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
111
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
112
113
  }, "strip", z.ZodTypeAny, {
113
114
  schemaVersion: "1.0";
114
115
  title?: "Affiliation Search" | undefined;
115
116
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
116
- defaultJSON?: string | undefined;
117
117
  }, {
118
118
  schemaVersion: "1.0";
119
119
  title?: "Affiliation Search" | undefined;
120
120
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
121
- defaultJSON?: string | undefined;
122
121
  }>;
123
122
  }, "strip", z.ZodTypeAny, {
124
123
  type: "affiliationSearch";
@@ -126,25 +125,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
126
125
  schemaVersion: "1.0";
127
126
  title?: "Affiliation Search" | undefined;
128
127
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
129
- defaultJSON?: string | undefined;
130
128
  };
131
129
  graphQL: {
132
130
  displayFields: {
133
131
  label: string;
134
- propertyName: string;
132
+ propertyName: "displayName";
135
133
  labelTranslationKey?: string | undefined;
136
134
  }[];
137
- responseField: string;
138
- localQueryId?: string | undefined;
139
- query?: string | undefined;
140
- variables?: {
135
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
136
+ responseField: "affiliations.items";
137
+ variables: {
141
138
  type: string;
142
- name: string;
143
- label?: string | undefined;
139
+ label: string;
140
+ minLength: 3;
141
+ name: "name";
144
142
  labelTranslationKey?: string | undefined;
145
- minLength?: number | undefined;
146
- defaultValue?: string | undefined;
147
- }[] | undefined;
143
+ }[];
144
+ answerField: "uri";
145
+ localQueryId?: string | undefined;
146
+ queryId?: string | undefined;
148
147
  };
149
148
  attributes?: {
150
149
  label?: string | undefined;
@@ -157,25 +156,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
157
156
  schemaVersion: "1.0";
158
157
  title?: "Affiliation Search" | undefined;
159
158
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
160
- defaultJSON?: string | undefined;
161
159
  };
162
160
  graphQL: {
163
161
  displayFields: {
164
- label: string;
165
- propertyName: string;
162
+ propertyName: "displayName";
163
+ label?: string | undefined;
166
164
  labelTranslationKey?: string | undefined;
167
165
  }[];
168
- responseField: string;
169
- localQueryId?: string | undefined;
170
- query?: string | undefined;
171
- variables?: {
172
- type: string;
173
- name: string;
166
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
167
+ responseField: "affiliations.items";
168
+ variables: {
169
+ minLength: 3;
170
+ name: "name";
171
+ type?: string | undefined;
174
172
  label?: string | undefined;
175
173
  labelTranslationKey?: string | undefined;
176
- minLength?: number | undefined;
177
- defaultValue?: string | undefined;
178
- }[] | undefined;
174
+ }[];
175
+ answerField: "uri";
176
+ localQueryId?: string | undefined;
177
+ queryId?: string | undefined;
179
178
  };
180
179
  attributes?: {
181
180
  label?: string | undefined;
@@ -189,12 +188,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
189
188
  help: z.ZodOptional<z.ZodString>;
190
189
  labelTranslationKey: z.ZodOptional<z.ZodString>;
191
190
  } & {
192
- checked: z.ZodOptional<z.ZodBoolean>;
191
+ checked: z.ZodDefault<z.ZodBoolean>;
193
192
  }, "strip", z.ZodTypeAny, {
193
+ checked: boolean;
194
194
  label?: string | undefined;
195
195
  help?: string | undefined;
196
196
  labelTranslationKey?: string | undefined;
197
- checked?: boolean | undefined;
198
197
  }, {
199
198
  label?: string | undefined;
200
199
  help?: string | undefined;
@@ -206,31 +205,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
206
205
  } & {
207
206
  title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
208
207
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
209
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
210
208
  }, "strip", z.ZodTypeAny, {
211
209
  schemaVersion: "1.0";
212
210
  title?: "Yes/No Field" | undefined;
213
211
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
214
- defaultJSON?: string | undefined;
215
212
  }, {
216
213
  schemaVersion: "1.0";
217
214
  title?: "Yes/No Field" | undefined;
218
215
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
219
- defaultJSON?: string | undefined;
220
216
  }>>;
221
217
  }, "strip", z.ZodTypeAny, {
222
218
  type: "boolean";
223
219
  attributes?: {
220
+ checked: boolean;
224
221
  label?: string | undefined;
225
222
  help?: string | undefined;
226
223
  labelTranslationKey?: string | undefined;
227
- checked?: boolean | undefined;
228
224
  } | undefined;
229
225
  meta?: {
230
226
  schemaVersion: "1.0";
231
227
  title?: "Yes/No Field" | undefined;
232
228
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
233
- defaultJSON?: string | undefined;
234
229
  } | undefined;
235
230
  }, {
236
231
  type: "boolean";
@@ -244,7 +239,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
244
239
  schemaVersion: "1.0";
245
240
  title?: "Yes/No Field" | undefined;
246
241
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
247
- defaultJSON?: string | undefined;
248
242
  } | undefined;
249
243
  }>, z.ZodObject<{
250
244
  attributes: z.ZodOptional<z.ZodObject<{
@@ -263,17 +257,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
263
257
  } & {
264
258
  type: z.ZodLiteral<"checkBoxes">;
265
259
  options: z.ZodArray<z.ZodObject<{
266
- label: z.ZodString;
267
- value: z.ZodString;
260
+ label: z.ZodDefault<z.ZodString>;
261
+ value: z.ZodDefault<z.ZodString>;
268
262
  } & {
269
- checked: z.ZodOptional<z.ZodBoolean>;
263
+ checked: z.ZodDefault<z.ZodBoolean>;
270
264
  }, "strip", z.ZodTypeAny, {
271
265
  value: string;
272
266
  label: string;
273
- checked?: boolean | undefined;
267
+ checked: boolean;
274
268
  }, {
275
- value: string;
276
- label: string;
269
+ value?: string | undefined;
270
+ label?: string | undefined;
277
271
  checked?: boolean | undefined;
278
272
  }>, "many">;
279
273
  meta: z.ZodOptional<z.ZodObject<{
@@ -281,23 +275,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
281
275
  } & {
282
276
  title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
283
277
  usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
284
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
285
278
  }, "strip", z.ZodTypeAny, {
286
279
  schemaVersion: "1.0";
287
280
  title?: "Check Boxes" | undefined;
288
281
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
289
- defaultJSON?: string | undefined;
290
282
  }, {
291
283
  schemaVersion: "1.0";
292
284
  title?: "Check Boxes" | undefined;
293
285
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
294
- defaultJSON?: string | undefined;
295
286
  }>>;
296
287
  }, "strip", z.ZodTypeAny, {
297
288
  options: {
298
289
  value: string;
299
290
  label: string;
300
- checked?: boolean | undefined;
291
+ checked: boolean;
301
292
  }[];
302
293
  type: "checkBoxes";
303
294
  attributes?: {
@@ -309,12 +300,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
309
300
  schemaVersion: "1.0";
310
301
  title?: "Check Boxes" | undefined;
311
302
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
312
- defaultJSON?: string | undefined;
313
303
  } | undefined;
314
304
  }, {
315
305
  options: {
316
- value: string;
317
- label: string;
306
+ value?: string | undefined;
307
+ label?: string | undefined;
318
308
  checked?: boolean | undefined;
319
309
  }[];
320
310
  type: "checkBoxes";
@@ -327,7 +317,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
327
317
  schemaVersion: "1.0";
328
318
  title?: "Check Boxes" | undefined;
329
319
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
330
- defaultJSON?: string | undefined;
331
320
  } | undefined;
332
321
  }>, z.ZodObject<{} & {
333
322
  type: z.ZodLiteral<"currency">;
@@ -337,18 +326,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
337
326
  labelTranslationKey: z.ZodOptional<z.ZodString>;
338
327
  } & {
339
328
  max: z.ZodOptional<z.ZodNumber>;
340
- min: z.ZodOptional<z.ZodNumber>;
341
- step: z.ZodOptional<z.ZodNumber>;
329
+ min: z.ZodDefault<z.ZodNumber>;
330
+ step: z.ZodDefault<z.ZodNumber>;
342
331
  } & {
343
- denomination: z.ZodOptional<z.ZodString>;
332
+ denomination: z.ZodDefault<z.ZodString>;
344
333
  }, "strip", z.ZodTypeAny, {
334
+ min: number;
335
+ step: number;
336
+ denomination: string;
345
337
  label?: string | undefined;
346
338
  help?: string | undefined;
347
339
  labelTranslationKey?: string | undefined;
348
340
  max?: number | undefined;
349
- min?: number | undefined;
350
- step?: number | undefined;
351
- denomination?: string | undefined;
352
341
  }, {
353
342
  label?: string | undefined;
354
343
  help?: string | undefined;
@@ -363,34 +352,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
363
352
  } & {
364
353
  title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
365
354
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
366
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
367
355
  }, "strip", z.ZodTypeAny, {
368
356
  schemaVersion: "1.0";
369
357
  title?: "Currency Field" | undefined;
370
358
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
371
- defaultJSON?: string | undefined;
372
359
  }, {
373
360
  schemaVersion: "1.0";
374
361
  title?: "Currency Field" | undefined;
375
362
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
376
- defaultJSON?: string | undefined;
377
363
  }>>;
378
364
  }, "strip", z.ZodTypeAny, {
379
365
  type: "currency";
380
366
  attributes?: {
367
+ min: number;
368
+ step: number;
369
+ denomination: string;
381
370
  label?: string | undefined;
382
371
  help?: string | undefined;
383
372
  labelTranslationKey?: string | undefined;
384
373
  max?: number | undefined;
385
- min?: number | undefined;
386
- step?: number | undefined;
387
- denomination?: string | undefined;
388
374
  } | undefined;
389
375
  meta?: {
390
376
  schemaVersion: "1.0";
391
377
  title?: "Currency Field" | undefined;
392
378
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
393
- defaultJSON?: string | undefined;
394
379
  } | undefined;
395
380
  }, {
396
381
  type: "currency";
@@ -407,7 +392,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
407
392
  schemaVersion: "1.0";
408
393
  title?: "Currency Field" | undefined;
409
394
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
410
- defaultJSON?: string | undefined;
411
395
  } | undefined;
412
396
  }>, z.ZodObject<{} & {
413
397
  type: z.ZodLiteral<"date">;
@@ -418,14 +402,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
418
402
  } & {
419
403
  max: z.ZodOptional<z.ZodString>;
420
404
  min: z.ZodOptional<z.ZodString>;
421
- step: z.ZodOptional<z.ZodNumber>;
405
+ step: z.ZodDefault<z.ZodNumber>;
422
406
  }, "strip", z.ZodTypeAny, {
407
+ step: number;
423
408
  label?: string | undefined;
424
409
  help?: string | undefined;
425
410
  labelTranslationKey?: string | undefined;
426
411
  max?: string | undefined;
427
412
  min?: string | undefined;
428
- step?: number | undefined;
429
413
  }, {
430
414
  label?: string | undefined;
431
415
  help?: string | undefined;
@@ -439,33 +423,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
439
423
  } & {
440
424
  title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
441
425
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
442
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
443
426
  }, "strip", z.ZodTypeAny, {
444
427
  schemaVersion: "1.0";
445
428
  title?: "Date Field" | undefined;
446
429
  usageDescription?: "For questions that require a date." | undefined;
447
- defaultJSON?: string | undefined;
448
430
  }, {
449
431
  schemaVersion: "1.0";
450
432
  title?: "Date Field" | undefined;
451
433
  usageDescription?: "For questions that require a date." | undefined;
452
- defaultJSON?: string | undefined;
453
434
  }>>;
454
435
  }, "strip", z.ZodTypeAny, {
455
436
  type: "date";
456
437
  attributes?: {
438
+ step: number;
457
439
  label?: string | undefined;
458
440
  help?: string | undefined;
459
441
  labelTranslationKey?: string | undefined;
460
442
  max?: string | undefined;
461
443
  min?: string | undefined;
462
- step?: number | undefined;
463
444
  } | undefined;
464
445
  meta?: {
465
446
  schemaVersion: "1.0";
466
447
  title?: "Date Field" | undefined;
467
448
  usageDescription?: "For questions that require a date." | undefined;
468
- defaultJSON?: string | undefined;
469
449
  } | undefined;
470
450
  }, {
471
451
  type: "date";
@@ -481,7 +461,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
481
461
  schemaVersion: "1.0";
482
462
  title?: "Date Field" | undefined;
483
463
  usageDescription?: "For questions that require a date." | undefined;
484
- defaultJSON?: string | undefined;
485
464
  } | undefined;
486
465
  }>, z.ZodObject<{
487
466
  attributes: z.ZodOptional<z.ZodObject<{
@@ -500,21 +479,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
500
479
  } & {
501
480
  type: z.ZodLiteral<"dateRange">;
502
481
  columns: z.ZodObject<{
503
- start: z.ZodOptional<z.ZodObject<{
482
+ start: z.ZodObject<{
504
483
  label: z.ZodOptional<z.ZodString>;
505
484
  help: z.ZodOptional<z.ZodString>;
506
485
  labelTranslationKey: z.ZodOptional<z.ZodString>;
507
486
  } & {
508
487
  max: z.ZodOptional<z.ZodString>;
509
488
  min: z.ZodOptional<z.ZodString>;
510
- step: z.ZodOptional<z.ZodNumber>;
489
+ step: z.ZodDefault<z.ZodNumber>;
511
490
  }, "strip", z.ZodTypeAny, {
491
+ step: number;
512
492
  label?: string | undefined;
513
493
  help?: string | undefined;
514
494
  labelTranslationKey?: string | undefined;
515
495
  max?: string | undefined;
516
496
  min?: string | undefined;
517
- step?: number | undefined;
518
497
  }, {
519
498
  label?: string | undefined;
520
499
  help?: string | undefined;
@@ -522,22 +501,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
522
501
  max?: string | undefined;
523
502
  min?: string | undefined;
524
503
  step?: number | undefined;
525
- }>>;
526
- end: z.ZodOptional<z.ZodObject<{
504
+ }>;
505
+ end: z.ZodObject<{
527
506
  label: z.ZodOptional<z.ZodString>;
528
507
  help: z.ZodOptional<z.ZodString>;
529
508
  labelTranslationKey: z.ZodOptional<z.ZodString>;
530
509
  } & {
531
510
  max: z.ZodOptional<z.ZodString>;
532
511
  min: z.ZodOptional<z.ZodString>;
533
- step: z.ZodOptional<z.ZodNumber>;
512
+ step: z.ZodDefault<z.ZodNumber>;
534
513
  }, "strip", z.ZodTypeAny, {
514
+ step: number;
535
515
  label?: string | undefined;
536
516
  help?: string | undefined;
537
517
  labelTranslationKey?: string | undefined;
538
518
  max?: string | undefined;
539
519
  min?: string | undefined;
540
- step?: number | undefined;
541
520
  }, {
542
521
  label?: string | undefined;
543
522
  help?: string | undefined;
@@ -545,78 +524,75 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
545
524
  max?: string | undefined;
546
525
  min?: string | undefined;
547
526
  step?: number | undefined;
548
- }>>;
527
+ }>;
549
528
  }, "strip", z.ZodTypeAny, {
550
- start?: {
529
+ start: {
530
+ step: number;
551
531
  label?: string | undefined;
552
532
  help?: string | undefined;
553
533
  labelTranslationKey?: string | undefined;
554
534
  max?: string | undefined;
555
535
  min?: string | undefined;
556
- step?: number | undefined;
557
- } | undefined;
558
- end?: {
536
+ };
537
+ end: {
538
+ step: number;
559
539
  label?: string | undefined;
560
540
  help?: string | undefined;
561
541
  labelTranslationKey?: string | undefined;
562
542
  max?: string | undefined;
563
543
  min?: string | undefined;
564
- step?: number | undefined;
565
- } | undefined;
544
+ };
566
545
  }, {
567
- start?: {
546
+ start: {
568
547
  label?: string | undefined;
569
548
  help?: string | undefined;
570
549
  labelTranslationKey?: string | undefined;
571
550
  max?: string | undefined;
572
551
  min?: string | undefined;
573
552
  step?: number | undefined;
574
- } | undefined;
575
- end?: {
553
+ };
554
+ end: {
576
555
  label?: string | undefined;
577
556
  help?: string | undefined;
578
557
  labelTranslationKey?: string | undefined;
579
558
  max?: string | undefined;
580
559
  min?: string | undefined;
581
560
  step?: number | undefined;
582
- } | undefined;
561
+ };
583
562
  }>;
584
563
  meta: z.ZodOptional<z.ZodObject<{
585
564
  schemaVersion: z.ZodLiteral<"1.0">;
586
565
  } & {
587
566
  title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
588
567
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
589
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
590
568
  }, "strip", z.ZodTypeAny, {
591
569
  schemaVersion: "1.0";
592
570
  title?: "Date Range" | undefined;
593
571
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
594
- defaultJSON?: string | undefined;
595
572
  }, {
596
573
  schemaVersion: "1.0";
597
574
  title?: "Date Range" | undefined;
598
575
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
599
- defaultJSON?: string | undefined;
600
576
  }>>;
601
577
  }, "strip", z.ZodTypeAny, {
602
578
  type: "dateRange";
603
579
  columns: {
604
- start?: {
580
+ start: {
581
+ step: number;
605
582
  label?: string | undefined;
606
583
  help?: string | undefined;
607
584
  labelTranslationKey?: string | undefined;
608
585
  max?: string | undefined;
609
586
  min?: string | undefined;
610
- step?: number | undefined;
611
- } | undefined;
612
- end?: {
587
+ };
588
+ end: {
589
+ step: number;
613
590
  label?: string | undefined;
614
591
  help?: string | undefined;
615
592
  labelTranslationKey?: string | undefined;
616
593
  max?: string | undefined;
617
594
  min?: string | undefined;
618
- step?: number | undefined;
619
- } | undefined;
595
+ };
620
596
  };
621
597
  attributes?: {
622
598
  label?: string | undefined;
@@ -627,27 +603,26 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
627
603
  schemaVersion: "1.0";
628
604
  title?: "Date Range" | undefined;
629
605
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
630
- defaultJSON?: string | undefined;
631
606
  } | undefined;
632
607
  }, {
633
608
  type: "dateRange";
634
609
  columns: {
635
- start?: {
610
+ start: {
636
611
  label?: string | undefined;
637
612
  help?: string | undefined;
638
613
  labelTranslationKey?: string | undefined;
639
614
  max?: string | undefined;
640
615
  min?: string | undefined;
641
616
  step?: number | undefined;
642
- } | undefined;
643
- end?: {
617
+ };
618
+ end: {
644
619
  label?: string | undefined;
645
620
  help?: string | undefined;
646
621
  labelTranslationKey?: string | undefined;
647
622
  max?: string | undefined;
648
623
  min?: string | undefined;
649
624
  step?: number | undefined;
650
- } | undefined;
625
+ };
651
626
  };
652
627
  attributes?: {
653
628
  label?: string | undefined;
@@ -658,7 +633,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
658
633
  schemaVersion: "1.0";
659
634
  title?: "Date Range" | undefined;
660
635
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
661
- defaultJSON?: string | undefined;
662
636
  } | undefined;
663
637
  }>, z.ZodObject<{} & {
664
638
  type: z.ZodLiteral<"email">;
@@ -667,19 +641,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
667
641
  help: z.ZodOptional<z.ZodString>;
668
642
  labelTranslationKey: z.ZodOptional<z.ZodString>;
669
643
  } & {
670
- maxLength: z.ZodOptional<z.ZodNumber>;
644
+ maxLength: z.ZodDefault<z.ZodNumber>;
671
645
  minLength: z.ZodOptional<z.ZodNumber>;
672
646
  pattern: z.ZodOptional<z.ZodString>;
673
647
  } & {
674
- multiple: z.ZodOptional<z.ZodBoolean>;
648
+ multiple: z.ZodDefault<z.ZodBoolean>;
675
649
  }, "strip", z.ZodTypeAny, {
650
+ maxLength: number;
651
+ multiple: boolean;
676
652
  label?: string | undefined;
677
653
  help?: string | undefined;
678
654
  labelTranslationKey?: string | undefined;
679
- maxLength?: number | undefined;
680
655
  minLength?: number | undefined;
681
656
  pattern?: string | undefined;
682
- multiple?: boolean | undefined;
683
657
  }, {
684
658
  label?: string | undefined;
685
659
  help?: string | undefined;
@@ -694,34 +668,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
694
668
  } & {
695
669
  title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
696
670
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
697
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
698
671
  }, "strip", z.ZodTypeAny, {
699
672
  schemaVersion: "1.0";
700
673
  title?: "Email Field" | undefined;
701
674
  usageDescription?: "For questions that require require email address(es)." | undefined;
702
- defaultJSON?: string | undefined;
703
675
  }, {
704
676
  schemaVersion: "1.0";
705
677
  title?: "Email Field" | undefined;
706
678
  usageDescription?: "For questions that require require email address(es)." | undefined;
707
- defaultJSON?: string | undefined;
708
679
  }>>;
709
680
  }, "strip", z.ZodTypeAny, {
710
681
  type: "email";
711
682
  attributes?: {
683
+ maxLength: number;
684
+ multiple: boolean;
712
685
  label?: string | undefined;
713
686
  help?: string | undefined;
714
687
  labelTranslationKey?: string | undefined;
715
- maxLength?: number | undefined;
716
688
  minLength?: number | undefined;
717
689
  pattern?: string | undefined;
718
- multiple?: boolean | undefined;
719
690
  } | undefined;
720
691
  meta?: {
721
692
  schemaVersion: "1.0";
722
693
  title?: "Email Field" | undefined;
723
694
  usageDescription?: "For questions that require require email address(es)." | undefined;
724
- defaultJSON?: string | undefined;
725
695
  } | undefined;
726
696
  }, {
727
697
  type: "email";
@@ -738,7 +708,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
738
708
  schemaVersion: "1.0";
739
709
  title?: "Email Field" | undefined;
740
710
  usageDescription?: "For questions that require require email address(es)." | undefined;
741
- defaultJSON?: string | undefined;
742
711
  } | undefined;
743
712
  }>, z.ZodObject<{} & {
744
713
  type: z.ZodLiteral<"filteredSearch">;
@@ -836,19 +805,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
836
805
  meta: z.ZodOptional<z.ZodObject<{
837
806
  schemaVersion: z.ZodLiteral<"1.0">;
838
807
  usageDescription: z.ZodOptional<z.ZodString>;
839
- defaultJSON: z.ZodOptional<z.ZodString>;
840
808
  } & {
841
809
  title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
842
810
  }, "strip", z.ZodTypeAny, {
843
811
  schemaVersion: "1.0";
844
812
  title?: "Not yet implemented" | undefined;
845
813
  usageDescription?: string | undefined;
846
- defaultJSON?: string | undefined;
847
814
  }, {
848
815
  schemaVersion: "1.0";
849
816
  title?: "Not yet implemented" | undefined;
850
817
  usageDescription?: string | undefined;
851
- defaultJSON?: string | undefined;
852
818
  }>>;
853
819
  }, "strip", z.ZodTypeAny, {
854
820
  type: "filteredSearch";
@@ -880,7 +846,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
880
846
  schemaVersion: "1.0";
881
847
  title?: "Not yet implemented" | undefined;
882
848
  usageDescription?: string | undefined;
883
- defaultJSON?: string | undefined;
884
849
  } | undefined;
885
850
  }, {
886
851
  type: "filteredSearch";
@@ -912,21 +877,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
912
877
  schemaVersion: "1.0";
913
878
  title?: "Not yet implemented" | undefined;
914
879
  usageDescription?: string | undefined;
915
- defaultJSON?: string | undefined;
916
880
  } | undefined;
917
881
  }>, z.ZodObject<{
918
882
  options: z.ZodArray<z.ZodObject<{
919
- label: z.ZodString;
920
- value: z.ZodString;
883
+ label: z.ZodDefault<z.ZodString>;
884
+ value: z.ZodDefault<z.ZodString>;
921
885
  } & {
922
- selected: z.ZodOptional<z.ZodBoolean>;
886
+ selected: z.ZodDefault<z.ZodBoolean>;
923
887
  }, "strip", z.ZodTypeAny, {
924
888
  value: string;
925
889
  label: string;
926
- selected?: boolean | undefined;
890
+ selected: boolean;
927
891
  }, {
928
- value: string;
929
- label: string;
892
+ value?: string | undefined;
893
+ label?: string | undefined;
930
894
  selected?: boolean | undefined;
931
895
  }>, "many">;
932
896
  } & {
@@ -953,23 +917,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
953
917
  } & {
954
918
  title: z.ZodOptional<z.ZodLiteral<"Multi-select Box">>;
955
919
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses.">>;
956
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
957
920
  }, "strip", z.ZodTypeAny, {
958
921
  schemaVersion: "1.0";
959
922
  title?: "Multi-select Box" | undefined;
960
923
  usageDescription?: "For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses." | undefined;
961
- defaultJSON?: string | undefined;
962
924
  }, {
963
925
  schemaVersion: "1.0";
964
926
  title?: "Multi-select Box" | undefined;
965
927
  usageDescription?: "For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses." | undefined;
966
- defaultJSON?: string | undefined;
967
928
  }>>;
968
929
  }, "strip", z.ZodTypeAny, {
969
930
  options: {
970
931
  value: string;
971
932
  label: string;
972
- selected?: boolean | undefined;
933
+ selected: boolean;
973
934
  }[];
974
935
  type: "multiselectBox";
975
936
  attributes: {
@@ -982,12 +943,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
982
943
  schemaVersion: "1.0";
983
944
  title?: "Multi-select Box" | undefined;
984
945
  usageDescription?: "For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses." | undefined;
985
- defaultJSON?: string | undefined;
986
946
  } | undefined;
987
947
  }, {
988
948
  options: {
989
- value: string;
990
- label: string;
949
+ value?: string | undefined;
950
+ label?: string | undefined;
991
951
  selected?: boolean | undefined;
992
952
  }[];
993
953
  type: "multiselectBox";
@@ -1001,7 +961,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1001
961
  schemaVersion: "1.0";
1002
962
  title?: "Multi-select Box" | undefined;
1003
963
  usageDescription?: "For questions where multiple answers are valid. Allows users to select several options from a predefined list, providing flexibility in responses." | undefined;
1004
- defaultJSON?: string | undefined;
1005
964
  } | undefined;
1006
965
  }>, z.ZodObject<{} & {
1007
966
  type: z.ZodLiteral<"number">;
@@ -1011,15 +970,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1011
970
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1012
971
  } & {
1013
972
  max: z.ZodOptional<z.ZodNumber>;
1014
- min: z.ZodOptional<z.ZodNumber>;
1015
- step: z.ZodOptional<z.ZodNumber>;
973
+ min: z.ZodDefault<z.ZodNumber>;
974
+ step: z.ZodDefault<z.ZodNumber>;
1016
975
  }, "strip", z.ZodTypeAny, {
976
+ min: number;
977
+ step: number;
1017
978
  label?: string | undefined;
1018
979
  help?: string | undefined;
1019
980
  labelTranslationKey?: string | undefined;
1020
981
  max?: number | undefined;
1021
- min?: number | undefined;
1022
- step?: number | undefined;
1023
982
  }, {
1024
983
  label?: string | undefined;
1025
984
  help?: string | undefined;
@@ -1033,33 +992,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1033
992
  } & {
1034
993
  title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
1035
994
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
1036
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1037
995
  }, "strip", z.ZodTypeAny, {
1038
996
  schemaVersion: "1.0";
1039
997
  title?: "Number Field" | undefined;
1040
998
  usageDescription?: "For questions that require a single numeric value." | undefined;
1041
- defaultJSON?: string | undefined;
1042
999
  }, {
1043
1000
  schemaVersion: "1.0";
1044
1001
  title?: "Number Field" | undefined;
1045
1002
  usageDescription?: "For questions that require a single numeric value." | undefined;
1046
- defaultJSON?: string | undefined;
1047
1003
  }>>;
1048
1004
  }, "strip", z.ZodTypeAny, {
1049
1005
  type: "number";
1050
1006
  attributes?: {
1007
+ min: number;
1008
+ step: number;
1051
1009
  label?: string | undefined;
1052
1010
  help?: string | undefined;
1053
1011
  labelTranslationKey?: string | undefined;
1054
1012
  max?: number | undefined;
1055
- min?: number | undefined;
1056
- step?: number | undefined;
1057
1013
  } | undefined;
1058
1014
  meta?: {
1059
1015
  schemaVersion: "1.0";
1060
1016
  title?: "Number Field" | undefined;
1061
1017
  usageDescription?: "For questions that require a single numeric value." | undefined;
1062
- defaultJSON?: string | undefined;
1063
1018
  } | undefined;
1064
1019
  }, {
1065
1020
  type: "number";
@@ -1075,7 +1030,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1075
1030
  schemaVersion: "1.0";
1076
1031
  title?: "Number Field" | undefined;
1077
1032
  usageDescription?: "For questions that require a single numeric value." | undefined;
1078
- defaultJSON?: string | undefined;
1079
1033
  } | undefined;
1080
1034
  }>, z.ZodObject<{
1081
1035
  attributes: z.ZodOptional<z.ZodObject<{
@@ -1094,21 +1048,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1094
1048
  } & {
1095
1049
  type: z.ZodLiteral<"numberRange">;
1096
1050
  columns: z.ZodObject<{
1097
- start: z.ZodOptional<z.ZodObject<{
1051
+ start: z.ZodObject<{
1098
1052
  label: z.ZodOptional<z.ZodString>;
1099
1053
  help: z.ZodOptional<z.ZodString>;
1100
1054
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1101
1055
  } & {
1102
1056
  max: z.ZodOptional<z.ZodNumber>;
1103
- min: z.ZodOptional<z.ZodNumber>;
1104
- step: z.ZodOptional<z.ZodNumber>;
1057
+ min: z.ZodDefault<z.ZodNumber>;
1058
+ step: z.ZodDefault<z.ZodNumber>;
1105
1059
  }, "strip", z.ZodTypeAny, {
1060
+ min: number;
1061
+ step: number;
1106
1062
  label?: string | undefined;
1107
1063
  help?: string | undefined;
1108
1064
  labelTranslationKey?: string | undefined;
1109
1065
  max?: number | undefined;
1110
- min?: number | undefined;
1111
- step?: number | undefined;
1112
1066
  }, {
1113
1067
  label?: string | undefined;
1114
1068
  help?: string | undefined;
@@ -1116,22 +1070,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1116
1070
  max?: number | undefined;
1117
1071
  min?: number | undefined;
1118
1072
  step?: number | undefined;
1119
- }>>;
1120
- end: z.ZodOptional<z.ZodObject<{
1073
+ }>;
1074
+ end: z.ZodObject<{
1121
1075
  label: z.ZodOptional<z.ZodString>;
1122
1076
  help: z.ZodOptional<z.ZodString>;
1123
1077
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1124
1078
  } & {
1125
1079
  max: z.ZodOptional<z.ZodNumber>;
1126
- min: z.ZodOptional<z.ZodNumber>;
1127
- step: z.ZodOptional<z.ZodNumber>;
1080
+ min: z.ZodDefault<z.ZodNumber>;
1081
+ step: z.ZodDefault<z.ZodNumber>;
1128
1082
  }, "strip", z.ZodTypeAny, {
1083
+ min: number;
1084
+ step: number;
1129
1085
  label?: string | undefined;
1130
1086
  help?: string | undefined;
1131
1087
  labelTranslationKey?: string | undefined;
1132
1088
  max?: number | undefined;
1133
- min?: number | undefined;
1134
- step?: number | undefined;
1135
1089
  }, {
1136
1090
  label?: string | undefined;
1137
1091
  help?: string | undefined;
@@ -1139,78 +1093,75 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1139
1093
  max?: number | undefined;
1140
1094
  min?: number | undefined;
1141
1095
  step?: number | undefined;
1142
- }>>;
1096
+ }>;
1143
1097
  }, "strip", z.ZodTypeAny, {
1144
- start?: {
1098
+ start: {
1099
+ min: number;
1100
+ step: number;
1145
1101
  label?: string | undefined;
1146
1102
  help?: string | undefined;
1147
1103
  labelTranslationKey?: string | undefined;
1148
1104
  max?: number | undefined;
1149
- min?: number | undefined;
1150
- step?: number | undefined;
1151
- } | undefined;
1152
- end?: {
1105
+ };
1106
+ end: {
1107
+ min: number;
1108
+ step: number;
1153
1109
  label?: string | undefined;
1154
1110
  help?: string | undefined;
1155
1111
  labelTranslationKey?: string | undefined;
1156
1112
  max?: number | undefined;
1157
- min?: number | undefined;
1158
- step?: number | undefined;
1159
- } | undefined;
1113
+ };
1160
1114
  }, {
1161
- start?: {
1115
+ start: {
1162
1116
  label?: string | undefined;
1163
1117
  help?: string | undefined;
1164
1118
  labelTranslationKey?: string | undefined;
1165
1119
  max?: number | undefined;
1166
1120
  min?: number | undefined;
1167
1121
  step?: number | undefined;
1168
- } | undefined;
1169
- end?: {
1122
+ };
1123
+ end: {
1170
1124
  label?: string | undefined;
1171
1125
  help?: string | undefined;
1172
1126
  labelTranslationKey?: string | undefined;
1173
1127
  max?: number | undefined;
1174
1128
  min?: number | undefined;
1175
1129
  step?: number | undefined;
1176
- } | undefined;
1130
+ };
1177
1131
  }>;
1178
1132
  meta: z.ZodOptional<z.ZodObject<{
1179
1133
  schemaVersion: z.ZodLiteral<"1.0">;
1180
1134
  } & {
1181
1135
  title: z.ZodOptional<z.ZodLiteral<"Number Range">>;
1182
1136
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a numerical range (e.g. From/To, Min/Max).">>;
1183
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1184
1137
  }, "strip", z.ZodTypeAny, {
1185
1138
  schemaVersion: "1.0";
1186
1139
  title?: "Number Range" | undefined;
1187
1140
  usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1188
- defaultJSON?: string | undefined;
1189
1141
  }, {
1190
1142
  schemaVersion: "1.0";
1191
1143
  title?: "Number Range" | undefined;
1192
1144
  usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1193
- defaultJSON?: string | undefined;
1194
1145
  }>>;
1195
1146
  }, "strip", z.ZodTypeAny, {
1196
1147
  type: "numberRange";
1197
1148
  columns: {
1198
- start?: {
1149
+ start: {
1150
+ min: number;
1151
+ step: number;
1199
1152
  label?: string | undefined;
1200
1153
  help?: string | undefined;
1201
1154
  labelTranslationKey?: string | undefined;
1202
1155
  max?: number | undefined;
1203
- min?: number | undefined;
1204
- step?: number | undefined;
1205
- } | undefined;
1206
- end?: {
1156
+ };
1157
+ end: {
1158
+ min: number;
1159
+ step: number;
1207
1160
  label?: string | undefined;
1208
1161
  help?: string | undefined;
1209
1162
  labelTranslationKey?: string | undefined;
1210
1163
  max?: number | undefined;
1211
- min?: number | undefined;
1212
- step?: number | undefined;
1213
- } | undefined;
1164
+ };
1214
1165
  };
1215
1166
  attributes?: {
1216
1167
  label?: string | undefined;
@@ -1221,27 +1172,26 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1221
1172
  schemaVersion: "1.0";
1222
1173
  title?: "Number Range" | undefined;
1223
1174
  usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1224
- defaultJSON?: string | undefined;
1225
1175
  } | undefined;
1226
1176
  }, {
1227
1177
  type: "numberRange";
1228
1178
  columns: {
1229
- start?: {
1179
+ start: {
1230
1180
  label?: string | undefined;
1231
1181
  help?: string | undefined;
1232
1182
  labelTranslationKey?: string | undefined;
1233
1183
  max?: number | undefined;
1234
1184
  min?: number | undefined;
1235
1185
  step?: number | undefined;
1236
- } | undefined;
1237
- end?: {
1186
+ };
1187
+ end: {
1238
1188
  label?: string | undefined;
1239
1189
  help?: string | undefined;
1240
1190
  labelTranslationKey?: string | undefined;
1241
1191
  max?: number | undefined;
1242
1192
  min?: number | undefined;
1243
1193
  step?: number | undefined;
1244
- } | undefined;
1194
+ };
1245
1195
  };
1246
1196
  attributes?: {
1247
1197
  label?: string | undefined;
@@ -1252,7 +1202,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1252
1202
  schemaVersion: "1.0";
1253
1203
  title?: "Number Range" | undefined;
1254
1204
  usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1255
- defaultJSON?: string | undefined;
1256
1205
  } | undefined;
1257
1206
  }>, z.ZodObject<{
1258
1207
  attributes: z.ZodOptional<z.ZodObject<{
@@ -1271,17 +1220,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1271
1220
  } & {
1272
1221
  type: z.ZodLiteral<"radioButtons">;
1273
1222
  options: z.ZodArray<z.ZodObject<{
1274
- label: z.ZodString;
1275
- value: z.ZodString;
1223
+ label: z.ZodDefault<z.ZodString>;
1224
+ value: z.ZodDefault<z.ZodString>;
1276
1225
  } & {
1277
- selected: z.ZodOptional<z.ZodBoolean>;
1226
+ selected: z.ZodDefault<z.ZodBoolean>;
1278
1227
  }, "strip", z.ZodTypeAny, {
1279
1228
  value: string;
1280
1229
  label: string;
1281
- selected?: boolean | undefined;
1230
+ selected: boolean;
1282
1231
  }, {
1283
- value: string;
1284
- label: string;
1232
+ value?: string | undefined;
1233
+ label?: string | undefined;
1285
1234
  selected?: boolean | undefined;
1286
1235
  }>, "many">;
1287
1236
  meta: z.ZodOptional<z.ZodObject<{
@@ -1289,23 +1238,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1289
1238
  } & {
1290
1239
  title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
1291
1240
  usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
1292
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1293
1241
  }, "strip", z.ZodTypeAny, {
1294
1242
  schemaVersion: "1.0";
1295
1243
  title?: "Radio Buttons" | undefined;
1296
1244
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1297
- defaultJSON?: string | undefined;
1298
1245
  }, {
1299
1246
  schemaVersion: "1.0";
1300
1247
  title?: "Radio Buttons" | undefined;
1301
1248
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1302
- defaultJSON?: string | undefined;
1303
1249
  }>>;
1304
1250
  }, "strip", z.ZodTypeAny, {
1305
1251
  options: {
1306
1252
  value: string;
1307
1253
  label: string;
1308
- selected?: boolean | undefined;
1254
+ selected: boolean;
1309
1255
  }[];
1310
1256
  type: "radioButtons";
1311
1257
  attributes?: {
@@ -1317,12 +1263,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1317
1263
  schemaVersion: "1.0";
1318
1264
  title?: "Radio Buttons" | undefined;
1319
1265
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1320
- defaultJSON?: string | undefined;
1321
1266
  } | undefined;
1322
1267
  }, {
1323
1268
  options: {
1324
- value: string;
1325
- label: string;
1269
+ value?: string | undefined;
1270
+ label?: string | undefined;
1326
1271
  selected?: boolean | undefined;
1327
1272
  }[];
1328
1273
  type: "radioButtons";
@@ -1335,22 +1280,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1335
1280
  schemaVersion: "1.0";
1336
1281
  title?: "Radio Buttons" | undefined;
1337
1282
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1338
- defaultJSON?: string | undefined;
1339
1283
  } | undefined;
1340
1284
  }>, z.ZodObject<{} & {
1341
1285
  type: z.ZodLiteral<"selectBox">;
1342
1286
  options: z.ZodArray<z.ZodObject<{
1343
- label: z.ZodString;
1344
- value: z.ZodString;
1287
+ label: z.ZodDefault<z.ZodString>;
1288
+ value: z.ZodDefault<z.ZodString>;
1345
1289
  } & {
1346
- selected: z.ZodOptional<z.ZodBoolean>;
1290
+ selected: z.ZodDefault<z.ZodBoolean>;
1347
1291
  }, "strip", z.ZodTypeAny, {
1348
1292
  value: string;
1349
1293
  label: string;
1350
- selected?: boolean | undefined;
1294
+ selected: boolean;
1351
1295
  }, {
1352
- value: string;
1353
- label: string;
1296
+ value?: string | undefined;
1297
+ label?: string | undefined;
1354
1298
  selected?: boolean | undefined;
1355
1299
  }>, "many">;
1356
1300
  attributes: z.ZodObject<{
@@ -1358,44 +1302,41 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1358
1302
  help: z.ZodOptional<z.ZodString>;
1359
1303
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1360
1304
  } & {
1361
- multiple: z.ZodLiteral<false>;
1305
+ multiple: z.ZodDefault<z.ZodBoolean>;
1362
1306
  }, "strip", z.ZodTypeAny, {
1363
- multiple: false;
1307
+ multiple: boolean;
1364
1308
  label?: string | undefined;
1365
1309
  help?: string | undefined;
1366
1310
  labelTranslationKey?: string | undefined;
1367
1311
  }, {
1368
- multiple: false;
1369
1312
  label?: string | undefined;
1370
1313
  help?: string | undefined;
1371
1314
  labelTranslationKey?: string | undefined;
1315
+ multiple?: boolean | undefined;
1372
1316
  }>;
1373
1317
  meta: z.ZodOptional<z.ZodObject<{
1374
1318
  schemaVersion: z.ZodLiteral<"1.0">;
1375
1319
  } & {
1376
1320
  title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
1377
1321
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
1378
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1379
1322
  }, "strip", z.ZodTypeAny, {
1380
1323
  schemaVersion: "1.0";
1381
1324
  title?: "Select Box" | undefined;
1382
1325
  usageDescription?: "For questions where users select one option from a list." | undefined;
1383
- defaultJSON?: string | undefined;
1384
1326
  }, {
1385
1327
  schemaVersion: "1.0";
1386
1328
  title?: "Select Box" | undefined;
1387
1329
  usageDescription?: "For questions where users select one option from a list." | undefined;
1388
- defaultJSON?: string | undefined;
1389
1330
  }>>;
1390
1331
  }, "strip", z.ZodTypeAny, {
1391
1332
  options: {
1392
1333
  value: string;
1393
1334
  label: string;
1394
- selected?: boolean | undefined;
1335
+ selected: boolean;
1395
1336
  }[];
1396
1337
  type: "selectBox";
1397
1338
  attributes: {
1398
- multiple: false;
1339
+ multiple: boolean;
1399
1340
  label?: string | undefined;
1400
1341
  help?: string | undefined;
1401
1342
  labelTranslationKey?: string | undefined;
@@ -1404,26 +1345,24 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1404
1345
  schemaVersion: "1.0";
1405
1346
  title?: "Select Box" | undefined;
1406
1347
  usageDescription?: "For questions where users select one option from a list." | undefined;
1407
- defaultJSON?: string | undefined;
1408
1348
  } | undefined;
1409
1349
  }, {
1410
1350
  options: {
1411
- value: string;
1412
- label: string;
1351
+ value?: string | undefined;
1352
+ label?: string | undefined;
1413
1353
  selected?: boolean | undefined;
1414
1354
  }[];
1415
1355
  type: "selectBox";
1416
1356
  attributes: {
1417
- multiple: false;
1418
1357
  label?: string | undefined;
1419
1358
  help?: string | undefined;
1420
1359
  labelTranslationKey?: string | undefined;
1360
+ multiple?: boolean | undefined;
1421
1361
  };
1422
1362
  meta?: {
1423
1363
  schemaVersion: "1.0";
1424
1364
  title?: "Select Box" | undefined;
1425
1365
  usageDescription?: "For questions where users select one option from a list." | undefined;
1426
- defaultJSON?: string | undefined;
1427
1366
  } | undefined;
1428
1367
  }>, z.ZodObject<{} & {
1429
1368
  type: z.ZodLiteral<"table">;
@@ -1443,98 +1382,97 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1443
1382
  help?: string | undefined;
1444
1383
  labelTranslationKey?: string | undefined;
1445
1384
  }>>;
1385
+ } & {
1386
+ type: z.ZodLiteral<"affiliationSearch">;
1446
1387
  graphQL: z.ZodObject<{
1447
- displayFields: z.ZodArray<z.ZodObject<{
1448
- propertyName: z.ZodString;
1449
- label: z.ZodString;
1450
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1388
+ localQueryId: z.ZodOptional<z.ZodString>;
1389
+ } & {
1390
+ query: z.ZodLiteral<"query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}">;
1391
+ queryId: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1392
+ variables: z.ZodArray<z.ZodObject<{
1393
+ name: z.ZodLiteral<"name">;
1394
+ type: z.ZodDefault<z.ZodString>;
1395
+ label: z.ZodDefault<z.ZodString>;
1396
+ minLength: z.ZodLiteral<3>;
1397
+ labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1451
1398
  }, "strip", z.ZodTypeAny, {
1399
+ type: string;
1452
1400
  label: string;
1453
- propertyName: string;
1401
+ minLength: 3;
1402
+ name: "name";
1454
1403
  labelTranslationKey?: string | undefined;
1455
1404
  }, {
1456
- label: string;
1457
- propertyName: string;
1405
+ minLength: 3;
1406
+ name: "name";
1407
+ type?: string | undefined;
1408
+ label?: string | undefined;
1458
1409
  labelTranslationKey?: string | undefined;
1459
1410
  }>, "many">;
1460
- localQueryId: z.ZodOptional<z.ZodString>;
1461
- query: z.ZodOptional<z.ZodString>;
1462
- responseField: z.ZodString;
1463
- variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1464
- minLength: z.ZodOptional<z.ZodNumber>;
1465
- label: z.ZodOptional<z.ZodString>;
1466
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1467
- name: z.ZodString;
1468
- type: z.ZodString;
1469
- defaultValue: z.ZodOptional<z.ZodString>;
1411
+ answerField: z.ZodLiteral<"uri">;
1412
+ displayFields: z.ZodArray<z.ZodObject<{
1413
+ propertyName: z.ZodLiteral<"displayName">;
1414
+ label: z.ZodDefault<z.ZodString>;
1415
+ labelTranslationKey: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1470
1416
  }, "strip", z.ZodTypeAny, {
1471
- type: string;
1472
- name: string;
1473
- label?: string | undefined;
1417
+ label: string;
1418
+ propertyName: "displayName";
1474
1419
  labelTranslationKey?: string | undefined;
1475
- minLength?: number | undefined;
1476
- defaultValue?: string | undefined;
1477
1420
  }, {
1478
- type: string;
1479
- name: string;
1421
+ propertyName: "displayName";
1480
1422
  label?: string | undefined;
1481
1423
  labelTranslationKey?: string | undefined;
1482
- minLength?: number | undefined;
1483
- defaultValue?: string | undefined;
1484
- }>, "many">>;
1424
+ }>, "many">;
1425
+ responseField: z.ZodLiteral<"affiliations.items">;
1485
1426
  }, "strip", z.ZodTypeAny, {
1486
1427
  displayFields: {
1487
1428
  label: string;
1488
- propertyName: string;
1429
+ propertyName: "displayName";
1489
1430
  labelTranslationKey?: string | undefined;
1490
1431
  }[];
1491
- responseField: string;
1492
- localQueryId?: string | undefined;
1493
- query?: string | undefined;
1494
- variables?: {
1432
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
1433
+ responseField: "affiliations.items";
1434
+ variables: {
1495
1435
  type: string;
1496
- name: string;
1497
- label?: string | undefined;
1436
+ label: string;
1437
+ minLength: 3;
1438
+ name: "name";
1498
1439
  labelTranslationKey?: string | undefined;
1499
- minLength?: number | undefined;
1500
- defaultValue?: string | undefined;
1501
- }[] | undefined;
1440
+ }[];
1441
+ answerField: "uri";
1442
+ localQueryId?: string | undefined;
1443
+ queryId?: string | undefined;
1502
1444
  }, {
1503
1445
  displayFields: {
1504
- label: string;
1505
- propertyName: string;
1446
+ propertyName: "displayName";
1447
+ label?: string | undefined;
1506
1448
  labelTranslationKey?: string | undefined;
1507
1449
  }[];
1508
- responseField: string;
1509
- localQueryId?: string | undefined;
1510
- query?: string | undefined;
1511
- variables?: {
1512
- type: string;
1513
- name: string;
1450
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
1451
+ responseField: "affiliations.items";
1452
+ variables: {
1453
+ minLength: 3;
1454
+ name: "name";
1455
+ type?: string | undefined;
1514
1456
  label?: string | undefined;
1515
1457
  labelTranslationKey?: string | undefined;
1516
- minLength?: number | undefined;
1517
- defaultValue?: string | undefined;
1518
- }[] | undefined;
1458
+ }[];
1459
+ answerField: "uri";
1460
+ localQueryId?: string | undefined;
1461
+ queryId?: string | undefined;
1519
1462
  }>;
1520
- } & {
1521
- type: z.ZodLiteral<"affiliationSearch">;
1522
1463
  meta: z.ZodObject<{
1523
1464
  schemaVersion: z.ZodLiteral<"1.0">;
1524
1465
  } & {
1525
1466
  title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
1526
1467
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require the user to select from a controlled list of institutions.">>;
1527
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1528
1468
  }, "strip", z.ZodTypeAny, {
1529
1469
  schemaVersion: "1.0";
1530
1470
  title?: "Affiliation Search" | undefined;
1531
1471
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1532
- defaultJSON?: string | undefined;
1533
1472
  }, {
1534
1473
  schemaVersion: "1.0";
1535
1474
  title?: "Affiliation Search" | undefined;
1536
1475
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1537
- defaultJSON?: string | undefined;
1538
1476
  }>;
1539
1477
  }, "strip", z.ZodTypeAny, {
1540
1478
  type: "affiliationSearch";
@@ -1542,25 +1480,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1542
1480
  schemaVersion: "1.0";
1543
1481
  title?: "Affiliation Search" | undefined;
1544
1482
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1545
- defaultJSON?: string | undefined;
1546
1483
  };
1547
1484
  graphQL: {
1548
1485
  displayFields: {
1549
1486
  label: string;
1550
- propertyName: string;
1487
+ propertyName: "displayName";
1551
1488
  labelTranslationKey?: string | undefined;
1552
1489
  }[];
1553
- responseField: string;
1554
- localQueryId?: string | undefined;
1555
- query?: string | undefined;
1556
- variables?: {
1490
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
1491
+ responseField: "affiliations.items";
1492
+ variables: {
1557
1493
  type: string;
1558
- name: string;
1559
- label?: string | undefined;
1494
+ label: string;
1495
+ minLength: 3;
1496
+ name: "name";
1560
1497
  labelTranslationKey?: string | undefined;
1561
- minLength?: number | undefined;
1562
- defaultValue?: string | undefined;
1563
- }[] | undefined;
1498
+ }[];
1499
+ answerField: "uri";
1500
+ localQueryId?: string | undefined;
1501
+ queryId?: string | undefined;
1564
1502
  };
1565
1503
  attributes?: {
1566
1504
  label?: string | undefined;
@@ -1573,25 +1511,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1573
1511
  schemaVersion: "1.0";
1574
1512
  title?: "Affiliation Search" | undefined;
1575
1513
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1576
- defaultJSON?: string | undefined;
1577
1514
  };
1578
1515
  graphQL: {
1579
1516
  displayFields: {
1580
- label: string;
1581
- propertyName: string;
1517
+ propertyName: "displayName";
1518
+ label?: string | undefined;
1582
1519
  labelTranslationKey?: string | undefined;
1583
1520
  }[];
1584
- responseField: string;
1585
- localQueryId?: string | undefined;
1586
- query?: string | undefined;
1587
- variables?: {
1588
- type: string;
1589
- name: string;
1521
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
1522
+ responseField: "affiliations.items";
1523
+ variables: {
1524
+ minLength: 3;
1525
+ name: "name";
1526
+ type?: string | undefined;
1590
1527
  label?: string | undefined;
1591
1528
  labelTranslationKey?: string | undefined;
1592
- minLength?: number | undefined;
1593
- defaultValue?: string | undefined;
1594
- }[] | undefined;
1529
+ }[];
1530
+ answerField: "uri";
1531
+ localQueryId?: string | undefined;
1532
+ queryId?: string | undefined;
1595
1533
  };
1596
1534
  attributes?: {
1597
1535
  label?: string | undefined;
@@ -1605,12 +1543,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1605
1543
  help: z.ZodOptional<z.ZodString>;
1606
1544
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1607
1545
  } & {
1608
- checked: z.ZodOptional<z.ZodBoolean>;
1546
+ checked: z.ZodDefault<z.ZodBoolean>;
1609
1547
  }, "strip", z.ZodTypeAny, {
1548
+ checked: boolean;
1610
1549
  label?: string | undefined;
1611
1550
  help?: string | undefined;
1612
1551
  labelTranslationKey?: string | undefined;
1613
- checked?: boolean | undefined;
1614
1552
  }, {
1615
1553
  label?: string | undefined;
1616
1554
  help?: string | undefined;
@@ -1622,31 +1560,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1622
1560
  } & {
1623
1561
  title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
1624
1562
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
1625
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1626
1563
  }, "strip", z.ZodTypeAny, {
1627
1564
  schemaVersion: "1.0";
1628
1565
  title?: "Yes/No Field" | undefined;
1629
1566
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1630
- defaultJSON?: string | undefined;
1631
1567
  }, {
1632
1568
  schemaVersion: "1.0";
1633
1569
  title?: "Yes/No Field" | undefined;
1634
1570
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1635
- defaultJSON?: string | undefined;
1636
1571
  }>>;
1637
1572
  }, "strip", z.ZodTypeAny, {
1638
1573
  type: "boolean";
1639
1574
  attributes?: {
1575
+ checked: boolean;
1640
1576
  label?: string | undefined;
1641
1577
  help?: string | undefined;
1642
1578
  labelTranslationKey?: string | undefined;
1643
- checked?: boolean | undefined;
1644
1579
  } | undefined;
1645
1580
  meta?: {
1646
1581
  schemaVersion: "1.0";
1647
1582
  title?: "Yes/No Field" | undefined;
1648
1583
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1649
- defaultJSON?: string | undefined;
1650
1584
  } | undefined;
1651
1585
  }, {
1652
1586
  type: "boolean";
@@ -1660,7 +1594,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1660
1594
  schemaVersion: "1.0";
1661
1595
  title?: "Yes/No Field" | undefined;
1662
1596
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1663
- defaultJSON?: string | undefined;
1664
1597
  } | undefined;
1665
1598
  }>, z.ZodObject<{
1666
1599
  attributes: z.ZodOptional<z.ZodObject<{
@@ -1679,17 +1612,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1679
1612
  } & {
1680
1613
  type: z.ZodLiteral<"checkBoxes">;
1681
1614
  options: z.ZodArray<z.ZodObject<{
1682
- label: z.ZodString;
1683
- value: z.ZodString;
1615
+ label: z.ZodDefault<z.ZodString>;
1616
+ value: z.ZodDefault<z.ZodString>;
1684
1617
  } & {
1685
- checked: z.ZodOptional<z.ZodBoolean>;
1618
+ checked: z.ZodDefault<z.ZodBoolean>;
1686
1619
  }, "strip", z.ZodTypeAny, {
1687
1620
  value: string;
1688
1621
  label: string;
1689
- checked?: boolean | undefined;
1622
+ checked: boolean;
1690
1623
  }, {
1691
- value: string;
1692
- label: string;
1624
+ value?: string | undefined;
1625
+ label?: string | undefined;
1693
1626
  checked?: boolean | undefined;
1694
1627
  }>, "many">;
1695
1628
  meta: z.ZodOptional<z.ZodObject<{
@@ -1697,23 +1630,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1697
1630
  } & {
1698
1631
  title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
1699
1632
  usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
1700
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1701
1633
  }, "strip", z.ZodTypeAny, {
1702
1634
  schemaVersion: "1.0";
1703
1635
  title?: "Check Boxes" | undefined;
1704
1636
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1705
- defaultJSON?: string | undefined;
1706
1637
  }, {
1707
1638
  schemaVersion: "1.0";
1708
1639
  title?: "Check Boxes" | undefined;
1709
1640
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1710
- defaultJSON?: string | undefined;
1711
1641
  }>>;
1712
1642
  }, "strip", z.ZodTypeAny, {
1713
1643
  options: {
1714
1644
  value: string;
1715
1645
  label: string;
1716
- checked?: boolean | undefined;
1646
+ checked: boolean;
1717
1647
  }[];
1718
1648
  type: "checkBoxes";
1719
1649
  attributes?: {
@@ -1725,12 +1655,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1725
1655
  schemaVersion: "1.0";
1726
1656
  title?: "Check Boxes" | undefined;
1727
1657
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1728
- defaultJSON?: string | undefined;
1729
1658
  } | undefined;
1730
1659
  }, {
1731
1660
  options: {
1732
- value: string;
1733
- label: string;
1661
+ value?: string | undefined;
1662
+ label?: string | undefined;
1734
1663
  checked?: boolean | undefined;
1735
1664
  }[];
1736
1665
  type: "checkBoxes";
@@ -1743,7 +1672,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1743
1672
  schemaVersion: "1.0";
1744
1673
  title?: "Check Boxes" | undefined;
1745
1674
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1746
- defaultJSON?: string | undefined;
1747
1675
  } | undefined;
1748
1676
  }>, z.ZodObject<{} & {
1749
1677
  type: z.ZodLiteral<"currency">;
@@ -1753,18 +1681,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1753
1681
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1754
1682
  } & {
1755
1683
  max: z.ZodOptional<z.ZodNumber>;
1756
- min: z.ZodOptional<z.ZodNumber>;
1757
- step: z.ZodOptional<z.ZodNumber>;
1684
+ min: z.ZodDefault<z.ZodNumber>;
1685
+ step: z.ZodDefault<z.ZodNumber>;
1758
1686
  } & {
1759
- denomination: z.ZodOptional<z.ZodString>;
1687
+ denomination: z.ZodDefault<z.ZodString>;
1760
1688
  }, "strip", z.ZodTypeAny, {
1689
+ min: number;
1690
+ step: number;
1691
+ denomination: string;
1761
1692
  label?: string | undefined;
1762
1693
  help?: string | undefined;
1763
1694
  labelTranslationKey?: string | undefined;
1764
1695
  max?: number | undefined;
1765
- min?: number | undefined;
1766
- step?: number | undefined;
1767
- denomination?: string | undefined;
1768
1696
  }, {
1769
1697
  label?: string | undefined;
1770
1698
  help?: string | undefined;
@@ -1779,34 +1707,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1779
1707
  } & {
1780
1708
  title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
1781
1709
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a monetary amount (e.g. Cost or Budget).">>;
1782
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1783
1710
  }, "strip", z.ZodTypeAny, {
1784
1711
  schemaVersion: "1.0";
1785
1712
  title?: "Currency Field" | undefined;
1786
1713
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1787
- defaultJSON?: string | undefined;
1788
1714
  }, {
1789
1715
  schemaVersion: "1.0";
1790
1716
  title?: "Currency Field" | undefined;
1791
1717
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1792
- defaultJSON?: string | undefined;
1793
1718
  }>>;
1794
1719
  }, "strip", z.ZodTypeAny, {
1795
1720
  type: "currency";
1796
1721
  attributes?: {
1722
+ min: number;
1723
+ step: number;
1724
+ denomination: string;
1797
1725
  label?: string | undefined;
1798
1726
  help?: string | undefined;
1799
1727
  labelTranslationKey?: string | undefined;
1800
1728
  max?: number | undefined;
1801
- min?: number | undefined;
1802
- step?: number | undefined;
1803
- denomination?: string | undefined;
1804
1729
  } | undefined;
1805
1730
  meta?: {
1806
1731
  schemaVersion: "1.0";
1807
1732
  title?: "Currency Field" | undefined;
1808
1733
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1809
- defaultJSON?: string | undefined;
1810
1734
  } | undefined;
1811
1735
  }, {
1812
1736
  type: "currency";
@@ -1823,7 +1747,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1823
1747
  schemaVersion: "1.0";
1824
1748
  title?: "Currency Field" | undefined;
1825
1749
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1826
- defaultJSON?: string | undefined;
1827
1750
  } | undefined;
1828
1751
  }>, z.ZodObject<{} & {
1829
1752
  type: z.ZodLiteral<"date">;
@@ -1834,14 +1757,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1834
1757
  } & {
1835
1758
  max: z.ZodOptional<z.ZodString>;
1836
1759
  min: z.ZodOptional<z.ZodString>;
1837
- step: z.ZodOptional<z.ZodNumber>;
1760
+ step: z.ZodDefault<z.ZodNumber>;
1838
1761
  }, "strip", z.ZodTypeAny, {
1762
+ step: number;
1839
1763
  label?: string | undefined;
1840
1764
  help?: string | undefined;
1841
1765
  labelTranslationKey?: string | undefined;
1842
1766
  max?: string | undefined;
1843
1767
  min?: string | undefined;
1844
- step?: number | undefined;
1845
1768
  }, {
1846
1769
  label?: string | undefined;
1847
1770
  help?: string | undefined;
@@ -1855,33 +1778,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1855
1778
  } & {
1856
1779
  title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
1857
1780
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
1858
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1859
1781
  }, "strip", z.ZodTypeAny, {
1860
1782
  schemaVersion: "1.0";
1861
1783
  title?: "Date Field" | undefined;
1862
1784
  usageDescription?: "For questions that require a date." | undefined;
1863
- defaultJSON?: string | undefined;
1864
1785
  }, {
1865
1786
  schemaVersion: "1.0";
1866
1787
  title?: "Date Field" | undefined;
1867
1788
  usageDescription?: "For questions that require a date." | undefined;
1868
- defaultJSON?: string | undefined;
1869
1789
  }>>;
1870
1790
  }, "strip", z.ZodTypeAny, {
1871
1791
  type: "date";
1872
1792
  attributes?: {
1793
+ step: number;
1873
1794
  label?: string | undefined;
1874
1795
  help?: string | undefined;
1875
1796
  labelTranslationKey?: string | undefined;
1876
1797
  max?: string | undefined;
1877
1798
  min?: string | undefined;
1878
- step?: number | undefined;
1879
1799
  } | undefined;
1880
1800
  meta?: {
1881
1801
  schemaVersion: "1.0";
1882
1802
  title?: "Date Field" | undefined;
1883
1803
  usageDescription?: "For questions that require a date." | undefined;
1884
- defaultJSON?: string | undefined;
1885
1804
  } | undefined;
1886
1805
  }, {
1887
1806
  type: "date";
@@ -1897,7 +1816,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1897
1816
  schemaVersion: "1.0";
1898
1817
  title?: "Date Field" | undefined;
1899
1818
  usageDescription?: "For questions that require a date." | undefined;
1900
- defaultJSON?: string | undefined;
1901
1819
  } | undefined;
1902
1820
  }>, z.ZodObject<{
1903
1821
  attributes: z.ZodOptional<z.ZodObject<{
@@ -1916,21 +1834,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1916
1834
  } & {
1917
1835
  type: z.ZodLiteral<"dateRange">;
1918
1836
  columns: z.ZodObject<{
1919
- start: z.ZodOptional<z.ZodObject<{
1837
+ start: z.ZodObject<{
1920
1838
  label: z.ZodOptional<z.ZodString>;
1921
1839
  help: z.ZodOptional<z.ZodString>;
1922
1840
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1923
1841
  } & {
1924
1842
  max: z.ZodOptional<z.ZodString>;
1925
1843
  min: z.ZodOptional<z.ZodString>;
1926
- step: z.ZodOptional<z.ZodNumber>;
1844
+ step: z.ZodDefault<z.ZodNumber>;
1927
1845
  }, "strip", z.ZodTypeAny, {
1846
+ step: number;
1928
1847
  label?: string | undefined;
1929
1848
  help?: string | undefined;
1930
1849
  labelTranslationKey?: string | undefined;
1931
1850
  max?: string | undefined;
1932
1851
  min?: string | undefined;
1933
- step?: number | undefined;
1934
1852
  }, {
1935
1853
  label?: string | undefined;
1936
1854
  help?: string | undefined;
@@ -1938,22 +1856,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1938
1856
  max?: string | undefined;
1939
1857
  min?: string | undefined;
1940
1858
  step?: number | undefined;
1941
- }>>;
1942
- end: z.ZodOptional<z.ZodObject<{
1859
+ }>;
1860
+ end: z.ZodObject<{
1943
1861
  label: z.ZodOptional<z.ZodString>;
1944
1862
  help: z.ZodOptional<z.ZodString>;
1945
1863
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1946
1864
  } & {
1947
1865
  max: z.ZodOptional<z.ZodString>;
1948
1866
  min: z.ZodOptional<z.ZodString>;
1949
- step: z.ZodOptional<z.ZodNumber>;
1867
+ step: z.ZodDefault<z.ZodNumber>;
1950
1868
  }, "strip", z.ZodTypeAny, {
1869
+ step: number;
1951
1870
  label?: string | undefined;
1952
1871
  help?: string | undefined;
1953
1872
  labelTranslationKey?: string | undefined;
1954
1873
  max?: string | undefined;
1955
1874
  min?: string | undefined;
1956
- step?: number | undefined;
1957
1875
  }, {
1958
1876
  label?: string | undefined;
1959
1877
  help?: string | undefined;
@@ -1961,78 +1879,75 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1961
1879
  max?: string | undefined;
1962
1880
  min?: string | undefined;
1963
1881
  step?: number | undefined;
1964
- }>>;
1882
+ }>;
1965
1883
  }, "strip", z.ZodTypeAny, {
1966
- start?: {
1884
+ start: {
1885
+ step: number;
1967
1886
  label?: string | undefined;
1968
1887
  help?: string | undefined;
1969
1888
  labelTranslationKey?: string | undefined;
1970
1889
  max?: string | undefined;
1971
1890
  min?: string | undefined;
1972
- step?: number | undefined;
1973
- } | undefined;
1974
- end?: {
1891
+ };
1892
+ end: {
1893
+ step: number;
1975
1894
  label?: string | undefined;
1976
1895
  help?: string | undefined;
1977
1896
  labelTranslationKey?: string | undefined;
1978
1897
  max?: string | undefined;
1979
1898
  min?: string | undefined;
1980
- step?: number | undefined;
1981
- } | undefined;
1899
+ };
1982
1900
  }, {
1983
- start?: {
1901
+ start: {
1984
1902
  label?: string | undefined;
1985
1903
  help?: string | undefined;
1986
1904
  labelTranslationKey?: string | undefined;
1987
1905
  max?: string | undefined;
1988
1906
  min?: string | undefined;
1989
1907
  step?: number | undefined;
1990
- } | undefined;
1991
- end?: {
1908
+ };
1909
+ end: {
1992
1910
  label?: string | undefined;
1993
1911
  help?: string | undefined;
1994
1912
  labelTranslationKey?: string | undefined;
1995
1913
  max?: string | undefined;
1996
1914
  min?: string | undefined;
1997
1915
  step?: number | undefined;
1998
- } | undefined;
1916
+ };
1999
1917
  }>;
2000
1918
  meta: z.ZodOptional<z.ZodObject<{
2001
1919
  schemaVersion: z.ZodLiteral<"1.0">;
2002
1920
  } & {
2003
1921
  title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
2004
1922
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date range (e.g. From/To, Start/End)">>;
2005
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2006
1923
  }, "strip", z.ZodTypeAny, {
2007
1924
  schemaVersion: "1.0";
2008
1925
  title?: "Date Range" | undefined;
2009
1926
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2010
- defaultJSON?: string | undefined;
2011
1927
  }, {
2012
1928
  schemaVersion: "1.0";
2013
1929
  title?: "Date Range" | undefined;
2014
1930
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2015
- defaultJSON?: string | undefined;
2016
1931
  }>>;
2017
1932
  }, "strip", z.ZodTypeAny, {
2018
1933
  type: "dateRange";
2019
1934
  columns: {
2020
- start?: {
1935
+ start: {
1936
+ step: number;
2021
1937
  label?: string | undefined;
2022
1938
  help?: string | undefined;
2023
1939
  labelTranslationKey?: string | undefined;
2024
1940
  max?: string | undefined;
2025
1941
  min?: string | undefined;
2026
- step?: number | undefined;
2027
- } | undefined;
2028
- end?: {
1942
+ };
1943
+ end: {
1944
+ step: number;
2029
1945
  label?: string | undefined;
2030
1946
  help?: string | undefined;
2031
1947
  labelTranslationKey?: string | undefined;
2032
1948
  max?: string | undefined;
2033
1949
  min?: string | undefined;
2034
- step?: number | undefined;
2035
- } | undefined;
1950
+ };
2036
1951
  };
2037
1952
  attributes?: {
2038
1953
  label?: string | undefined;
@@ -2043,27 +1958,26 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2043
1958
  schemaVersion: "1.0";
2044
1959
  title?: "Date Range" | undefined;
2045
1960
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2046
- defaultJSON?: string | undefined;
2047
1961
  } | undefined;
2048
1962
  }, {
2049
1963
  type: "dateRange";
2050
1964
  columns: {
2051
- start?: {
1965
+ start: {
2052
1966
  label?: string | undefined;
2053
1967
  help?: string | undefined;
2054
1968
  labelTranslationKey?: string | undefined;
2055
1969
  max?: string | undefined;
2056
1970
  min?: string | undefined;
2057
1971
  step?: number | undefined;
2058
- } | undefined;
2059
- end?: {
1972
+ };
1973
+ end: {
2060
1974
  label?: string | undefined;
2061
1975
  help?: string | undefined;
2062
1976
  labelTranslationKey?: string | undefined;
2063
1977
  max?: string | undefined;
2064
1978
  min?: string | undefined;
2065
1979
  step?: number | undefined;
2066
- } | undefined;
1980
+ };
2067
1981
  };
2068
1982
  attributes?: {
2069
1983
  label?: string | undefined;
@@ -2074,7 +1988,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2074
1988
  schemaVersion: "1.0";
2075
1989
  title?: "Date Range" | undefined;
2076
1990
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2077
- defaultJSON?: string | undefined;
2078
1991
  } | undefined;
2079
1992
  }>, z.ZodObject<{} & {
2080
1993
  type: z.ZodLiteral<"email">;
@@ -2083,19 +1996,19 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2083
1996
  help: z.ZodOptional<z.ZodString>;
2084
1997
  labelTranslationKey: z.ZodOptional<z.ZodString>;
2085
1998
  } & {
2086
- maxLength: z.ZodOptional<z.ZodNumber>;
1999
+ maxLength: z.ZodDefault<z.ZodNumber>;
2087
2000
  minLength: z.ZodOptional<z.ZodNumber>;
2088
2001
  pattern: z.ZodOptional<z.ZodString>;
2089
2002
  } & {
2090
- multiple: z.ZodOptional<z.ZodBoolean>;
2003
+ multiple: z.ZodDefault<z.ZodBoolean>;
2091
2004
  }, "strip", z.ZodTypeAny, {
2005
+ maxLength: number;
2006
+ multiple: boolean;
2092
2007
  label?: string | undefined;
2093
2008
  help?: string | undefined;
2094
2009
  labelTranslationKey?: string | undefined;
2095
- maxLength?: number | undefined;
2096
2010
  minLength?: number | undefined;
2097
2011
  pattern?: string | undefined;
2098
- multiple?: boolean | undefined;
2099
2012
  }, {
2100
2013
  label?: string | undefined;
2101
2014
  help?: string | undefined;
@@ -2110,34 +2023,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2110
2023
  } & {
2111
2024
  title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
2112
2025
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
2113
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2114
2026
  }, "strip", z.ZodTypeAny, {
2115
2027
  schemaVersion: "1.0";
2116
2028
  title?: "Email Field" | undefined;
2117
2029
  usageDescription?: "For questions that require require email address(es)." | undefined;
2118
- defaultJSON?: string | undefined;
2119
2030
  }, {
2120
2031
  schemaVersion: "1.0";
2121
2032
  title?: "Email Field" | undefined;
2122
2033
  usageDescription?: "For questions that require require email address(es)." | undefined;
2123
- defaultJSON?: string | undefined;
2124
2034
  }>>;
2125
2035
  }, "strip", z.ZodTypeAny, {
2126
2036
  type: "email";
2127
2037
  attributes?: {
2038
+ maxLength: number;
2039
+ multiple: boolean;
2128
2040
  label?: string | undefined;
2129
2041
  help?: string | undefined;
2130
2042
  labelTranslationKey?: string | undefined;
2131
- maxLength?: number | undefined;
2132
2043
  minLength?: number | undefined;
2133
2044
  pattern?: string | undefined;
2134
- multiple?: boolean | undefined;
2135
2045
  } | undefined;
2136
2046
  meta?: {
2137
2047
  schemaVersion: "1.0";
2138
2048
  title?: "Email Field" | undefined;
2139
2049
  usageDescription?: "For questions that require require email address(es)." | undefined;
2140
- defaultJSON?: string | undefined;
2141
2050
  } | undefined;
2142
2051
  }, {
2143
2052
  type: "email";
@@ -2154,7 +2063,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2154
2063
  schemaVersion: "1.0";
2155
2064
  title?: "Email Field" | undefined;
2156
2065
  usageDescription?: "For questions that require require email address(es)." | undefined;
2157
- defaultJSON?: string | undefined;
2158
2066
  } | undefined;
2159
2067
  }>, z.ZodObject<{} & {
2160
2068
  type: z.ZodLiteral<"filteredSearch">;
@@ -2252,19 +2160,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2252
2160
  meta: z.ZodOptional<z.ZodObject<{
2253
2161
  schemaVersion: z.ZodLiteral<"1.0">;
2254
2162
  usageDescription: z.ZodOptional<z.ZodString>;
2255
- defaultJSON: z.ZodOptional<z.ZodString>;
2256
2163
  } & {
2257
2164
  title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
2258
2165
  }, "strip", z.ZodTypeAny, {
2259
2166
  schemaVersion: "1.0";
2260
2167
  title?: "Not yet implemented" | undefined;
2261
2168
  usageDescription?: string | undefined;
2262
- defaultJSON?: string | undefined;
2263
2169
  }, {
2264
2170
  schemaVersion: "1.0";
2265
2171
  title?: "Not yet implemented" | undefined;
2266
2172
  usageDescription?: string | undefined;
2267
- defaultJSON?: string | undefined;
2268
2173
  }>>;
2269
2174
  }, "strip", z.ZodTypeAny, {
2270
2175
  type: "filteredSearch";
@@ -2296,7 +2201,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2296
2201
  schemaVersion: "1.0";
2297
2202
  title?: "Not yet implemented" | undefined;
2298
2203
  usageDescription?: string | undefined;
2299
- defaultJSON?: string | undefined;
2300
2204
  } | undefined;
2301
2205
  }, {
2302
2206
  type: "filteredSearch";
@@ -2328,7 +2232,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2328
2232
  schemaVersion: "1.0";
2329
2233
  title?: "Not yet implemented" | undefined;
2330
2234
  usageDescription?: string | undefined;
2331
- defaultJSON?: string | undefined;
2332
2235
  } | undefined;
2333
2236
  }>, z.ZodObject<{} & {
2334
2237
  type: z.ZodLiteral<"number">;
@@ -2338,15 +2241,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2338
2241
  labelTranslationKey: z.ZodOptional<z.ZodString>;
2339
2242
  } & {
2340
2243
  max: z.ZodOptional<z.ZodNumber>;
2341
- min: z.ZodOptional<z.ZodNumber>;
2342
- step: z.ZodOptional<z.ZodNumber>;
2244
+ min: z.ZodDefault<z.ZodNumber>;
2245
+ step: z.ZodDefault<z.ZodNumber>;
2343
2246
  }, "strip", z.ZodTypeAny, {
2247
+ min: number;
2248
+ step: number;
2344
2249
  label?: string | undefined;
2345
2250
  help?: string | undefined;
2346
2251
  labelTranslationKey?: string | undefined;
2347
2252
  max?: number | undefined;
2348
- min?: number | undefined;
2349
- step?: number | undefined;
2350
2253
  }, {
2351
2254
  label?: string | undefined;
2352
2255
  help?: string | undefined;
@@ -2360,33 +2263,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2360
2263
  } & {
2361
2264
  title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
2362
2265
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
2363
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2364
2266
  }, "strip", z.ZodTypeAny, {
2365
2267
  schemaVersion: "1.0";
2366
2268
  title?: "Number Field" | undefined;
2367
2269
  usageDescription?: "For questions that require a single numeric value." | undefined;
2368
- defaultJSON?: string | undefined;
2369
2270
  }, {
2370
2271
  schemaVersion: "1.0";
2371
2272
  title?: "Number Field" | undefined;
2372
2273
  usageDescription?: "For questions that require a single numeric value." | undefined;
2373
- defaultJSON?: string | undefined;
2374
2274
  }>>;
2375
2275
  }, "strip", z.ZodTypeAny, {
2376
2276
  type: "number";
2377
2277
  attributes?: {
2278
+ min: number;
2279
+ step: number;
2378
2280
  label?: string | undefined;
2379
2281
  help?: string | undefined;
2380
2282
  labelTranslationKey?: string | undefined;
2381
2283
  max?: number | undefined;
2382
- min?: number | undefined;
2383
- step?: number | undefined;
2384
2284
  } | undefined;
2385
2285
  meta?: {
2386
2286
  schemaVersion: "1.0";
2387
2287
  title?: "Number Field" | undefined;
2388
2288
  usageDescription?: "For questions that require a single numeric value." | undefined;
2389
- defaultJSON?: string | undefined;
2390
2289
  } | undefined;
2391
2290
  }, {
2392
2291
  type: "number";
@@ -2402,7 +2301,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2402
2301
  schemaVersion: "1.0";
2403
2302
  title?: "Number Field" | undefined;
2404
2303
  usageDescription?: "For questions that require a single numeric value." | undefined;
2405
- defaultJSON?: string | undefined;
2406
2304
  } | undefined;
2407
2305
  }>, z.ZodObject<{
2408
2306
  attributes: z.ZodOptional<z.ZodObject<{
@@ -2421,17 +2319,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2421
2319
  } & {
2422
2320
  type: z.ZodLiteral<"radioButtons">;
2423
2321
  options: z.ZodArray<z.ZodObject<{
2424
- label: z.ZodString;
2425
- value: z.ZodString;
2322
+ label: z.ZodDefault<z.ZodString>;
2323
+ value: z.ZodDefault<z.ZodString>;
2426
2324
  } & {
2427
- selected: z.ZodOptional<z.ZodBoolean>;
2325
+ selected: z.ZodDefault<z.ZodBoolean>;
2428
2326
  }, "strip", z.ZodTypeAny, {
2429
2327
  value: string;
2430
2328
  label: string;
2431
- selected?: boolean | undefined;
2329
+ selected: boolean;
2432
2330
  }, {
2433
- value: string;
2434
- label: string;
2331
+ value?: string | undefined;
2332
+ label?: string | undefined;
2435
2333
  selected?: boolean | undefined;
2436
2334
  }>, "many">;
2437
2335
  meta: z.ZodOptional<z.ZodObject<{
@@ -2439,23 +2337,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2439
2337
  } & {
2440
2338
  title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
2441
2339
  usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
2442
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2443
2340
  }, "strip", z.ZodTypeAny, {
2444
2341
  schemaVersion: "1.0";
2445
2342
  title?: "Radio Buttons" | undefined;
2446
2343
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2447
- defaultJSON?: string | undefined;
2448
2344
  }, {
2449
2345
  schemaVersion: "1.0";
2450
2346
  title?: "Radio Buttons" | undefined;
2451
2347
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2452
- defaultJSON?: string | undefined;
2453
2348
  }>>;
2454
2349
  }, "strip", z.ZodTypeAny, {
2455
2350
  options: {
2456
2351
  value: string;
2457
2352
  label: string;
2458
- selected?: boolean | undefined;
2353
+ selected: boolean;
2459
2354
  }[];
2460
2355
  type: "radioButtons";
2461
2356
  attributes?: {
@@ -2467,12 +2362,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2467
2362
  schemaVersion: "1.0";
2468
2363
  title?: "Radio Buttons" | undefined;
2469
2364
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2470
- defaultJSON?: string | undefined;
2471
2365
  } | undefined;
2472
2366
  }, {
2473
2367
  options: {
2474
- value: string;
2475
- label: string;
2368
+ value?: string | undefined;
2369
+ label?: string | undefined;
2476
2370
  selected?: boolean | undefined;
2477
2371
  }[];
2478
2372
  type: "radioButtons";
@@ -2485,22 +2379,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2485
2379
  schemaVersion: "1.0";
2486
2380
  title?: "Radio Buttons" | undefined;
2487
2381
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2488
- defaultJSON?: string | undefined;
2489
2382
  } | undefined;
2490
2383
  }>, z.ZodObject<{} & {
2491
2384
  type: z.ZodLiteral<"selectBox">;
2492
2385
  options: z.ZodArray<z.ZodObject<{
2493
- label: z.ZodString;
2494
- value: z.ZodString;
2386
+ label: z.ZodDefault<z.ZodString>;
2387
+ value: z.ZodDefault<z.ZodString>;
2495
2388
  } & {
2496
- selected: z.ZodOptional<z.ZodBoolean>;
2389
+ selected: z.ZodDefault<z.ZodBoolean>;
2497
2390
  }, "strip", z.ZodTypeAny, {
2498
2391
  value: string;
2499
2392
  label: string;
2500
- selected?: boolean | undefined;
2393
+ selected: boolean;
2501
2394
  }, {
2502
- value: string;
2503
- label: string;
2395
+ value?: string | undefined;
2396
+ label?: string | undefined;
2504
2397
  selected?: boolean | undefined;
2505
2398
  }>, "many">;
2506
2399
  attributes: z.ZodObject<{
@@ -2508,44 +2401,41 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2508
2401
  help: z.ZodOptional<z.ZodString>;
2509
2402
  labelTranslationKey: z.ZodOptional<z.ZodString>;
2510
2403
  } & {
2511
- multiple: z.ZodLiteral<false>;
2404
+ multiple: z.ZodDefault<z.ZodBoolean>;
2512
2405
  }, "strip", z.ZodTypeAny, {
2513
- multiple: false;
2406
+ multiple: boolean;
2514
2407
  label?: string | undefined;
2515
2408
  help?: string | undefined;
2516
2409
  labelTranslationKey?: string | undefined;
2517
2410
  }, {
2518
- multiple: false;
2519
2411
  label?: string | undefined;
2520
2412
  help?: string | undefined;
2521
2413
  labelTranslationKey?: string | undefined;
2414
+ multiple?: boolean | undefined;
2522
2415
  }>;
2523
2416
  meta: z.ZodOptional<z.ZodObject<{
2524
2417
  schemaVersion: z.ZodLiteral<"1.0">;
2525
2418
  } & {
2526
2419
  title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
2527
2420
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
2528
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2529
2421
  }, "strip", z.ZodTypeAny, {
2530
2422
  schemaVersion: "1.0";
2531
2423
  title?: "Select Box" | undefined;
2532
2424
  usageDescription?: "For questions where users select one option from a list." | undefined;
2533
- defaultJSON?: string | undefined;
2534
2425
  }, {
2535
2426
  schemaVersion: "1.0";
2536
2427
  title?: "Select Box" | undefined;
2537
2428
  usageDescription?: "For questions where users select one option from a list." | undefined;
2538
- defaultJSON?: string | undefined;
2539
2429
  }>>;
2540
2430
  }, "strip", z.ZodTypeAny, {
2541
2431
  options: {
2542
2432
  value: string;
2543
2433
  label: string;
2544
- selected?: boolean | undefined;
2434
+ selected: boolean;
2545
2435
  }[];
2546
2436
  type: "selectBox";
2547
2437
  attributes: {
2548
- multiple: false;
2438
+ multiple: boolean;
2549
2439
  label?: string | undefined;
2550
2440
  help?: string | undefined;
2551
2441
  labelTranslationKey?: string | undefined;
@@ -2554,26 +2444,24 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2554
2444
  schemaVersion: "1.0";
2555
2445
  title?: "Select Box" | undefined;
2556
2446
  usageDescription?: "For questions where users select one option from a list." | undefined;
2557
- defaultJSON?: string | undefined;
2558
2447
  } | undefined;
2559
2448
  }, {
2560
2449
  options: {
2561
- value: string;
2562
- label: string;
2450
+ value?: string | undefined;
2451
+ label?: string | undefined;
2563
2452
  selected?: boolean | undefined;
2564
2453
  }[];
2565
2454
  type: "selectBox";
2566
2455
  attributes: {
2567
- multiple: false;
2568
2456
  label?: string | undefined;
2569
2457
  help?: string | undefined;
2570
2458
  labelTranslationKey?: string | undefined;
2459
+ multiple?: boolean | undefined;
2571
2460
  };
2572
2461
  meta?: {
2573
2462
  schemaVersion: "1.0";
2574
2463
  title?: "Select Box" | undefined;
2575
2464
  usageDescription?: "For questions where users select one option from a list." | undefined;
2576
- defaultJSON?: string | undefined;
2577
2465
  } | undefined;
2578
2466
  }>, z.ZodObject<{} & {
2579
2467
  type: z.ZodLiteral<"textArea">;
@@ -2582,20 +2470,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2582
2470
  help: z.ZodOptional<z.ZodString>;
2583
2471
  labelTranslationKey: z.ZodOptional<z.ZodString>;
2584
2472
  } & {
2585
- cols: z.ZodOptional<z.ZodNumber>;
2473
+ cols: z.ZodDefault<z.ZodNumber>;
2586
2474
  maxLength: z.ZodOptional<z.ZodNumber>;
2587
2475
  minLength: z.ZodOptional<z.ZodNumber>;
2588
- rows: z.ZodOptional<z.ZodNumber>;
2589
- asRichText: z.ZodOptional<z.ZodBoolean>;
2476
+ rows: z.ZodDefault<z.ZodNumber>;
2477
+ asRichText: z.ZodDefault<z.ZodBoolean>;
2590
2478
  }, "strip", z.ZodTypeAny, {
2479
+ cols: number;
2480
+ rows: number;
2481
+ asRichText: boolean;
2591
2482
  label?: string | undefined;
2592
2483
  help?: string | undefined;
2593
2484
  labelTranslationKey?: string | undefined;
2594
2485
  maxLength?: number | undefined;
2595
2486
  minLength?: number | undefined;
2596
- cols?: number | undefined;
2597
- rows?: number | undefined;
2598
- asRichText?: boolean | undefined;
2599
2487
  }, {
2600
2488
  label?: string | undefined;
2601
2489
  help?: string | undefined;
@@ -2611,35 +2499,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2611
2499
  } & {
2612
2500
  title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
2613
2501
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
2614
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2615
2502
  }, "strip", z.ZodTypeAny, {
2616
2503
  schemaVersion: "1.0";
2617
2504
  title?: "Text Area" | undefined;
2618
2505
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2619
- defaultJSON?: string | undefined;
2620
2506
  }, {
2621
2507
  schemaVersion: "1.0";
2622
2508
  title?: "Text Area" | undefined;
2623
2509
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2624
- defaultJSON?: string | undefined;
2625
2510
  }>>;
2626
2511
  }, "strip", z.ZodTypeAny, {
2627
2512
  type: "textArea";
2628
2513
  attributes?: {
2514
+ cols: number;
2515
+ rows: number;
2516
+ asRichText: boolean;
2629
2517
  label?: string | undefined;
2630
2518
  help?: string | undefined;
2631
2519
  labelTranslationKey?: string | undefined;
2632
2520
  maxLength?: number | undefined;
2633
2521
  minLength?: number | undefined;
2634
- cols?: number | undefined;
2635
- rows?: number | undefined;
2636
- asRichText?: boolean | undefined;
2637
2522
  } | undefined;
2638
2523
  meta?: {
2639
2524
  schemaVersion: "1.0";
2640
2525
  title?: "Text Area" | undefined;
2641
2526
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2642
- defaultJSON?: string | undefined;
2643
2527
  } | undefined;
2644
2528
  }, {
2645
2529
  type: "textArea";
@@ -2657,7 +2541,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2657
2541
  schemaVersion: "1.0";
2658
2542
  title?: "Text Area" | undefined;
2659
2543
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2660
- defaultJSON?: string | undefined;
2661
2544
  } | undefined;
2662
2545
  }>, z.ZodObject<{} & {
2663
2546
  type: z.ZodLiteral<"text">;
@@ -2666,14 +2549,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2666
2549
  help: z.ZodOptional<z.ZodString>;
2667
2550
  labelTranslationKey: z.ZodOptional<z.ZodString>;
2668
2551
  } & {
2669
- maxLength: z.ZodOptional<z.ZodNumber>;
2552
+ maxLength: z.ZodDefault<z.ZodNumber>;
2670
2553
  minLength: z.ZodOptional<z.ZodNumber>;
2671
2554
  pattern: z.ZodOptional<z.ZodString>;
2672
2555
  }, "strip", z.ZodTypeAny, {
2556
+ maxLength: number;
2673
2557
  label?: string | undefined;
2674
2558
  help?: string | undefined;
2675
2559
  labelTranslationKey?: string | undefined;
2676
- maxLength?: number | undefined;
2677
2560
  minLength?: number | undefined;
2678
2561
  pattern?: string | undefined;
2679
2562
  }, {
@@ -2689,25 +2572,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2689
2572
  } & {
2690
2573
  title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
2691
2574
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
2692
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2693
2575
  }, "strip", z.ZodTypeAny, {
2694
2576
  schemaVersion: "1.0";
2695
2577
  title?: "Text Field" | undefined;
2696
2578
  usageDescription?: "For questions that require short, simple answers." | undefined;
2697
- defaultJSON?: string | undefined;
2698
2579
  }, {
2699
2580
  schemaVersion: "1.0";
2700
2581
  title?: "Text Field" | undefined;
2701
2582
  usageDescription?: "For questions that require short, simple answers." | undefined;
2702
- defaultJSON?: string | undefined;
2703
2583
  }>>;
2704
2584
  }, "strip", z.ZodTypeAny, {
2705
2585
  type: "text";
2706
2586
  attributes?: {
2587
+ maxLength: number;
2707
2588
  label?: string | undefined;
2708
2589
  help?: string | undefined;
2709
2590
  labelTranslationKey?: string | undefined;
2710
- maxLength?: number | undefined;
2711
2591
  minLength?: number | undefined;
2712
2592
  pattern?: string | undefined;
2713
2593
  } | undefined;
@@ -2715,7 +2595,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2715
2595
  schemaVersion: "1.0";
2716
2596
  title?: "Text Field" | undefined;
2717
2597
  usageDescription?: "For questions that require short, simple answers." | undefined;
2718
- defaultJSON?: string | undefined;
2719
2598
  } | undefined;
2720
2599
  }, {
2721
2600
  type: "text";
@@ -2731,7 +2610,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2731
2610
  schemaVersion: "1.0";
2732
2611
  title?: "Text Field" | undefined;
2733
2612
  usageDescription?: "For questions that require short, simple answers." | undefined;
2734
- defaultJSON?: string | undefined;
2735
2613
  } | undefined;
2736
2614
  }>, z.ZodObject<{} & {
2737
2615
  type: z.ZodLiteral<"url">;
@@ -2740,14 +2618,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2740
2618
  help: z.ZodOptional<z.ZodString>;
2741
2619
  labelTranslationKey: z.ZodOptional<z.ZodString>;
2742
2620
  } & {
2743
- maxLength: z.ZodOptional<z.ZodNumber>;
2621
+ maxLength: z.ZodDefault<z.ZodNumber>;
2744
2622
  minLength: z.ZodOptional<z.ZodNumber>;
2745
2623
  pattern: z.ZodOptional<z.ZodString>;
2746
2624
  }, "strip", z.ZodTypeAny, {
2625
+ maxLength: number;
2747
2626
  label?: string | undefined;
2748
2627
  help?: string | undefined;
2749
2628
  labelTranslationKey?: string | undefined;
2750
- maxLength?: number | undefined;
2751
2629
  minLength?: number | undefined;
2752
2630
  pattern?: string | undefined;
2753
2631
  }, {
@@ -2763,25 +2641,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2763
2641
  } & {
2764
2642
  title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
2765
2643
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
2766
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2767
2644
  }, "strip", z.ZodTypeAny, {
2768
2645
  schemaVersion: "1.0";
2769
2646
  title?: "URL Field" | undefined;
2770
2647
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2771
- defaultJSON?: string | undefined;
2772
2648
  }, {
2773
2649
  schemaVersion: "1.0";
2774
2650
  title?: "URL Field" | undefined;
2775
2651
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2776
- defaultJSON?: string | undefined;
2777
2652
  }>>;
2778
2653
  }, "strip", z.ZodTypeAny, {
2779
2654
  type: "url";
2780
2655
  attributes?: {
2656
+ maxLength: number;
2781
2657
  label?: string | undefined;
2782
2658
  help?: string | undefined;
2783
2659
  labelTranslationKey?: string | undefined;
2784
- maxLength?: number | undefined;
2785
2660
  minLength?: number | undefined;
2786
2661
  pattern?: string | undefined;
2787
2662
  } | undefined;
@@ -2789,7 +2664,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2789
2664
  schemaVersion: "1.0";
2790
2665
  title?: "URL Field" | undefined;
2791
2666
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2792
- defaultJSON?: string | undefined;
2793
2667
  } | undefined;
2794
2668
  }, {
2795
2669
  type: "url";
@@ -2805,85 +2679,80 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2805
2679
  schemaVersion: "1.0";
2806
2680
  title?: "URL Field" | undefined;
2807
2681
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2808
- defaultJSON?: string | undefined;
2809
2682
  } | undefined;
2810
2683
  }>]>;
2811
2684
  }, "strip", z.ZodTypeAny, {
2812
2685
  content: {
2813
2686
  type: "currency";
2814
2687
  attributes?: {
2688
+ min: number;
2689
+ step: number;
2690
+ denomination: string;
2815
2691
  label?: string | undefined;
2816
2692
  help?: string | undefined;
2817
2693
  labelTranslationKey?: string | undefined;
2818
2694
  max?: number | undefined;
2819
- min?: number | undefined;
2820
- step?: number | undefined;
2821
- denomination?: string | undefined;
2822
2695
  } | undefined;
2823
2696
  meta?: {
2824
2697
  schemaVersion: "1.0";
2825
2698
  title?: "Currency Field" | undefined;
2826
2699
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
2827
- defaultJSON?: string | undefined;
2828
2700
  } | undefined;
2829
2701
  } | {
2830
2702
  type: "number";
2831
2703
  attributes?: {
2704
+ min: number;
2705
+ step: number;
2832
2706
  label?: string | undefined;
2833
2707
  help?: string | undefined;
2834
2708
  labelTranslationKey?: string | undefined;
2835
2709
  max?: number | undefined;
2836
- min?: number | undefined;
2837
- step?: number | undefined;
2838
2710
  } | undefined;
2839
2711
  meta?: {
2840
2712
  schemaVersion: "1.0";
2841
2713
  title?: "Number Field" | undefined;
2842
2714
  usageDescription?: "For questions that require a single numeric value." | undefined;
2843
- defaultJSON?: string | undefined;
2844
2715
  } | undefined;
2845
2716
  } | {
2846
2717
  type: "email";
2847
2718
  attributes?: {
2719
+ maxLength: number;
2720
+ multiple: boolean;
2848
2721
  label?: string | undefined;
2849
2722
  help?: string | undefined;
2850
2723
  labelTranslationKey?: string | undefined;
2851
- maxLength?: number | undefined;
2852
2724
  minLength?: number | undefined;
2853
2725
  pattern?: string | undefined;
2854
- multiple?: boolean | undefined;
2855
2726
  } | undefined;
2856
2727
  meta?: {
2857
2728
  schemaVersion: "1.0";
2858
2729
  title?: "Email Field" | undefined;
2859
2730
  usageDescription?: "For questions that require require email address(es)." | undefined;
2860
- defaultJSON?: string | undefined;
2861
2731
  } | undefined;
2862
2732
  } | {
2863
2733
  type: "textArea";
2864
2734
  attributes?: {
2735
+ cols: number;
2736
+ rows: number;
2737
+ asRichText: boolean;
2865
2738
  label?: string | undefined;
2866
2739
  help?: string | undefined;
2867
2740
  labelTranslationKey?: string | undefined;
2868
2741
  maxLength?: number | undefined;
2869
2742
  minLength?: number | undefined;
2870
- cols?: number | undefined;
2871
- rows?: number | undefined;
2872
- asRichText?: boolean | undefined;
2873
2743
  } | undefined;
2874
2744
  meta?: {
2875
2745
  schemaVersion: "1.0";
2876
2746
  title?: "Text Area" | undefined;
2877
2747
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2878
- defaultJSON?: string | undefined;
2879
2748
  } | undefined;
2880
2749
  } | {
2881
2750
  type: "text";
2882
2751
  attributes?: {
2752
+ maxLength: number;
2883
2753
  label?: string | undefined;
2884
2754
  help?: string | undefined;
2885
2755
  labelTranslationKey?: string | undefined;
2886
- maxLength?: number | undefined;
2887
2756
  minLength?: number | undefined;
2888
2757
  pattern?: string | undefined;
2889
2758
  } | undefined;
@@ -2891,15 +2760,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2891
2760
  schemaVersion: "1.0";
2892
2761
  title?: "Text Field" | undefined;
2893
2762
  usageDescription?: "For questions that require short, simple answers." | undefined;
2894
- defaultJSON?: string | undefined;
2895
2763
  } | undefined;
2896
2764
  } | {
2897
2765
  type: "url";
2898
2766
  attributes?: {
2767
+ maxLength: number;
2899
2768
  label?: string | undefined;
2900
2769
  help?: string | undefined;
2901
2770
  labelTranslationKey?: string | undefined;
2902
- maxLength?: number | undefined;
2903
2771
  minLength?: number | undefined;
2904
2772
  pattern?: string | undefined;
2905
2773
  } | undefined;
@@ -2907,43 +2775,41 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2907
2775
  schemaVersion: "1.0";
2908
2776
  title?: "URL Field" | undefined;
2909
2777
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2910
- defaultJSON?: string | undefined;
2911
2778
  } | undefined;
2912
2779
  } | {
2913
2780
  type: "date";
2914
2781
  attributes?: {
2782
+ step: number;
2915
2783
  label?: string | undefined;
2916
2784
  help?: string | undefined;
2917
2785
  labelTranslationKey?: string | undefined;
2918
2786
  max?: string | undefined;
2919
2787
  min?: string | undefined;
2920
- step?: number | undefined;
2921
2788
  } | undefined;
2922
2789
  meta?: {
2923
2790
  schemaVersion: "1.0";
2924
2791
  title?: "Date Field" | undefined;
2925
2792
  usageDescription?: "For questions that require a date." | undefined;
2926
- defaultJSON?: string | undefined;
2927
2793
  } | undefined;
2928
2794
  } | {
2929
2795
  type: "dateRange";
2930
2796
  columns: {
2931
- start?: {
2797
+ start: {
2798
+ step: number;
2932
2799
  label?: string | undefined;
2933
2800
  help?: string | undefined;
2934
2801
  labelTranslationKey?: string | undefined;
2935
2802
  max?: string | undefined;
2936
2803
  min?: string | undefined;
2937
- step?: number | undefined;
2938
- } | undefined;
2939
- end?: {
2804
+ };
2805
+ end: {
2806
+ step: number;
2940
2807
  label?: string | undefined;
2941
2808
  help?: string | undefined;
2942
2809
  labelTranslationKey?: string | undefined;
2943
2810
  max?: string | undefined;
2944
2811
  min?: string | undefined;
2945
- step?: number | undefined;
2946
- } | undefined;
2812
+ };
2947
2813
  };
2948
2814
  attributes?: {
2949
2815
  label?: string | undefined;
@@ -2954,27 +2820,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2954
2820
  schemaVersion: "1.0";
2955
2821
  title?: "Date Range" | undefined;
2956
2822
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2957
- defaultJSON?: string | undefined;
2958
2823
  } | undefined;
2959
2824
  } | {
2960
2825
  type: "boolean";
2961
2826
  attributes?: {
2827
+ checked: boolean;
2962
2828
  label?: string | undefined;
2963
2829
  help?: string | undefined;
2964
2830
  labelTranslationKey?: string | undefined;
2965
- checked?: boolean | undefined;
2966
2831
  } | undefined;
2967
2832
  meta?: {
2968
2833
  schemaVersion: "1.0";
2969
2834
  title?: "Yes/No Field" | undefined;
2970
2835
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
2971
- defaultJSON?: string | undefined;
2972
2836
  } | undefined;
2973
2837
  } | {
2974
2838
  options: {
2975
2839
  value: string;
2976
2840
  label: string;
2977
- checked?: boolean | undefined;
2841
+ checked: boolean;
2978
2842
  }[];
2979
2843
  type: "checkBoxes";
2980
2844
  attributes?: {
@@ -2986,13 +2850,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2986
2850
  schemaVersion: "1.0";
2987
2851
  title?: "Check Boxes" | undefined;
2988
2852
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
2989
- defaultJSON?: string | undefined;
2990
2853
  } | undefined;
2991
2854
  } | {
2992
2855
  options: {
2993
2856
  value: string;
2994
2857
  label: string;
2995
- selected?: boolean | undefined;
2858
+ selected: boolean;
2996
2859
  }[];
2997
2860
  type: "radioButtons";
2998
2861
  attributes?: {
@@ -3004,17 +2867,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3004
2867
  schemaVersion: "1.0";
3005
2868
  title?: "Radio Buttons" | undefined;
3006
2869
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3007
- defaultJSON?: string | undefined;
3008
2870
  } | undefined;
3009
2871
  } | {
3010
2872
  options: {
3011
2873
  value: string;
3012
2874
  label: string;
3013
- selected?: boolean | undefined;
2875
+ selected: boolean;
3014
2876
  }[];
3015
2877
  type: "selectBox";
3016
2878
  attributes: {
3017
- multiple: false;
2879
+ multiple: boolean;
3018
2880
  label?: string | undefined;
3019
2881
  help?: string | undefined;
3020
2882
  labelTranslationKey?: string | undefined;
@@ -3023,7 +2885,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3023
2885
  schemaVersion: "1.0";
3024
2886
  title?: "Select Box" | undefined;
3025
2887
  usageDescription?: "For questions where users select one option from a list." | undefined;
3026
- defaultJSON?: string | undefined;
3027
2888
  } | undefined;
3028
2889
  } | {
3029
2890
  type: "filteredSearch";
@@ -3055,7 +2916,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3055
2916
  schemaVersion: "1.0";
3056
2917
  title?: "Not yet implemented" | undefined;
3057
2918
  usageDescription?: string | undefined;
3058
- defaultJSON?: string | undefined;
3059
2919
  } | undefined;
3060
2920
  } | {
3061
2921
  type: "affiliationSearch";
@@ -3063,25 +2923,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3063
2923
  schemaVersion: "1.0";
3064
2924
  title?: "Affiliation Search" | undefined;
3065
2925
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3066
- defaultJSON?: string | undefined;
3067
2926
  };
3068
2927
  graphQL: {
3069
2928
  displayFields: {
3070
2929
  label: string;
3071
- propertyName: string;
2930
+ propertyName: "displayName";
3072
2931
  labelTranslationKey?: string | undefined;
3073
2932
  }[];
3074
- responseField: string;
3075
- localQueryId?: string | undefined;
3076
- query?: string | undefined;
3077
- variables?: {
2933
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
2934
+ responseField: "affiliations.items";
2935
+ variables: {
3078
2936
  type: string;
3079
- name: string;
3080
- label?: string | undefined;
2937
+ label: string;
2938
+ minLength: 3;
2939
+ name: "name";
3081
2940
  labelTranslationKey?: string | undefined;
3082
- minLength?: number | undefined;
3083
- defaultValue?: string | undefined;
3084
- }[] | undefined;
2941
+ }[];
2942
+ answerField: "uri";
2943
+ localQueryId?: string | undefined;
2944
+ queryId?: string | undefined;
3085
2945
  };
3086
2946
  attributes?: {
3087
2947
  label?: string | undefined;
@@ -3106,7 +2966,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3106
2966
  schemaVersion: "1.0";
3107
2967
  title?: "Currency Field" | undefined;
3108
2968
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
3109
- defaultJSON?: string | undefined;
3110
2969
  } | undefined;
3111
2970
  } | {
3112
2971
  type: "number";
@@ -3122,7 +2981,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3122
2981
  schemaVersion: "1.0";
3123
2982
  title?: "Number Field" | undefined;
3124
2983
  usageDescription?: "For questions that require a single numeric value." | undefined;
3125
- defaultJSON?: string | undefined;
3126
2984
  } | undefined;
3127
2985
  } | {
3128
2986
  type: "email";
@@ -3139,7 +2997,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3139
2997
  schemaVersion: "1.0";
3140
2998
  title?: "Email Field" | undefined;
3141
2999
  usageDescription?: "For questions that require require email address(es)." | undefined;
3142
- defaultJSON?: string | undefined;
3143
3000
  } | undefined;
3144
3001
  } | {
3145
3002
  type: "textArea";
@@ -3157,7 +3014,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3157
3014
  schemaVersion: "1.0";
3158
3015
  title?: "Text Area" | undefined;
3159
3016
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
3160
- defaultJSON?: string | undefined;
3161
3017
  } | undefined;
3162
3018
  } | {
3163
3019
  type: "text";
@@ -3173,7 +3029,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3173
3029
  schemaVersion: "1.0";
3174
3030
  title?: "Text Field" | undefined;
3175
3031
  usageDescription?: "For questions that require short, simple answers." | undefined;
3176
- defaultJSON?: string | undefined;
3177
3032
  } | undefined;
3178
3033
  } | {
3179
3034
  type: "url";
@@ -3189,7 +3044,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3189
3044
  schemaVersion: "1.0";
3190
3045
  title?: "URL Field" | undefined;
3191
3046
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
3192
- defaultJSON?: string | undefined;
3193
3047
  } | undefined;
3194
3048
  } | {
3195
3049
  type: "date";
@@ -3205,27 +3059,26 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3205
3059
  schemaVersion: "1.0";
3206
3060
  title?: "Date Field" | undefined;
3207
3061
  usageDescription?: "For questions that require a date." | undefined;
3208
- defaultJSON?: string | undefined;
3209
3062
  } | undefined;
3210
3063
  } | {
3211
3064
  type: "dateRange";
3212
3065
  columns: {
3213
- start?: {
3066
+ start: {
3214
3067
  label?: string | undefined;
3215
3068
  help?: string | undefined;
3216
3069
  labelTranslationKey?: string | undefined;
3217
3070
  max?: string | undefined;
3218
3071
  min?: string | undefined;
3219
3072
  step?: number | undefined;
3220
- } | undefined;
3221
- end?: {
3073
+ };
3074
+ end: {
3222
3075
  label?: string | undefined;
3223
3076
  help?: string | undefined;
3224
3077
  labelTranslationKey?: string | undefined;
3225
3078
  max?: string | undefined;
3226
3079
  min?: string | undefined;
3227
3080
  step?: number | undefined;
3228
- } | undefined;
3081
+ };
3229
3082
  };
3230
3083
  attributes?: {
3231
3084
  label?: string | undefined;
@@ -3236,7 +3089,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3236
3089
  schemaVersion: "1.0";
3237
3090
  title?: "Date Range" | undefined;
3238
3091
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
3239
- defaultJSON?: string | undefined;
3240
3092
  } | undefined;
3241
3093
  } | {
3242
3094
  type: "boolean";
@@ -3250,12 +3102,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3250
3102
  schemaVersion: "1.0";
3251
3103
  title?: "Yes/No Field" | undefined;
3252
3104
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
3253
- defaultJSON?: string | undefined;
3254
3105
  } | undefined;
3255
3106
  } | {
3256
3107
  options: {
3257
- value: string;
3258
- label: string;
3108
+ value?: string | undefined;
3109
+ label?: string | undefined;
3259
3110
  checked?: boolean | undefined;
3260
3111
  }[];
3261
3112
  type: "checkBoxes";
@@ -3268,12 +3119,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3268
3119
  schemaVersion: "1.0";
3269
3120
  title?: "Check Boxes" | undefined;
3270
3121
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
3271
- defaultJSON?: string | undefined;
3272
3122
  } | undefined;
3273
3123
  } | {
3274
3124
  options: {
3275
- value: string;
3276
- label: string;
3125
+ value?: string | undefined;
3126
+ label?: string | undefined;
3277
3127
  selected?: boolean | undefined;
3278
3128
  }[];
3279
3129
  type: "radioButtons";
@@ -3286,26 +3136,24 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3286
3136
  schemaVersion: "1.0";
3287
3137
  title?: "Radio Buttons" | undefined;
3288
3138
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3289
- defaultJSON?: string | undefined;
3290
3139
  } | undefined;
3291
3140
  } | {
3292
3141
  options: {
3293
- value: string;
3294
- label: string;
3142
+ value?: string | undefined;
3143
+ label?: string | undefined;
3295
3144
  selected?: boolean | undefined;
3296
3145
  }[];
3297
3146
  type: "selectBox";
3298
3147
  attributes: {
3299
- multiple: false;
3300
3148
  label?: string | undefined;
3301
3149
  help?: string | undefined;
3302
3150
  labelTranslationKey?: string | undefined;
3151
+ multiple?: boolean | undefined;
3303
3152
  };
3304
3153
  meta?: {
3305
3154
  schemaVersion: "1.0";
3306
3155
  title?: "Select Box" | undefined;
3307
3156
  usageDescription?: "For questions where users select one option from a list." | undefined;
3308
- defaultJSON?: string | undefined;
3309
3157
  } | undefined;
3310
3158
  } | {
3311
3159
  type: "filteredSearch";
@@ -3337,7 +3185,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3337
3185
  schemaVersion: "1.0";
3338
3186
  title?: "Not yet implemented" | undefined;
3339
3187
  usageDescription?: string | undefined;
3340
- defaultJSON?: string | undefined;
3341
3188
  } | undefined;
3342
3189
  } | {
3343
3190
  type: "affiliationSearch";
@@ -3345,25 +3192,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3345
3192
  schemaVersion: "1.0";
3346
3193
  title?: "Affiliation Search" | undefined;
3347
3194
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3348
- defaultJSON?: string | undefined;
3349
3195
  };
3350
3196
  graphQL: {
3351
3197
  displayFields: {
3352
- label: string;
3353
- propertyName: string;
3198
+ propertyName: "displayName";
3199
+ label?: string | undefined;
3354
3200
  labelTranslationKey?: string | undefined;
3355
3201
  }[];
3356
- responseField: string;
3357
- localQueryId?: string | undefined;
3358
- query?: string | undefined;
3359
- variables?: {
3360
- type: string;
3361
- name: string;
3202
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
3203
+ responseField: "affiliations.items";
3204
+ variables: {
3205
+ minLength: 3;
3206
+ name: "name";
3207
+ type?: string | undefined;
3362
3208
  label?: string | undefined;
3363
3209
  labelTranslationKey?: string | undefined;
3364
- minLength?: number | undefined;
3365
- defaultValue?: string | undefined;
3366
- }[] | undefined;
3210
+ }[];
3211
+ answerField: "uri";
3212
+ localQueryId?: string | undefined;
3213
+ queryId?: string | undefined;
3367
3214
  };
3368
3215
  attributes?: {
3369
3216
  label?: string | undefined;
@@ -3378,18 +3225,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3378
3225
  help: z.ZodOptional<z.ZodString>;
3379
3226
  labelTranslationKey: z.ZodOptional<z.ZodString>;
3380
3227
  } & {
3381
- canAddRows: z.ZodOptional<z.ZodBoolean>;
3382
- canRemoveRows: z.ZodOptional<z.ZodBoolean>;
3383
- initialRows: z.ZodOptional<z.ZodNumber>;
3228
+ canAddRows: z.ZodDefault<z.ZodBoolean>;
3229
+ canRemoveRows: z.ZodDefault<z.ZodBoolean>;
3230
+ initialRows: z.ZodDefault<z.ZodNumber>;
3384
3231
  maxRows: z.ZodOptional<z.ZodNumber>;
3385
3232
  minRows: z.ZodOptional<z.ZodNumber>;
3386
3233
  }, "strip", z.ZodTypeAny, {
3234
+ canAddRows: boolean;
3235
+ canRemoveRows: boolean;
3236
+ initialRows: number;
3387
3237
  label?: string | undefined;
3388
3238
  help?: string | undefined;
3389
3239
  labelTranslationKey?: string | undefined;
3390
- canAddRows?: boolean | undefined;
3391
- canRemoveRows?: boolean | undefined;
3392
- initialRows?: number | undefined;
3393
3240
  maxRows?: number | undefined;
3394
3241
  minRows?: number | undefined;
3395
3242
  }, {
@@ -3407,17 +3254,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3407
3254
  } & {
3408
3255
  title: z.ZodOptional<z.ZodLiteral<"Table">>;
3409
3256
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a tabular format.">>;
3410
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
3411
3257
  }, "strip", z.ZodTypeAny, {
3412
3258
  schemaVersion: "1.0";
3413
3259
  title?: "Table" | undefined;
3414
3260
  usageDescription?: "For questions that require a tabular format." | undefined;
3415
- defaultJSON?: string | undefined;
3416
3261
  }, {
3417
3262
  schemaVersion: "1.0";
3418
3263
  title?: "Table" | undefined;
3419
3264
  usageDescription?: "For questions that require a tabular format." | undefined;
3420
- defaultJSON?: string | undefined;
3421
3265
  }>>;
3422
3266
  }, "strip", z.ZodTypeAny, {
3423
3267
  type: "table";
@@ -3425,78 +3269,74 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3425
3269
  content: {
3426
3270
  type: "currency";
3427
3271
  attributes?: {
3272
+ min: number;
3273
+ step: number;
3274
+ denomination: string;
3428
3275
  label?: string | undefined;
3429
3276
  help?: string | undefined;
3430
3277
  labelTranslationKey?: string | undefined;
3431
3278
  max?: number | undefined;
3432
- min?: number | undefined;
3433
- step?: number | undefined;
3434
- denomination?: string | undefined;
3435
3279
  } | undefined;
3436
3280
  meta?: {
3437
3281
  schemaVersion: "1.0";
3438
3282
  title?: "Currency Field" | undefined;
3439
3283
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
3440
- defaultJSON?: string | undefined;
3441
3284
  } | undefined;
3442
3285
  } | {
3443
3286
  type: "number";
3444
3287
  attributes?: {
3288
+ min: number;
3289
+ step: number;
3445
3290
  label?: string | undefined;
3446
3291
  help?: string | undefined;
3447
3292
  labelTranslationKey?: string | undefined;
3448
3293
  max?: number | undefined;
3449
- min?: number | undefined;
3450
- step?: number | undefined;
3451
3294
  } | undefined;
3452
3295
  meta?: {
3453
3296
  schemaVersion: "1.0";
3454
3297
  title?: "Number Field" | undefined;
3455
3298
  usageDescription?: "For questions that require a single numeric value." | undefined;
3456
- defaultJSON?: string | undefined;
3457
3299
  } | undefined;
3458
3300
  } | {
3459
3301
  type: "email";
3460
3302
  attributes?: {
3303
+ maxLength: number;
3304
+ multiple: boolean;
3461
3305
  label?: string | undefined;
3462
3306
  help?: string | undefined;
3463
3307
  labelTranslationKey?: string | undefined;
3464
- maxLength?: number | undefined;
3465
3308
  minLength?: number | undefined;
3466
3309
  pattern?: string | undefined;
3467
- multiple?: boolean | undefined;
3468
3310
  } | undefined;
3469
3311
  meta?: {
3470
3312
  schemaVersion: "1.0";
3471
3313
  title?: "Email Field" | undefined;
3472
3314
  usageDescription?: "For questions that require require email address(es)." | undefined;
3473
- defaultJSON?: string | undefined;
3474
3315
  } | undefined;
3475
3316
  } | {
3476
3317
  type: "textArea";
3477
3318
  attributes?: {
3319
+ cols: number;
3320
+ rows: number;
3321
+ asRichText: boolean;
3478
3322
  label?: string | undefined;
3479
3323
  help?: string | undefined;
3480
3324
  labelTranslationKey?: string | undefined;
3481
3325
  maxLength?: number | undefined;
3482
3326
  minLength?: number | undefined;
3483
- cols?: number | undefined;
3484
- rows?: number | undefined;
3485
- asRichText?: boolean | undefined;
3486
3327
  } | undefined;
3487
3328
  meta?: {
3488
3329
  schemaVersion: "1.0";
3489
3330
  title?: "Text Area" | undefined;
3490
3331
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
3491
- defaultJSON?: string | undefined;
3492
3332
  } | undefined;
3493
3333
  } | {
3494
3334
  type: "text";
3495
3335
  attributes?: {
3336
+ maxLength: number;
3496
3337
  label?: string | undefined;
3497
3338
  help?: string | undefined;
3498
3339
  labelTranslationKey?: string | undefined;
3499
- maxLength?: number | undefined;
3500
3340
  minLength?: number | undefined;
3501
3341
  pattern?: string | undefined;
3502
3342
  } | undefined;
@@ -3504,15 +3344,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3504
3344
  schemaVersion: "1.0";
3505
3345
  title?: "Text Field" | undefined;
3506
3346
  usageDescription?: "For questions that require short, simple answers." | undefined;
3507
- defaultJSON?: string | undefined;
3508
3347
  } | undefined;
3509
3348
  } | {
3510
3349
  type: "url";
3511
3350
  attributes?: {
3351
+ maxLength: number;
3512
3352
  label?: string | undefined;
3513
3353
  help?: string | undefined;
3514
3354
  labelTranslationKey?: string | undefined;
3515
- maxLength?: number | undefined;
3516
3355
  minLength?: number | undefined;
3517
3356
  pattern?: string | undefined;
3518
3357
  } | undefined;
@@ -3520,43 +3359,41 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3520
3359
  schemaVersion: "1.0";
3521
3360
  title?: "URL Field" | undefined;
3522
3361
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
3523
- defaultJSON?: string | undefined;
3524
3362
  } | undefined;
3525
3363
  } | {
3526
3364
  type: "date";
3527
3365
  attributes?: {
3366
+ step: number;
3528
3367
  label?: string | undefined;
3529
3368
  help?: string | undefined;
3530
3369
  labelTranslationKey?: string | undefined;
3531
3370
  max?: string | undefined;
3532
3371
  min?: string | undefined;
3533
- step?: number | undefined;
3534
3372
  } | undefined;
3535
3373
  meta?: {
3536
3374
  schemaVersion: "1.0";
3537
3375
  title?: "Date Field" | undefined;
3538
3376
  usageDescription?: "For questions that require a date." | undefined;
3539
- defaultJSON?: string | undefined;
3540
3377
  } | undefined;
3541
3378
  } | {
3542
3379
  type: "dateRange";
3543
3380
  columns: {
3544
- start?: {
3381
+ start: {
3382
+ step: number;
3545
3383
  label?: string | undefined;
3546
3384
  help?: string | undefined;
3547
3385
  labelTranslationKey?: string | undefined;
3548
3386
  max?: string | undefined;
3549
3387
  min?: string | undefined;
3550
- step?: number | undefined;
3551
- } | undefined;
3552
- end?: {
3388
+ };
3389
+ end: {
3390
+ step: number;
3553
3391
  label?: string | undefined;
3554
3392
  help?: string | undefined;
3555
3393
  labelTranslationKey?: string | undefined;
3556
3394
  max?: string | undefined;
3557
3395
  min?: string | undefined;
3558
- step?: number | undefined;
3559
- } | undefined;
3396
+ };
3560
3397
  };
3561
3398
  attributes?: {
3562
3399
  label?: string | undefined;
@@ -3567,27 +3404,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3567
3404
  schemaVersion: "1.0";
3568
3405
  title?: "Date Range" | undefined;
3569
3406
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
3570
- defaultJSON?: string | undefined;
3571
3407
  } | undefined;
3572
3408
  } | {
3573
3409
  type: "boolean";
3574
3410
  attributes?: {
3411
+ checked: boolean;
3575
3412
  label?: string | undefined;
3576
3413
  help?: string | undefined;
3577
3414
  labelTranslationKey?: string | undefined;
3578
- checked?: boolean | undefined;
3579
3415
  } | undefined;
3580
3416
  meta?: {
3581
3417
  schemaVersion: "1.0";
3582
3418
  title?: "Yes/No Field" | undefined;
3583
3419
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
3584
- defaultJSON?: string | undefined;
3585
3420
  } | undefined;
3586
3421
  } | {
3587
3422
  options: {
3588
3423
  value: string;
3589
3424
  label: string;
3590
- checked?: boolean | undefined;
3425
+ checked: boolean;
3591
3426
  }[];
3592
3427
  type: "checkBoxes";
3593
3428
  attributes?: {
@@ -3599,13 +3434,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3599
3434
  schemaVersion: "1.0";
3600
3435
  title?: "Check Boxes" | undefined;
3601
3436
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
3602
- defaultJSON?: string | undefined;
3603
3437
  } | undefined;
3604
3438
  } | {
3605
3439
  options: {
3606
3440
  value: string;
3607
3441
  label: string;
3608
- selected?: boolean | undefined;
3442
+ selected: boolean;
3609
3443
  }[];
3610
3444
  type: "radioButtons";
3611
3445
  attributes?: {
@@ -3617,17 +3451,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3617
3451
  schemaVersion: "1.0";
3618
3452
  title?: "Radio Buttons" | undefined;
3619
3453
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3620
- defaultJSON?: string | undefined;
3621
3454
  } | undefined;
3622
3455
  } | {
3623
3456
  options: {
3624
3457
  value: string;
3625
3458
  label: string;
3626
- selected?: boolean | undefined;
3459
+ selected: boolean;
3627
3460
  }[];
3628
3461
  type: "selectBox";
3629
3462
  attributes: {
3630
- multiple: false;
3463
+ multiple: boolean;
3631
3464
  label?: string | undefined;
3632
3465
  help?: string | undefined;
3633
3466
  labelTranslationKey?: string | undefined;
@@ -3636,7 +3469,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3636
3469
  schemaVersion: "1.0";
3637
3470
  title?: "Select Box" | undefined;
3638
3471
  usageDescription?: "For questions where users select one option from a list." | undefined;
3639
- defaultJSON?: string | undefined;
3640
3472
  } | undefined;
3641
3473
  } | {
3642
3474
  type: "filteredSearch";
@@ -3668,7 +3500,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3668
3500
  schemaVersion: "1.0";
3669
3501
  title?: "Not yet implemented" | undefined;
3670
3502
  usageDescription?: string | undefined;
3671
- defaultJSON?: string | undefined;
3672
3503
  } | undefined;
3673
3504
  } | {
3674
3505
  type: "affiliationSearch";
@@ -3676,25 +3507,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3676
3507
  schemaVersion: "1.0";
3677
3508
  title?: "Affiliation Search" | undefined;
3678
3509
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3679
- defaultJSON?: string | undefined;
3680
3510
  };
3681
3511
  graphQL: {
3682
3512
  displayFields: {
3683
3513
  label: string;
3684
- propertyName: string;
3514
+ propertyName: "displayName";
3685
3515
  labelTranslationKey?: string | undefined;
3686
3516
  }[];
3687
- responseField: string;
3688
- localQueryId?: string | undefined;
3689
- query?: string | undefined;
3690
- variables?: {
3517
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
3518
+ responseField: "affiliations.items";
3519
+ variables: {
3691
3520
  type: string;
3692
- name: string;
3693
- label?: string | undefined;
3521
+ label: string;
3522
+ minLength: 3;
3523
+ name: "name";
3694
3524
  labelTranslationKey?: string | undefined;
3695
- minLength?: number | undefined;
3696
- defaultValue?: string | undefined;
3697
- }[] | undefined;
3525
+ }[];
3526
+ answerField: "uri";
3527
+ localQueryId?: string | undefined;
3528
+ queryId?: string | undefined;
3698
3529
  };
3699
3530
  attributes?: {
3700
3531
  label?: string | undefined;
@@ -3705,12 +3536,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3705
3536
  heading?: string | undefined;
3706
3537
  }[];
3707
3538
  attributes?: {
3539
+ canAddRows: boolean;
3540
+ canRemoveRows: boolean;
3541
+ initialRows: number;
3708
3542
  label?: string | undefined;
3709
3543
  help?: string | undefined;
3710
3544
  labelTranslationKey?: string | undefined;
3711
- canAddRows?: boolean | undefined;
3712
- canRemoveRows?: boolean | undefined;
3713
- initialRows?: number | undefined;
3714
3545
  maxRows?: number | undefined;
3715
3546
  minRows?: number | undefined;
3716
3547
  } | undefined;
@@ -3718,7 +3549,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3718
3549
  schemaVersion: "1.0";
3719
3550
  title?: "Table" | undefined;
3720
3551
  usageDescription?: "For questions that require a tabular format." | undefined;
3721
- defaultJSON?: string | undefined;
3722
3552
  } | undefined;
3723
3553
  }, {
3724
3554
  type: "table";
@@ -3738,7 +3568,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3738
3568
  schemaVersion: "1.0";
3739
3569
  title?: "Currency Field" | undefined;
3740
3570
  usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
3741
- defaultJSON?: string | undefined;
3742
3571
  } | undefined;
3743
3572
  } | {
3744
3573
  type: "number";
@@ -3754,7 +3583,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3754
3583
  schemaVersion: "1.0";
3755
3584
  title?: "Number Field" | undefined;
3756
3585
  usageDescription?: "For questions that require a single numeric value." | undefined;
3757
- defaultJSON?: string | undefined;
3758
3586
  } | undefined;
3759
3587
  } | {
3760
3588
  type: "email";
@@ -3771,7 +3599,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3771
3599
  schemaVersion: "1.0";
3772
3600
  title?: "Email Field" | undefined;
3773
3601
  usageDescription?: "For questions that require require email address(es)." | undefined;
3774
- defaultJSON?: string | undefined;
3775
3602
  } | undefined;
3776
3603
  } | {
3777
3604
  type: "textArea";
@@ -3789,7 +3616,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3789
3616
  schemaVersion: "1.0";
3790
3617
  title?: "Text Area" | undefined;
3791
3618
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
3792
- defaultJSON?: string | undefined;
3793
3619
  } | undefined;
3794
3620
  } | {
3795
3621
  type: "text";
@@ -3805,7 +3631,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3805
3631
  schemaVersion: "1.0";
3806
3632
  title?: "Text Field" | undefined;
3807
3633
  usageDescription?: "For questions that require short, simple answers." | undefined;
3808
- defaultJSON?: string | undefined;
3809
3634
  } | undefined;
3810
3635
  } | {
3811
3636
  type: "url";
@@ -3821,7 +3646,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3821
3646
  schemaVersion: "1.0";
3822
3647
  title?: "URL Field" | undefined;
3823
3648
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
3824
- defaultJSON?: string | undefined;
3825
3649
  } | undefined;
3826
3650
  } | {
3827
3651
  type: "date";
@@ -3837,27 +3661,26 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3837
3661
  schemaVersion: "1.0";
3838
3662
  title?: "Date Field" | undefined;
3839
3663
  usageDescription?: "For questions that require a date." | undefined;
3840
- defaultJSON?: string | undefined;
3841
3664
  } | undefined;
3842
3665
  } | {
3843
3666
  type: "dateRange";
3844
3667
  columns: {
3845
- start?: {
3668
+ start: {
3846
3669
  label?: string | undefined;
3847
3670
  help?: string | undefined;
3848
3671
  labelTranslationKey?: string | undefined;
3849
3672
  max?: string | undefined;
3850
3673
  min?: string | undefined;
3851
3674
  step?: number | undefined;
3852
- } | undefined;
3853
- end?: {
3675
+ };
3676
+ end: {
3854
3677
  label?: string | undefined;
3855
3678
  help?: string | undefined;
3856
3679
  labelTranslationKey?: string | undefined;
3857
3680
  max?: string | undefined;
3858
3681
  min?: string | undefined;
3859
3682
  step?: number | undefined;
3860
- } | undefined;
3683
+ };
3861
3684
  };
3862
3685
  attributes?: {
3863
3686
  label?: string | undefined;
@@ -3868,7 +3691,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3868
3691
  schemaVersion: "1.0";
3869
3692
  title?: "Date Range" | undefined;
3870
3693
  usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
3871
- defaultJSON?: string | undefined;
3872
3694
  } | undefined;
3873
3695
  } | {
3874
3696
  type: "boolean";
@@ -3882,12 +3704,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3882
3704
  schemaVersion: "1.0";
3883
3705
  title?: "Yes/No Field" | undefined;
3884
3706
  usageDescription?: "For questions that require a simple Yes/No response." | undefined;
3885
- defaultJSON?: string | undefined;
3886
3707
  } | undefined;
3887
3708
  } | {
3888
3709
  options: {
3889
- value: string;
3890
- label: string;
3710
+ value?: string | undefined;
3711
+ label?: string | undefined;
3891
3712
  checked?: boolean | undefined;
3892
3713
  }[];
3893
3714
  type: "checkBoxes";
@@ -3900,12 +3721,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3900
3721
  schemaVersion: "1.0";
3901
3722
  title?: "Check Boxes" | undefined;
3902
3723
  usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
3903
- defaultJSON?: string | undefined;
3904
3724
  } | undefined;
3905
3725
  } | {
3906
3726
  options: {
3907
- value: string;
3908
- label: string;
3727
+ value?: string | undefined;
3728
+ label?: string | undefined;
3909
3729
  selected?: boolean | undefined;
3910
3730
  }[];
3911
3731
  type: "radioButtons";
@@ -3918,26 +3738,24 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3918
3738
  schemaVersion: "1.0";
3919
3739
  title?: "Radio Buttons" | undefined;
3920
3740
  usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3921
- defaultJSON?: string | undefined;
3922
3741
  } | undefined;
3923
3742
  } | {
3924
3743
  options: {
3925
- value: string;
3926
- label: string;
3744
+ value?: string | undefined;
3745
+ label?: string | undefined;
3927
3746
  selected?: boolean | undefined;
3928
3747
  }[];
3929
3748
  type: "selectBox";
3930
3749
  attributes: {
3931
- multiple: false;
3932
3750
  label?: string | undefined;
3933
3751
  help?: string | undefined;
3934
3752
  labelTranslationKey?: string | undefined;
3753
+ multiple?: boolean | undefined;
3935
3754
  };
3936
3755
  meta?: {
3937
3756
  schemaVersion: "1.0";
3938
3757
  title?: "Select Box" | undefined;
3939
3758
  usageDescription?: "For questions where users select one option from a list." | undefined;
3940
- defaultJSON?: string | undefined;
3941
3759
  } | undefined;
3942
3760
  } | {
3943
3761
  type: "filteredSearch";
@@ -3969,7 +3787,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3969
3787
  schemaVersion: "1.0";
3970
3788
  title?: "Not yet implemented" | undefined;
3971
3789
  usageDescription?: string | undefined;
3972
- defaultJSON?: string | undefined;
3973
3790
  } | undefined;
3974
3791
  } | {
3975
3792
  type: "affiliationSearch";
@@ -3977,25 +3794,25 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3977
3794
  schemaVersion: "1.0";
3978
3795
  title?: "Affiliation Search" | undefined;
3979
3796
  usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3980
- defaultJSON?: string | undefined;
3981
3797
  };
3982
3798
  graphQL: {
3983
3799
  displayFields: {
3984
- label: string;
3985
- propertyName: string;
3800
+ propertyName: "displayName";
3801
+ label?: string | undefined;
3986
3802
  labelTranslationKey?: string | undefined;
3987
3803
  }[];
3988
- responseField: string;
3989
- localQueryId?: string | undefined;
3990
- query?: string | undefined;
3991
- variables?: {
3992
- type: string;
3993
- name: string;
3804
+ query: "query Affiliations($name: String!){affiliations(name: $name) { totalCount nextCursor items {id displayName uri}}}";
3805
+ responseField: "affiliations.items";
3806
+ variables: {
3807
+ minLength: 3;
3808
+ name: "name";
3809
+ type?: string | undefined;
3994
3810
  label?: string | undefined;
3995
3811
  labelTranslationKey?: string | undefined;
3996
- minLength?: number | undefined;
3997
- defaultValue?: string | undefined;
3998
- }[] | undefined;
3812
+ }[];
3813
+ answerField: "uri";
3814
+ localQueryId?: string | undefined;
3815
+ queryId?: string | undefined;
3999
3816
  };
4000
3817
  attributes?: {
4001
3818
  label?: string | undefined;
@@ -4019,7 +3836,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4019
3836
  schemaVersion: "1.0";
4020
3837
  title?: "Table" | undefined;
4021
3838
  usageDescription?: "For questions that require a tabular format." | undefined;
4022
- defaultJSON?: string | undefined;
4023
3839
  } | undefined;
4024
3840
  }>, z.ZodObject<{} & {
4025
3841
  type: z.ZodLiteral<"textArea">;
@@ -4028,20 +3844,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4028
3844
  help: z.ZodOptional<z.ZodString>;
4029
3845
  labelTranslationKey: z.ZodOptional<z.ZodString>;
4030
3846
  } & {
4031
- cols: z.ZodOptional<z.ZodNumber>;
3847
+ cols: z.ZodDefault<z.ZodNumber>;
4032
3848
  maxLength: z.ZodOptional<z.ZodNumber>;
4033
3849
  minLength: z.ZodOptional<z.ZodNumber>;
4034
- rows: z.ZodOptional<z.ZodNumber>;
4035
- asRichText: z.ZodOptional<z.ZodBoolean>;
3850
+ rows: z.ZodDefault<z.ZodNumber>;
3851
+ asRichText: z.ZodDefault<z.ZodBoolean>;
4036
3852
  }, "strip", z.ZodTypeAny, {
3853
+ cols: number;
3854
+ rows: number;
3855
+ asRichText: boolean;
4037
3856
  label?: string | undefined;
4038
3857
  help?: string | undefined;
4039
3858
  labelTranslationKey?: string | undefined;
4040
3859
  maxLength?: number | undefined;
4041
3860
  minLength?: number | undefined;
4042
- cols?: number | undefined;
4043
- rows?: number | undefined;
4044
- asRichText?: boolean | undefined;
4045
3861
  }, {
4046
3862
  label?: string | undefined;
4047
3863
  help?: string | undefined;
@@ -4057,35 +3873,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4057
3873
  } & {
4058
3874
  title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
4059
3875
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
4060
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
4061
3876
  }, "strip", z.ZodTypeAny, {
4062
3877
  schemaVersion: "1.0";
4063
3878
  title?: "Text Area" | undefined;
4064
3879
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4065
- defaultJSON?: string | undefined;
4066
3880
  }, {
4067
3881
  schemaVersion: "1.0";
4068
3882
  title?: "Text Area" | undefined;
4069
3883
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4070
- defaultJSON?: string | undefined;
4071
3884
  }>>;
4072
3885
  }, "strip", z.ZodTypeAny, {
4073
3886
  type: "textArea";
4074
3887
  attributes?: {
3888
+ cols: number;
3889
+ rows: number;
3890
+ asRichText: boolean;
4075
3891
  label?: string | undefined;
4076
3892
  help?: string | undefined;
4077
3893
  labelTranslationKey?: string | undefined;
4078
3894
  maxLength?: number | undefined;
4079
3895
  minLength?: number | undefined;
4080
- cols?: number | undefined;
4081
- rows?: number | undefined;
4082
- asRichText?: boolean | undefined;
4083
3896
  } | undefined;
4084
3897
  meta?: {
4085
3898
  schemaVersion: "1.0";
4086
3899
  title?: "Text Area" | undefined;
4087
3900
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4088
- defaultJSON?: string | undefined;
4089
3901
  } | undefined;
4090
3902
  }, {
4091
3903
  type: "textArea";
@@ -4103,7 +3915,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4103
3915
  schemaVersion: "1.0";
4104
3916
  title?: "Text Area" | undefined;
4105
3917
  usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4106
- defaultJSON?: string | undefined;
4107
3918
  } | undefined;
4108
3919
  }>, z.ZodObject<{} & {
4109
3920
  type: z.ZodLiteral<"text">;
@@ -4112,14 +3923,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4112
3923
  help: z.ZodOptional<z.ZodString>;
4113
3924
  labelTranslationKey: z.ZodOptional<z.ZodString>;
4114
3925
  } & {
4115
- maxLength: z.ZodOptional<z.ZodNumber>;
3926
+ maxLength: z.ZodDefault<z.ZodNumber>;
4116
3927
  minLength: z.ZodOptional<z.ZodNumber>;
4117
3928
  pattern: z.ZodOptional<z.ZodString>;
4118
3929
  }, "strip", z.ZodTypeAny, {
3930
+ maxLength: number;
4119
3931
  label?: string | undefined;
4120
3932
  help?: string | undefined;
4121
3933
  labelTranslationKey?: string | undefined;
4122
- maxLength?: number | undefined;
4123
3934
  minLength?: number | undefined;
4124
3935
  pattern?: string | undefined;
4125
3936
  }, {
@@ -4135,25 +3946,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4135
3946
  } & {
4136
3947
  title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
4137
3948
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
4138
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
4139
3949
  }, "strip", z.ZodTypeAny, {
4140
3950
  schemaVersion: "1.0";
4141
3951
  title?: "Text Field" | undefined;
4142
3952
  usageDescription?: "For questions that require short, simple answers." | undefined;
4143
- defaultJSON?: string | undefined;
4144
3953
  }, {
4145
3954
  schemaVersion: "1.0";
4146
3955
  title?: "Text Field" | undefined;
4147
3956
  usageDescription?: "For questions that require short, simple answers." | undefined;
4148
- defaultJSON?: string | undefined;
4149
3957
  }>>;
4150
3958
  }, "strip", z.ZodTypeAny, {
4151
3959
  type: "text";
4152
3960
  attributes?: {
3961
+ maxLength: number;
4153
3962
  label?: string | undefined;
4154
3963
  help?: string | undefined;
4155
3964
  labelTranslationKey?: string | undefined;
4156
- maxLength?: number | undefined;
4157
3965
  minLength?: number | undefined;
4158
3966
  pattern?: string | undefined;
4159
3967
  } | undefined;
@@ -4161,7 +3969,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4161
3969
  schemaVersion: "1.0";
4162
3970
  title?: "Text Field" | undefined;
4163
3971
  usageDescription?: "For questions that require short, simple answers." | undefined;
4164
- defaultJSON?: string | undefined;
4165
3972
  } | undefined;
4166
3973
  }, {
4167
3974
  type: "text";
@@ -4177,7 +3984,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4177
3984
  schemaVersion: "1.0";
4178
3985
  title?: "Text Field" | undefined;
4179
3986
  usageDescription?: "For questions that require short, simple answers." | undefined;
4180
- defaultJSON?: string | undefined;
4181
3987
  } | undefined;
4182
3988
  }>, z.ZodObject<{} & {
4183
3989
  type: z.ZodLiteral<"url">;
@@ -4186,14 +3992,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4186
3992
  help: z.ZodOptional<z.ZodString>;
4187
3993
  labelTranslationKey: z.ZodOptional<z.ZodString>;
4188
3994
  } & {
4189
- maxLength: z.ZodOptional<z.ZodNumber>;
3995
+ maxLength: z.ZodDefault<z.ZodNumber>;
4190
3996
  minLength: z.ZodOptional<z.ZodNumber>;
4191
3997
  pattern: z.ZodOptional<z.ZodString>;
4192
3998
  }, "strip", z.ZodTypeAny, {
3999
+ maxLength: number;
4193
4000
  label?: string | undefined;
4194
4001
  help?: string | undefined;
4195
4002
  labelTranslationKey?: string | undefined;
4196
- maxLength?: number | undefined;
4197
4003
  minLength?: number | undefined;
4198
4004
  pattern?: string | undefined;
4199
4005
  }, {
@@ -4209,25 +4015,22 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4209
4015
  } & {
4210
4016
  title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
4211
4017
  usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
4212
- defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
4213
4018
  }, "strip", z.ZodTypeAny, {
4214
4019
  schemaVersion: "1.0";
4215
4020
  title?: "URL Field" | undefined;
4216
4021
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4217
- defaultJSON?: string | undefined;
4218
4022
  }, {
4219
4023
  schemaVersion: "1.0";
4220
4024
  title?: "URL Field" | undefined;
4221
4025
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4222
- defaultJSON?: string | undefined;
4223
4026
  }>>;
4224
4027
  }, "strip", z.ZodTypeAny, {
4225
4028
  type: "url";
4226
4029
  attributes?: {
4030
+ maxLength: number;
4227
4031
  label?: string | undefined;
4228
4032
  help?: string | undefined;
4229
4033
  labelTranslationKey?: string | undefined;
4230
- maxLength?: number | undefined;
4231
4034
  minLength?: number | undefined;
4232
4035
  pattern?: string | undefined;
4233
4036
  } | undefined;
@@ -4235,7 +4038,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4235
4038
  schemaVersion: "1.0";
4236
4039
  title?: "URL Field" | undefined;
4237
4040
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4238
- defaultJSON?: string | undefined;
4239
4041
  } | undefined;
4240
4042
  }, {
4241
4043
  type: "url";
@@ -4251,7 +4053,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
4251
4053
  schemaVersion: "1.0";
4252
4054
  title?: "URL Field" | undefined;
4253
4055
  usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4254
- defaultJSON?: string | undefined;
4255
4056
  } | undefined;
4256
4057
  }>]>;
4257
4058
  export declare const QuestionSchemaMap: Record<z.infer<typeof QuestionTypesEnum>, z.ZodTypeAny>;