@dmptool/types 1.1.0 → 1.1.2

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 (58) hide show
  1. package/README.md +2 -0
  2. package/dist/answers/__tests__/answers.spec.js +13 -7
  3. package/dist/answers/answer.d.ts +3 -3
  4. package/dist/answers/graphQLAnswers.d.ts +2 -2
  5. package/dist/answers/graphQLAnswers.js +2 -2
  6. package/dist/answers/index.d.ts +111 -74
  7. package/dist/answers/index.js +4 -4
  8. package/dist/answers/numberAnswers.d.ts +0 -25
  9. package/dist/answers/numberAnswers.js +1 -5
  10. package/dist/answers/optionBasedAnswers.d.ts +52 -2
  11. package/dist/answers/optionBasedAnswers.js +9 -1
  12. package/dist/answers/tableAnswers.d.ts +304 -140
  13. package/dist/answers/tableAnswers.js +3 -2
  14. package/dist/questions/__tests__/graphQLQuestions.spec.js +7 -7
  15. package/dist/questions/__tests__/numberQuestions.spec.js +0 -48
  16. package/dist/questions/__tests__/optionBasedQuestions.spec.js +98 -1
  17. package/dist/questions/dateQuestions.d.ts +47 -16
  18. package/dist/questions/dateQuestions.js +25 -1
  19. package/dist/questions/graphQLQuestions.d.ts +59 -28
  20. package/dist/questions/graphQLQuestions.js +40 -3
  21. package/dist/questions/index.d.ts +1567 -689
  22. package/dist/questions/index.js +7 -4
  23. package/dist/questions/numberQuestions.d.ts +71 -76
  24. package/dist/questions/numberQuestions.js +37 -8
  25. package/dist/questions/optionBasedQuestions.d.ts +227 -23
  26. package/dist/questions/optionBasedQuestions.js +89 -5
  27. package/dist/questions/question.d.ts +51 -4
  28. package/dist/questions/question.js +14 -2
  29. package/dist/questions/tableQuestions.d.ts +1965 -1056
  30. package/dist/questions/tableQuestions.js +14 -2
  31. package/dist/questions/textQuestions.d.ts +100 -40
  32. package/dist/questions/textQuestions.js +45 -7
  33. package/dist/schemas/affiliationSearchAnswer.schema.json +37 -0
  34. package/dist/schemas/affiliationSearchQuestion.schema.json +133 -0
  35. package/dist/schemas/anyAnswer.schema.json +41 -23
  36. package/dist/schemas/anyQuestion.schema.json +563 -146
  37. package/dist/schemas/anyTableColumnAnswer.schema.json +35 -14
  38. package/dist/schemas/anyTableColumnQuestion.schema.json +398 -119
  39. package/dist/schemas/booleanQuestion.schema.json +12 -0
  40. package/dist/schemas/checkboxesQuestion.schema.json +12 -0
  41. package/dist/schemas/currencyQuestion.schema.json +12 -0
  42. package/dist/schemas/dateQuestion.schema.json +12 -0
  43. package/dist/schemas/dateRangeQuestion.schema.json +12 -0
  44. package/dist/schemas/emailQuestion.schema.json +12 -0
  45. package/dist/schemas/filteredSearchQuestion.schema.json +10 -0
  46. package/dist/schemas/multiselectBoxAnswer.schema.json +40 -0
  47. package/dist/schemas/multiselectBoxQuestion.schema.json +90 -0
  48. package/dist/schemas/numberQuestion.schema.json +12 -0
  49. package/dist/schemas/numberRangeQuestion.schema.json +12 -0
  50. package/dist/schemas/radioButtonsQuestion.schema.json +12 -0
  51. package/dist/schemas/selectBoxAnswer.schema.json +1 -4
  52. package/dist/schemas/selectBoxQuestion.schema.json +18 -1
  53. package/dist/schemas/tableAnswer.schema.json +35 -14
  54. package/dist/schemas/tableQuestion.schema.json +420 -120
  55. package/dist/schemas/textAreaQuestion.schema.json +15 -4
  56. package/dist/schemas/textQuestion.schema.json +12 -0
  57. package/dist/schemas/urlQuestion.schema.json +12 -0
  58. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  import { QuestionTypesEnum } from './question';
3
- import { BooleanQuestionType, CurrencyQuestionType, NumberQuestionType, NumberRangeQuestionType } from "./numberQuestions";
3
+ import { CurrencyQuestionType, NumberQuestionType, NumberRangeQuestionType } from "./numberQuestions";
4
4
  import { EmailQuestionType, TextAreaQuestionType, TextQuestionType, URLQuestionType } from "./textQuestions";
5
5
  import { DateQuestionType, DateRangeQuestionType } from "./dateQuestions";
6
- import { CheckboxesQuestionType, RadioButtonsQuestionType, SelectBoxQuestionType } from './optionBasedQuestions';
7
- import { FilteredSearchQuestionType, TypeaheadSearchQuestionType } from './graphQLQuestions';
6
+ import { BooleanQuestionType, CheckboxesQuestionType, RadioButtonsQuestionType, SelectBoxQuestionType, MultiselectBoxQuestionType } from './optionBasedQuestions';
7
+ import { FilteredSearchQuestionType, AffiliationSearchQuestionType } from './graphQLQuestions';
8
8
  import { TableQuestionType } from './tableQuestions';
9
9
  export * from './question';
10
10
  export * from './dateQuestions';
@@ -14,14 +14,175 @@ export * from './optionBasedQuestions';
14
14
  export * from './tableQuestions';
15
15
  export * from './textQuestions';
16
16
  export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17
- meta: z.ZodOptional<z.ZodObject<{
17
+ attributes: z.ZodOptional<z.ZodObject<{
18
+ label: z.ZodOptional<z.ZodString>;
19
+ help: z.ZodOptional<z.ZodString>;
20
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ label?: string | undefined;
23
+ help?: string | undefined;
24
+ labelTranslationKey?: string | undefined;
25
+ }, {
26
+ label?: string | undefined;
27
+ help?: string | undefined;
28
+ labelTranslationKey?: string | undefined;
29
+ }>>;
30
+ graphQL: z.ZodObject<{
31
+ displayFields: z.ZodArray<z.ZodObject<{
32
+ propertyName: z.ZodString;
33
+ label: z.ZodString;
34
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ label: string;
37
+ propertyName: string;
38
+ labelTranslationKey?: string | undefined;
39
+ }, {
40
+ label: string;
41
+ propertyName: string;
42
+ labelTranslationKey?: string | undefined;
43
+ }>, "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>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ type: string;
56
+ name: string;
57
+ label?: string | undefined;
58
+ labelTranslationKey?: string | undefined;
59
+ minLength?: number | undefined;
60
+ defaultValue?: string | undefined;
61
+ }, {
62
+ type: string;
63
+ name: string;
64
+ label?: string | undefined;
65
+ labelTranslationKey?: string | undefined;
66
+ minLength?: number | undefined;
67
+ defaultValue?: string | undefined;
68
+ }>, "many">>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ displayFields: {
71
+ label: string;
72
+ propertyName: string;
73
+ labelTranslationKey?: string | undefined;
74
+ }[];
75
+ responseField: string;
76
+ localQueryId?: string | undefined;
77
+ query?: string | undefined;
78
+ variables?: {
79
+ type: string;
80
+ name: string;
81
+ label?: string | undefined;
82
+ labelTranslationKey?: string | undefined;
83
+ minLength?: number | undefined;
84
+ defaultValue?: string | undefined;
85
+ }[] | undefined;
86
+ }, {
87
+ displayFields: {
88
+ label: string;
89
+ propertyName: string;
90
+ labelTranslationKey?: string | undefined;
91
+ }[];
92
+ responseField: string;
93
+ localQueryId?: string | undefined;
94
+ query?: string | undefined;
95
+ variables?: {
96
+ type: string;
97
+ name: string;
98
+ label?: string | undefined;
99
+ labelTranslationKey?: string | undefined;
100
+ minLength?: number | undefined;
101
+ defaultValue?: string | undefined;
102
+ }[] | undefined;
103
+ }>;
104
+ } & {
105
+ type: z.ZodLiteral<"affiliationSearch">;
106
+ meta: z.ZodObject<{
18
107
  schemaVersion: z.ZodLiteral<"1.0">;
108
+ } & {
109
+ title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
110
+ 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>>;
19
112
  }, "strip", z.ZodTypeAny, {
20
113
  schemaVersion: "1.0";
114
+ title?: "Affiliation Search" | undefined;
115
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
116
+ defaultJSON?: string | undefined;
21
117
  }, {
22
118
  schemaVersion: "1.0";
23
- }>>;
24
- } & {
119
+ title?: "Affiliation Search" | undefined;
120
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
121
+ defaultJSON?: string | undefined;
122
+ }>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ type: "affiliationSearch";
125
+ meta: {
126
+ schemaVersion: "1.0";
127
+ title?: "Affiliation Search" | undefined;
128
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
129
+ defaultJSON?: string | undefined;
130
+ };
131
+ graphQL: {
132
+ displayFields: {
133
+ label: string;
134
+ propertyName: string;
135
+ labelTranslationKey?: string | undefined;
136
+ }[];
137
+ responseField: string;
138
+ localQueryId?: string | undefined;
139
+ query?: string | undefined;
140
+ variables?: {
141
+ type: string;
142
+ name: string;
143
+ label?: string | undefined;
144
+ labelTranslationKey?: string | undefined;
145
+ minLength?: number | undefined;
146
+ defaultValue?: string | undefined;
147
+ }[] | undefined;
148
+ };
149
+ attributes?: {
150
+ label?: string | undefined;
151
+ help?: string | undefined;
152
+ labelTranslationKey?: string | undefined;
153
+ } | undefined;
154
+ }, {
155
+ type: "affiliationSearch";
156
+ meta: {
157
+ schemaVersion: "1.0";
158
+ title?: "Affiliation Search" | undefined;
159
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
160
+ defaultJSON?: string | undefined;
161
+ };
162
+ graphQL: {
163
+ displayFields: {
164
+ label: string;
165
+ propertyName: string;
166
+ labelTranslationKey?: string | undefined;
167
+ }[];
168
+ responseField: string;
169
+ localQueryId?: string | undefined;
170
+ query?: string | undefined;
171
+ variables?: {
172
+ type: string;
173
+ name: string;
174
+ label?: string | undefined;
175
+ labelTranslationKey?: string | undefined;
176
+ minLength?: number | undefined;
177
+ defaultValue?: string | undefined;
178
+ }[] | undefined;
179
+ };
180
+ attributes?: {
181
+ label?: string | undefined;
182
+ help?: string | undefined;
183
+ labelTranslationKey?: string | undefined;
184
+ } | undefined;
185
+ }>, z.ZodObject<{} & {
25
186
  type: z.ZodLiteral<"boolean">;
26
187
  attributes: z.ZodOptional<z.ZodObject<{
27
188
  label: z.ZodOptional<z.ZodString>;
@@ -40,6 +201,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
40
201
  labelTranslationKey?: string | undefined;
41
202
  checked?: boolean | undefined;
42
203
  }>>;
204
+ meta: z.ZodOptional<z.ZodObject<{
205
+ schemaVersion: z.ZodLiteral<"1.0">;
206
+ } & {
207
+ title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
208
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
209
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ schemaVersion: "1.0";
212
+ title?: "Yes/No Field" | undefined;
213
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
214
+ defaultJSON?: string | undefined;
215
+ }, {
216
+ schemaVersion: "1.0";
217
+ title?: "Yes/No Field" | undefined;
218
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
219
+ defaultJSON?: string | undefined;
220
+ }>>;
43
221
  }, "strip", z.ZodTypeAny, {
44
222
  type: "boolean";
45
223
  attributes?: {
@@ -50,6 +228,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
50
228
  } | undefined;
51
229
  meta?: {
52
230
  schemaVersion: "1.0";
231
+ title?: "Yes/No Field" | undefined;
232
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
233
+ defaultJSON?: string | undefined;
53
234
  } | undefined;
54
235
  }, {
55
236
  type: "boolean";
@@ -61,6 +242,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
61
242
  } | undefined;
62
243
  meta?: {
63
244
  schemaVersion: "1.0";
245
+ title?: "Yes/No Field" | undefined;
246
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
247
+ defaultJSON?: string | undefined;
64
248
  } | undefined;
65
249
  }>, z.ZodObject<{
66
250
  attributes: z.ZodOptional<z.ZodObject<{
@@ -76,13 +260,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
76
260
  help?: string | undefined;
77
261
  labelTranslationKey?: string | undefined;
78
262
  }>>;
79
- meta: z.ZodOptional<z.ZodObject<{
80
- schemaVersion: z.ZodLiteral<"1.0">;
81
- }, "strip", z.ZodTypeAny, {
82
- schemaVersion: "1.0";
83
- }, {
84
- schemaVersion: "1.0";
85
- }>>;
86
263
  } & {
87
264
  type: z.ZodLiteral<"checkBoxes">;
88
265
  options: z.ZodArray<z.ZodObject<{
@@ -99,6 +276,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
99
276
  label: string;
100
277
  checked?: boolean | undefined;
101
278
  }>, "many">;
279
+ meta: z.ZodOptional<z.ZodObject<{
280
+ schemaVersion: z.ZodLiteral<"1.0">;
281
+ } & {
282
+ title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
283
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
284
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ schemaVersion: "1.0";
287
+ title?: "Check Boxes" | undefined;
288
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
289
+ defaultJSON?: string | undefined;
290
+ }, {
291
+ schemaVersion: "1.0";
292
+ title?: "Check Boxes" | undefined;
293
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
294
+ defaultJSON?: string | undefined;
295
+ }>>;
102
296
  }, "strip", z.ZodTypeAny, {
103
297
  options: {
104
298
  value: string;
@@ -113,6 +307,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
113
307
  } | undefined;
114
308
  meta?: {
115
309
  schemaVersion: "1.0";
310
+ title?: "Check Boxes" | undefined;
311
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
312
+ defaultJSON?: string | undefined;
116
313
  } | undefined;
117
314
  }, {
118
315
  options: {
@@ -128,16 +325,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
128
325
  } | undefined;
129
326
  meta?: {
130
327
  schemaVersion: "1.0";
328
+ title?: "Check Boxes" | undefined;
329
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
330
+ defaultJSON?: string | undefined;
131
331
  } | undefined;
132
- }>, z.ZodObject<{
133
- meta: z.ZodOptional<z.ZodObject<{
134
- schemaVersion: z.ZodLiteral<"1.0">;
135
- }, "strip", z.ZodTypeAny, {
136
- schemaVersion: "1.0";
137
- }, {
138
- schemaVersion: "1.0";
139
- }>>;
140
- } & {
332
+ }>, z.ZodObject<{} & {
141
333
  type: z.ZodLiteral<"currency">;
142
334
  attributes: z.ZodOptional<z.ZodObject<{
143
335
  label: z.ZodOptional<z.ZodString>;
@@ -166,6 +358,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
166
358
  step?: number | undefined;
167
359
  denomination?: string | undefined;
168
360
  }>>;
361
+ meta: z.ZodOptional<z.ZodObject<{
362
+ schemaVersion: z.ZodLiteral<"1.0">;
363
+ } & {
364
+ title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
365
+ 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
+ }, "strip", z.ZodTypeAny, {
368
+ schemaVersion: "1.0";
369
+ title?: "Currency Field" | undefined;
370
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
371
+ defaultJSON?: string | undefined;
372
+ }, {
373
+ schemaVersion: "1.0";
374
+ title?: "Currency Field" | undefined;
375
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
376
+ defaultJSON?: string | undefined;
377
+ }>>;
169
378
  }, "strip", z.ZodTypeAny, {
170
379
  type: "currency";
171
380
  attributes?: {
@@ -179,6 +388,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
179
388
  } | undefined;
180
389
  meta?: {
181
390
  schemaVersion: "1.0";
391
+ title?: "Currency Field" | undefined;
392
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
393
+ defaultJSON?: string | undefined;
182
394
  } | undefined;
183
395
  }, {
184
396
  type: "currency";
@@ -193,16 +405,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
193
405
  } | undefined;
194
406
  meta?: {
195
407
  schemaVersion: "1.0";
408
+ title?: "Currency Field" | undefined;
409
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
410
+ defaultJSON?: string | undefined;
196
411
  } | undefined;
197
- }>, z.ZodObject<{
198
- meta: z.ZodOptional<z.ZodObject<{
199
- schemaVersion: z.ZodLiteral<"1.0">;
200
- }, "strip", z.ZodTypeAny, {
201
- schemaVersion: "1.0";
202
- }, {
203
- schemaVersion: "1.0";
204
- }>>;
205
- } & {
412
+ }>, z.ZodObject<{} & {
206
413
  type: z.ZodLiteral<"date">;
207
414
  attributes: z.ZodOptional<z.ZodObject<{
208
415
  label: z.ZodOptional<z.ZodString>;
@@ -227,6 +434,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
227
434
  min?: string | undefined;
228
435
  step?: number | undefined;
229
436
  }>>;
437
+ meta: z.ZodOptional<z.ZodObject<{
438
+ schemaVersion: z.ZodLiteral<"1.0">;
439
+ } & {
440
+ title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
441
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
442
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ schemaVersion: "1.0";
445
+ title?: "Date Field" | undefined;
446
+ usageDescription?: "For questions that require a date." | undefined;
447
+ defaultJSON?: string | undefined;
448
+ }, {
449
+ schemaVersion: "1.0";
450
+ title?: "Date Field" | undefined;
451
+ usageDescription?: "For questions that require a date." | undefined;
452
+ defaultJSON?: string | undefined;
453
+ }>>;
230
454
  }, "strip", z.ZodTypeAny, {
231
455
  type: "date";
232
456
  attributes?: {
@@ -239,6 +463,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
239
463
  } | undefined;
240
464
  meta?: {
241
465
  schemaVersion: "1.0";
466
+ title?: "Date Field" | undefined;
467
+ usageDescription?: "For questions that require a date." | undefined;
468
+ defaultJSON?: string | undefined;
242
469
  } | undefined;
243
470
  }, {
244
471
  type: "date";
@@ -252,6 +479,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
252
479
  } | undefined;
