@adrekic/zod-fieldsjson 0.0.2-schema-improvements.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/conditions/base.d.ts +1 -1
  2. package/dist/conditions/boolean.d.ts +31 -5
  3. package/dist/conditions/checkbox-list.d.ts +79 -5
  4. package/dist/conditions/date.d.ts +115 -7
  5. package/dist/conditions/index.d.ts +443 -47
  6. package/dist/conditions/multi-select.d.ts +79 -5
  7. package/dist/conditions/multi-string.d.ts +79 -5
  8. package/dist/conditions/number.d.ts +147 -7
  9. package/dist/conditions/otp.d.ts +63 -5
  10. package/dist/conditions/pass-fail.d.ts +64 -6
  11. package/dist/conditions/radio.d.ts +64 -6
  12. package/dist/conditions/rating.d.ts +147 -7
  13. package/dist/conditions/scan.d.ts +63 -5
  14. package/dist/conditions/select.d.ts +64 -6
  15. package/dist/conditions/string.d.ts +63 -5
  16. package/dist/conditions/text.d.ts +63 -5
  17. package/dist/conditions/time.d.ts +115 -7
  18. package/dist/conditions/upload.d.ts +31 -5
  19. package/dist/conditions/url.d.ts +63 -5
  20. package/dist/elements/base.d.ts +1 -1
  21. package/dist/elements/index.d.ts +494 -98
  22. package/dist/elements/section.d.ts +912 -120
  23. package/dist/fields/base.d.ts +5 -5
  24. package/dist/fields/boolean.d.ts +1 -1
  25. package/dist/fields/checkbox-list.d.ts +1 -1
  26. package/dist/fields/date.d.ts +1 -1
  27. package/dist/fields/index.d.ts +25 -25
  28. package/dist/fields/multi-select.d.ts +1 -1
  29. package/dist/fields/multi-string.d.ts +3 -3
  30. package/dist/fields/number.d.ts +1 -1
  31. package/dist/fields/otp.d.ts +1 -1
  32. package/dist/fields/pass-fail.d.ts +1 -1
  33. package/dist/fields/radio.d.ts +1 -1
  34. package/dist/fields/rating.d.ts +1 -1
  35. package/dist/fields/scan.d.ts +1 -1
  36. package/dist/fields/select.d.ts +1 -1
  37. package/dist/fields/string.d.ts +3 -3
  38. package/dist/fields/text.d.ts +3 -3
  39. package/dist/fields/time.d.ts +1 -1
  40. package/dist/fields/upload.d.ts +3 -3
  41. package/dist/fields/url.d.ts +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.js +347 -257
  44. package/dist/schema.d.ts +469 -73
  45. package/package.json +3 -3
@@ -6,138 +6,534 @@ export type JSONFieldElementTypeSchemaType = z.infer<typeof JSONFieldElementType
6
6
  export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
7
  label: z.ZodOptional<z.ZodString>;
8
8
  description: z.ZodOptional<z.ZodString>;
9
- conditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9
+ conditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
10
10
  id: z.ZodString;
11
11
  type: z.ZodLiteral<"boolean">;
12
- fieldId: z.ZodString;
12
+ field: z.ZodString;
13
13
  value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