253
480
  meta?: {
254
481
  schemaVersion: "1.0";
482
+ title?: "Date Field" | undefined;
483
+ usageDescription?: "For questions that require a date." | undefined;
484
+ defaultJSON?: string | undefined;
255
485
  } | undefined;
256
486
  }>, z.ZodObject<{
257
487
  attributes: z.ZodOptional<z.ZodObject<{
@@ -267,13 +497,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
267
497
  help?: string | undefined;
268
498
  labelTranslationKey?: string | undefined;
269
499
  }>>;
270
- meta: z.ZodOptional<z.ZodObject<{
271
- schemaVersion: z.ZodLiteral<"1.0">;
272
- }, "strip", z.ZodTypeAny, {
273
- schemaVersion: "1.0";
274
- }, {
275
- schemaVersion: "1.0";
276
- }>>;
277
500
  } & {
278
501
  type: z.ZodLiteral<"dateRange">;
279
502
  columns: z.ZodObject<{
@@ -358,6 +581,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
358
581
  step?: number | undefined;
359
582
  } | undefined;
360
583
  }>;
584
+ meta: z.ZodOptional<z.ZodObject<{
585
+ schemaVersion: z.ZodLiteral<"1.0">;
586
+ } & {
587
+ title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
588
+ 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
+ }, "strip", z.ZodTypeAny, {
591
+ schemaVersion: "1.0";
592
+ title?: "Date Range" | undefined;
593
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
594
+ defaultJSON?: string | undefined;
595
+ }, {
596
+ schemaVersion: "1.0";
597
+ title?: "Date Range" | undefined;
598
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
599
+ defaultJSON?: string | undefined;
600
+ }>>;
361
601
  }, "strip", z.ZodTypeAny, {
362
602
  type: "dateRange";
363
603
  columns: {
@@ -385,6 +625,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
385
625
  } | undefined;
386
626
  meta?: {
387
627
  schemaVersion: "1.0";
628
+ title?: "Date Range" | undefined;
629
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
630
+ defaultJSON?: string | undefined;
388
631
  } | undefined;
389
632
  }, {
390
633
  type: "dateRange";
@@ -413,16 +656,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
413
656
  } | undefined;
414
657
  meta?: {
415
658
  schemaVersion: "1.0";
659
+ title?: "Date Range" | undefined;
660
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
661
+ defaultJSON?: string | undefined;
416
662
  } | undefined;
417
- }>, z.ZodObject<{
418
- meta: z.ZodOptional<z.ZodObject<{
419
- schemaVersion: z.ZodLiteral<"1.0">;
420
- }, "strip", z.ZodTypeAny, {
421
- schemaVersion: "1.0";
422
- }, {
423
- schemaVersion: "1.0";
424
- }>>;
425
- } & {
663
+ }>, z.ZodObject<{} & {
426
664
  type: z.ZodLiteral<"email">;
427
665
  attributes: z.ZodOptional<z.ZodObject<{
428
666
  label: z.ZodOptional<z.ZodString>;
@@ -451,6 +689,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
451
689
  pattern?: string | undefined;
452
690
  multiple?: boolean | undefined;
453
691
  }>>;
692
+ meta: z.ZodOptional<z.ZodObject<{
693
+ schemaVersion: z.ZodLiteral<"1.0">;
694
+ } & {
695
+ title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
696
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
697
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ schemaVersion: "1.0";
700
+ title?: "Email Field" | undefined;
701
+ usageDescription?: "For questions that require require email address(es)." | undefined;
702
+ defaultJSON?: string | undefined;
703
+ }, {
704
+ schemaVersion: "1.0";
705
+ title?: "Email Field" | undefined;
706
+ usageDescription?: "For questions that require require email address(es)." | undefined;
707
+ defaultJSON?: string | undefined;
708
+ }>>;
454
709
  }, "strip", z.ZodTypeAny, {
455
710
  type: "email";
456
711
  attributes?: {
@@ -464,6 +719,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
464
719
  } | undefined;
465
720
  meta?: {
466
721
  schemaVersion: "1.0";
722
+ title?: "Email Field" | undefined;
723
+ usageDescription?: "For questions that require require email address(es)." | undefined;
724
+ defaultJSON?: string | undefined;
467
725
  } | undefined;
468
726
  }, {
469
727
  type: "email";
@@ -478,16 +736,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
478
736
  } | undefined;
479
737
  meta?: {
480
738
  schemaVersion: "1.0";
739
+ title?: "Email Field" | undefined;
740
+ usageDescription?: "For questions that require require email address(es)." | undefined;
741
+ defaultJSON?: string | undefined;
481
742
  } | undefined;
482
- }>, z.ZodObject<{
483
- meta: z.ZodOptional<z.ZodObject<{
484
- schemaVersion: z.ZodLiteral<"1.0">;
485
- }, "strip", z.ZodTypeAny, {
486
- schemaVersion: "1.0";
487
- }, {
488
- schemaVersion: "1.0";
489
- }>>;
490
- } & {
743
+ }>, z.ZodObject<{} & {
491
744
  type: z.ZodLiteral<"filteredSearch">;
492
745
  graphQL: z.ZodObject<{
493
746
  displayFields: z.ZodArray<z.ZodObject<{
@@ -580,11 +833,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
580
833
  labelTranslationKey?: string | undefined;
581
834
  multiple?: boolean | undefined;
582
835
  }>>;
583
- }, "strip", z.ZodTypeAny, {
584
- type: "filteredSearch";
585
- graphQL: {
586
- displayFields: {
587
- label: string;
836
+ meta: z.ZodOptional<z.ZodObject<{
837
+ schemaVersion: z.ZodLiteral<"1.0">;
838
+ usageDescription: z.ZodOptional<z.ZodString>;
839
+ defaultJSON: z.ZodOptional<z.ZodString>;
840
+ } & {
841
+ title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ schemaVersion: "1.0";
844
+ title?: "Not yet implemented" | undefined;
845
+ usageDescription?: string | undefined;
846
+ defaultJSON?: string | undefined;
847
+ }, {
848
+ schemaVersion: "1.0";
849
+ title?: "Not yet implemented" | undefined;
850
+ usageDescription?: string | undefined;
851
+ defaultJSON?: string | undefined;
852
+ }>>;
853
+ }, "strip", z.ZodTypeAny, {
854
+ type: "filteredSearch";
855
+ graphQL: {
856
+ displayFields: {
857
+ label: string;
588
858
  propertyName: string;
589
859
  labelTranslationKey?: string | undefined;
590
860
  }[];
@@ -608,6 +878,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
608
878
  } | undefined;
609
879
  meta?: {
610
880
  schemaVersion: "1.0";
881
+ title?: "Not yet implemented" | undefined;
882
+ usageDescription?: string | undefined;
883
+ defaultJSON?: string | undefined;
611
884
  } | undefined;
612
885
  }, {
613
886
  type: "filteredSearch";
@@ -637,16 +910,100 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
637
910
  } | undefined;
638
911
  meta?: {
639
912
  schemaVersion: "1.0";
913
+ title?: "Not yet implemented" | undefined;
914
+ usageDescription?: string | undefined;
915
+ defaultJSON?: string | undefined;
640
916
  } | undefined;
641
917
  }>, z.ZodObject<{
918
+ options: z.ZodArray<z.ZodObject<{
919
+ label: z.ZodString;
920
+ value: z.ZodString;
921
+ } & {
922
+ selected: z.ZodOptional<z.ZodBoolean>;
923
+ }, "strip", z.ZodTypeAny, {
924
+ value: string;
925
+ label: string;
926
+ selected?: boolean | undefined;
927
+ }, {
928
+ value: string;
929
+ label: string;
930
+ selected?: boolean | undefined;
931
+ }>, "many">;
932
+ } & {
933
+ type: z.ZodLiteral<"multiselectBox">;
934
+ attributes: z.ZodObject<{
935
+ label: z.ZodOptional<z.ZodString>;
936
+ help: z.ZodOptional<z.ZodString>;
937
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
938
+ } & {
939
+ multiple: z.ZodLiteral<true>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ multiple: true;
942
+ label?: string | undefined;
943
+ help?: string | undefined;
944
+ labelTranslationKey?: string | undefined;
945
+ }, {
946
+ multiple: true;
947
+ label?: string | undefined;
948
+ help?: string | undefined;
949
+ labelTranslationKey?: string | undefined;
950
+ }>;
642
951
  meta: z.ZodOptional<z.ZodObject<{
643
952
  schemaVersion: z.ZodLiteral<"1.0">;
953
+ } & {
954
+ title: z.ZodOptional<z.ZodLiteral<"Multi-select Box">>;
955
+ 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>>;
644
957
  }, "strip", z.ZodTypeAny, {
645
958
  schemaVersion: "1.0";
959
+ title?: "Multi-select Box" | undefined;
960
+ 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;
646
962
  }, {
647
963
  schemaVersion: "1.0";
964
+ title?: "Multi-select Box" | undefined;
965
+ 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;
648
967
  }>>;
649
- } & {
968
+ }, "strip", z.ZodTypeAny, {
969
+ options: {
970
+ value: string;
971
+ label: string;
972
+ selected?: boolean | undefined;
973
+ }[];
974
+ type: "multiselectBox";
975
+ attributes: {
976
+ multiple: true;
977
+ label?: string | undefined;
978
+ help?: string | undefined;
979
+ labelTranslationKey?: string | undefined;
980
+ };
981
+ meta?: {
982
+ schemaVersion: "1.0";
983
+ title?: "Multi-select Box" | undefined;
984
+ 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
+ } | undefined;
987
+ }, {
988
+ options: {
989
+ value: string;
990
+ label: string;
991
+ selected?: boolean | undefined;
992
+ }[];
993
+ type: "multiselectBox";
994
+ attributes: {
995
+ multiple: true;
996
+ label?: string | undefined;
997
+ help?: string | undefined;
998
+ labelTranslationKey?: string | undefined;
999
+ };
1000
+ meta?: {
1001
+ schemaVersion: "1.0";
1002
+ title?: "Multi-select Box" | undefined;
1003
+ 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
+ } | undefined;
1006
+ }>, z.ZodObject<{} & {
650
1007
  type: z.ZodLiteral<"number">;
651
1008
  attributes: z.ZodOptional<z.ZodObject<{
652
1009
  label: z.ZodOptional<z.ZodString>;
@@ -671,6 +1028,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
671
1028
  min?: number | undefined;
672
1029
  step?: number | undefined;
673
1030
  }>>;
1031
+ meta: z.ZodOptional<z.ZodObject<{
1032
+ schemaVersion: z.ZodLiteral<"1.0">;
1033
+ } & {
1034
+ title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
1035
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
1036
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ schemaVersion: "1.0";
1039
+ title?: "Number Field" | undefined;
1040
+ usageDescription?: "For questions that require a single numeric value." | undefined;
1041
+ defaultJSON?: string | undefined;
1042
+ }, {
1043
+ schemaVersion: "1.0";
1044
+ title?: "Number Field" | undefined;
1045
+ usageDescription?: "For questions that require a single numeric value." | undefined;
1046
+ defaultJSON?: string | undefined;
1047
+ }>>;
674
1048
  }, "strip", z.ZodTypeAny, {
675
1049
  type: "number";
676
1050
  attributes?: {
@@ -683,6 +1057,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
683
1057
  } | undefined;
684
1058
  meta?: {
685
1059
  schemaVersion: "1.0";
1060
+ title?: "Number Field" | undefined;
1061
+ usageDescription?: "For questions that require a single numeric value." | undefined;
1062
+ defaultJSON?: string | undefined;
686
1063
  } | undefined;
687
1064
  }, {
688
1065
  type: "number";
@@ -696,6 +1073,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
696
1073
  } | undefined;
697
1074
  meta?: {
698
1075
  schemaVersion: "1.0";
1076
+ title?: "Number Field" | undefined;
1077
+ usageDescription?: "For questions that require a single numeric value." | undefined;
1078
+ defaultJSON?: string | undefined;
699
1079
  } | undefined;
700
1080
  }>, z.ZodObject<{
701
1081
  attributes: z.ZodOptional<z.ZodObject<{
@@ -711,12 +1091,182 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
711
1091
  help?: string | undefined;
712
1092
  labelTranslationKey?: string | undefined;
713
1093
  }>>;
1094
+ } & {
1095
+ type: z.ZodLiteral<"numberRange">;
1096
+ columns: z.ZodObject<{
1097
+ start: z.ZodOptional<z.ZodObject<{
1098
+ label: z.ZodOptional<z.ZodString>;
1099
+ help: z.ZodOptional<z.ZodString>;
1100
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1101
+ } & {
1102
+ max: z.ZodOptional<z.ZodNumber>;
1103
+ min: z.ZodOptional<z.ZodNumber>;
1104
+ step: z.ZodOptional<z.ZodNumber>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ label?: string | undefined;
1107
+ help?: string | undefined;
1108
+ labelTranslationKey?: string | undefined;
1109
+ max?: number | undefined;
1110
+ min?: number | undefined;
1111
+ step?: number | undefined;
1112
+ }, {
1113
+ label?: string | undefined;
1114
+ help?: string | undefined;
1115
+ labelTranslationKey?: string | undefined;
1116
+ max?: number | undefined;
1117
+ min?: number | undefined;
1118
+ step?: number | undefined;
1119
+ }>>;
1120
+ end: z.ZodOptional<z.ZodObject<{
1121
+ label: z.ZodOptional<z.ZodString>;
1122
+ help: z.ZodOptional<z.ZodString>;
1123
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1124
+ } & {
1125
+ max: z.ZodOptional<z.ZodNumber>;
1126
+ min: z.ZodOptional<z.ZodNumber>;
1127
+ step: z.ZodOptional<z.ZodNumber>;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ label?: string | undefined;
1130
+ help?: string | undefined;
1131
+ labelTranslationKey?: string | undefined;
1132
+ max?: number | undefined;
1133
+ min?: number | undefined;
1134
+ step?: number | undefined;
1135
+ }, {
1136
+ label?: string | undefined;
1137
+ help?: string | undefined;
1138
+ labelTranslationKey?: string | undefined;
1139
+ max?: number | undefined;
1140
+ min?: number | undefined;
1141
+ step?: number | undefined;
1142
+ }>>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ start?: {
1145
+ label?: string | undefined;
1146
+ help?: string | undefined;
1147
+ labelTranslationKey?: string | undefined;
1148
+ max?: number | undefined;
1149
+ min?: number | undefined;
1150
+ step?: number | undefined;
1151
+ } | undefined;
1152
+ end?: {
1153
+ label?: string | undefined;
1154
+ help?: string | undefined;
1155
+ labelTranslationKey?: string | undefined;
1156
+ max?: number | undefined;
1157
+ min?: number | undefined;
1158
+ step?: number | undefined;
1159
+ } | undefined;
1160
+ }, {
1161
+ start?: {
1162
+ label?: string | undefined;
1163
+ help?: string | undefined;
1164
+ labelTranslationKey?: string | undefined;
1165
+ max?: number | undefined;
1166
+ min?: number | undefined;
1167
+ step?: number | undefined;
1168
+ } | undefined;
1169
+ end?: {
1170
+ label?: string | undefined;
1171
+ help?: string | undefined;
1172
+ labelTranslationKey?: string | undefined;
1173
+ max?: number | undefined;
1174
+ min?: number | undefined;
1175
+ step?: number | undefined;
1176
+ } | undefined;
1177
+ }>;
714
1178
  meta: z.ZodOptional<z.ZodObject<{
715
1179
  schemaVersion: z.ZodLiteral<"1.0">;
1180
+ } & {
1181
+ title: z.ZodOptional<z.ZodLiteral<"Number Range">>;
1182
+ 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>>;
716
1184
  }, "strip", z.ZodTypeAny, {
717
1185
  schemaVersion: "1.0";
1186
+ title?: "Number Range" | undefined;
1187
+ usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1188
+ defaultJSON?: string | undefined;
718
1189
  }, {
719
1190
  schemaVersion: "1.0";
1191
+ title?: "Number Range" | undefined;
1192
+ usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1193
+ defaultJSON?: string | undefined;
1194
+ }>>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ type: "numberRange";
1197
+ columns: {
1198
+ start?: {
1199
+ label?: string | undefined;
1200
+ help?: string | undefined;
1201
+ labelTranslationKey?: string | undefined;
1202
+ max?: number | undefined;
1203
+ min?: number | undefined;
1204
+ step?: number | undefined;
1205
+ } | undefined;
1206
+ end?: {
1207
+ label?: string | undefined;
1208
+ help?: string | undefined;
1209
+ labelTranslationKey?: string | undefined;
1210
+ max?: number | undefined;
1211
+ min?: number | undefined;
1212
+ step?: number | undefined;
1213
+ } | undefined;
1214
+ };
1215
+ attributes?: {
1216
+ label?: string | undefined;
1217
+ help?: string | undefined;
1218
+ labelTranslationKey?: string | undefined;
1219
+ } | undefined;
1220
+ meta?: {
1221
+ schemaVersion: "1.0";
1222
+ title?: "Number Range" | undefined;
1223
+ usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1224
+ defaultJSON?: string | undefined;
1225
+ } | undefined;
1226
+ }, {
1227
+ type: "numberRange";
1228
+ columns: {
1229
+ start?: {
1230
+ label?: string | undefined;
1231
+ help?: string | undefined;
1232
+ labelTranslationKey?: string | undefined;
1233
+ max?: number | undefined;
1234
+ min?: number | undefined;
1235
+ step?: number | undefined;
1236
+ } | undefined;
1237
+ end?: {
1238
+ label?: string | undefined;
1239
+ help?: string | undefined;
1240
+ labelTranslationKey?: string | undefined;
1241
+ max?: number | undefined;
1242
+ min?: number | undefined;
1243
+ step?: number | undefined;
1244
+ } | undefined;
1245
+ };
1246
+ attributes?: {
1247
+ label?: string | undefined;
1248
+ help?: string | undefined;
1249
+ labelTranslationKey?: string | undefined;
1250
+ } | undefined;
1251
+ meta?: {
1252
+ schemaVersion: "1.0";
1253
+ title?: "Number Range" | undefined;
1254
+ usageDescription?: "For questions that require a numerical range (e.g. From/To, Min/Max)." | undefined;
1255
+ defaultJSON?: string | undefined;
1256
+ } | undefined;
1257
+ }>, z.ZodObject<{
1258
+ attributes: z.ZodOptional<z.ZodObject<{
1259
+ label: z.ZodOptional<z.ZodString>;
1260
+ help: z.ZodOptional<z.ZodString>;
1261
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ label?: string | undefined;
1264
+ help?: string | undefined;
1265
+ labelTranslationKey?: string | undefined;
1266
+ }, {
1267
+ label?: string | undefined;
1268
+ help?: string | undefined;
1269
+ labelTranslationKey?: string | undefined;
720
1270
  }>>;
721
1271
  } & {
722
1272
  type: z.ZodLiteral<"radioButtons">;
@@ -734,6 +1284,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
734
1284
  label: string;
735
1285
  selected?: boolean | undefined;
736
1286
  }>, "many">;
1287
+ meta: z.ZodOptional<z.ZodObject<{
1288
+ schemaVersion: z.ZodLiteral<"1.0">;
1289
+ } & {
1290
+ title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
1291
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
1292
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ schemaVersion: "1.0";
1295
+ title?: "Radio Buttons" | undefined;
1296
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1297
+ defaultJSON?: string | undefined;
1298
+ }, {
1299
+ schemaVersion: "1.0";
1300
+ title?: "Radio Buttons" | undefined;
1301
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1302
+ defaultJSON?: string | undefined;
1303
+ }>>;
737
1304
  }, "strip", z.ZodTypeAny, {
738
1305
  options: {
739
1306
  value: string;
@@ -748,6 +1315,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
748
1315
  } | undefined;
749
1316
  meta?: {
750
1317
  schemaVersion: "1.0";
1318
+ title?: "Radio Buttons" | undefined;
1319
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1320
+ defaultJSON?: string | undefined;
751
1321
  } | undefined;
752
1322
  }, {
753
1323
  options: {
@@ -763,16 +1333,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
763
1333
  } | undefined;
764
1334
  meta?: {
765
1335
  schemaVersion: "1.0";
1336
+ title?: "Radio Buttons" | undefined;
1337
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
1338
+ defaultJSON?: string | undefined;
766
1339
  } | undefined;
767
- }>, z.ZodObject<{
768
- meta: z.ZodOptional<z.ZodObject<{
769
- schemaVersion: z.ZodLiteral<"1.0">;
770
- }, "strip", z.ZodTypeAny, {
771
- schemaVersion: "1.0";
772
- }, {
773
- schemaVersion: "1.0";
774
- }>>;
775
- } & {
1340
+ }>, z.ZodObject<{} & {
776
1341
  type: z.ZodLiteral<"selectBox">;
777
1342
  options: z.ZodArray<z.ZodObject<{
778
1343
  label: z.ZodString;
@@ -788,22 +1353,39 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
788
1353
  label: string;
789
1354
  selected?: boolean | undefined;
790
1355
  }>, "many">;
791
- attributes: z.ZodOptional<z.ZodObject<{
1356
+ attributes: z.ZodObject<{
792
1357
  label: z.ZodOptional<z.ZodString>;
793
1358
  help: z.ZodOptional<z.ZodString>;
794
1359
  labelTranslationKey: z.ZodOptional<z.ZodString>;
795
1360
  } & {
796
- multiple: z.ZodOptional<z.ZodBoolean>;
1361
+ multiple: z.ZodLiteral<false>;
797
1362
  }, "strip", z.ZodTypeAny, {
1363
+ multiple: false;
798
1364
  label?: string | undefined;
799
1365
  help?: string | undefined;
800
1366
  labelTranslationKey?: string | undefined;
801
- multiple?: boolean | undefined;
802
1367
  }, {
1368
+ multiple: false;
803
1369
  label?: string | undefined;
804
1370
  help?: string | undefined;
805
1371
  labelTranslationKey?: string | undefined;
806
- multiple?: boolean | undefined;
1372
+ }>;
1373
+ meta: z.ZodOptional<z.ZodObject<{
1374
+ schemaVersion: z.ZodLiteral<"1.0">;
1375
+ } & {
1376
+ title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
1377
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
1378
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ schemaVersion: "1.0";
1381
+ title?: "Select Box" | undefined;
1382
+ usageDescription?: "For questions where users select one option from a list." | undefined;
1383
+ defaultJSON?: string | undefined;
1384
+ }, {
1385
+ schemaVersion: "1.0";
1386
+ title?: "Select Box" | undefined;
1387
+ usageDescription?: "For questions where users select one option from a list." | undefined;
1388
+ defaultJSON?: string | undefined;
807
1389
  }>>;
808
1390
  }, "strip", z.ZodTypeAny, {
809
1391
  options: {
@@ -812,14 +1394,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
812
1394
  selected?: boolean | undefined;
813
1395
  }[];
814
1396
  type: "selectBox";
815
- attributes?: {
1397
+ attributes: {
1398
+ multiple: false;
816
1399
  label?: string | undefined;
817
1400
  help?: string | undefined;
818
1401
  labelTranslationKey?: string | undefined;
819
- multiple?: boolean | undefined;
820
- } | undefined;
1402
+ };
821
1403
  meta?: {
822
1404
  schemaVersion: "1.0";
1405
+ title?: "Select Box" | undefined;
1406
+ usageDescription?: "For questions where users select one option from a list." | undefined;
1407
+ defaultJSON?: string | undefined;
823
1408
  } | undefined;
824
1409
  }, {
825
1410
  options: {
@@ -828,36 +1413,192 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
828
1413
  selected?: boolean | undefined;
829
1414
  }[];
830
1415
  type: "selectBox";
831
- attributes?: {
1416
+ attributes: {
1417
+ multiple: false;
832
1418
  label?: string | undefined;
833
1419
  help?: string | undefined;
834
1420
  labelTranslationKey?: string | undefined;
835
- multiple?: boolean | undefined;
836
- } | undefined;
1421
+ };
837
1422
  meta?: {
838
1423
  schemaVersion: "1.0";
1424
+ title?: "Select Box" | undefined;
1425
+ usageDescription?: "For questions where users select one option from a list." | undefined;
1426
+ defaultJSON?: string | undefined;
839
1427
  } | undefined;
840
- }>, z.ZodObject<{
841
- meta: z.ZodOptional<z.ZodObject<{
842
- schemaVersion: z.ZodLiteral<"1.0">;
843
- }, "strip", z.ZodTypeAny, {
844
- schemaVersion: "1.0";
845
- }, {
846
- schemaVersion: "1.0";
847
- }>>;
848
- } & {
1428
+ }>, z.ZodObject<{} & {
849
1429
  type: z.ZodLiteral<"table">;
850
1430
  columns: z.ZodArray<z.ZodObject<{
851
1431
  heading: z.ZodOptional<z.ZodString>;
852
1432
  content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
853
- meta: z.ZodOptional<z.ZodObject<{
1433
+ attributes: z.ZodOptional<z.ZodObject<{
1434
+ label: z.ZodOptional<z.ZodString>;
1435
+ help: z.ZodOptional<z.ZodString>;
1436
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ label?: string | undefined;
1439
+ help?: string | undefined;
1440
+ labelTranslationKey?: string | undefined;
1441
+ }, {
1442
+ label?: string | undefined;
1443
+ help?: string | undefined;
1444
+ labelTranslationKey?: string | undefined;
1445
+ }>>;
1446
+ graphQL: z.ZodObject<{
1447
+ displayFields: z.ZodArray<z.ZodObject<{
1448
+ propertyName: z.ZodString;
1449
+ label: z.ZodString;
1450
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ label: string;
1453
+ propertyName: string;
1454
+ labelTranslationKey?: string | undefined;
1455
+ }, {
1456
+ label: string;
1457
+ propertyName: string;
1458
+ labelTranslationKey?: string | undefined;
1459
+ }>, "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>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ type: string;
1472
+ name: string;
1473
+ label?: string | undefined;
1474
+ labelTranslationKey?: string | undefined;
1475
+ minLength?: number | undefined;
1476
+ defaultValue?: string | undefined;
1477
+ }, {
1478
+ type: string;
1479
+ name: string;
1480
+ label?: string | undefined;
1481
+ labelTranslationKey?: string | undefined;
1482
+ minLength?: number | undefined;
1483
+ defaultValue?: string | undefined;
1484
+ }>, "many">>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ displayFields: {
1487
+ label: string;
1488
+ propertyName: string;
1489
+ labelTranslationKey?: string | undefined;
1490
+ }[];
1491
+ responseField: string;
1492
+ localQueryId?: string | undefined;
1493
+ query?: string | undefined;
1494
+ variables?: {
1495
+ type: string;
1496
+ name: string;
1497
+ label?: string | undefined;
1498
+ labelTranslationKey?: string | undefined;
1499
+ minLength?: number | undefined;
1500
+ defaultValue?: string | undefined;
1501
+ }[] | undefined;
1502
+ }, {
1503
+ displayFields: {
1504
+ label: string;
1505
+ propertyName: string;
1506
+ labelTranslationKey?: string | undefined;
1507
+ }[];
1508
+ responseField: string;
1509
+ localQueryId?: string | undefined;
1510
+ query?: string | undefined;
1511
+ variables?: {
1512
+ type: string;
1513
+ name: string;
1514
+ label?: string | undefined;
1515
+ labelTranslationKey?: string | undefined;
1516
+ minLength?: number | undefined;
1517
+ defaultValue?: string | undefined;
1518
+ }[] | undefined;
1519
+ }>;
1520
+ } & {
1521
+ type: z.ZodLiteral<"affiliationSearch">;
1522
+ meta: z.ZodObject<{
854
1523
  schemaVersion: z.ZodLiteral<"1.0">;
1524
+ } & {
1525
+ title: z.ZodOptional<z.ZodLiteral<"Affiliation Search">>;
1526
+ 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>>;
855
1528
  }, "strip", z.ZodTypeAny, {
856
1529
  schemaVersion: "1.0";
1530
+ title?: "Affiliation Search" | undefined;
1531
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1532
+ defaultJSON?: string | undefined;
857
1533
  }, {
858
1534
  schemaVersion: "1.0";
859
- }>>;
860
- } & {
1535
+ title?: "Affiliation Search" | undefined;
1536
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1537
+ defaultJSON?: string | undefined;
1538
+ }>;
1539
+ }, "strip", z.ZodTypeAny, {
1540
+ type: "affiliationSearch";
1541
+ meta: {
1542
+ schemaVersion: "1.0";
1543
+ title?: "Affiliation Search" | undefined;
1544
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1545
+ defaultJSON?: string | undefined;
1546
+ };
1547
+ graphQL: {
1548
+ displayFields: {
1549
+ label: string;
1550
+ propertyName: string;
1551
+ labelTranslationKey?: string | undefined;
1552
+ }[];
1553
+ responseField: string;
1554
+ localQueryId?: string | undefined;
1555
+ query?: string | undefined;
1556
+ variables?: {
1557
+ type: string;
1558
+ name: string;
1559
+ label?: string | undefined;
1560
+ labelTranslationKey?: string | undefined;
1561
+ minLength?: number | undefined;
1562
+ defaultValue?: string | undefined;
1563
+ }[] | undefined;
1564
+ };
1565
+ attributes?: {
1566
+ label?: string | undefined;
1567
+ help?: string | undefined;
1568
+ labelTranslationKey?: string | undefined;
1569
+ } | undefined;
1570
+ }, {
1571
+ type: "affiliationSearch";
1572
+ meta: {
1573
+ schemaVersion: "1.0";
1574
+ title?: "Affiliation Search" | undefined;
1575
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
1576
+ defaultJSON?: string | undefined;
1577
+ };
1578
+ graphQL: {
1579
+ displayFields: {
1580
+ label: string;
1581
+ propertyName: string;
1582
+ labelTranslationKey?: string | undefined;
1583
+ }[];
1584
+ responseField: string;
1585
+ localQueryId?: string | undefined;
1586
+ query?: string | undefined;
1587
+ variables?: {
1588
+ type: string;
1589
+ name: string;
1590
+ label?: string | undefined;
1591
+ labelTranslationKey?: string | undefined;
1592
+ minLength?: number | undefined;
1593
+ defaultValue?: string | undefined;
1594
+ }[] | undefined;
1595
+ };
1596
+ attributes?: {
1597
+ label?: string | undefined;
1598
+ help?: string | undefined;
1599
+ labelTranslationKey?: string | undefined;
1600
+ } | undefined;
1601
+ }>, z.ZodObject<{} & {
861
1602
  type: z.ZodLiteral<"boolean">;
862
1603
  attributes: z.ZodOptional<z.ZodObject<{
863
1604
  label: z.ZodOptional<z.ZodString>;
@@ -876,6 +1617,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
876
1617
  labelTranslationKey?: string | undefined;
877
1618
  checked?: boolean | undefined;
878
1619
  }>>;
1620
+ meta: z.ZodOptional<z.ZodObject<{
1621
+ schemaVersion: z.ZodLiteral<"1.0">;
1622
+ } & {
1623
+ title: z.ZodOptional<z.ZodLiteral<"Yes/No Field">>;
1624
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a simple Yes/No response.">>;
1625
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1626
+ }, "strip", z.ZodTypeAny, {
1627
+ schemaVersion: "1.0";
1628
+ title?: "Yes/No Field" | undefined;
1629
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1630
+ defaultJSON?: string | undefined;
1631
+ }, {
1632
+ schemaVersion: "1.0";
1633
+ title?: "Yes/No Field" | undefined;
1634
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1635
+ defaultJSON?: string | undefined;
1636
+ }>>;
879
1637
  }, "strip", z.ZodTypeAny, {
880
1638
  type: "boolean";
881
1639
  attributes?: {
@@ -886,6 +1644,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
886
1644
  } | undefined;
887
1645
  meta?: {
888
1646
  schemaVersion: "1.0";
1647
+ title?: "Yes/No Field" | undefined;
1648
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1649
+ defaultJSON?: string | undefined;
889
1650
  } | undefined;
890
1651
  }, {
891
1652
  type: "boolean";
@@ -897,6 +1658,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
897
1658
  } | undefined;
898
1659
  meta?: {
899
1660
  schemaVersion: "1.0";
1661
+ title?: "Yes/No Field" | undefined;
1662
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
1663
+ defaultJSON?: string | undefined;
900
1664
  } | undefined;
901
1665
  }>, z.ZodObject<{
902
1666
  attributes: z.ZodOptional<z.ZodObject<{
@@ -912,13 +1676,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
912
1676
  help?: string | undefined;
913
1677
  labelTranslationKey?: string | undefined;
914
1678
  }>>;
915
- meta: z.ZodOptional<z.ZodObject<{
916
- schemaVersion: z.ZodLiteral<"1.0">;
917
- }, "strip", z.ZodTypeAny, {
918
- schemaVersion: "1.0";
919
- }, {
920
- schemaVersion: "1.0";
921
- }>>;
922
1679
  } & {
923
1680
  type: z.ZodLiteral<"checkBoxes">;
924
1681
  options: z.ZodArray<z.ZodObject<{
@@ -935,6 +1692,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
935
1692
  label: string;
936
1693
  checked?: boolean | undefined;
937
1694
  }>, "many">;
1695
+ meta: z.ZodOptional<z.ZodObject<{
1696
+ schemaVersion: z.ZodLiteral<"1.0">;
1697
+ } & {
1698
+ title: z.ZodOptional<z.ZodLiteral<"Check Boxes">>;
1699
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users can select multiple options.">>;
1700
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1701
+ }, "strip", z.ZodTypeAny, {
1702
+ schemaVersion: "1.0";
1703
+ title?: "Check Boxes" | undefined;
1704
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1705
+ defaultJSON?: string | undefined;
1706
+ }, {
1707
+ schemaVersion: "1.0";
1708
+ title?: "Check Boxes" | undefined;
1709
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1710
+ defaultJSON?: string | undefined;
1711
+ }>>;
938
1712
  }, "strip", z.ZodTypeAny, {
939
1713
  options: {
940
1714
  value: string;
@@ -949,6 +1723,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
949
1723
  } | undefined;
950
1724
  meta?: {
951
1725
  schemaVersion: "1.0";
1726
+ title?: "Check Boxes" | undefined;
1727
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1728
+ defaultJSON?: string | undefined;
952
1729
  } | undefined;
953
1730
  }, {
954
1731
  options: {
@@ -964,16 +1741,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
964
1741
  } | undefined;
965
1742
  meta?: {
966
1743
  schemaVersion: "1.0";
1744
+ title?: "Check Boxes" | undefined;
1745
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
1746
+ defaultJSON?: string | undefined;
967
1747
  } | undefined;
968
- }>, z.ZodObject<{
969
- meta: z.ZodOptional<z.ZodObject<{
970
- schemaVersion: z.ZodLiteral<"1.0">;
971
- }, "strip", z.ZodTypeAny, {
972
- schemaVersion: "1.0";
973
- }, {
974
- schemaVersion: "1.0";
975
- }>>;
976
- } & {
1748
+ }>, z.ZodObject<{} & {
977
1749
  type: z.ZodLiteral<"currency">;
978
1750
  attributes: z.ZodOptional<z.ZodObject<{
979
1751
  label: z.ZodOptional<z.ZodString>;
@@ -1002,6 +1774,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1002
1774
  step?: number | undefined;
1003
1775
  denomination?: string | undefined;
1004
1776
  }>>;
1777
+ meta: z.ZodOptional<z.ZodObject<{
1778
+ schemaVersion: z.ZodLiteral<"1.0">;
1779
+ } & {
1780
+ title: z.ZodOptional<z.ZodLiteral<"Currency Field">>;
1781
+ 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
+ }, "strip", z.ZodTypeAny, {
1784
+ schemaVersion: "1.0";
1785
+ title?: "Currency Field" | undefined;
1786
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1787
+ defaultJSON?: string | undefined;
1788
+ }, {
1789
+ schemaVersion: "1.0";
1790
+ title?: "Currency Field" | undefined;
1791
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1792
+ defaultJSON?: string | undefined;
1793
+ }>>;
1005
1794
  }, "strip", z.ZodTypeAny, {
1006
1795
  type: "currency";
1007
1796
  attributes?: {
@@ -1015,6 +1804,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1015
1804
  } | undefined;
1016
1805
  meta?: {
1017
1806
  schemaVersion: "1.0";
1807
+ title?: "Currency Field" | undefined;
1808
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1809
+ defaultJSON?: string | undefined;
1018
1810
  } | undefined;
1019
1811
  }, {
1020
1812
  type: "currency";
@@ -1029,16 +1821,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1029
1821
  } | undefined;