14
- modifier: z.ZodLiteral<"equals" | "notEquals">;
14
+ modifier: z.ZodLiteral<"equals">;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ id: z.ZodString;
17
+ type: z.ZodLiteral<"boolean">;
18
+ field: z.ZodString;
19
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
20
+ modifier: z.ZodLiteral<"notEquals">;
21
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
22
+ id: z.ZodString;
23
+ type: z.ZodLiteral<"checkbox-list">;
24
+ field: z.ZodString;
25
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
26
+ modifier: z.ZodLiteral<"equals">;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ id: z.ZodString;
29
+ type: z.ZodLiteral<"checkbox-list">;
30
+ field: z.ZodString;
31
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
32
+ modifier: z.ZodLiteral<"notEquals">;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ id: z.ZodString;
35
+ type: z.ZodLiteral<"checkbox-list">;
36
+ field: z.ZodString;
37
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
38
+ modifier: z.ZodLiteral<"every">;
15
39
  }, z.core.$strip>, z.ZodObject<{
16
40
  id: z.ZodString;
17
41
  type: z.ZodLiteral<"checkbox-list">;
18
- fieldId: z.ZodString;
42
+ field: z.ZodString;
19
43
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
20
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
44
+ modifier: z.ZodLiteral<"some">;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ id: z.ZodString;
47
+ type: z.ZodLiteral<"checkbox-list">;
48
+ field: z.ZodString;
49
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
50
+ modifier: z.ZodLiteral<"none">;
51
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
52
+ id: z.ZodString;
53
+ type: z.ZodLiteral<"date">;
54
+ field: z.ZodString;
55
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
56
+ modifier: z.ZodLiteral<"equals">;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ id: z.ZodString;
59
+ type: z.ZodLiteral<"date">;
60
+ field: z.ZodString;
61
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
62
+ modifier: z.ZodLiteral<"notEquals">;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ id: z.ZodString;
65
+ type: z.ZodLiteral<"date">;
66
+ field: z.ZodString;
67
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
68
+ modifier: z.ZodLiteral<"before">;
69
+ }, z.core.$strip>, z.ZodObject<{
70
+ id: z.ZodString;
71
+ type: z.ZodLiteral<"date">;
72
+ field: z.ZodString;
73
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
74
+ modifier: z.ZodLiteral<"after">;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ id: z.ZodString;
77
+ type: z.ZodLiteral<"date">;
78
+ field: z.ZodString;
79
+ value: z.ZodType<{
80
+ from: string | null;
81
+ to: string | null;
82
+ }, unknown, z.core.$ZodTypeInternals<{
83
+ from: string | null;
84
+ to: string | null;
85
+ }, unknown>>;
86
+ modifier: z.ZodLiteral<"in">;
21
87
  }, z.core.$strip>, z.ZodObject<{
22
88
  id: z.ZodString;
23
89
  type: z.ZodLiteral<"date">;
24
- fieldId: z.ZodString;
25
- value: z.ZodType<string | {
90
+ field: z.ZodString;
91
+ value: z.ZodType<{
26
92
  from: string | null;
27
93
  to: string | null;
28
- }, unknown, z.core.$ZodTypeInternals<string | {
94
+ }, unknown, z.core.$ZodTypeInternals<{
29
95
  from: string | null;
30
96
  to: string | null;
31
97
  }, unknown>>;
32
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
98
+ modifier: z.ZodLiteral<"notIn">;
99
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
100
+ id: z.ZodString;
101
+ type: z.ZodLiteral<"multi-select">;
102
+ field: z.ZodString;
103
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
104
+ modifier: z.ZodLiteral<"equals">;
33
105
  }, z.core.$strip>, z.ZodObject<{
34
106
  id: z.ZodString;
35
107
  type: z.ZodLiteral<"multi-select">;
36
- fieldId: z.ZodString;
108
+ field: z.ZodString;
109
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
110
+ modifier: z.ZodLiteral<"notEquals">;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ id: z.ZodString;
113
+ type: z.ZodLiteral<"multi-select">;
114
+ field: z.ZodString;
115
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
116
+ modifier: z.ZodLiteral<"every">;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ id: z.ZodString;
119
+ type: z.ZodLiteral<"multi-select">;
120
+ field: z.ZodString;
121
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
122
+ modifier: z.ZodLiteral<"some">;
123
+ }, z.core.$strip>, z.ZodObject<{
124
+ id: z.ZodString;
125
+ type: z.ZodLiteral<"multi-select">;
126
+ field: z.ZodString;
127
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
128
+ modifier: z.ZodLiteral<"none">;
129
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
130
+ id: z.ZodString;
131
+ type: z.ZodLiteral<"multi-string">;
132
+ field: z.ZodString;
133
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
134
+ modifier: z.ZodLiteral<"equals">;
135
+ }, z.core.$strip>, z.ZodObject<{
136
+ id: z.ZodString;
137
+ type: z.ZodLiteral<"multi-string">;
138
+ field: z.ZodString;
139
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
140
+ modifier: z.ZodLiteral<"notEquals">;
141
+ }, z.core.$strip>, z.ZodObject<{
142
+ id: z.ZodString;
143
+ type: z.ZodLiteral<"multi-string">;
144
+ field: z.ZodString;
145
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
146
+ modifier: z.ZodLiteral<"every">;
147
+ }, z.core.$strip>, z.ZodObject<{
148
+ id: z.ZodString;
149
+ type: z.ZodLiteral<"multi-string">;
150
+ field: z.ZodString;
37
151
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
38
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
152
+ modifier: z.ZodLiteral<"some">;
39
153
  }, z.core.$strip>, z.ZodObject<{
40
154
  id: z.ZodString;
41
155
  type: z.ZodLiteral<"multi-string">;
42
- fieldId: z.ZodString;
156
+ field: z.ZodString;
43
157
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
44
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
158
+ modifier: z.ZodLiteral<"none">;
159
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
160
+ id: z.ZodString;
161
+ type: z.ZodLiteral<"number">;
162
+ field: z.ZodString;
163
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
164
+ modifier: z.ZodLiteral<"equals">;
165
+ }, z.core.$strip>, z.ZodObject<{
166
+ id: z.ZodString;
167
+ type: z.ZodLiteral<"number">;
168
+ field: z.ZodString;
169
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
170
+ modifier: z.ZodLiteral<"notEquals">;
171
+ }, z.core.$strip>, z.ZodObject<{
172
+ id: z.ZodString;
173
+ type: z.ZodLiteral<"number">;
174
+ field: z.ZodString;
175
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
176
+ modifier: z.ZodLiteral<"lessThan">;
177
+ }, z.core.$strip>, z.ZodObject<{
178
+ id: z.ZodString;
179
+ type: z.ZodLiteral<"number">;
180
+ field: z.ZodString;
181
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
182
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
183
+ }, z.core.$strip>, z.ZodObject<{
184
+ id: z.ZodString;
185
+ type: z.ZodLiteral<"number">;
186
+ field: z.ZodString;
187
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
188
+ modifier: z.ZodLiteral<"greaterThan">;
189
+ }, z.core.$strip>, z.ZodObject<{
190
+ id: z.ZodString;
191
+ type: z.ZodLiteral<"number">;
192
+ field: z.ZodString;
193
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
194
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
195
+ }, z.core.$strip>, z.ZodObject<{
196
+ id: z.ZodString;
197
+ type: z.ZodLiteral<"number">;
198
+ field: z.ZodString;
199
+ value: z.ZodType<{
200
+ from: number | null;
201
+ to: number | null;
202
+ }, unknown, z.core.$ZodTypeInternals<{
203
+ from: number | null;
204
+ to: number | null;
205
+ }, unknown>>;
206
+ modifier: z.ZodLiteral<"inRange">;
45
207
  }, z.core.$strip>, z.ZodObject<{
46
208
  id: z.ZodString;
47
209
  type: z.ZodLiteral<"number">;
48
- fieldId: z.ZodString;
49
- value: z.ZodType<number | {
210
+ field: z.ZodString;
211
+ value: z.ZodType<{
50
212
  from: number | null;
51
213
  to: number | null;
52
- }, unknown, z.core.$ZodTypeInternals<number | {
214
+ }, unknown, z.core.$ZodTypeInternals<{
53
215
  from: number | null;
54
216
  to: number | null;
55
217
  }, unknown>>;
56
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
218
+ modifier: z.ZodLiteral<"notInRange">;
219
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
220
+ id: z.ZodString;
221
+ type: z.ZodLiteral<"otp">;
222
+ field: z.ZodString;
223
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
224
+ modifier: z.ZodLiteral<"equals">;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ id: z.ZodString;
227
+ type: z.ZodLiteral<"otp">;
228
+ field: z.ZodString;
229
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
230
+ modifier: z.ZodLiteral<"notEquals">;
57
231
  }, z.core.$strip>, z.ZodObject<{
58
232
  id: z.ZodString;
59
233
  type: z.ZodLiteral<"otp">;
60
- fieldId: z.ZodString;
234
+ field: z.ZodString;
61
235
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
62
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
236
+ modifier: z.ZodLiteral<"includes">;
63
237
  }, z.core.$strip>, z.ZodObject<{
238
+ id: z.ZodString;
239
+ type: z.ZodLiteral<"otp">;
240
+ field: z.ZodString;
241
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
242
+ modifier: z.ZodLiteral<"excludes">;
243
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
64
244
  id: z.ZodString;
65
245
  type: z.ZodLiteral<"pass-fail">;
66
- fieldId: z.ZodString;
67
- value: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
68
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
246
+ field: z.ZodString;
247
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
248
+ modifier: z.ZodLiteral<"equals">;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ id: z.ZodString;
251
+ type: z.ZodLiteral<"pass-fail">;
252
+ field: z.ZodString;
253
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
254
+ modifier: z.ZodLiteral<"notEquals">;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ id: z.ZodString;
257
+ type: z.ZodLiteral<"pass-fail">;
258
+ field: z.ZodString;
259
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
260
+ modifier: z.ZodLiteral<"includes">;
261
+ }, z.core.$strip>, z.ZodObject<{
262
+ id: z.ZodString;
263
+ type: z.ZodLiteral<"pass-fail">;
264
+ field: z.ZodString;
265
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
266
+ modifier: z.ZodLiteral<"excludes">;
267
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
268
+ id: z.ZodString;
269
+ type: z.ZodLiteral<"radio">;
270
+ field: z.ZodString;
271
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
272
+ modifier: z.ZodLiteral<"equals">;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ id: z.ZodString;
275
+ type: z.ZodLiteral<"radio">;
276
+ field: z.ZodString;
277
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
278
+ modifier: z.ZodLiteral<"notEquals">;
279
+ }, z.core.$strip>, z.ZodObject<{
280
+ id: z.ZodString;
281
+ type: z.ZodLiteral<"radio">;
282
+ field: z.ZodString;
283
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
284
+ modifier: z.ZodLiteral<"includes">;
69
285
  }, z.core.$strip>, z.ZodObject<{
70
286
  id: z.ZodString;
71
287
  type: z.ZodLiteral<"radio">;
72
- fieldId: z.ZodString;
73
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
74
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
288
+ field: z.ZodString;
289
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
290
+ modifier: z.ZodLiteral<"excludes">;
291
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
292
+ id: z.ZodString;
293
+ type: z.ZodLiteral<"rating">;
294
+ field: z.ZodString;
295
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
296
+ modifier: z.ZodLiteral<"equals">;
297
+ }, z.core.$strip>, z.ZodObject<{
298
+ id: z.ZodString;
299
+ type: z.ZodLiteral<"rating">;
300
+ field: z.ZodString;
301
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
302
+ modifier: z.ZodLiteral<"notEquals">;
303
+ }, z.core.$strip>, z.ZodObject<{
304
+ id: z.ZodString;
305
+ type: z.ZodLiteral<"rating">;
306
+ field: z.ZodString;
307
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
308
+ modifier: z.ZodLiteral<"lessThan">;
75
309
  }, z.core.$strip>, z.ZodObject<{
76
310
  id: z.ZodString;
77
311
  type: z.ZodLiteral<"rating">;
78
- fieldId: z.ZodString;
79
- value: z.ZodType<number | {
312
+ field: z.ZodString;
313
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
314
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
315
+ }, z.core.$strip>, z.ZodObject<{
316
+ id: z.ZodString;
317
+ type: z.ZodLiteral<"rating">;
318
+ field: z.ZodString;
319
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
320
+ modifier: z.ZodLiteral<"greaterThan">;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ id: z.ZodString;
323
+ type: z.ZodLiteral<"rating">;
324
+ field: z.ZodString;
325
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
326
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ id: z.ZodString;
329
+ type: z.ZodLiteral<"rating">;
330
+ field: z.ZodString;
331
+ value: z.ZodType<{
80
332
  from: number | null;
81
333
  to: number | null;
82
- }, unknown, z.core.$ZodTypeInternals<number | {
334
+ }, unknown, z.core.$ZodTypeInternals<{
83
335
  from: number | null;
84
336
  to: number | null;
85
337
  }, unknown>>;
86
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
338
+ modifier: z.ZodLiteral<"inRange">;
339
+ }, z.core.$strip>, z.ZodObject<{
340
+ id: z.ZodString;
341
+ type: z.ZodLiteral<"rating">;
342
+ field: z.ZodString;
343
+ value: z.ZodType<{
344
+ from: number | null;
345
+ to: number | null;
346
+ }, unknown, z.core.$ZodTypeInternals<{
347
+ from: number | null;
348
+ to: number | null;
349
+ }, unknown>>;
350
+ modifier: z.ZodLiteral<"notInRange">;
351
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
352
+ id: z.ZodString;
353
+ type: z.ZodLiteral<"qr">;
354
+ field: z.ZodString;
355
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
356
+ modifier: z.ZodLiteral<"equals">;
357
+ }, z.core.$strip>, z.ZodObject<{
358
+ id: z.ZodString;
359
+ type: z.ZodLiteral<"qr">;
360
+ field: z.ZodString;
361
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
362
+ modifier: z.ZodLiteral<"notEquals">;
363
+ }, z.core.$strip>, z.ZodObject<{
364
+ id: z.ZodString;
365
+ type: z.ZodLiteral<"qr">;
366
+ field: z.ZodString;
367
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
368
+ modifier: z.ZodLiteral<"includes">;
87
369
  }, z.core.$strip>, z.ZodObject<{
88
370
  id: z.ZodString;
89
371
  type: z.ZodLiteral<"qr">;
90
- fieldId: z.ZodString;
372
+ field: z.ZodString;
373
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
374
+ modifier: z.ZodLiteral<"excludes">;
375
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
376
+ id: z.ZodString;
377
+ type: z.ZodLiteral<"select">;
378
+ field: z.ZodString;
379
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
380
+ modifier: z.ZodLiteral<"equals">;
381
+ }, z.core.$strip>, z.ZodObject<{
382
+ id: z.ZodString;
383
+ type: z.ZodLiteral<"select">;
384
+ field: z.ZodString;
91
385
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
92
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
386
+ modifier: z.ZodLiteral<"notEquals">;
93
387
  }, z.core.$strip>, z.ZodObject<{
94
388
  id: z.ZodString;
95
389
  type: z.ZodLiteral<"select">;
96
- fieldId: z.ZodString;
97
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
98
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
390
+ field: z.ZodString;
391
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
392
+ modifier: z.ZodLiteral<"includes">;
393
+ }, z.core.$strip>, z.ZodObject<{
394
+ id: z.ZodString;
395
+ type: z.ZodLiteral<"select">;
396
+ field: z.ZodString;
397
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
398
+ modifier: z.ZodLiteral<"excludes">;
399
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
400
+ id: z.ZodString;
401
+ type: z.ZodLiteral<"string">;
402
+ field: z.ZodString;
403
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
404
+ modifier: z.ZodLiteral<"equals">;
405
+ }, z.core.$strip>, z.ZodObject<{
406
+ id: z.ZodString;
407
+ type: z.ZodLiteral<"string">;
408
+ field: z.ZodString;
409
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
410
+ modifier: z.ZodLiteral<"notEquals">;
411
+ }, z.core.$strip>, z.ZodObject<{
412
+ id: z.ZodString;
413
+ type: z.ZodLiteral<"string">;
414
+ field: z.ZodString;
415
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
416
+ modifier: z.ZodLiteral<"includes">;
99
417
  }, z.core.$strip>, z.ZodObject<{
100
418
  id: z.ZodString;
101
419
  type: z.ZodLiteral<"string">;
102
- fieldId: z.ZodString;
420
+ field: z.ZodString;
421
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
422
+ modifier: z.ZodLiteral<"excludes">;
423
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
424
+ id: z.ZodString;
425
+ type: z.ZodLiteral<"text">;
426
+ field: z.ZodString;
427
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
428
+ modifier: z.ZodLiteral<"equals">;
429
+ }, z.core.$strip>, z.ZodObject<{
430
+ id: z.ZodString;
431
+ type: z.ZodLiteral<"text">;
432
+ field: z.ZodString;
103
433
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
104
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
434
+ modifier: z.ZodLiteral<"notEquals">;
105
435
  }, z.core.$strip>, z.ZodObject<{
106
436
  id: z.ZodString;
107
437
  type: z.ZodLiteral<"text">;
108
- fieldId: z.ZodString;
438
+ field: z.ZodString;
109
439
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
110
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
440
+ modifier: z.ZodLiteral<"includes">;
441
+ }, z.core.$strip>, z.ZodObject<{
442
+ id: z.ZodString;
443
+ type: z.ZodLiteral<"text">;
444
+ field: z.ZodString;
445
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
446
+ modifier: z.ZodLiteral<"excludes">;
447
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
448
+ id: z.ZodString;
449
+ type: z.ZodLiteral<"time">;
450
+ field: z.ZodString;
451
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
452
+ modifier: z.ZodLiteral<"equals">;
453
+ }, z.core.$strip>, z.ZodObject<{
454
+ id: z.ZodString;
455
+ type: z.ZodLiteral<"time">;
456
+ field: z.ZodString;
457
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
458
+ modifier: z.ZodLiteral<"notEquals">;
459
+ }, z.core.$strip>, z.ZodObject<{
460
+ id: z.ZodString;
461
+ type: z.ZodLiteral<"time">;
462
+ field: z.ZodString;
463
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
464
+ modifier: z.ZodLiteral<"before">;
465
+ }, z.core.$strip>, z.ZodObject<{
466
+ id: z.ZodString;
467
+ type: z.ZodLiteral<"time">;
468
+ field: z.ZodString;
469
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
470
+ modifier: z.ZodLiteral<"after">;
471
+ }, z.core.$strip>, z.ZodObject<{
472
+ id: z.ZodString;
473
+ type: z.ZodLiteral<"time">;
474
+ field: z.ZodString;
475
+ value: z.ZodType<{
476
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
477
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
478
+ }, unknown, z.core.$ZodTypeInternals<{
479
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
480
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
481
+ }, unknown>>;
482
+ modifier: z.ZodLiteral<"in">;
111
483
  }, z.core.$strip>, z.ZodObject<{
112
484
  id: z.ZodString;
113
485
  type: z.ZodLiteral<"time">;
114
- fieldId: z.ZodString;
115
- value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
486
+ field: z.ZodString;
487
+ value: z.ZodType<{
116
488
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
117
489
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
118
- }, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
490
+ }, unknown, z.core.$ZodTypeInternals<{
119
491
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
120
492
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
121
493
  }, unknown>>;
122
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
494
+ modifier: z.ZodLiteral<"notIn">;
495
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
496
+ id: z.ZodString;
497
+ type: z.ZodLiteral<"upload">;
498
+ field: z.ZodString;
499
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
500
+ modifier: z.ZodLiteral<"equals">;
123
501
  }, z.core.$strip>, z.ZodObject<{
124
502
  id: z.ZodString;
125
503
  type: z.ZodLiteral<"upload">;
126
- fieldId: z.ZodString;
504
+ field: z.ZodString;
127
505
  value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
128
- modifier: z.ZodLiteral<"equals" | "notEquals">;
506
+ modifier: z.ZodLiteral<"notEquals">;
507
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
508
+ id: z.ZodString;
509
+ type: z.ZodLiteral<"url">;
510
+ field: z.ZodString;
511
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
512
+ modifier: z.ZodLiteral<"equals">;
513
+ }, z.core.$strip>, z.ZodObject<{
514
+ id: z.ZodString;
515
+ type: z.ZodLiteral<"url">;
516
+ field: z.ZodString;
517
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
518
+ modifier: z.ZodLiteral<"notEquals">;
519
+ }, z.core.$strip>, z.ZodObject<{
520
+ id: z.ZodString;
521
+ type: z.ZodLiteral<"url">;
522
+ field: z.ZodString;
523
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
524
+ modifier: z.ZodLiteral<"includes">;
129
525
  }, z.core.$strip>, z.ZodObject<{
130
526
  id: z.ZodString;
131
527
  type: z.ZodLiteral<"url">;
132
- fieldId: z.ZodString;
528
+ field: z.ZodString;
133
529
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
134
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
135
- }, z.core.$strip>], "type">>>>;
530
+ modifier: z.ZodLiteral<"excludes">;
531
+ }, z.core.$strip>], "modifier">], "type">>>>;
136
532
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
137
533
  label: z.ZodOptional<z.ZodString>;