1030
1822
  meta?: {
1031
1823
  schemaVersion: "1.0";
1824
+ title?: "Currency Field" | undefined;
1825
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
1826
+ defaultJSON?: string | undefined;
1032
1827
  } | undefined;
1033
- }>, z.ZodObject<{
1034
- meta: z.ZodOptional<z.ZodObject<{
1035
- schemaVersion: z.ZodLiteral<"1.0">;
1036
- }, "strip", z.ZodTypeAny, {
1037
- schemaVersion: "1.0";
1038
- }, {
1039
- schemaVersion: "1.0";
1040
- }>>;
1041
- } & {
1828
+ }>, z.ZodObject<{} & {
1042
1829
  type: z.ZodLiteral<"date">;
1043
1830
  attributes: z.ZodOptional<z.ZodObject<{
1044
1831
  label: z.ZodOptional<z.ZodString>;
@@ -1063,6 +1850,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1063
1850
  min?: string | undefined;
1064
1851
  step?: number | undefined;
1065
1852
  }>>;
1853
+ meta: z.ZodOptional<z.ZodObject<{
1854
+ schemaVersion: z.ZodLiteral<"1.0">;
1855
+ } & {
1856
+ title: z.ZodOptional<z.ZodLiteral<"Date Field">>;
1857
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a date.">>;
1858
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ schemaVersion: "1.0";
1861
+ title?: "Date Field" | undefined;
1862
+ usageDescription?: "For questions that require a date." | undefined;
1863
+ defaultJSON?: string | undefined;
1864
+ }, {
1865
+ schemaVersion: "1.0";
1866
+ title?: "Date Field" | undefined;
1867
+ usageDescription?: "For questions that require a date." | undefined;
1868
+ defaultJSON?: string | undefined;
1869
+ }>>;
1066
1870
  }, "strip", z.ZodTypeAny, {
1067
1871
  type: "date";
1068
1872
  attributes?: {
@@ -1075,6 +1879,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1075
1879
  } | undefined;
1076
1880
  meta?: {
1077
1881
  schemaVersion: "1.0";
1882
+ title?: "Date Field" | undefined;
1883
+ usageDescription?: "For questions that require a date." | undefined;
1884
+ defaultJSON?: string | undefined;
1078
1885
  } | undefined;
1079
1886
  }, {
1080
1887
  type: "date";
@@ -1088,6 +1895,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1088
1895
  } | undefined;
1089
1896
  meta?: {
1090
1897
  schemaVersion: "1.0";
1898
+ title?: "Date Field" | undefined;
1899
+ usageDescription?: "For questions that require a date." | undefined;
1900
+ defaultJSON?: string | undefined;
1091
1901
  } | undefined;
1092
1902
  }>, z.ZodObject<{
1093
1903
  attributes: z.ZodOptional<z.ZodObject<{
@@ -1103,13 +1913,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1103
1913
  help?: string | undefined;
1104
1914
  labelTranslationKey?: string | undefined;
1105
1915
  }>>;
1106
- meta: z.ZodOptional<z.ZodObject<{
1107
- schemaVersion: z.ZodLiteral<"1.0">;
1108
- }, "strip", z.ZodTypeAny, {
1109
- schemaVersion: "1.0";
1110
- }, {
1111
- schemaVersion: "1.0";
1112
- }>>;
1113
1916
  } & {
1114
1917
  type: z.ZodLiteral<"dateRange">;
1115
1918
  columns: z.ZodObject<{
@@ -1194,6 +1997,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1194
1997
  step?: number | undefined;
1195
1998
  } | undefined;
1196
1999
  }>;
2000
+ meta: z.ZodOptional<z.ZodObject<{
2001
+ schemaVersion: z.ZodLiteral<"1.0">;
2002
+ } & {
2003
+ title: z.ZodOptional<z.ZodLiteral<"Date Range">>;
2004
+ 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
+ }, "strip", z.ZodTypeAny, {
2007
+ schemaVersion: "1.0";
2008
+ title?: "Date Range" | undefined;
2009
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2010
+ defaultJSON?: string | undefined;
2011
+ }, {
2012
+ schemaVersion: "1.0";
2013
+ title?: "Date Range" | undefined;
2014
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2015
+ defaultJSON?: string | undefined;
2016
+ }>>;
1197
2017
  }, "strip", z.ZodTypeAny, {
1198
2018
  type: "dateRange";
1199
2019
  columns: {
@@ -1221,6 +2041,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1221
2041
  } | undefined;
1222
2042
  meta?: {
1223
2043
  schemaVersion: "1.0";
2044
+ title?: "Date Range" | undefined;
2045
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2046
+ defaultJSON?: string | undefined;
1224
2047
  } | undefined;
1225
2048
  }, {
1226
2049
  type: "dateRange";
@@ -1249,16 +2072,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1249
2072
  } | undefined;
1250
2073
  meta?: {
1251
2074
  schemaVersion: "1.0";
2075
+ title?: "Date Range" | undefined;
2076
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2077
+ defaultJSON?: string | undefined;
1252
2078
  } | undefined;
1253
- }>, z.ZodObject<{
1254
- meta: z.ZodOptional<z.ZodObject<{
1255
- schemaVersion: z.ZodLiteral<"1.0">;
1256
- }, "strip", z.ZodTypeAny, {
1257
- schemaVersion: "1.0";
1258
- }, {
1259
- schemaVersion: "1.0";
1260
- }>>;
1261
- } & {
2079
+ }>, z.ZodObject<{} & {
1262
2080
  type: z.ZodLiteral<"email">;
1263
2081
  attributes: z.ZodOptional<z.ZodObject<{
1264
2082
  label: z.ZodOptional<z.ZodString>;
@@ -1287,6 +2105,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1287
2105
  pattern?: string | undefined;
1288
2106
  multiple?: boolean | undefined;
1289
2107
  }>>;
2108
+ meta: z.ZodOptional<z.ZodObject<{
2109
+ schemaVersion: z.ZodLiteral<"1.0">;
2110
+ } & {
2111
+ title: z.ZodOptional<z.ZodLiteral<"Email Field">>;
2112
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require require email address(es).">>;
2113
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2114
+ }, "strip", z.ZodTypeAny, {
2115
+ schemaVersion: "1.0";
2116
+ title?: "Email Field" | undefined;
2117
+ usageDescription?: "For questions that require require email address(es)." | undefined;
2118
+ defaultJSON?: string | undefined;
2119
+ }, {
2120
+ schemaVersion: "1.0";
2121
+ title?: "Email Field" | undefined;
2122
+ usageDescription?: "For questions that require require email address(es)." | undefined;
2123
+ defaultJSON?: string | undefined;
2124
+ }>>;
1290
2125
  }, "strip", z.ZodTypeAny, {
1291
2126
  type: "email";
1292
2127
  attributes?: {
@@ -1300,6 +2135,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1300
2135
  } | undefined;
1301
2136
  meta?: {
1302
2137
  schemaVersion: "1.0";
2138
+ title?: "Email Field" | undefined;
2139
+ usageDescription?: "For questions that require require email address(es)." | undefined;
2140
+ defaultJSON?: string | undefined;
1303
2141
  } | undefined;
1304
2142
  }, {
1305
2143
  type: "email";
@@ -1308,22 +2146,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1308
2146
  help?: string | undefined;
1309
2147
  labelTranslationKey?: string | undefined;
1310
2148
  maxLength?: number | undefined;
1311
- minLength?: number | undefined;
1312
- pattern?: string | undefined;
1313
- multiple?: boolean | undefined;
1314
- } | undefined;
1315
- meta?: {
1316
- schemaVersion: "1.0";
1317
- } | undefined;
1318
- }>, z.ZodObject<{
1319
- meta: z.ZodOptional<z.ZodObject<{
1320
- schemaVersion: z.ZodLiteral<"1.0">;
1321
- }, "strip", z.ZodTypeAny, {
1322
- schemaVersion: "1.0";
1323
- }, {
2149
+ minLength?: number | undefined;
2150
+ pattern?: string | undefined;
2151
+ multiple?: boolean | undefined;
2152
+ } | undefined;
2153
+ meta?: {
1324
2154
  schemaVersion: "1.0";
1325
- }>>;
1326
- } & {
2155
+ title?: "Email Field" | undefined;
2156
+ usageDescription?: "For questions that require require email address(es)." | undefined;
2157
+ defaultJSON?: string | undefined;
2158
+ } | undefined;
2159
+ }>, z.ZodObject<{} & {
1327
2160
  type: z.ZodLiteral<"filteredSearch">;
1328
2161
  graphQL: z.ZodObject<{
1329
2162
  displayFields: z.ZodArray<z.ZodObject<{
@@ -1416,6 +2249,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1416
2249
  labelTranslationKey?: string | undefined;
1417
2250
  multiple?: boolean | undefined;
1418
2251
  }>>;
2252
+ meta: z.ZodOptional<z.ZodObject<{
2253
+ schemaVersion: z.ZodLiteral<"1.0">;
2254
+ usageDescription: z.ZodOptional<z.ZodString>;
2255
+ defaultJSON: z.ZodOptional<z.ZodString>;
2256
+ } & {
2257
+ title: z.ZodOptional<z.ZodLiteral<"Not yet implemented">>;
2258
+ }, "strip", z.ZodTypeAny, {
2259
+ schemaVersion: "1.0";
2260
+ title?: "Not yet implemented" | undefined;
2261
+ usageDescription?: string | undefined;
2262
+ defaultJSON?: string | undefined;
2263
+ }, {
2264
+ schemaVersion: "1.0";
2265
+ title?: "Not yet implemented" | undefined;
2266
+ usageDescription?: string | undefined;
2267
+ defaultJSON?: string | undefined;
2268
+ }>>;
1419
2269
  }, "strip", z.ZodTypeAny, {
1420
2270
  type: "filteredSearch";
1421
2271
  graphQL: {
@@ -1444,6 +2294,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1444
2294
  } | undefined;
1445
2295
  meta?: {
1446
2296
  schemaVersion: "1.0";
2297
+ title?: "Not yet implemented" | undefined;
2298
+ usageDescription?: string | undefined;
2299
+ defaultJSON?: string | undefined;
1447
2300
  } | undefined;
1448
2301
  }, {
1449
2302
  type: "filteredSearch";
@@ -1473,16 +2326,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1473
2326
  } | undefined;
1474
2327
  meta?: {
1475
2328
  schemaVersion: "1.0";
2329
+ title?: "Not yet implemented" | undefined;
2330
+ usageDescription?: string | undefined;
2331
+ defaultJSON?: string | undefined;
1476
2332
  } | undefined;
1477
- }>, z.ZodObject<{
1478
- meta: z.ZodOptional<z.ZodObject<{
1479
- schemaVersion: z.ZodLiteral<"1.0">;
1480
- }, "strip", z.ZodTypeAny, {
1481
- schemaVersion: "1.0";
1482
- }, {
1483
- schemaVersion: "1.0";
1484
- }>>;
1485
- } & {
2333
+ }>, z.ZodObject<{} & {
1486
2334
  type: z.ZodLiteral<"number">;
1487
2335
  attributes: z.ZodOptional<z.ZodObject<{
1488
2336
  label: z.ZodOptional<z.ZodString>;
@@ -1507,6 +2355,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1507
2355
  min?: number | undefined;
1508
2356
  step?: number | undefined;
1509
2357
  }>>;
2358
+ meta: z.ZodOptional<z.ZodObject<{
2359
+ schemaVersion: z.ZodLiteral<"1.0">;
2360
+ } & {
2361
+ title: z.ZodOptional<z.ZodLiteral<"Number Field">>;
2362
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a single numeric value.">>;
2363
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2364
+ }, "strip", z.ZodTypeAny, {
2365
+ schemaVersion: "1.0";
2366
+ title?: "Number Field" | undefined;
2367
+ usageDescription?: "For questions that require a single numeric value." | undefined;
2368
+ defaultJSON?: string | undefined;
2369
+ }, {
2370
+ schemaVersion: "1.0";
2371
+ title?: "Number Field" | undefined;
2372
+ usageDescription?: "For questions that require a single numeric value." | undefined;
2373
+ defaultJSON?: string | undefined;
2374
+ }>>;
1510
2375
  }, "strip", z.ZodTypeAny, {
1511
2376
  type: "number";
1512
2377
  attributes?: {
@@ -1519,6 +2384,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1519
2384
  } | undefined;
1520
2385
  meta?: {
1521
2386
  schemaVersion: "1.0";
2387
+ title?: "Number Field" | undefined;
2388
+ usageDescription?: "For questions that require a single numeric value." | undefined;
2389
+ defaultJSON?: string | undefined;
1522
2390
  } | undefined;
1523
2391
  }, {
1524
2392
  type: "number";
@@ -1532,6 +2400,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1532
2400
  } | undefined;
1533
2401
  meta?: {
1534
2402
  schemaVersion: "1.0";
2403
+ title?: "Number Field" | undefined;
2404
+ usageDescription?: "For questions that require a single numeric value." | undefined;
2405
+ defaultJSON?: string | undefined;
1535
2406
  } | undefined;
1536
2407
  }>, z.ZodObject<{
1537
2408
  attributes: z.ZodOptional<z.ZodObject<{
@@ -1547,13 +2418,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1547
2418
  help?: string | undefined;
1548
2419
  labelTranslationKey?: string | undefined;
1549
2420
  }>>;
1550
- meta: z.ZodOptional<z.ZodObject<{
1551
- schemaVersion: z.ZodLiteral<"1.0">;
1552
- }, "strip", z.ZodTypeAny, {
1553
- schemaVersion: "1.0";
1554
- }, {
1555
- schemaVersion: "1.0";
1556
- }>>;
1557
2421
  } & {
1558
2422
  type: z.ZodLiteral<"radioButtons">;
1559
2423
  options: z.ZodArray<z.ZodObject<{
@@ -1570,6 +2434,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1570
2434
  label: string;
1571
2435
  selected?: boolean | undefined;
1572
2436
  }>, "many">;
2437
+ meta: z.ZodOptional<z.ZodObject<{
2438
+ schemaVersion: z.ZodLiteral<"1.0">;
2439
+ } & {
2440
+ title: z.ZodOptional<z.ZodLiteral<"Radio Buttons">>;
2441
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For multiple choice questions where users select just one option.">>;
2442
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2443
+ }, "strip", z.ZodTypeAny, {
2444
+ schemaVersion: "1.0";
2445
+ title?: "Radio Buttons" | undefined;
2446
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2447
+ defaultJSON?: string | undefined;
2448
+ }, {
2449
+ schemaVersion: "1.0";
2450
+ title?: "Radio Buttons" | undefined;
2451
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2452
+ defaultJSON?: string | undefined;
2453
+ }>>;
1573
2454
  }, "strip", z.ZodTypeAny, {
1574
2455
  options: {
1575
2456
  value: string;
@@ -1584,6 +2465,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1584
2465
  } | undefined;
1585
2466
  meta?: {
1586
2467
  schemaVersion: "1.0";
2468
+ title?: "Radio Buttons" | undefined;
2469
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2470
+ defaultJSON?: string | undefined;
1587
2471
  } | undefined;
1588
2472
  }, {
1589
2473
  options: {
@@ -1599,16 +2483,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1599
2483
  } | undefined;
1600
2484
  meta?: {
1601
2485
  schemaVersion: "1.0";
2486
+ title?: "Radio Buttons" | undefined;
2487
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
2488
+ defaultJSON?: string | undefined;
1602
2489
  } | undefined;
1603
- }>, z.ZodObject<{
1604
- meta: z.ZodOptional<z.ZodObject<{
1605
- schemaVersion: z.ZodLiteral<"1.0">;
1606
- }, "strip", z.ZodTypeAny, {
1607
- schemaVersion: "1.0";
1608
- }, {
1609
- schemaVersion: "1.0";
1610
- }>>;
1611
- } & {
2490
+ }>, z.ZodObject<{} & {
1612
2491
  type: z.ZodLiteral<"selectBox">;
1613
2492
  options: z.ZodArray<z.ZodObject<{
1614
2493
  label: z.ZodString;
@@ -1624,22 +2503,39 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1624
2503
  label: string;
1625
2504
  selected?: boolean | undefined;
1626
2505
  }>, "many">;
1627
- attributes: z.ZodOptional<z.ZodObject<{
2506
+ attributes: z.ZodObject<{
1628
2507
  label: z.ZodOptional<z.ZodString>;
1629
2508
  help: z.ZodOptional<z.ZodString>;
1630
2509
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1631
2510
  } & {
1632
- multiple: z.ZodOptional<z.ZodBoolean>;
2511
+ multiple: z.ZodLiteral<false>;
1633
2512
  }, "strip", z.ZodTypeAny, {
2513
+ multiple: false;
1634
2514
  label?: string | undefined;
1635
2515
  help?: string | undefined;
1636
2516
  labelTranslationKey?: string | undefined;
1637
- multiple?: boolean | undefined;
1638
2517
  }, {
2518
+ multiple: false;
1639
2519
  label?: string | undefined;
1640
2520
  help?: string | undefined;
1641
2521
  labelTranslationKey?: string | undefined;
1642
- multiple?: boolean | undefined;
2522
+ }>;
2523
+ meta: z.ZodOptional<z.ZodObject<{
2524
+ schemaVersion: z.ZodLiteral<"1.0">;
2525
+ } & {
2526
+ title: z.ZodOptional<z.ZodLiteral<"Select Box">>;
2527
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions where users select one option from a list.">>;
2528
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ schemaVersion: "1.0";
2531
+ title?: "Select Box" | undefined;
2532
+ usageDescription?: "For questions where users select one option from a list." | undefined;
2533
+ defaultJSON?: string | undefined;
2534
+ }, {
2535
+ schemaVersion: "1.0";
2536
+ title?: "Select Box" | undefined;
2537
+ usageDescription?: "For questions where users select one option from a list." | undefined;
2538
+ defaultJSON?: string | undefined;
1643
2539
  }>>;
1644
2540
  }, "strip", z.ZodTypeAny, {
1645
2541
  options: {
@@ -1648,14 +2544,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1648
2544
  selected?: boolean | undefined;
1649
2545
  }[];
1650
2546
  type: "selectBox";
1651
- attributes?: {
2547
+ attributes: {
2548
+ multiple: false;
1652
2549
  label?: string | undefined;
1653
2550
  help?: string | undefined;
1654
2551
  labelTranslationKey?: string | undefined;
1655
- multiple?: boolean | undefined;
1656
- } | undefined;
2552
+ };
1657
2553
  meta?: {
1658
2554
  schemaVersion: "1.0";
2555
+ title?: "Select Box" | undefined;
2556
+ usageDescription?: "For questions where users select one option from a list." | undefined;
2557
+ defaultJSON?: string | undefined;
1659
2558
  } | undefined;
1660
2559
  }, {
1661
2560
  options: {
@@ -1664,14 +2563,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1664
2563
  selected?: boolean | undefined;
1665
2564
  }[];
1666
2565
  type: "selectBox";
1667
- attributes?: {
2566
+ attributes: {
2567
+ multiple: false;
1668
2568
  label?: string | undefined;
1669
2569
  help?: string | undefined;
1670
2570
  labelTranslationKey?: string | undefined;
1671
- multiple?: boolean | undefined;
1672
- } | undefined;
2571
+ };
1673
2572
  meta?: {
1674
2573
  schemaVersion: "1.0";
2574
+ title?: "Select Box" | undefined;
2575
+ usageDescription?: "For questions where users select one option from a list." | undefined;
2576
+ defaultJSON?: string | undefined;
1675
2577
  } | undefined;
1676
2578
  }>, z.ZodObject<{} & {
1677
2579
  type: z.ZodLiteral<"textArea">;
@@ -1684,6 +2586,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1684
2586
  maxLength: z.ZodOptional<z.ZodNumber>;
1685
2587
  minLength: z.ZodOptional<z.ZodNumber>;
1686
2588
  rows: z.ZodOptional<z.ZodNumber>;
2589
+ asRichText: z.ZodOptional<z.ZodBoolean>;
1687
2590
  }, "strip", z.ZodTypeAny, {
1688
2591
  label?: string | undefined;
1689
2592
  help?: string | undefined;
@@ -1692,33 +2595,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1692
2595
  minLength?: number | undefined;
1693
2596
  cols?: number | undefined;
1694
2597
  rows?: number | undefined;
1695
- }, {
1696
- label?: string | undefined;
1697
- help?: string | undefined;
1698
- labelTranslationKey?: string | undefined;
1699
- maxLength?: number | undefined;
1700
- minLength?: number | undefined;
1701
- cols?: number | undefined;
1702
- rows?: number | undefined;
1703
- }>>;
1704
- meta: z.ZodObject<{
1705
- schemaVersion: z.ZodLiteral<"1.0">;
1706
- } & {
1707
- asRichText: z.ZodOptional<z.ZodBoolean>;
1708
- }, "strip", z.ZodTypeAny, {
1709
- schemaVersion: "1.0";
1710
2598
  asRichText?: boolean | undefined;
1711
2599
  }, {
1712
- schemaVersion: "1.0";
1713
- asRichText?: boolean | undefined;
1714
- }>;
1715
- }, "strip", z.ZodTypeAny, {
1716
- type: "textArea";
1717
- meta: {
1718
- schemaVersion: "1.0";
1719
- asRichText?: boolean | undefined;
1720
- };
1721
- attributes?: {
1722
2600
  label?: string | undefined;
1723
2601
  help?: string | undefined;
1724
2602
  labelTranslationKey?: string | undefined;
@@ -1726,243 +2604,136 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1726
2604
  minLength?: number | undefined;
1727
2605
  cols?: number | undefined;
1728
2606
  rows?: number | undefined;
1729
- } | undefined;
1730
- }, {
1731
- type: "textArea";
1732
- meta: {
1733
- schemaVersion: "1.0";
1734
2607
  asRichText?: boolean | undefined;
1735
- };
1736
- attributes?: {
1737
- label?: string | undefined;
1738
- help?: string | undefined;
1739
- labelTranslationKey?: string | undefined;
1740
- maxLength?: number | undefined;
1741
- minLength?: number | undefined;
1742
- cols?: number | undefined;
1743
- rows?: number | undefined;
1744
- } | undefined;
1745
- }>, z.ZodObject<{
1746
- meta: z.ZodOptional<z.ZodObject<{
1747
- schemaVersion: z.ZodLiteral<"1.0">;
1748
- }, "strip", z.ZodTypeAny, {
1749
- schemaVersion: "1.0";
1750
- }, {
1751
- schemaVersion: "1.0";
1752
- }>>;
1753
- } & {
1754
- type: z.ZodLiteral<"text">;
1755
- attributes: z.ZodOptional<z.ZodObject<{
1756
- label: z.ZodOptional<z.ZodString>;
1757
- help: z.ZodOptional<z.ZodString>;
1758
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1759
- } & {
1760
- maxLength: z.ZodOptional<z.ZodNumber>;
1761
- minLength: z.ZodOptional<z.ZodNumber>;
1762
- pattern: z.ZodOptional<z.ZodString>;
1763
- }, "strip", z.ZodTypeAny, {
1764
- label?: string | undefined;
1765
- help?: string | undefined;
1766
- labelTranslationKey?: string | undefined;
1767
- maxLength?: number | undefined;
1768
- minLength?: number | undefined;
1769
- pattern?: string | undefined;
1770
- }, {
1771
- label?: string | undefined;
1772
- help?: string | undefined;
1773
- labelTranslationKey?: string | undefined;
1774
- maxLength?: number | undefined;
1775
- minLength?: number | undefined;
1776
- pattern?: string | undefined;
1777
- }>>;
1778
- }, "strip", z.ZodTypeAny, {
1779
- type: "text";
1780
- attributes?: {
1781
- label?: string | undefined;
1782
- help?: string | undefined;
1783
- labelTranslationKey?: string | undefined;
1784
- maxLength?: number | undefined;
1785
- minLength?: number | undefined;
1786
- pattern?: string | undefined;
1787
- } | undefined;
1788
- meta?: {
1789
- schemaVersion: "1.0";
1790
- } | undefined;
1791
- }, {
1792
- type: "text";
1793
- attributes?: {
1794
- label?: string | undefined;
1795
- help?: string | undefined;
1796
- labelTranslationKey?: string | undefined;
1797
- maxLength?: number | undefined;
1798
- minLength?: number | undefined;
1799
- pattern?: string | undefined;
1800
- } | undefined;
1801
- meta?: {
1802
- schemaVersion: "1.0";
1803
- } | undefined;
1804
- }>, z.ZodObject<{
1805
- attributes: z.ZodOptional<z.ZodObject<{
1806
- label: z.ZodOptional<z.ZodString>;
1807
- help: z.ZodOptional<z.ZodString>;
1808
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1809
- }, "strip", z.ZodTypeAny, {
1810
- label?: string | undefined;
1811
- help?: string | undefined;
1812
- labelTranslationKey?: string | undefined;
1813
- }, {
1814
- label?: string | undefined;
1815
- help?: string | undefined;
1816
- labelTranslationKey?: string | undefined;
1817
2608
  }>>;
1818
2609
  meta: z.ZodOptional<z.ZodObject<{
1819
- schemaVersion: z.ZodLiteral<"1.0">;
1820
- }, "strip", z.ZodTypeAny, {
1821
- schemaVersion: "1.0";
1822
- }, {
1823
- schemaVersion: "1.0";
1824
- }>>;
1825
- } & {
1826
- type: z.ZodLiteral<"typeaheadSearch">;
1827
- graphQL: z.ZodObject<{
1828
- displayFields: z.ZodArray<z.ZodObject<{
1829
- propertyName: z.ZodString;
1830
- label: z.ZodString;
1831
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1832
- }, "strip", z.ZodTypeAny, {
1833
- label: string;
1834
- propertyName: string;
1835
- labelTranslationKey?: string | undefined;
1836
- }, {
1837
- label: string;
1838
- propertyName: string;
1839
- labelTranslationKey?: string | undefined;
1840
- }>, "many">;
1841
- localQueryId: z.ZodOptional<z.ZodString>;
1842
- query: z.ZodOptional<z.ZodString>;
1843
- responseField: z.ZodString;
1844
- variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1845
- minLength: z.ZodOptional<z.ZodNumber>;
1846
- label: z.ZodOptional<z.ZodString>;
1847
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1848
- name: z.ZodString;
1849
- type: z.ZodString;
1850
- defaultValue: z.ZodOptional<z.ZodString>;
1851
- }, "strip", z.ZodTypeAny, {
1852
- type: string;
1853
- name: string;
1854
- label?: string | undefined;
1855
- labelTranslationKey?: string | undefined;
1856
- minLength?: number | undefined;
1857
- defaultValue?: string | undefined;
1858
- }, {
1859
- type: string;
1860
- name: string;
1861
- label?: string | undefined;
1862
- labelTranslationKey?: string | undefined;
1863
- minLength?: number | undefined;
1864
- defaultValue?: string | undefined;
1865
- }>, "many">>;
1866
- }, "strip", z.ZodTypeAny, {
1867
- displayFields: {
1868
- label: string;
1869
- propertyName: string;
1870
- labelTranslationKey?: string | undefined;
1871
- }[];
1872
- responseField: string;
1873
- localQueryId?: string | undefined;
1874
- query?: string | undefined;
1875
- variables?: {
1876
- type: string;
1877
- name: string;
1878
- label?: string | undefined;
1879
- labelTranslationKey?: string | undefined;
1880
- minLength?: number | undefined;
1881
- defaultValue?: string | undefined;
1882
- }[] | undefined;
2610
+ schemaVersion: z.ZodLiteral<"1.0">;
2611
+ } & {
2612
+ title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
2613
+ 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
+ }, "strip", z.ZodTypeAny, {
2616
+ schemaVersion: "1.0";
2617
+ title?: "Text Area" | undefined;
2618
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2619
+ defaultJSON?: string | undefined;
1883
2620
  }, {
1884
- displayFields: {
1885
- label: string;
1886
- propertyName: string;
1887
- labelTranslationKey?: string | undefined;
1888
- }[];
1889
- responseField: string;
1890
- localQueryId?: string | undefined;
1891
- query?: string | undefined;
1892
- variables?: {
1893
- type: string;
1894
- name: string;
1895
- label?: string | undefined;
1896
- labelTranslationKey?: string | undefined;
1897
- minLength?: number | undefined;
1898
- defaultValue?: string | undefined;
1899
- }[] | undefined;
1900
- }>;
2621
+ schemaVersion: "1.0";
2622
+ title?: "Text Area" | undefined;
2623
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2624
+ defaultJSON?: string | undefined;
2625
+ }>>;
1901
2626
  }, "strip", z.ZodTypeAny, {
1902
- type: "typeaheadSearch";
1903
- graphQL: {
1904
- displayFields: {
1905
- label: string;
1906
- propertyName: string;
1907
- labelTranslationKey?: string | undefined;
1908
- }[];
1909
- responseField: string;
1910
- localQueryId?: string | undefined;
1911
- query?: string | undefined;
1912
- variables?: {
1913
- type: string;
1914
- name: string;
1915
- label?: string | undefined;
1916
- labelTranslationKey?: string | undefined;
1917
- minLength?: number | undefined;
1918
- defaultValue?: string | undefined;
1919
- }[] | undefined;
1920
- };
2627
+ type: "textArea";
1921
2628
  attributes?: {
1922
2629
  label?: string | undefined;
1923
2630
  help?: string | undefined;
1924
2631
  labelTranslationKey?: string | undefined;
2632
+ maxLength?: number | undefined;
2633
+ minLength?: number | undefined;
2634
+ cols?: number | undefined;
2635
+ rows?: number | undefined;
2636
+ asRichText?: boolean | undefined;
1925
2637
  } | undefined;
1926
2638
  meta?: {
1927
2639
  schemaVersion: "1.0";
2640
+ title?: "Text Area" | undefined;
2641
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2642
+ defaultJSON?: string | undefined;
1928
2643
  } | undefined;
1929
2644
  }, {
1930
- type: "typeaheadSearch";
1931
- graphQL: {
1932
- displayFields: {
1933
- label: string;
1934
- propertyName: string;
1935
- labelTranslationKey?: string | undefined;
1936
- }[];
1937
- responseField: string;
1938
- localQueryId?: string | undefined;
1939
- query?: string | undefined;
1940
- variables?: {
1941
- type: string;
1942
- name: string;
1943
- label?: string | undefined;
1944
- labelTranslationKey?: string | undefined;
1945
- minLength?: number | undefined;
1946
- defaultValue?: string | undefined;
1947
- }[] | undefined;
1948
- };
2645
+ type: "textArea";
1949
2646
  attributes?: {
1950
2647
  label?: string | undefined;
1951
2648
  help?: string | undefined;
1952
2649
  labelTranslationKey?: string | undefined;
2650
+ maxLength?: number | undefined;
2651
+ minLength?: number | undefined;
2652
+ cols?: number | undefined;
2653
+ rows?: number | undefined;
2654
+ asRichText?: boolean | undefined;
1953
2655
  } | undefined;
1954
2656
  meta?: {
1955
2657
  schemaVersion: "1.0";
2658
+ title?: "Text Area" | undefined;
2659
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2660
+ defaultJSON?: string | undefined;
1956
2661
  } | undefined;
1957
- }>, z.ZodObject<{
2662
+ }>, z.ZodObject<{} & {
2663
+ type: z.ZodLiteral<"text">;
2664
+ attributes: z.ZodOptional<z.ZodObject<{
2665
+ label: z.ZodOptional<z.ZodString>;
2666
+ help: z.ZodOptional<z.ZodString>;
2667
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2668
+ } & {
2669
+ maxLength: z.ZodOptional<z.ZodNumber>;
2670
+ minLength: z.ZodOptional<z.ZodNumber>;
2671
+ pattern: z.ZodOptional<z.ZodString>;
2672
+ }, "strip", z.ZodTypeAny, {
2673
+ label?: string | undefined;
2674
+ help?: string | undefined;
2675
+ labelTranslationKey?: string | undefined;
2676
+ maxLength?: number | undefined;
2677
+ minLength?: number | undefined;
2678
+ pattern?: string | undefined;
2679
+ }, {
2680
+ label?: string | undefined;
2681
+ help?: string | undefined;
2682
+ labelTranslationKey?: string | undefined;
2683
+ maxLength?: number | undefined;
2684
+ minLength?: number | undefined;
2685
+ pattern?: string | undefined;
2686
+ }>>;
1958
2687
  meta: z.ZodOptional<z.ZodObject<{
1959
2688
  schemaVersion: z.ZodLiteral<"1.0">;
2689
+ } & {
2690
+ title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
2691
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
2692
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
1960
2693
  }, "strip", z.ZodTypeAny, {
1961
2694
  schemaVersion: "1.0";
2695
+ title?: "Text Field" | undefined;
2696
+ usageDescription?: "For questions that require short, simple answers." | undefined;
2697
+ defaultJSON?: string | undefined;
1962
2698
  }, {
1963
2699
  schemaVersion: "1.0";
2700
+ title?: "Text Field" | undefined;
2701
+ usageDescription?: "For questions that require short, simple answers." | undefined;
2702
+ defaultJSON?: string | undefined;
1964
2703
  }>>;
1965
- } & {
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ type: "text";
2706
+ attributes?: {
2707
+ label?: string | undefined;
2708
+ help?: string | undefined;
2709
+ labelTranslationKey?: string | undefined;
2710
+ maxLength?: number | undefined;
2711
+ minLength?: number | undefined;
2712
+ pattern?: string | undefined;
2713
+ } | undefined;
2714
+ meta?: {
2715
+ schemaVersion: "1.0";
2716
+ title?: "Text Field" | undefined;
2717
+ usageDescription?: "For questions that require short, simple answers." | undefined;
2718
+ defaultJSON?: string | undefined;
2719
+ } | undefined;
2720
+ }, {
2721
+ type: "text";
2722
+ attributes?: {
2723
+ label?: string | undefined;
2724
+ help?: string | undefined;
2725
+ labelTranslationKey?: string | undefined;
2726
+ maxLength?: number | undefined;
2727
+ minLength?: number | undefined;
2728
+ pattern?: string | undefined;
2729
+ } | undefined;
2730
+ meta?: {
2731
+ schemaVersion: "1.0";
2732
+ title?: "Text Field" | undefined;
2733
+ usageDescription?: "For questions that require short, simple answers." | undefined;
2734
+ defaultJSON?: string | undefined;
2735
+ } | undefined;
2736
+ }>, z.ZodObject<{} & {
1966
2737
  type: z.ZodLiteral<"url">;
1967
2738
  attributes: z.ZodOptional<z.ZodObject<{
1968
2739
  label: z.ZodOptional<z.ZodString>;
@@ -1987,6 +2758,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1987
2758
  minLength?: number | undefined;
1988
2759
  pattern?: string | undefined;
1989
2760
  }>>;
2761
+ meta: z.ZodOptional<z.ZodObject<{
2762
+ schemaVersion: z.ZodLiteral<"1.0">;
2763
+ } & {
2764
+ title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
2765
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
2766
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
2767
+ }, "strip", z.ZodTypeAny, {
2768
+ schemaVersion: "1.0";
2769
+ title?: "URL Field" | undefined;
2770
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2771
+ defaultJSON?: string | undefined;
2772
+ }, {
2773
+ schemaVersion: "1.0";
2774
+ title?: "URL Field" | undefined;
2775
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2776
+ defaultJSON?: string | undefined;
2777
+ }>>;
1990
2778
  }, "strip", z.ZodTypeAny, {
1991
2779
  type: "url";
1992
2780
  attributes?: {
@@ -1999,6 +2787,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1999
2787
  } | undefined;
2000
2788
  meta?: {
2001
2789
  schemaVersion: "1.0";
2790
+ title?: "URL Field" | undefined;
2791
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2792
+ defaultJSON?: string | undefined;
2002
2793
  } | undefined;
2003
2794
  }, {
2004
2795
  type: "url";
@@ -2012,21 +2803,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2012
2803
  } | undefined;