138
534
  description: z.ZodOptional<z.ZodString>;
139
535
  required: z.ZodOptional<z.ZodBoolean>;
140
- identifier: z.ZodString;
536
+ id: z.ZodString;
141
537
  type: z.ZodLiteral<"boolean">;
142
538
  }, z.core.$strip>, z.ZodObject<{
143
539
  options: z.ZodArray<z.ZodObject<{
@@ -147,13 +543,13 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
147
543
  label: z.ZodOptional<z.ZodString>;
148
544
  description: z.ZodOptional<z.ZodString>;
149
545
  required: z.ZodOptional<z.ZodBoolean>;
150
- identifier: z.ZodString;
546
+ id: z.ZodString;
151
547
  type: z.ZodLiteral<"checkbox-list">;
152
548
  }, z.core.$strip>, z.ZodObject<{
153
549
  label: z.ZodOptional<z.ZodString>;
154
550
  description: z.ZodOptional<z.ZodString>;
155
551
  required: z.ZodOptional<z.ZodBoolean>;
156
- identifier: z.ZodString;
552
+ id: z.ZodString;
157
553
  type: z.ZodLiteral<"date">;
158
554
  }, z.core.$strip>, z.ZodObject<{
159
555
  placeholder: z.ZodOptional<z.ZodString>;
@@ -164,16 +560,16 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
164
560
  label: z.ZodOptional<z.ZodString>;
165
561
  description: z.ZodOptional<z.ZodString>;
166
562
  required: z.ZodOptional<z.ZodBoolean>;
167
- identifier: z.ZodString;
563
+ id: z.ZodString;
168
564
  type: z.ZodLiteral<"multi-select">;
169
565
  }, z.core.$strip>, z.ZodObject<{
170
- minimum_length: z.ZodOptional<z.ZodInt>;
171
- maximum_length: z.ZodOptional<z.ZodInt>;
566
+ minLength: z.ZodOptional<z.ZodInt>;
567
+ maxLength: z.ZodOptional<z.ZodInt>;
172
568
  placeholder: z.ZodOptional<z.ZodString>;
173
569
  label: z.ZodOptional<z.ZodString>;
174
570
  description: z.ZodOptional<z.ZodString>;
175
571
  required: z.ZodOptional<z.ZodBoolean>;
176
- identifier: z.ZodString;
572
+ id: z.ZodString;
177
573
  type: z.ZodLiteral<"multi-string">;
178
574
  }, z.core.$strip>, z.ZodObject<{
179
575
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -183,21 +579,21 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
183
579
  label: z.ZodOptional<z.ZodString>;
184
580
  description: z.ZodOptional<z.ZodString>;
185
581
  required: z.ZodOptional<z.ZodBoolean>;
186
- identifier: z.ZodString;
582
+ id: z.ZodString;
187
583
  type: z.ZodLiteral<"number">;
188
584
  }, z.core.$strip>, z.ZodObject<{
189
585
  length: z.ZodInt;
190
586
  label: z.ZodOptional<z.ZodString>;
191
587
  description: z.ZodOptional<z.ZodString>;
192
588
  required: z.ZodOptional<z.ZodBoolean>;
193
- identifier: z.ZodString;
589
+ id: z.ZodString;
194
590
  type: z.ZodLiteral<"otp">;
195
591
  }, z.core.$strip>, z.ZodObject<{
196
592
  showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
197
593
  label: z.ZodOptional<z.ZodString>;
198
594
  description: z.ZodOptional<z.ZodString>;
199
595
  required: z.ZodOptional<z.ZodBoolean>;
200
- identifier: z.ZodString;
596
+ id: z.ZodString;
201
597
  type: z.ZodLiteral<"pass-fail">;
202
598
  }, z.core.$strip>, z.ZodObject<{
203
599
  options: z.ZodArray<z.ZodObject<{
@@ -207,20 +603,20 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
207
603
  label: z.ZodOptional<z.ZodString>;
208
604
  description: z.ZodOptional<z.ZodString>;
209
605
  required: z.ZodOptional<z.ZodBoolean>;
210
- identifier: z.ZodString;
606
+ id: z.ZodString;
211
607
  type: z.ZodLiteral<"radio">;
212
608
  }, z.core.$strip>, z.ZodObject<{
213
609
  maxRating: z.ZodInt;
214
610
  label: z.ZodOptional<z.ZodString>;
215
611
  description: z.ZodOptional<z.ZodString>;
216
612
  required: z.ZodOptional<z.ZodBoolean>;
217
- identifier: z.ZodString;
613
+ id: z.ZodString;
218
614
  type: z.ZodLiteral<"rating">;
219
615
  }, z.core.$strip>, z.ZodObject<{
220
616
  label: z.ZodOptional<z.ZodString>;
221
617
  description: z.ZodOptional<z.ZodString>;
222
618
  required: z.ZodOptional<z.ZodBoolean>;
223
- identifier: z.ZodString;
619
+ id: z.ZodString;
224
620
  type: z.ZodLiteral<"qr">;
225
621
  }, z.core.$strip>, z.ZodObject<{
226
622
  placeholder: z.ZodOptional<z.ZodString>;
@@ -231,56 +627,56 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
231
627
  label: z.ZodOptional<z.ZodString>;
232
628
  description: z.ZodOptional<z.ZodString>;
233
629
  required: z.ZodOptional<z.ZodBoolean>;
234
- identifier: z.ZodString;
630
+ id: z.ZodString;
235
631
  type: z.ZodLiteral<"select">;
236
632
  }, z.core.$strip>, z.ZodObject<{
237
- minimum_length: z.ZodOptional<z.ZodInt>;
238
- maximum_length: z.ZodOptional<z.ZodInt>;
633
+ minLength: z.ZodOptional<z.ZodInt>;
634
+ maxLength: z.ZodOptional<z.ZodInt>;
239
635
  placeholder: z.ZodOptional<z.ZodString>;
240
636
  label: z.ZodOptional<z.ZodString>;
241
637
  description: z.ZodOptional<z.ZodString>;
242
638
  required: z.ZodOptional<z.ZodBoolean>;
243
- identifier: z.ZodString;
639
+ id: z.ZodString;
244
640
  type: z.ZodLiteral<"string">;
245
641
  }, z.core.$strip>, z.ZodObject<{
246
- minimum_length: z.ZodOptional<z.ZodInt>;
247
- maximum_length: z.ZodOptional<z.ZodInt>;
642
+ minLength: z.ZodOptional<z.ZodInt>;
643
+ maxLength: z.ZodOptional<z.ZodInt>;
248
644
  placeholder: z.ZodOptional<z.ZodString>;
249
645
  label: z.ZodOptional<z.ZodString>;
250
646
  description: z.ZodOptional<z.ZodString>;
251
647
  required: z.ZodOptional<z.ZodBoolean>;
252
- identifier: z.ZodString;
648
+ id: z.ZodString;
253
649
  type: z.ZodLiteral<"text">;
254
650
  }, z.core.$strip>, z.ZodObject<{
255
651
  label: z.ZodOptional<z.ZodString>;
256
652
  description: z.ZodOptional<z.ZodString>;
257
653
  required: z.ZodOptional<z.ZodBoolean>;
258
- identifier: z.ZodString;
654
+ id: z.ZodString;
259
655
  type: z.ZodLiteral<"time">;
260
656
  }, z.core.$strip>, z.ZodObject<{
261
657
  extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
- maximum_size: z.ZodOptional<z.ZodInt>;
263
- maximum_files: z.ZodOptional<z.ZodInt>;
658
+ maxSize: z.ZodOptional<z.ZodInt>;
659
+ maxFiles: z.ZodOptional<z.ZodInt>;
264
660
  label: z.ZodOptional<z.ZodString>;
265
661
  description: z.ZodOptional<z.ZodString>;
266
662
  required: z.ZodOptional<z.ZodBoolean>;
267
- identifier: z.ZodString;
663
+ id: z.ZodString;
268
664
  type: z.ZodLiteral<"upload">;
269
665
  }, z.core.$strip>, z.ZodObject<{
270
666
  placeholder: z.ZodOptional<z.ZodString>;
271
667
  label: z.ZodOptional<z.ZodString>;
272
668
  description: z.ZodOptional<z.ZodString>;
273
669
  required: z.ZodOptional<z.ZodBoolean>;
274
- identifier: z.ZodString;
670
+ id: z.ZodString;
275
671
  type: z.ZodLiteral<"url">;
276
672
  }, z.core.$strip>], "type">>;
277
- identifier: z.ZodString;
673
+ id: z.ZodString;
278
674
  type: z.ZodLiteral<"section">;
279
675
  }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