2013
2804
  meta?: {
2014
2805
  schemaVersion: "1.0";
2806
+ title?: "URL Field" | undefined;
2807
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2808
+ defaultJSON?: string | undefined;
2015
2809
  } | undefined;
2016
2810
  }>]>;
2017
2811
  }, "strip", z.ZodTypeAny, {
2018
2812
  content: {
2019
- type: "boolean";
2020
- attributes?: {
2021
- label?: string | undefined;
2022
- help?: string | undefined;
2023
- labelTranslationKey?: string | undefined;
2024
- checked?: boolean | undefined;
2025
- } | undefined;
2026
- meta?: {
2027
- schemaVersion: "1.0";
2028
- } | undefined;
2029
- } | {
2030
2813
  type: "currency";
2031
2814
  attributes?: {
2032
2815
  label?: string | undefined;
@@ -2039,6 +2822,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2039
2822
  } | undefined;
2040
2823
  meta?: {
2041
2824
  schemaVersion: "1.0";
2825
+ title?: "Currency Field" | undefined;
2826
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
2827
+ defaultJSON?: string | undefined;
2042
2828
  } | undefined;
2043
2829
  } | {
2044
2830
  type: "number";
@@ -2052,6 +2838,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2052
2838
  } | undefined;
2053
2839
  meta?: {
2054
2840
  schemaVersion: "1.0";
2841
+ title?: "Number Field" | undefined;
2842
+ usageDescription?: "For questions that require a single numeric value." | undefined;
2843
+ defaultJSON?: string | undefined;
2055
2844
  } | undefined;
2056
2845
  } | {
2057
2846
  type: "email";
@@ -2066,13 +2855,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2066
2855
  } | undefined;
2067
2856
  meta?: {
2068
2857
  schemaVersion: "1.0";
2858
+ title?: "Email Field" | undefined;
2859
+ usageDescription?: "For questions that require require email address(es)." | undefined;
2860
+ defaultJSON?: string | undefined;
2069
2861
  } | undefined;
2070
2862
  } | {
2071
2863
  type: "textArea";
2072
- meta: {
2073
- schemaVersion: "1.0";
2074
- asRichText?: boolean | undefined;
2075
- };
2076
2864
  attributes?: {
2077
2865
  label?: string | undefined;
2078
2866
  help?: string | undefined;
@@ -2081,6 +2869,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2081
2869
  minLength?: number | undefined;
2082
2870
  cols?: number | undefined;
2083
2871
  rows?: number | undefined;
2872
+ asRichText?: boolean | undefined;
2873
+ } | undefined;
2874
+ meta?: {
2875
+ schemaVersion: "1.0";
2876
+ title?: "Text Area" | undefined;
2877
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
2878
+ defaultJSON?: string | undefined;
2084
2879
  } | undefined;
2085
2880
  } | {
2086
2881
  type: "text";
@@ -2094,6 +2889,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2094
2889
  } | undefined;
2095
2890
  meta?: {
2096
2891
  schemaVersion: "1.0";
2892
+ title?: "Text Field" | undefined;
2893
+ usageDescription?: "For questions that require short, simple answers." | undefined;
2894
+ defaultJSON?: string | undefined;
2097
2895
  } | undefined;
2098
2896
  } | {
2099
2897
  type: "url";
@@ -2107,6 +2905,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2107
2905
  } | undefined;
2108
2906
  meta?: {
2109
2907
  schemaVersion: "1.0";
2908
+ title?: "URL Field" | undefined;
2909
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
2910
+ defaultJSON?: string | undefined;
2110
2911
  } | undefined;
2111
2912
  } | {
2112
2913
  type: "date";
@@ -2120,6 +2921,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2120
2921
  } | undefined;
2121
2922
  meta?: {
2122
2923
  schemaVersion: "1.0";
2924
+ title?: "Date Field" | undefined;
2925
+ usageDescription?: "For questions that require a date." | undefined;
2926
+ defaultJSON?: string | undefined;
2123
2927
  } | undefined;
2124
2928
  } | {
2125
2929
  type: "dateRange";
@@ -2148,6 +2952,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2148
2952
  } | undefined;
2149
2953
  meta?: {
2150
2954
  schemaVersion: "1.0";
2955
+ title?: "Date Range" | undefined;
2956
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
2957
+ defaultJSON?: string | undefined;
2958
+ } | undefined;
2959
+ } | {
2960
+ type: "boolean";
2961
+ attributes?: {
2962
+ label?: string | undefined;
2963
+ help?: string | undefined;
2964
+ labelTranslationKey?: string | undefined;
2965
+ checked?: boolean | undefined;
2966
+ } | undefined;
2967
+ meta?: {
2968
+ schemaVersion: "1.0";
2969
+ title?: "Yes/No Field" | undefined;
2970
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
2971
+ defaultJSON?: string | undefined;
2151
2972
  } | undefined;
2152
2973
  } | {
2153
2974
  options: {
@@ -2163,6 +2984,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2163
2984
  } | undefined;
2164
2985
  meta?: {
2165
2986
  schemaVersion: "1.0";
2987
+ title?: "Check Boxes" | undefined;
2988
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
2989
+ defaultJSON?: string | undefined;
2166
2990
  } | undefined;
2167
2991
  } | {
2168
2992
  options: {
@@ -2178,6 +3002,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2178
3002
  } | undefined;
2179
3003
  meta?: {
2180
3004
  schemaVersion: "1.0";
3005
+ title?: "Radio Buttons" | undefined;
3006
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3007
+ defaultJSON?: string | undefined;
2181
3008
  } | undefined;
2182
3009
  } | {
2183
3010
  options: {
@@ -2186,14 +3013,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2186
3013
  selected?: boolean | undefined;
2187
3014
  }[];
2188
3015
  type: "selectBox";
2189
- attributes?: {
3016
+ attributes: {
3017
+ multiple: false;
2190
3018
  label?: string | undefined;
2191
3019
  help?: string | undefined;
2192
3020
  labelTranslationKey?: string | undefined;
2193
- multiple?: boolean | undefined;
2194
- } | undefined;
3021
+ };
2195
3022
  meta?: {
2196
3023
  schemaVersion: "1.0";
3024
+ title?: "Select Box" | undefined;
3025
+ usageDescription?: "For questions where users select one option from a list." | undefined;
3026
+ defaultJSON?: string | undefined;
2197
3027
  } | undefined;
2198
3028
  } | {
2199
3029
  type: "filteredSearch";
@@ -2223,9 +3053,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2223
3053
  } | undefined;
2224
3054
  meta?: {
2225
3055
  schemaVersion: "1.0";
3056
+ title?: "Not yet implemented" | undefined;
3057
+ usageDescription?: string | undefined;
3058
+ defaultJSON?: string | undefined;
2226
3059
  } | undefined;
2227
3060
  } | {
2228
- type: "typeaheadSearch";
3061
+ type: "affiliationSearch";
3062
+ meta: {
3063
+ schemaVersion: "1.0";
3064
+ title?: "Affiliation Search" | undefined;
3065
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3066
+ defaultJSON?: string | undefined;
3067
+ };
2229
3068
  graphQL: {
2230
3069
  displayFields: {
2231
3070
  label: string;
@@ -2249,24 +3088,10 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2249
3088
  help?: string | undefined;
2250
3089
  labelTranslationKey?: string | undefined;
2251
3090
  } | undefined;
2252
- meta?: {
2253
- schemaVersion: "1.0";
2254
- } | undefined;
2255
3091
  };
2256
3092
  heading?: string | undefined;
2257
3093
  }, {
2258
3094
  content: {
2259
- type: "boolean";
2260
- attributes?: {
2261
- label?: string | undefined;
2262
- help?: string | undefined;
2263
- labelTranslationKey?: string | undefined;
2264
- checked?: boolean | undefined;
2265
- } | undefined;
2266
- meta?: {
2267
- schemaVersion: "1.0";
2268
- } | undefined;
2269
- } | {
2270
3095
  type: "currency";
2271
3096
  attributes?: {
2272
3097
  label?: string | undefined;
@@ -2279,6 +3104,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2279
3104
  } | undefined;
2280
3105
  meta?: {
2281
3106
  schemaVersion: "1.0";
3107
+ title?: "Currency Field" | undefined;
3108
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
3109
+ defaultJSON?: string | undefined;
2282
3110
  } | undefined;
2283
3111
  } | {
2284
3112
  type: "number";
@@ -2292,6 +3120,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2292
3120
  } | undefined;
2293
3121
  meta?: {
2294
3122
  schemaVersion: "1.0";
3123
+ title?: "Number Field" | undefined;
3124
+ usageDescription?: "For questions that require a single numeric value." | undefined;
3125
+ defaultJSON?: string | undefined;
2295
3126
  } | undefined;
2296
3127
  } | {
2297
3128
  type: "email";
@@ -2306,13 +3137,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2306
3137
  } | undefined;
2307
3138
  meta?: {
2308
3139
  schemaVersion: "1.0";
3140
+ title?: "Email Field" | undefined;
3141
+ usageDescription?: "For questions that require require email address(es)." | undefined;
3142
+ defaultJSON?: string | undefined;
2309
3143
  } | undefined;
2310
3144
  } | {
2311
3145
  type: "textArea";
2312
- meta: {
2313
- schemaVersion: "1.0";
2314
- asRichText?: boolean | undefined;
2315
- };
2316
3146
  attributes?: {
2317
3147
  label?: string | undefined;
2318
3148
  help?: string | undefined;
@@ -2321,6 +3151,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2321
3151
  minLength?: number | undefined;
2322
3152
  cols?: number | undefined;
2323
3153
  rows?: number | undefined;
3154
+ asRichText?: boolean | undefined;
3155
+ } | undefined;
3156
+ meta?: {
3157
+ schemaVersion: "1.0";
3158
+ title?: "Text Area" | undefined;
3159
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
3160
+ defaultJSON?: string | undefined;
2324
3161
  } | undefined;
2325
3162
  } | {
2326
3163
  type: "text";
@@ -2334,6 +3171,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2334
3171
  } | undefined;
2335
3172
  meta?: {
2336
3173
  schemaVersion: "1.0";
3174
+ title?: "Text Field" | undefined;
3175
+ usageDescription?: "For questions that require short, simple answers." | undefined;
3176
+ defaultJSON?: string | undefined;
2337
3177
  } | undefined;
2338
3178
  } | {
2339
3179
  type: "url";
@@ -2347,6 +3187,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2347
3187
  } | undefined;
2348
3188
  meta?: {
2349
3189
  schemaVersion: "1.0";
3190
+ title?: "URL Field" | undefined;
3191
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
3192
+ defaultJSON?: string | undefined;
2350
3193
  } | undefined;
2351
3194
  } | {
2352
3195
  type: "date";
@@ -2360,6 +3203,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2360
3203
  } | undefined;
2361
3204
  meta?: {
2362
3205
  schemaVersion: "1.0";
3206
+ title?: "Date Field" | undefined;
3207
+ usageDescription?: "For questions that require a date." | undefined;
3208
+ defaultJSON?: string | undefined;
2363
3209
  } | undefined;
2364
3210
  } | {
2365
3211
  type: "dateRange";
@@ -2388,6 +3234,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2388
3234
  } | undefined;
2389
3235
  meta?: {
2390
3236
  schemaVersion: "1.0";
3237
+ title?: "Date Range" | undefined;
3238
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
3239
+ defaultJSON?: string | undefined;
3240
+ } | undefined;
3241
+ } | {
3242
+ type: "boolean";
3243
+ attributes?: {
3244
+ label?: string | undefined;
3245
+ help?: string | undefined;
3246
+ labelTranslationKey?: string | undefined;
3247
+ checked?: boolean | undefined;
3248
+ } | undefined;
3249
+ meta?: {
3250
+ schemaVersion: "1.0";
3251
+ title?: "Yes/No Field" | undefined;
3252
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
3253
+ defaultJSON?: string | undefined;
2391
3254
  } | undefined;
2392
3255
  } | {
2393
3256
  options: {
@@ -2403,6 +3266,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2403
3266
  } | undefined;
2404
3267
  meta?: {
2405
3268
  schemaVersion: "1.0";
3269
+ title?: "Check Boxes" | undefined;
3270
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
3271
+ defaultJSON?: string | undefined;
2406
3272
  } | undefined;
2407
3273
  } | {
2408
3274
  options: {
@@ -2418,6 +3284,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2418
3284
  } | undefined;
2419
3285
  meta?: {
2420
3286
  schemaVersion: "1.0";
3287
+ title?: "Radio Buttons" | undefined;
3288
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3289
+ defaultJSON?: string | undefined;
2421
3290
  } | undefined;
2422
3291
  } | {
2423
3292
  options: {
@@ -2426,14 +3295,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2426
3295
  selected?: boolean | undefined;
2427
3296
  }[];
2428
3297
  type: "selectBox";
2429
- attributes?: {
3298
+ attributes: {
3299
+ multiple: false;
2430
3300
  label?: string | undefined;
2431
3301
  help?: string | undefined;
2432
3302
  labelTranslationKey?: string | undefined;
2433
- multiple?: boolean | undefined;
2434
- } | undefined;
3303
+ };
2435
3304
  meta?: {
2436
3305
  schemaVersion: "1.0";
3306
+ title?: "Select Box" | undefined;
3307
+ usageDescription?: "For questions where users select one option from a list." | undefined;
3308
+ defaultJSON?: string | undefined;
2437
3309
  } | undefined;
2438
3310
  } | {
2439
3311
  type: "filteredSearch";
@@ -2463,9 +3335,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2463
3335
  } | undefined;
2464
3336
  meta?: {
2465
3337
  schemaVersion: "1.0";
3338
+ title?: "Not yet implemented" | undefined;
3339
+ usageDescription?: string | undefined;
3340
+ defaultJSON?: string | undefined;
2466
3341
  } | undefined;
2467
3342
  } | {
2468
- type: "typeaheadSearch";
3343
+ type: "affiliationSearch";
3344
+ meta: {
3345
+ schemaVersion: "1.0";
3346
+ title?: "Affiliation Search" | undefined;
3347
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3348
+ defaultJSON?: string | undefined;
3349
+ };
2469
3350
  graphQL: {
2470
3351
  displayFields: {
2471
3352
  label: string;
@@ -2489,9 +3370,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2489
3370
  help?: string | undefined;
2490
3371
  labelTranslationKey?: string | undefined;
2491
3372
  } | undefined;
2492
- meta?: {
2493
- schemaVersion: "1.0";
2494
- } | undefined;
2495
3373
  };
2496
3374
  heading?: string | undefined;
2497
3375
  }>, "many">;
@@ -2524,21 +3402,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2524
3402
  maxRows?: number | undefined;
2525
3403
  minRows?: number | undefined;
2526
3404
  }>>;
3405
+ meta: z.ZodOptional<z.ZodObject<{
3406
+ schemaVersion: z.ZodLiteral<"1.0">;
3407
+ } & {
3408
+ title: z.ZodOptional<z.ZodLiteral<"Table">>;
3409
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a tabular format.">>;
3410
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
3411
+ }, "strip", z.ZodTypeAny, {
3412
+ schemaVersion: "1.0";
3413
+ title?: "Table" | undefined;
3414
+ usageDescription?: "For questions that require a tabular format." | undefined;
3415
+ defaultJSON?: string | undefined;
3416
+ }, {
3417
+ schemaVersion: "1.0";
3418
+ title?: "Table" | undefined;
3419
+ usageDescription?: "For questions that require a tabular format." | undefined;
3420
+ defaultJSON?: string | undefined;
3421
+ }>>;
2527
3422
  }, "strip", z.ZodTypeAny, {
2528
3423
  type: "table";
2529
3424
  columns: {
2530
3425
  content: {
2531
- type: "boolean";
2532
- attributes?: {
2533
- label?: string | undefined;
2534
- help?: string | undefined;
2535
- labelTranslationKey?: string | undefined;
2536
- checked?: boolean | undefined;
2537
- } | undefined;
2538
- meta?: {
2539
- schemaVersion: "1.0";
2540
- } | undefined;
2541
- } | {
2542
3426
  type: "currency";
2543
3427
  attributes?: {
2544
3428
  label?: string | undefined;
@@ -2551,6 +3435,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2551
3435
  } | undefined;
2552
3436
  meta?: {
2553
3437
  schemaVersion: "1.0";
3438
+ title?: "Currency Field" | undefined;
3439
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
3440
+ defaultJSON?: string | undefined;
2554
3441
  } | undefined;
2555
3442
  } | {
2556
3443
  type: "number";
@@ -2564,6 +3451,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2564
3451
  } | undefined;
2565
3452
  meta?: {
2566
3453
  schemaVersion: "1.0";
3454
+ title?: "Number Field" | undefined;
3455
+ usageDescription?: "For questions that require a single numeric value." | undefined;
3456
+ defaultJSON?: string | undefined;
2567
3457
  } | undefined;
2568
3458
  } | {
2569
3459
  type: "email";
@@ -2578,13 +3468,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2578
3468
  } | undefined;
2579
3469
  meta?: {
2580
3470
  schemaVersion: "1.0";
3471
+ title?: "Email Field" | undefined;
3472
+ usageDescription?: "For questions that require require email address(es)." | undefined;
3473
+ defaultJSON?: string | undefined;
2581
3474
  } | undefined;
2582
3475
  } | {
2583
3476
  type: "textArea";
2584
- meta: {
2585
- schemaVersion: "1.0";
2586
- asRichText?: boolean | undefined;
2587
- };
2588
3477
  attributes?: {
2589
3478
  label?: string | undefined;
2590
3479
  help?: string | undefined;
@@ -2593,6 +3482,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2593
3482
  minLength?: number | undefined;
2594
3483
  cols?: number | undefined;
2595
3484
  rows?: number | undefined;
3485
+ asRichText?: boolean | undefined;
3486
+ } | undefined;
3487
+ meta?: {
3488
+ schemaVersion: "1.0";
3489
+ title?: "Text Area" | undefined;
3490
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
3491
+ defaultJSON?: string | undefined;
2596
3492
  } | undefined;
2597
3493
  } | {
2598
3494
  type: "text";
@@ -2606,6 +3502,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2606
3502
  } | undefined;
2607
3503
  meta?: {
2608
3504
  schemaVersion: "1.0";
3505
+ title?: "Text Field" | undefined;
3506
+ usageDescription?: "For questions that require short, simple answers." | undefined;
3507
+ defaultJSON?: string | undefined;
2609
3508
  } | undefined;
2610
3509
  } | {
2611
3510
  type: "url";
@@ -2619,6 +3518,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2619
3518
  } | undefined;
2620
3519
  meta?: {
2621
3520
  schemaVersion: "1.0";
3521
+ title?: "URL Field" | undefined;
3522
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
3523
+ defaultJSON?: string | undefined;
2622
3524
  } | undefined;
2623
3525
  } | {
2624
3526
  type: "date";
@@ -2632,6 +3534,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2632
3534
  } | undefined;
2633
3535
  meta?: {
2634
3536
  schemaVersion: "1.0";
3537
+ title?: "Date Field" | undefined;
3538
+ usageDescription?: "For questions that require a date." | undefined;
3539
+ defaultJSON?: string | undefined;
2635
3540
  } | undefined;
2636
3541
  } | {
2637
3542
  type: "dateRange";
@@ -2660,6 +3565,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2660
3565
  } | undefined;
2661
3566
  meta?: {
2662
3567
  schemaVersion: "1.0";
3568
+ title?: "Date Range" | undefined;
3569
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
3570
+ defaultJSON?: string | undefined;
3571
+ } | undefined;
3572
+ } | {
3573
+ type: "boolean";
3574
+ attributes?: {
3575
+ label?: string | undefined;
3576
+ help?: string | undefined;
3577
+ labelTranslationKey?: string | undefined;
3578
+ checked?: boolean | undefined;
3579
+ } | undefined;
3580
+ meta?: {
3581
+ schemaVersion: "1.0";
3582
+ title?: "Yes/No Field" | undefined;
3583
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
3584
+ defaultJSON?: string | undefined;
2663
3585
  } | undefined;
2664
3586
  } | {
2665
3587
  options: {
@@ -2675,6 +3597,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2675
3597
  } | undefined;
2676
3598
  meta?: {
2677
3599
  schemaVersion: "1.0";
3600
+ title?: "Check Boxes" | undefined;
3601
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
3602
+ defaultJSON?: string | undefined;
2678
3603
  } | undefined;
2679
3604
  } | {
2680
3605
  options: {
@@ -2690,6 +3615,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2690
3615
  } | undefined;
2691
3616
  meta?: {
2692
3617
  schemaVersion: "1.0";
3618
+ title?: "Radio Buttons" | undefined;
3619
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3620
+ defaultJSON?: string | undefined;
2693
3621
  } | undefined;
2694
3622
  } | {
2695
3623
  options: {
@@ -2698,14 +3626,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2698
3626
  selected?: boolean | undefined;
2699
3627
  }[];
2700
3628
  type: "selectBox";
2701
- attributes?: {
3629
+ attributes: {
3630
+ multiple: false;
2702
3631
  label?: string | undefined;
2703
3632
  help?: string | undefined;
2704
3633
  labelTranslationKey?: string | undefined;
2705
- multiple?: boolean | undefined;
2706
- } | undefined;
3634
+ };
2707
3635
  meta?: {
2708
3636
  schemaVersion: "1.0";
3637
+ title?: "Select Box" | undefined;
3638
+ usageDescription?: "For questions where users select one option from a list." | undefined;
3639
+ defaultJSON?: string | undefined;
2709
3640
  } | undefined;
2710
3641
  } | {
2711
3642
  type: "filteredSearch";
@@ -2735,9 +3666,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2735
3666
  } | undefined;
2736
3667
  meta?: {
2737
3668
  schemaVersion: "1.0";
3669
+ title?: "Not yet implemented" | undefined;
3670
+ usageDescription?: string | undefined;
3671
+ defaultJSON?: string | undefined;
2738
3672
  } | undefined;
2739
3673
  } | {
2740
- type: "typeaheadSearch";
3674
+ type: "affiliationSearch";
3675
+ meta: {
3676
+ schemaVersion: "1.0";
3677
+ title?: "Affiliation Search" | undefined;
3678
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3679
+ defaultJSON?: string | undefined;
3680
+ };
2741
3681
  graphQL: {
2742
3682
  displayFields: {
2743
3683
  label: string;
@@ -2761,9 +3701,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2761
3701
  help?: string | undefined;
2762
3702
  labelTranslationKey?: string | undefined;
2763
3703
  } | undefined;
2764
- meta?: {
2765
- schemaVersion: "1.0";
2766
- } | undefined;
2767
3704
  };
2768
3705
  heading?: string | undefined;
2769
3706
  }[];
@@ -2779,22 +3716,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2779
3716
  } | undefined;
2780
3717
  meta?: {
2781
3718
  schemaVersion: "1.0";
3719
+ title?: "Table" | undefined;
3720
+ usageDescription?: "For questions that require a tabular format." | undefined;
3721
+ defaultJSON?: string | undefined;
2782
3722
  } | undefined;
2783
3723
  }, {
2784
3724
  type: "table";
2785
3725
  columns: {
2786
3726
  content: {
2787
- type: "boolean";
2788
- attributes?: {
2789
- label?: string | undefined;
2790
- help?: string | undefined;
2791
- labelTranslationKey?: string | undefined;
2792
- checked?: boolean | undefined;
2793
- } | undefined;
2794
- meta?: {
2795
- schemaVersion: "1.0";
2796
- } | undefined;
2797
- } | {
2798
3727
  type: "currency";
2799
3728
  attributes?: {
2800
3729
  label?: string | undefined;
@@ -2807,6 +3736,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2807
3736
  } | undefined;
2808
3737
  meta?: {
2809
3738
  schemaVersion: "1.0";
3739
+ title?: "Currency Field" | undefined;
3740
+ usageDescription?: "For questions that require a monetary amount (e.g. Cost or Budget)." | undefined;
3741
+ defaultJSON?: string | undefined;
2810
3742
  } | undefined;
2811
3743
  } | {
2812
3744
  type: "number";
@@ -2820,6 +3752,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2820
3752
  } | undefined;
2821
3753
  meta?: {
2822
3754
  schemaVersion: "1.0";
3755
+ title?: "Number Field" | undefined;
3756
+ usageDescription?: "For questions that require a single numeric value." | undefined;
3757
+ defaultJSON?: string | undefined;
2823
3758
  } | undefined;
2824
3759
  } | {
2825
3760
  type: "email";
@@ -2834,13 +3769,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2834
3769
  } | undefined;
2835
3770
  meta?: {
2836
3771
  schemaVersion: "1.0";
3772
+ title?: "Email Field" | undefined;
3773
+ usageDescription?: "For questions that require require email address(es)." | undefined;
3774
+ defaultJSON?: string | undefined;
2837
3775
  } | undefined;
2838
3776
  } | {
2839
3777
  type: "textArea";
2840
- meta: {
2841
- schemaVersion: "1.0";
2842
- asRichText?: boolean | undefined;
2843
- };
2844
3778
  attributes?: {
2845
3779
  label?: string | undefined;
2846
3780
  help?: string | undefined;
@@ -2849,6 +3783,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2849
3783
  minLength?: number | undefined;
2850
3784
  cols?: number | undefined;
2851
3785
  rows?: number | undefined;
3786
+ asRichText?: boolean | undefined;
3787
+ } | undefined;
3788
+ meta?: {
3789
+ schemaVersion: "1.0";
3790
+ title?: "Text Area" | undefined;
3791
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
3792
+ defaultJSON?: string | undefined;
2852
3793
  } | undefined;
2853
3794
  } | {
2854
3795
  type: "text";
@@ -2862,6 +3803,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2862
3803
  } | undefined;
2863
3804
  meta?: {
2864
3805
  schemaVersion: "1.0";
3806
+ title?: "Text Field" | undefined;
3807
+ usageDescription?: "For questions that require short, simple answers." | undefined;
3808
+ defaultJSON?: string | undefined;
2865
3809
  } | undefined;
2866
3810
  } | {
2867
3811
  type: "url";
@@ -2875,6 +3819,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2875
3819
  } | undefined;
2876
3820
  meta?: {
2877
3821
  schemaVersion: "1.0";
3822
+ title?: "URL Field" | undefined;
3823
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
3824
+ defaultJSON?: string | undefined;
2878
3825
  } | undefined;
2879
3826
  } | {
2880
3827
  type: "date";
@@ -2888,6 +3835,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2888
3835
  } | undefined;
2889
3836
  meta?: {
2890
3837
  schemaVersion: "1.0";
3838
+ title?: "Date Field" | undefined;
3839
+ usageDescription?: "For questions that require a date." | undefined;
3840
+ defaultJSON?: string | undefined;
2891
3841
  } | undefined;
2892
3842
  } | {
2893
3843
  type: "dateRange";
@@ -2916,6 +3866,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2916
3866
  } | undefined;
2917
3867
  meta?: {
2918
3868
  schemaVersion: "1.0";
3869
+ title?: "Date Range" | undefined;
3870
+ usageDescription?: "For questions that require a date range (e.g. From/To, Start/End)" | undefined;
3871
+ defaultJSON?: string | undefined;
3872
+ } | undefined;
3873
+ } | {
3874
+ type: "boolean";
3875
+ attributes?: {
3876
+ label?: string | undefined;
3877
+ help?: string | undefined;
3878
+ labelTranslationKey?: string | undefined;
3879
+ checked?: boolean | undefined;
3880
+ } | undefined;
3881
+ meta?: {
3882
+ schemaVersion: "1.0";
3883
+ title?: "Yes/No Field" | undefined;
3884
+ usageDescription?: "For questions that require a simple Yes/No response." | undefined;
3885
+ defaultJSON?: string | undefined;
2919
3886
  } | undefined;
2920
3887
  } | {
2921
3888
  options: {
@@ -2931,6 +3898,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2931
3898
  } | undefined;
2932
3899
  meta?: {
2933
3900
  schemaVersion: "1.0";
3901
+ title?: "Check Boxes" | undefined;
3902
+ usageDescription?: "For multiple choice questions where users can select multiple options." | undefined;
3903
+ defaultJSON?: string | undefined;
2934
3904
  } | undefined;
2935
3905
  } | {
2936
3906
  options: {
@@ -2946,6 +3916,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2946
3916
  } | undefined;
2947
3917
  meta?: {
2948
3918
  schemaVersion: "1.0";
3919
+ title?: "Radio Buttons" | undefined;
3920
+ usageDescription?: "For multiple choice questions where users select just one option." | undefined;
3921
+ defaultJSON?: string | undefined;
2949
3922
  } | undefined;
2950
3923
  } | {
2951
3924
  options: {
@@ -2954,14 +3927,17 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2954
3927
  selected?: boolean | undefined;
2955
3928
  }[];
2956
3929
  type: "selectBox";
2957
- attributes?: {
3930
+ attributes: {
3931
+ multiple: false;
2958
3932
  label?: string | undefined;
2959
3933
  help?: string | undefined;
2960
3934
  labelTranslationKey?: string | undefined;
2961
- multiple?: boolean | undefined;
2962
- } | undefined;
3935
+ };
2963
3936
  meta?: {
2964
3937
  schemaVersion: "1.0";
3938
+ title?: "Select Box" | undefined;
3939
+ usageDescription?: "For questions where users select one option from a list." | undefined;
3940
+ defaultJSON?: string | undefined;
2965
3941
  } | undefined;
2966
3942
  } | {
2967
3943
  type: "filteredSearch";
@@ -2991,9 +3967,18 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2991
3967
  } | undefined;