280
676
  label: z.ZodOptional<z.ZodString>;
281
677
  description: z.ZodOptional<z.ZodString>;
282
678
  required: z.ZodOptional<z.ZodBoolean>;
283
- identifier: z.ZodString;
679
+ id: z.ZodString;
284
680
  type: z.ZodLiteral<"boolean">;
285
681
  }, z.core.$strip>, z.ZodObject<{
286
682
  options: z.ZodArray<z.ZodObject<{
@@ -290,13 +686,13 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
290
686
  label: z.ZodOptional<z.ZodString>;
291
687
  description: z.ZodOptional<z.ZodString>;
292
688
  required: z.ZodOptional<z.ZodBoolean>;
293
- identifier: z.ZodString;
689
+ id: z.ZodString;
294
690
  type: z.ZodLiteral<"checkbox-list">;
295
691
  }, z.core.$strip>, z.ZodObject<{
296
692
  label: z.ZodOptional<z.ZodString>;
297
693
  description: z.ZodOptional<z.ZodString>;
298
694
  required: z.ZodOptional<z.ZodBoolean>;
299
- identifier: z.ZodString;
695
+ id: z.ZodString;
300
696
  type: z.ZodLiteral<"date">;
301
697
  }, z.core.$strip>, z.ZodObject<{
302
698
  placeholder: z.ZodOptional<z.ZodString>;
@@ -307,16 +703,16 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
307
703
  label: z.ZodOptional<z.ZodString>;
308
704
  description: z.ZodOptional<z.ZodString>;
309
705
  required: z.ZodOptional<z.ZodBoolean>;
310
- identifier: z.ZodString;
706
+ id: z.ZodString;
311
707
  type: z.ZodLiteral<"multi-select">;
312
708
  }, z.core.$strip>, z.ZodObject<{
313
- minimum_length: z.ZodOptional<z.ZodInt>;
314
- maximum_length: z.ZodOptional<z.ZodInt>;
709
+ minLength: z.ZodOptional<z.ZodInt>;
710
+ maxLength: z.ZodOptional<z.ZodInt>;
315
711
  placeholder: z.ZodOptional<z.ZodString>;
316
712
  label: z.ZodOptional<z.ZodString>;
317
713
  description: z.ZodOptional<z.ZodString>;
318
714
  required: z.ZodOptional<z.ZodBoolean>;
319
- identifier: z.ZodString;
715
+ id: z.ZodString;
320
716
  type: z.ZodLiteral<"multi-string">;
321
717
  }, z.core.$strip>, z.ZodObject<{
322
718
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -326,21 +722,21 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
326
722
  label: z.ZodOptional<z.ZodString>;
327
723
  description: z.ZodOptional<z.ZodString>;
328
724
  required: z.ZodOptional<z.ZodBoolean>;
329
- identifier: z.ZodString;
725
+ id: z.ZodString;
330
726
  type: z.ZodLiteral<"number">;
331
727
  }, z.core.$strip>, z.ZodObject<{
332
728
  length: z.ZodInt;
333
729
  label: z.ZodOptional<z.ZodString>;
334
730
  description: z.ZodOptional<z.ZodString>;
335
731
  required: z.ZodOptional<z.ZodBoolean>;
336
- identifier: z.ZodString;
732
+ id: z.ZodString;
337
733
  type: z.ZodLiteral<"otp">;
338
734
  }, z.core.$strip>, z.ZodObject<{
339
735
  showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
340
736
  label: z.ZodOptional<z.ZodString>;
341
737
  description: z.ZodOptional<z.ZodString>;
342
738
  required: z.ZodOptional<z.ZodBoolean>;
343
- identifier: z.ZodString;
739
+ id: z.ZodString;
344
740
  type: z.ZodLiteral<"pass-fail">;
345
741
  }, z.core.$strip>, z.ZodObject<{
346
742
  options: z.ZodArray<z.ZodObject<{
@@ -350,20 +746,20 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
350
746
  label: z.ZodOptional<z.ZodString>;
351
747
  description: z.ZodOptional<z.ZodString>;
352
748
  required: z.ZodOptional<z.ZodBoolean>;
353
- identifier: z.ZodString;
749
+ id: z.ZodString;
354
750
  type: z.ZodLiteral<"radio">;
355
751
  }, z.core.$strip>, z.ZodObject<{
356
752
  maxRating: z.ZodInt;
357
753
  label: z.ZodOptional<z.ZodString>;
358
754
  description: z.ZodOptional<z.ZodString>;
359
755
  required: z.ZodOptional<z.ZodBoolean>;
360
- identifier: z.ZodString;
756
+ id: z.ZodString;
361
757
  type: z.ZodLiteral<"rating">;
362
758
  }, z.core.$strip>, z.ZodObject<{
363
759
  label: z.ZodOptional<z.ZodString>;
364
760
  description: z.ZodOptional<z.ZodString>;
365
761
  required: z.ZodOptional<z.ZodBoolean>;
366
- identifier: z.ZodString;
762
+ id: z.ZodString;
367
763
  type: z.ZodLiteral<"qr">;
368
764
  }, z.core.$strip>, z.ZodObject<{
369
765
  placeholder: z.ZodOptional<z.ZodString>;
@@ -374,47 +770,47 @@ export declare const JSONFieldElementSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
374
770
  label: z.ZodOptional<z.ZodString>;
375
771
  description: z.ZodOptional<z.ZodString>;
376
772
  required: z.ZodOptional<z.ZodBoolean>;
377
- identifier: z.ZodString;
773
+ id: z.ZodString;
378
774
  type: z.ZodLiteral<"select">;
379
775
  }, z.core.$strip>, z.ZodObject<{
380
- minimum_length: z.ZodOptional<z.ZodInt>;
381
- maximum_length: z.ZodOptional<z.ZodInt>;
776
+ minLength: z.ZodOptional<z.ZodInt>;
777
+ maxLength: z.ZodOptional<z.ZodInt>;
382
778
  placeholder: z.ZodOptional<z.ZodString>;
383
779
  label: z.ZodOptional<z.ZodString>;
384
780
  description: z.ZodOptional<z.ZodString>;
385
781
  required: z.ZodOptional<z.ZodBoolean>;
386
- identifier: z.ZodString;
782
+ id: z.ZodString;
387
783
  type: z.ZodLiteral<"string">;
388
784
  }, z.core.$strip>, z.ZodObject<{
389
- minimum_length: z.ZodOptional<z.ZodInt>;
390
- maximum_length: z.ZodOptional<z.ZodInt>;
785
+ minLength: z.ZodOptional<z.ZodInt>;
786
+ maxLength: z.ZodOptional<z.ZodInt>;
391
787
  placeholder: z.ZodOptional<z.ZodString>;
392
788
  label: z.ZodOptional<z.ZodString>;
393
789
  description: z.ZodOptional<z.ZodString>;
394
790
  required: z.ZodOptional<z.ZodBoolean>;
395
- identifier: z.ZodString;
791
+ id: z.ZodString;
396
792
  type: z.ZodLiteral<"text">;
397
793
  }, z.core.$strip>, z.ZodObject<{
398
794
  label: z.ZodOptional<z.ZodString>;
399
795
  description: z.ZodOptional<z.ZodString>;
400
796
  required: z.ZodOptional<z.ZodBoolean>;
401
- identifier: z.ZodString;
797
+ id: z.ZodString;
402
798
  type: z.ZodLiteral<"time">;
403
799
  }, z.core.$strip>, z.ZodObject<{
404
800
  extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
405
- maximum_size: z.ZodOptional<z.ZodInt>;
406
- maximum_files: z.ZodOptional<z.ZodInt>;
801
+ maxSize: z.ZodOptional<z.ZodInt>;
802
+ maxFiles: z.ZodOptional<z.ZodInt>;
407
803
  label: z.ZodOptional<z.ZodString>;
408
804
  description: z.ZodOptional<z.ZodString>;
409
805
  required: z.ZodOptional<z.ZodBoolean>;
410
- identifier: z.ZodString;
806
+ id: z.ZodString;
411
807
  type: z.ZodLiteral<"upload">;
412
808
  }, z.core.$strip>, z.ZodObject<{
413
809
  placeholder: z.ZodOptional<z.ZodString>;
414
810
  label: z.ZodOptional<z.ZodString>;
415
811
  description: z.ZodOptional<z.ZodString>;
416
812
  required: z.ZodOptional<z.ZodBoolean>;
417
- identifier: z.ZodString;
813
+ id: z.ZodString;
418
814
  type: z.ZodLiteral<"url">;
419
815
  }, z.core.$strip>], "type">], "type">;
420
816
  export type JSONFieldElementSchemaType = z.infer<typeof JSONFieldElementSchema>;