2992
3968
  meta?: {
2993
3969
  schemaVersion: "1.0";
3970
+ title?: "Not yet implemented" | undefined;
3971
+ usageDescription?: string | undefined;
3972
+ defaultJSON?: string | undefined;
2994
3973
  } | undefined;
2995
3974
  } | {
2996
- type: "typeaheadSearch";
3975
+ type: "affiliationSearch";
3976
+ meta: {
3977
+ schemaVersion: "1.0";
3978
+ title?: "Affiliation Search" | undefined;
3979
+ usageDescription?: "For questions that require the user to select from a controlled list of institutions." | undefined;
3980
+ defaultJSON?: string | undefined;
3981
+ };
2997
3982
  graphQL: {
2998
3983
  displayFields: {
2999
3984
  label: string;
@@ -3017,9 +4002,6 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3017
4002
  help?: string | undefined;
3018
4003
  labelTranslationKey?: string | undefined;
3019
4004
  } | undefined;
3020
- meta?: {
3021
- schemaVersion: "1.0";
3022
- } | undefined;
3023
4005
  };
3024
4006
  heading?: string | undefined;
3025
4007
  }[];
@@ -3035,6 +4017,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3035
4017
  } | undefined;
3036
4018
  meta?: {
3037
4019
  schemaVersion: "1.0";
4020
+ title?: "Table" | undefined;
4021
+ usageDescription?: "For questions that require a tabular format." | undefined;
4022
+ defaultJSON?: string | undefined;
3038
4023
  } | undefined;
3039
4024
  }>, z.ZodObject<{} & {
3040
4025
  type: z.ZodLiteral<"textArea">;
@@ -3047,6 +4032,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3047
4032
  maxLength: z.ZodOptional<z.ZodNumber>;
3048
4033
  minLength: z.ZodOptional<z.ZodNumber>;
3049
4034
  rows: z.ZodOptional<z.ZodNumber>;
4035
+ asRichText: z.ZodOptional<z.ZodBoolean>;
3050
4036
  }, "strip", z.ZodTypeAny, {
3051
4037
  label?: string | undefined;
3052
4038
  help?: string | undefined;
@@ -3055,6 +4041,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3055
4041
  minLength?: number | undefined;
3056
4042
  cols?: number | undefined;
3057
4043
  rows?: number | undefined;
4044
+ asRichText?: boolean | undefined;
3058
4045
  }, {
3059
4046
  label?: string | undefined;
3060
4047
  help?: string | undefined;
@@ -3063,24 +4050,27 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3063
4050
  minLength?: number | undefined;
3064
4051
  cols?: number | undefined;
3065
4052
  rows?: number | undefined;
4053
+ asRichText?: boolean | undefined;
3066
4054
  }>>;
3067
- meta: z.ZodObject<{
4055
+ meta: z.ZodOptional<z.ZodObject<{
3068
4056
  schemaVersion: z.ZodLiteral<"1.0">;
3069
4057
  } & {
3070
- asRichText: z.ZodOptional<z.ZodBoolean>;
4058
+ title: z.ZodOptional<z.ZodLiteral<"Text Area">>;
4059
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require longer answers, you can select formatting options too.">>;
4060
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
3071
4061
  }, "strip", z.ZodTypeAny, {
3072
4062
  schemaVersion: "1.0";
3073
- asRichText?: boolean | undefined;
4063
+ title?: "Text Area" | undefined;
4064
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4065
+ defaultJSON?: string | undefined;
3074
4066
  }, {
3075
4067
  schemaVersion: "1.0";
3076
- asRichText?: boolean | undefined;
3077
- }>;
4068
+ title?: "Text Area" | undefined;
4069
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4070
+ defaultJSON?: string | undefined;
4071
+ }>>;
3078
4072
  }, "strip", z.ZodTypeAny, {
3079
4073
  type: "textArea";
3080
- meta: {
3081
- schemaVersion: "1.0";
3082
- asRichText?: boolean | undefined;
3083
- };
3084
4074
  attributes?: {
3085
4075
  label?: string | undefined;
3086
4076
  help?: string | undefined;
@@ -3089,13 +4079,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3089
4079
  minLength?: number | undefined;
3090
4080
  cols?: number | undefined;
3091
4081
  rows?: number | undefined;
4082
+ asRichText?: boolean | undefined;
4083
+ } | undefined;
4084
+ meta?: {
4085
+ schemaVersion: "1.0";
4086
+ title?: "Text Area" | undefined;
4087
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4088
+ defaultJSON?: string | undefined;
3092
4089
  } | undefined;
3093
4090
  }, {
3094
4091
  type: "textArea";
3095
- meta: {
3096
- schemaVersion: "1.0";
3097
- asRichText?: boolean | undefined;
3098
- };
3099
4092
  attributes?: {
3100
4093
  label?: string | undefined;
3101
4094
  help?: string | undefined;
@@ -3104,16 +4097,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3104
4097
  minLength?: number | undefined;
3105
4098
  cols?: number | undefined;
3106
4099
  rows?: number | undefined;
4100
+ asRichText?: boolean | undefined;
3107
4101
  } | undefined;
3108
- }>, z.ZodObject<{
3109
- meta: z.ZodOptional<z.ZodObject<{
3110
- schemaVersion: z.ZodLiteral<"1.0">;
3111
- }, "strip", z.ZodTypeAny, {
3112
- schemaVersion: "1.0";
3113
- }, {
4102
+ meta?: {
3114
4103
  schemaVersion: "1.0";
3115
- }>>;
3116
- } & {
4104
+ title?: "Text Area" | undefined;
4105
+ usageDescription?: "For questions that require longer answers, you can select formatting options too." | undefined;
4106
+ defaultJSON?: string | undefined;
4107
+ } | undefined;
4108
+ }>, z.ZodObject<{} & {
3117
4109
  type: z.ZodLiteral<"text">;
3118
4110
  attributes: z.ZodOptional<z.ZodObject<{
3119
4111
  label: z.ZodOptional<z.ZodString>;
@@ -3138,6 +4130,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3138
4130
  minLength?: number | undefined;
3139
4131
  pattern?: string | undefined;
3140
4132
  }>>;
4133
+ meta: z.ZodOptional<z.ZodObject<{
4134
+ schemaVersion: z.ZodLiteral<"1.0">;
4135
+ } & {
4136
+ title: z.ZodOptional<z.ZodLiteral<"Text Field">>;
4137
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require short, simple answers.">>;
4138
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
4139
+ }, "strip", z.ZodTypeAny, {
4140
+ schemaVersion: "1.0";
4141
+ title?: "Text Field" | undefined;
4142
+ usageDescription?: "For questions that require short, simple answers." | undefined;
4143
+ defaultJSON?: string | undefined;
4144
+ }, {
4145
+ schemaVersion: "1.0";
4146
+ title?: "Text Field" | undefined;
4147
+ usageDescription?: "For questions that require short, simple answers." | undefined;
4148
+ defaultJSON?: string | undefined;
4149
+ }>>;
3141
4150
  }, "strip", z.ZodTypeAny, {
3142
4151
  type: "text";
3143
4152
  attributes?: {
@@ -3150,6 +4159,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3150
4159
  } | undefined;
3151
4160
  meta?: {
3152
4161
  schemaVersion: "1.0";
4162
+ title?: "Text Field" | undefined;
4163
+ usageDescription?: "For questions that require short, simple answers." | undefined;
4164
+ defaultJSON?: string | undefined;
3153
4165
  } | undefined;
3154
4166
  }, {
3155
4167
  type: "text";
@@ -3163,169 +4175,11 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3163
4175
  } | undefined;
3164
4176
  meta?: {
3165
4177
  schemaVersion: "1.0";
4178
+ title?: "Text Field" | undefined;
4179
+ usageDescription?: "For questions that require short, simple answers." | undefined;
4180
+ defaultJSON?: string | undefined;
3166
4181
  } | undefined;
3167
- }>, z.ZodObject<{
3168
- attributes: z.ZodOptional<z.ZodObject<{
3169
- label: z.ZodOptional<z.ZodString>;
3170
- help: z.ZodOptional<z.ZodString>;
3171
- labelTranslationKey: z.ZodOptional<z.ZodString>;
3172
- }, "strip", z.ZodTypeAny, {
3173
- label?: string | undefined;
3174
- help?: string | undefined;
3175
- labelTranslationKey?: string | undefined;
3176
- }, {
3177
- label?: string | undefined;
3178
- help?: string | undefined;
3179
- labelTranslationKey?: string | undefined;
3180
- }>>;
3181
- meta: z.ZodOptional<z.ZodObject<{
3182
- schemaVersion: z.ZodLiteral<"1.0">;
3183
- }, "strip", z.ZodTypeAny, {
3184
- schemaVersion: "1.0";
3185
- }, {
3186
- schemaVersion: "1.0";
3187
- }>>;
3188
- } & {
3189
- type: z.ZodLiteral<"typeaheadSearch">;
3190
- graphQL: z.ZodObject<{
3191
- displayFields: z.ZodArray<z.ZodObject<{
3192
- propertyName: z.ZodString;
3193
- label: z.ZodString;
3194
- labelTranslationKey: z.ZodOptional<z.ZodString>;
3195
- }, "strip", z.ZodTypeAny, {
3196
- label: string;
3197
- propertyName: string;
3198
- labelTranslationKey?: string | undefined;
3199
- }, {
3200
- label: string;
3201
- propertyName: string;
3202
- labelTranslationKey?: string | undefined;
3203
- }>, "many">;
3204
- localQueryId: z.ZodOptional<z.ZodString>;
3205
- query: z.ZodOptional<z.ZodString>;
3206
- responseField: z.ZodString;
3207
- variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
3208
- minLength: z.ZodOptional<z.ZodNumber>;
3209
- label: z.ZodOptional<z.ZodString>;
3210
- labelTranslationKey: z.ZodOptional<z.ZodString>;
3211
- name: z.ZodString;
3212
- type: z.ZodString;
3213
- defaultValue: z.ZodOptional<z.ZodString>;
3214
- }, "strip", z.ZodTypeAny, {
3215
- type: string;
3216
- name: string;
3217
- label?: string | undefined;
3218
- labelTranslationKey?: string | undefined;
3219
- minLength?: number | undefined;
3220
- defaultValue?: string | undefined;
3221
- }, {
3222
- type: string;
3223
- name: string;
3224
- label?: string | undefined;
3225
- labelTranslationKey?: string | undefined;
3226
- minLength?: number | undefined;
3227
- defaultValue?: string | undefined;
3228
- }>, "many">>;
3229
- }, "strip", z.ZodTypeAny, {
3230
- displayFields: {
3231
- label: string;
3232
- propertyName: string;
3233
- labelTranslationKey?: string | undefined;
3234
- }[];
3235
- responseField: string;
3236
- localQueryId?: string | undefined;
3237
- query?: string | undefined;
3238
- variables?: {
3239
- type: string;
3240
- name: string;
3241
- label?: string | undefined;
3242
- labelTranslationKey?: string | undefined;
3243
- minLength?: number | undefined;
3244
- defaultValue?: string | undefined;
3245
- }[] | undefined;
3246
- }, {
3247
- displayFields: {
3248
- label: string;
3249
- propertyName: string;
3250
- labelTranslationKey?: string | undefined;
3251
- }[];
3252
- responseField: string;
3253
- localQueryId?: string | undefined;
3254
- query?: string | undefined;
3255
- variables?: {
3256
- type: string;
3257
- name: string;
3258
- label?: string | undefined;
3259
- labelTranslationKey?: string | undefined;
3260
- minLength?: number | undefined;
3261
- defaultValue?: string | undefined;
3262
- }[] | undefined;
3263
- }>;
3264
- }, "strip", z.ZodTypeAny, {
3265
- type: "typeaheadSearch";
3266
- graphQL: {
3267
- displayFields: {
3268
- label: string;
3269
- propertyName: string;
3270
- labelTranslationKey?: string | undefined;
3271
- }[];
3272
- responseField: string;
3273
- localQueryId?: string | undefined;
3274
- query?: string | undefined;
3275
- variables?: {
3276
- type: string;
3277
- name: string;
3278
- label?: string | undefined;
3279
- labelTranslationKey?: string | undefined;
3280
- minLength?: number | undefined;
3281
- defaultValue?: string | undefined;
3282
- }[] | undefined;
3283
- };
3284
- attributes?: {
3285
- label?: string | undefined;
3286
- help?: string | undefined;
3287
- labelTranslationKey?: string | undefined;
3288
- } | undefined;
3289
- meta?: {
3290
- schemaVersion: "1.0";
3291
- } | undefined;
3292
- }, {
3293
- type: "typeaheadSearch";
3294
- graphQL: {
3295
- displayFields: {
3296
- label: string;
3297
- propertyName: string;
3298
- labelTranslationKey?: string | undefined;
3299
- }[];
3300
- responseField: string;
3301
- localQueryId?: string | undefined;
3302
- query?: string | undefined;
3303
- variables?: {
3304
- type: string;
3305
- name: string;
3306
- label?: string | undefined;
3307
- labelTranslationKey?: string | undefined;
3308
- minLength?: number | undefined;
3309
- defaultValue?: string | undefined;
3310
- }[] | undefined;
3311
- };
3312
- attributes?: {
3313
- label?: string | undefined;
3314
- help?: string | undefined;
3315
- labelTranslationKey?: string | undefined;
3316
- } | undefined;
3317
- meta?: {
3318
- schemaVersion: "1.0";
3319
- } | undefined;
3320
- }>, z.ZodObject<{
3321
- meta: z.ZodOptional<z.ZodObject<{
3322
- schemaVersion: z.ZodLiteral<"1.0">;
3323
- }, "strip", z.ZodTypeAny, {
3324
- schemaVersion: "1.0";
3325
- }, {
3326
- schemaVersion: "1.0";
3327
- }>>;
3328
- } & {
4182
+ }>, z.ZodObject<{} & {
3329
4183
  type: z.ZodLiteral<"url">;
3330
4184
  attributes: z.ZodOptional<z.ZodObject<{
3331
4185
  label: z.ZodOptional<z.ZodString>;
@@ -3350,6 +4204,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3350
4204
  minLength?: number | undefined;
3351
4205
  pattern?: string | undefined;
3352
4206
  }>>;
4207
+ meta: z.ZodOptional<z.ZodObject<{
4208
+ schemaVersion: z.ZodLiteral<"1.0">;
4209
+ } & {
4210
+ title: z.ZodOptional<z.ZodLiteral<"URL Field">>;
4211
+ usageDescription: z.ZodOptional<z.ZodLiteral<"For questions that require a website, DOI or other URL.">>;
4212
+ defaultJSON: z.ZodOptional<z.ZodLiteral<string>>;
4213
+ }, "strip", z.ZodTypeAny, {
4214
+ schemaVersion: "1.0";
4215
+ title?: "URL Field" | undefined;
4216
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4217
+ defaultJSON?: string | undefined;
4218
+ }, {
4219
+ schemaVersion: "1.0";
4220
+ title?: "URL Field" | undefined;
4221
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4222
+ defaultJSON?: string | undefined;
4223
+ }>>;
3353
4224
  }, "strip", z.ZodTypeAny, {
3354
4225
  type: "url";
3355
4226
  attributes?: {
@@ -3362,6 +4233,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3362
4233
  } | undefined;
3363
4234
  meta?: {
3364
4235
  schemaVersion: "1.0";
4236
+ title?: "URL Field" | undefined;
4237
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4238
+ defaultJSON?: string | undefined;
3365
4239
  } | undefined;
3366
4240
  }, {
3367
4241
  type: "url";
@@ -3375,10 +4249,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
3375
4249
  } | undefined;
3376
4250
  meta?: {
3377
4251
  schemaVersion: "1.0";
4252
+ title?: "URL Field" | undefined;
4253
+ usageDescription?: "For questions that require a website, DOI or other URL." | undefined;
4254
+ defaultJSON?: string | undefined;
3378
4255
  } | undefined;
3379
4256
  }>]>;
3380
4257
  export declare const QuestionSchemaMap: Record<z.infer<typeof QuestionTypesEnum>, z.ZodTypeAny>;
3381
4258
  export interface QuestionTypeMap {
4259
+ affiliationSearch: AffiliationSearchQuestionType;
3382
4260
  boolean: BooleanQuestionType;
3383
4261
  checkBoxes: CheckboxesQuestionType;
3384
4262
  currency: CurrencyQuestionType;
@@ -3386,6 +4264,7 @@ export interface QuestionTypeMap {
3386
4264
  dateRange: DateRangeQuestionType;
3387
4265
  email: EmailQuestionType;
3388
4266
  filteredSearch: FilteredSearchQuestionType;
4267
+ multiselectBox: MultiselectBoxQuestionType;
3389
4268
  number: NumberQuestionType;
3390
4269
  numberRange: NumberRangeQuestionType;
3391
4270
  radioButtons: RadioButtonsQuestionType;
@@ -3393,7 +4272,6 @@ export interface QuestionTypeMap {
3393
4272
  table: TableQuestionType;
3394
4273
  text: TextQuestionType;
3395
4274
  textArea: TextAreaQuestionType;
3396
- typeaheadSearch: TypeaheadSearchQuestionType;
3397
4275
  url: URLQuestionType;
3398
4276
  }
3399
4277
  export type AnyQuestionType = z.infer<typeof AnyQuestionSchema>;