@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 07:15 UTC

next
snap 7,979 lines 190 KB
Raw
1 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
3 exports[`v3 output fingerprint > matches the pinned snapshot for the local cases 1`] = `
4 [
5 {
6 "fingerprint": {
7 "def": {
8 "catchall": {
9 "typeName": "ZodNever",
10 },
11 "shape": {
12 "aliases": {
13 "innerType": {
14 "effect": "refinement",
15 "schema": {
16 "effect": "refinement",
17 "schema": {
18 "checks": [],
19 "typeName": "ZodString",
20 },
21 "typeName": "ZodEffects",
22 },
23 "typeName": "ZodEffects",
24 },
25 "typeName": "ZodOptional",
26 },
27 "base64": {
28 "innerType": {
29 "checks": [
30 {
31 "kind": "base64",
32 },
33 ],
34 "typeName": "ZodString",
35 },
36 "typeName": "ZodOptional",
37 },
38 "binary": {
39 "innerType": {
40 "checks": [],
41 "typeName": "ZodString",
42 },
43 "typeName": "ZodOptional",
44 },
45 "byte": {
46 "innerType": {
47 "checks": [],
48 "typeName": "ZodString",
49 },
50 "typeName": "ZodOptional",
51 },
52 "date": {
53 "innerType": {
54 "checks": [
55 {
56 "kind": "date",
57 "message": undefined,
58 },
59 ],
60 "typeName": "ZodString",
61 },
62 "typeName": "ZodOptional",
63 },
64 "dateTime": {
65 "innerType": {
66 "checks": [
67 {
68 "kind": "datetime",
69 "local": false,
70 "offset": true,
71 "precision": null,
72 },
73 ],
74 "typeName": "ZodString",
75 },
76 "typeName": "ZodOptional",
77 },
78 "duration": {
79 "innerType": {
80 "checks": [
81 {
82 "kind": "duration",
83 },
84 ],
85 "typeName": "ZodString",
86 },
87 "typeName": "ZodOptional",
88 },
89 "email": {
90 "checks": [
91 {
92 "kind": "email",
93 },
94 ],
95 "typeName": "ZodString",
96 },
97 "hex": {
98 "innerType": {
99 "checks": [],
100 "typeName": "ZodString",
101 },
102 "typeName": "ZodOptional",
103 },
104 "ip": {
105 "innerType": {
106 "checks": [
107 {
108 "kind": "ip",
109 },
110 ],
111 "typeName": "ZodString",
112 },
113 "typeName": "ZodOptional",
114 },
115 "ipv4": {
116 "innerType": {
117 "checks": [
118 {
119 "kind": "ip",
120 "message": undefined,
121 "version": "v4",
122 },
123 ],
124 "typeName": "ZodString",
125 },
126 "typeName": "ZodOptional",
127 },
128 "ipv6": {
129 "innerType": {
130 "checks": [
131 {
132 "kind": "ip",
133 "message": undefined,
134 "version": "v6",
135 },
136 ],
137 "typeName": "ZodString",
138 },
139 "typeName": "ZodOptional",
140 },
141 "pattern": {
142 "innerType": {
143 "effect": "refinement",
144 "schema": {
145 "effect": "refinement",
146 "schema": {
147 "checks": [
148 {
149 "kind": "regex",
150 "regex": "^[a-z\\_]+$",
151 },
152 ],
153 "typeName": "ZodString",
154 },
155 "typeName": "ZodEffects",
156 },
157 "typeName": "ZodEffects",
158 },
159 "typeName": "ZodOptional",
160 },
161 "time": {
162 "innerType": {
163 "checks": [
164 {
165 "kind": "time",
166 "precision": null,
167 },
168 ],
169 "typeName": "ZodString",
170 },
171 "typeName": "ZodOptional",
172 },
173 "uri": {
174 "innerType": {
175 "checks": [
176 {
177 "kind": "url",
178 },
179 ],
180 "typeName": "ZodString",
181 },
182 "typeName": "ZodOptional",
183 },
184 "uuid": {
185 "innerType": {
186 "checks": [
187 {
188 "kind": "uuid",
189 },
190 ],
191 "typeName": "ZodString",
192 },
193 "typeName": "ZodOptional",
194 },
195 },
196 "typeName": "ZodObject",
197 "unknownKeys": "strict",
198 },
199 "jsonSchema": {
200 "$schema": "http://json-schema.org/draft-07/schema#",
201 "additionalProperties": false,
202 "properties": {
203 "aliases": {
204 "type": "string",
205 },
206 "base64": {
207 "contentEncoding": "base64",
208 "type": "string",
209 },
210 "binary": {
211 "type": "string",
212 },
213 "byte": {
214 "type": "string",
215 },
216 "date": {
217 "format": "date",
218 "type": "string",
219 },
220 "dateTime": {
221 "format": "date-time",
222 "type": "string",
223 },
224 "duration": {
225 "format": "duration",
226 "type": "string",
227 },
228 "email": {
229 "format": "email",
230 "type": "string",
231 },
232 "hex": {
233 "type": "string",
234 },
235 "ip": {
236 "anyOf": [
237 {
238 "format": "ipv4",
239 },
240 {
241 "format": "ipv6",
242 },
243 ],
244 "type": "string",
245 },
246 "ipv4": {
247 "format": "ipv4",
248 "type": "string",
249 },
250 "ipv6": {
251 "format": "ipv6",
252 "type": "string",
253 },
254 "pattern": {
255 "pattern": "^[a-z\\_]+$",
256 "type": "string",
257 },
258 "time": {
259 "format": "time",
260 "type": "string",
261 },
262 "uri": {
263 "format": "uri",
264 "type": "string",
265 },
266 "uuid": {
267 "format": "uuid",
268 "type": "string",
269 },
270 },
271 "required": [
272 "email",
273 ],
274 "type": "object",
275 },
276 },
277 "id": "string-formats",
278 },
279 {
280 "fingerprint": {
281 "def": {
282 "catchall": {
283 "typeName": "ZodNever",
284 },
285 "shape": {
286 "aliases": {
287 "innerType": {
288 "checks": [
289 {
290 "inclusive": true,
291 "kind": "min",
292 "message": undefined,
293 "value": 0,
294 },
295 {
296 "inclusive": true,
297 "kind": "max",
298 "message": undefined,
299 "value": 1,
300 },
301 ],
302 "typeName": "ZodNumber",
303 },
304 "typeName": "ZodOptional",
305 },
306 "decimal": {
307 "innerType": {
308 "effect": "refinement",
309 "schema": {
310 "checks": [],
311 "typeName": "ZodNumber",
312 },
313 "typeName": "ZodEffects",
314 },
315 "typeName": "ZodOptional",
316 },
317 "draft4": {
318 "innerType": {
319 "checks": [
320 {
321 "inclusive": false,
322 "kind": "min",
323 "message": undefined,
324 "value": 0,
325 },
326 {
327 "inclusive": true,
328 "kind": "max",
329 "message": undefined,
330 "value": 1,
331 },
332 ],
333 "typeName": "ZodNumber",
334 },
335 "typeName": "ZodOptional",
336 },
337 "exclusive": {
338 "innerType": {
339 "checks": [
340 {
341 "inclusive": false,
342 "kind": "min",
343 "message": undefined,
344 "value": 0,
345 },
346 {
347 "inclusive": false,
348 "kind": "max",
349 "message": undefined,
350 "value": 100,
351 },
352 ],
353 "typeName": "ZodNumber",
354 },
355 "typeName": "ZodOptional",
356 },
357 "int64": {
358 "innerType": {
359 "checks": [
360 {
361 "kind": "int",
362 "message": undefined,
363 },
364 ],
365 "typeName": "ZodNumber",
366 },
367 "typeName": "ZodOptional",
368 },
369 "integer": {
370 "innerType": {
371 "checks": [
372 {
373 "kind": "int",
374 "message": undefined,
375 },
376 {
377 "inclusive": true,
378 "kind": "min",
379 "message": undefined,
380 "value": 1,
381 },
382 {
383 "inclusive": true,
384 "kind": "max",
385 "message": undefined,
386 "value": 10,
387 },
388 ],
389 "typeName": "ZodNumber",
390 },
391 "typeName": "ZodOptional",
392 },
393 "unit": {
394 "innerType": {
395 "checks": [
396 {
397 "kind": "int",
398 "message": undefined,
399 },
400 ],
401 "typeName": "ZodNumber",
402 },
403 "typeName": "ZodOptional",
404 },
405 },
406 "typeName": "ZodObject",
407 "unknownKeys": "strict",
408 },
409 "jsonSchema": {
410 "$schema": "http://json-schema.org/draft-07/schema#",
411 "additionalProperties": false,
412 "properties": {
413 "aliases": {
414 "maximum": 1,
415 "minimum": 0,
416 "type": "number",
417 },
418 "decimal": {
419 "type": "number",
420 },
421 "draft4": {
422 "exclusiveMinimum": 0,
423 "maximum": 1,
424 "type": "number",
425 },
426 "exclusive": {
427 "exclusiveMaximum": 100,
428 "exclusiveMinimum": 0,
429 "type": "number",
430 },
431 "int64": {
432 "type": "integer",
433 },
434 "integer": {
435 "maximum": 10,
436 "minimum": 1,
437 "type": "integer",
438 },
439 "unit": {
440 "type": "integer",
441 },
442 },
443 "type": "object",
444 },
445 },
446 "id": "number-constraints",
447 },
448 {
449 "fingerprint": {
450 "def": {
451 "catchall": {
452 "typeName": "ZodNever",
453 },
454 "description": "A request",
455 "guarded": true,
456 "shape": {
457 "anyOfNull": {
458 "defaultValue": null,
459 "innerType": {
460 "innerType": {
461 "defaultValue": null,
462 "innerType": {
463 "options": [
464 {
465 "checks": [],
466 "typeName": "ZodString",
467 },
468 {
469 "typeName": "ZodNull",
470 },
471 ],
472 "typeName": "ZodUnion",
473 },
474 "typeName": "ZodDefault",
475 },
476 "typeName": "ZodOptional",
477 },
478 "typeName": "ZodDefault",
479 },
480 "defaulted": {
481 "defaultValue": "x",
482 "innerType": {
483 "innerType": {
484 "defaultValue": "x",
485 "innerType": {
486 "checks": [],
487 "typeName": "ZodString",
488 },
489 "typeName": "ZodDefault",
490 },
491 "typeName": "ZodOptional",
492 },
493 "typeName": "ZodDefault",
494 },
495 "described": {
496 "description": "Named
497 Example: "x"",
498 "innerType": {
499 "checks": [],
500 "description": "Named
501 Example: "x"",
502 "typeName": "ZodString",
503 },
504 "typeName": "ZodOptional",
505 },
506 "nullDefault": {
507 "defaultValue": null,
508 "innerType": {
509 "innerType": {
510 "innerType": {
511 "defaultValue": null,
512 "innerType": {
513 "checks": [],
514 "typeName": "ZodString",
515 },
516 "typeName": "ZodDefault",
517 },
518 "typeName": "ZodNullable",
519 },
520 "typeName": "ZodOptional",
521 },
522 "typeName": "ZodDefault",
523 },
524 "nullable": {
525 "description": "Maybe",
526 "innerType": {
527 "description": "Maybe",
528 "innerType": {
529 "checks": [
530 {
531 "kind": "int",
532 "message": undefined,
533 },
534 ],
535 "typeName": "ZodNumber",
536 },
537 "typeName": "ZodNullable",
538 },
539 "typeName": "ZodOptional",
540 },
541 "nullableNullDefault": {
542 "defaultValue": null,
543 "innerType": {
544 "innerType": {
545 "defaultValue": null,
546 "innerType": {
547 "defaultValue": null,
548 "innerType": {
549 "innerType": {
550 "checks": [],
551 "typeName": "ZodString",
552 },
553 "typeName": "ZodNullable",
554 },
555 "typeName": "ZodDefault",
556 },
557 "typeName": "ZodDefault",
558 },
559 "typeName": "ZodOptional",
560 },
561 "typeName": "ZodDefault",
562 },
563 "readOnly": {
564 "innerType": {
565 "innerType": {
566 "checks": [],
567 "typeName": "ZodString",
568 },
569 "typeName": "ZodReadonly",
570 },
571 "typeName": "ZodOptional",
572 },
573 "titled": {
574 "description": "Title only
575 Examples:
576 "a"
577 "b"",
578 "innerType": {
579 "checks": [],
580 "description": "Title only
581 Examples:
582 "a"
583 "b"",
584 "typeName": "ZodString",
585 },
586 "typeName": "ZodOptional",
587 },
588 },
589 "typeName": "ZodObject",
590 "unknownKeys": "strict",
591 },
592 "jsonSchema": {
593 "$schema": "http://json-schema.org/draft-07/schema#",
594 "additionalProperties": false,
595 "description": "A request",
596 "properties": {
597 "anyOfNull": {
598 "default": null,
599 "type": [
600 "string",
601 "null",
602 ],
603 },
604 "defaulted": {
605 "default": "x",
606 "type": "string",
607 },
608 "described": {
609 "description": "Named
610 Example: "x"",
611 "type": "string",
612 },
613 "nullDefault": {
614 "anyOf": [
615 {
616 "default": null,
617 "type": "string",
618 },
619 {
620 "type": "null",
621 },
622 ],
623 "default": null,
624 },
625 "nullable": {
626 "anyOf": [
627 {
628 "type": "integer",
629 },
630 {
631 "type": "null",
632 },
633 ],
634 "description": "Maybe",
635 },
636 "nullableNullDefault": {
637 "default": null,
638 "type": [
639 "string",
640 "null",
641 ],
642 },
643 "readOnly": {
644 "type": "string",
645 },
646 "titled": {
647 "description": "Title only
648 Examples:
649 "a"
650 "b"",
651 "type": "string",
652 },
653 },
654 "type": "object",
655 },
656 },
657 "id": "metadata-and-wrappers",
658 },
659 {
660 "fingerprint": {
661 "def": {
662 "catchall": {
663 "typeName": "ZodNever",
664 },
665 "guarded": true,
666 "shape": {
667 "allOf": {
668 "innerType": {
669 "left": {
670 "checks": [
671 {
672 "inclusive": true,
673 "kind": "min",
674 "message": undefined,
675 "value": 0,
676 },
677 ],
678 "typeName": "ZodNumber",
679 },
680 "right": {
681 "checks": [
682 {
683 "inclusive": true,
684 "kind": "max",
685 "message": undefined,
686 "value": 1,
687 },
688 ],
689 "typeName": "ZodNumber",
690 },
691 "typeName": "ZodIntersection",
692 },
693 "typeName": "ZodOptional",
694 },
695 "anyOf": {
696 "innerType": {
697 "options": [
698 {
699 "checks": [],
700 "typeName": "ZodString",
701 },
702 {
703 "checks": [],
704 "typeName": "ZodNumber",
705 },
706 ],
707 "typeName": "ZodUnion",
708 },
709 "typeName": "ZodOptional",
710 },
711 "conditional": {
712 "innerType": {
713 "guarded": true,
714 "typeName": "ZodAny",
715 },
716 "typeName": "ZodOptional",
717 },
718 "constObject": {
719 "innerType": {
720 "left": {
721 "typeName": "ZodAny",
722 },
723 "right": {
724 "effect": "refinement",
725 "schema": {
726 "typeName": "ZodAny",
727 },
728 "typeName": "ZodEffects",
729 },
730 "typeName": "ZodIntersection",
731 },
732 "typeName": "ZodOptional",
733 },
734 "constString": {
735 "innerType": {
736 "left": {
737 "typeName": "ZodAny",
738 },
739 "right": {
740 "typeName": "ZodLiteral",
741 "value": "a",
742 },
743 "typeName": "ZodIntersection",
744 },
745 "typeName": "ZodOptional",
746 },
747 "enumMixed": {
748 "innerType": {
749 "left": {
750 "typeName": "ZodAny",
751 },
752 "right": {
753 "options": [
754 {
755 "typeName": "ZodLiteral",
756 "value": "a",
757 },
758 {
759 "typeName": "ZodLiteral",
760 "value": 1,
761 },
762 {
763 "typeName": "ZodLiteral",
764 "value": true,
765 },
766 {
767 "typeName": "ZodLiteral",
768 "value": null,
769 },
770 ],
771 "typeName": "ZodUnion",
772 },
773 "typeName": "ZodIntersection",
774 },
775 "typeName": "ZodOptional",
776 },
777 "enumObject": {
778 "innerType": {
779 "left": {
780 "typeName": "ZodAny",
781 },
782 "right": {
783 "effect": "refinement",
784 "schema": {
785 "typeName": "ZodAny",
786 },
787 "typeName": "ZodEffects",
788 },
789 "typeName": "ZodIntersection",
790 },
791 "typeName": "ZodOptional",
792 },
793 "enumStrings": {
794 "innerType": {
795 "left": {
796 "checks": [],
797 "typeName": "ZodString",
798 },
799 "right": {
800 "typeName": "ZodEnum",
801 "values": [
802 "a",
803 "b",
804 ],
805 },
806 "typeName": "ZodIntersection",
807 },
808 "typeName": "ZodOptional",
809 },
810 "multiple": {
811 "innerType": {
812 "options": [
813 {
814 "checks": [],
815 "typeName": "ZodString",
816 },
817 {
818 "typeName": "ZodNull",
819 },
820 ],
821 "typeName": "ZodUnion",
822 },
823 "typeName": "ZodOptional",
824 },
825 "not": {
826 "innerType": {
827 "guarded": true,
828 "typeName": "ZodAny",
829 },
830 "typeName": "ZodOptional",
831 },
832 "oneOf": {
833 "innerType": {
834 "effect": "refinement",
835 "schema": {
836 "typeName": "ZodAny",
837 },
838 "typeName": "ZodEffects",
839 },
840 "typeName": "ZodOptional",
841 },
842 "typeless": {
843 "innerType": {
844 "effect": "refinement",
845 "schema": {
846 "typeName": "ZodAny",
847 },
848 "typeName": "ZodEffects",
849 },
850 "typeName": "ZodOptional",
851 },
852 },
853 "typeName": "ZodObject",
854 "unknownKeys": "strict",
855 },
856 "jsonSchema": {
857 "$schema": "http://json-schema.org/draft-07/schema#",
858 "additionalProperties": false,
859 "properties": {
860 "allOf": {
861 "allOf": [
862 {
863 "minimum": 0,
864 "type": "number",
865 },
866 {
867 "maximum": 1,
868 "type": "number",
869 },
870 ],
871 },
872 "anyOf": {
873 "type": [
874 "string",
875 "number",
876 ],
877 },
878 "conditional": {},
879 "constObject": {
880 "allOf": [
881 {},
882 {},
883 ],
884 },
885 "constString": {
886 "allOf": [
887 {},
888 {
889 "const": "a",
890 "type": "string",
891 },
892 ],
893 },
894 "enumMixed": {
895 "allOf": [
896 {},
897 {
898 "enum": [
899 "a",
900 1,
901 true,
902 null,
903 ],
904 "type": [
905 "string",
906 "number",
907 "boolean",
908 "null",
909 ],
910 },
911 ],
912 },
913 "enumObject": {
914 "allOf": [
915 {},
916 {},
917 ],
918 },
919 "enumStrings": {
920 "allOf": [
921 {
922 "type": "string",
923 },
924 {
925 "enum": [
926 "a",
927 "b",
928 ],
929 "type": "string",
930 },
931 ],
932 },
933 "multiple": {
934 "type": [
935 "string",
936 "null",
937 ],
938 },
939 "not": {},
940 "oneOf": {},
941 "typeless": {},
942 },
943 "type": "object",
944 },
945 },
946 "id": "combinators",
947 },
948 {
949 "fingerprint": {
950 "def": {
951 "catchall": {
952 "typeName": "ZodNever",
953 },
954 "guarded": true,
955 "shape": {
956 "aliases": {
957 "innerType": {
958 "element": {
959 "checks": [],
960 "typeName": "ZodString",
961 },
962 "maxLength": {
963 "message": undefined,
964 "value": 3,
965 },
966 "minLength": {
967 "message": undefined,
968 "value": 1,
969 },
970 "typeName": "ZodArray",
971 },
972 "typeName": "ZodOptional",
973 },
974 "anyOfArray": {
975 "innerType": {
976 "element": {
977 "options": [
978 {
979 "checks": [],
980 "typeName": "ZodString",
981 },
982 {
983 "checks": [],
984 "typeName": "ZodNumber",
985 },
986 ],
987 "typeName": "ZodUnion",
988 },
989 "typeName": "ZodArray",
990 },
991 "typeName": "ZodOptional",
992 },
993 "bare": {
994 "innerType": {
995 "element": {
996 "typeName": "ZodAny",
997 },
998 "typeName": "ZodArray",
999 },
1000 "typeName": "ZodOptional",
1001 },
1002 "closedTuple": {
1003 "innerType": {
1004 "effect": "refinement",
1005 "schema": {
1006 "effect": "refinement",
1007 "schema": {
1008 "options": [
1009 {
1010 "items": [],
1011 "rest": null,
1012 "typeName": "ZodTuple",
1013 },
1014 {
1015 "items": [
1016 {
1017 "checks": [],
1018 "typeName": "ZodString",
1019 },
1020 ],
1021 "rest": null,
1022 "typeName": "ZodTuple",
1023 },
1024 ],
1025 "typeName": "ZodUnion",
1026 },
1027 "typeName": "ZodEffects",
1028 },
1029 "typeName": "ZodEffects",
1030 },
1031 "typeName": "ZodOptional",
1032 },
1033 "emptyOpen": {
1034 "innerType": {
1035 "catchall": {
1036 "typeName": "ZodNever",
1037 },
1038 "shape": {},
1039 "typeName": "ZodObject",
1040 "unknownKeys": "passthrough",
1041 },
1042 "typeName": "ZodOptional",
1043 },
1044 "emptyStrict": {
1045 "innerType": {
1046 "catchall": {
1047 "typeName": "ZodNever",
1048 },
1049 "shape": {},
1050 "typeName": "ZodObject",
1051 "unknownKeys": "strict",
1052 },
1053 "typeName": "ZodOptional",
1054 },
1055 "implicit": {
1056 "innerType": {
1057 "guarded": true,
1058 "typeName": "ZodAny",
1059 },
1060 "typeName": "ZodOptional",
1061 },
1062 "list": {
1063 "innerType": {
1064 "element": {
1065 "checks": [],
1066 "typeName": "ZodString",
1067 },
1068 "maxLength": {
1069 "message": undefined,
1070 "value": 3,
1071 },
1072 "minLength": {
1073 "message": undefined,
1074 "value": 1,
1075 },
1076 "typeName": "ZodArray",
1077 },
1078 "typeName": "ZodOptional",
1079 },
1080 "open": {
1081 "innerType": {
1082 "catchall": {
1083 "typeName": "ZodNever",
1084 },
1085 "shape": {
1086 "a": {
1087 "innerType": {
1088 "checks": [],
1089 "typeName": "ZodString",
1090 },
1091 "typeName": "ZodOptional",
1092 },
1093 },
1094 "typeName": "ZodObject",
1095 "unknownKeys": "passthrough",
1096 },
1097 "typeName": "ZodOptional",
1098 },
1099 "patterns": {
1100 "innerType": {
1101 "effect": "transform",
1102 "schema": {
1103 "catchall": {
1104 "typeName": "ZodNever",
1105 },
1106 "shape": {
1107 "a": {
1108 "innerType": {
1109 "checks": [],
1110 "typeName": "ZodString",
1111 },
1112 "typeName": "ZodOptional",
1113 },
1114 },
1115 "typeName": "ZodObject",
1116 "unknownKeys": "passthrough",
1117 },
1118 "typeName": "ZodEffects",
1119 },
1120 "typeName": "ZodOptional",
1121 },
1122 "patternsOnly": {
1123 "innerType": {
1124 "effect": "transform",
1125 "schema": {
1126 "catchall": {
1127 "typeName": "ZodNever",
1128 },
1129 "shape": {},
1130 "typeName": "ZodObject",
1131 "unknownKeys": "passthrough",
1132 },
1133 "typeName": "ZodEffects",
1134 },
1135 "typeName": "ZodOptional",
1136 },
1137 "record": {
1138 "innerType": {
1139 "keyType": {
1140 "checks": [],
1141 "typeName": "ZodString",
1142 },
1143 "typeName": "ZodRecord",
1144 "valueType": {
1145 "checks": [],
1146 "typeName": "ZodNumber",
1147 },
1148 },
1149 "typeName": "ZodOptional",
1150 },
1151 "strict": {
1152 "innerType": {
1153 "catchall": {
1154 "typeName": "ZodNever",
1155 },
1156 "shape": {
1157 "a": {
1158 "innerType": {
1159 "checks": [],
1160 "typeName": "ZodString",
1161 },
1162 "typeName": "ZodOptional",
1163 },
1164 },
1165 "typeName": "ZodObject",
1166 "unknownKeys": "strict",
1167 },
1168 "typeName": "ZodOptional",
1169 },
1170 "tuple": {
1171 "innerType": {
1172 "options": [
1173 {
1174 "items": [],
1175 "rest": null,
1176 "typeName": "ZodTuple",
1177 },
1178 {
1179 "items": [
1180 {
1181 "checks": [],
1182 "typeName": "ZodString",
1183 },
1184 ],
1185 "rest": null,
1186 "typeName": "ZodTuple",
1187 },
1188 {
1189 "items": [
1190 {
1191 "checks": [],
1192 "typeName": "ZodString",
1193 },
1194 {
1195 "checks": [
1196 {
1197 "kind": "int",
1198 "message": undefined,
1199 },
1200 ],
1201 "typeName": "ZodNumber",
1202 },
1203 ],
1204 "rest": {
1205 "typeName": "ZodAny",
1206 },
1207 "typeName": "ZodTuple",
1208 },
1209 ],
1210 "typeName": "ZodUnion",
1211 },
1212 "typeName": "ZodOptional",
1213 },
1214 "typed": {
1215 "innerType": {
1216 "catchall": {
1217 "checks": [],
1218 "typeName": "ZodNumber",
1219 },
1220 "shape": {
1221 "a": {
1222 "innerType": {
1223 "checks": [],
1224 "typeName": "ZodString",
1225 },
1226 "typeName": "ZodOptional",
1227 },
1228 },
1229 "typeName": "ZodObject",
1230 "unknownKeys": "strip",
1231 },
1232 "typeName": "ZodOptional",
1233 },
1234 "typedRest": {
1235 "innerType": {
1236 "options": [
1237 {
1238 "items": [],
1239 "rest": null,
1240 "typeName": "ZodTuple",
1241 },
1242 {
1243 "items": [
1244 {
1245 "checks": [],
1246 "typeName": "ZodString",
1247 },
1248 ],
1249 "rest": {
1250 "checks": [],
1251 "typeName": "ZodNumber",
1252 },
1253 "typeName": "ZodTuple",
1254 },
1255 ],
1256 "typeName": "ZodUnion",
1257 },
1258 "typeName": "ZodOptional",
1259 },
1260 },
1261 "typeName": "ZodObject",
1262 "unknownKeys": "strict",
1263 },
1264 "jsonSchema": {
1265 "$schema": "http://json-schema.org/draft-07/schema#",
1266 "additionalProperties": false,
1267 "properties": {
1268 "aliases": {
1269 "items": {
1270 "type": "string",
1271 },
1272 "maxItems": 3,
1273 "minItems": 1,
1274 "type": "array",
1275 },
1276 "anyOfArray": {
1277 "items": {
1278 "type": [
1279 "string",
1280 "number",
1281 ],
1282 },
1283 "type": "array",
1284 },
1285 "bare": {
1286 "type": "array",
1287 },
1288 "closedTuple": {
1289 "anyOf": [
1290 {
1291 "items": [],
1292 "maxItems": 0,
1293 "minItems": 0,
1294 "type": "array",
1295 },
1296 {
1297 "items": [
1298 {
1299 "type": "string",
1300 },
1301 ],
1302 "maxItems": 1,
1303 "minItems": 1,
1304 "type": "array",
1305 },
1306 ],
1307 },
1308 "emptyOpen": {
1309 "additionalProperties": true,
1310 "properties": {},
1311 "type": "object",
1312 },
1313 "emptyStrict": {
1314 "additionalProperties": false,
1315 "properties": {},
1316 "type": "object",
1317 },
1318 "implicit": {},
1319 "list": {
1320 "items": {
1321 "type": "string",
1322 },
1323 "maxItems": 3,
1324 "minItems": 1,
1325 "type": "array",
1326 },
1327 "open": {
1328 "additionalProperties": true,
1329 "properties": {
1330 "a": {
1331 "type": "string",
1332 },
1333 },
1334 "type": "object",
1335 },
1336 "patterns": {
1337 "additionalProperties": true,
1338 "properties": {
1339 "a": {
1340 "type": "string",
1341 },
1342 },
1343 "type": "object",
1344 },
1345 "patternsOnly": {
1346 "additionalProperties": true,
1347 "properties": {},
1348 "type": "object",
1349 },
1350 "record": {
1351 "additionalProperties": {
1352 "type": "number",
1353 },
1354 "type": "object",
1355 },
1356 "strict": {
1357 "additionalProperties": false,
1358 "properties": {
1359 "a": {
1360 "type": "string",
1361 },
1362 },
1363 "type": "object",
1364 },
1365 "tuple": {
1366 "anyOf": [
1367 {
1368 "items": [],
1369 "maxItems": 0,
1370 "minItems": 0,
1371 "type": "array",
1372 },
1373 {
1374 "items": [
1375 {
1376 "type": "string",
1377 },
1378 ],
1379 "maxItems": 1,
1380 "minItems": 1,
1381 "type": "array",
1382 },
1383 {
1384 "additionalItems": {},
1385 "items": [
1386 {
1387 "$ref": "#/properties/tuple/anyOf/1/items/0",
1388 },
1389 {
1390 "type": "integer",
1391 },
1392 ],
1393 "minItems": 2,
1394 "type": "array",
1395 },
1396 ],
1397 },
1398 "typed": {
1399 "additionalProperties": {
1400 "type": "number",
1401 },
1402 "properties": {
1403 "a": {
1404 "type": "string",
1405 },
1406 },
1407 "type": "object",
1408 },
1409 "typedRest": {
1410 "anyOf": [
1411 {
1412 "items": [],
1413 "maxItems": 0,
1414 "minItems": 0,
1415 "type": "array",
1416 },
1417 {
1418 "additionalItems": {
1419 "type": "number",
1420 },
1421 "items": [
1422 {
1423 "type": "string",
1424 },
1425 ],
1426 "minItems": 1,
1427 "type": "array",
1428 },
1429 ],
1430 },
1431 },
1432 "type": "object",
1433 },
1434 },
1435 "id": "containers",
1436 },
1437 {
1438 "fingerprint": {
1439 "def": {
1440 "catchall": {
1441 "typeName": "ZodNever",
1442 },
1443 "guarded": true,
1444 "shape": {
1445 "bounded": {
1446 "innerType": {
1447 "catchall": {
1448 "typeName": "ZodNever",
1449 },
1450 "shape": {},
1451 "typeName": "ZodObject",
1452 "unknownKeys": "passthrough",
1453 },
1454 "typeName": "ZodOptional",
1455 },
1456 "nested": {
1457 "innerType": {
1458 "catchall": {
1459 "typeName": "ZodNever",
1460 },
1461 "shape": {
1462 "ref": {
1463 "innerType": {
1464 "guarded": true,
1465 "typeName": "ZodAny",
1466 },
1467 "typeName": "ZodOptional",
1468 },
1469 },
1470 "typeName": "ZodObject",
1471 "unknownKeys": "strict",
1472 },
1473 "typeName": "ZodOptional",
1474 },
1475 "ref": {
1476 "guarded": true,
1477 "typeName": "ZodAny",
1478 },
1479 "unique": {
1480 "innerType": {
1481 "element": {
1482 "typeName": "ZodAny",
1483 },
1484 "typeName": "ZodArray",
1485 },
1486 "typeName": "ZodOptional",
1487 },
1488 },
1489 "typeName": "ZodObject",
1490 "unknownKeys": "strict",
1491 },
1492 "jsonSchema": {
1493 "$schema": "http://json-schema.org/draft-07/schema#",
1494 "additionalProperties": false,
1495 "properties": {
1496 "bounded": {
1497 "additionalProperties": true,
1498 "properties": {},
1499 "type": "object",
1500 },
1501 "nested": {
1502 "additionalProperties": false,
1503 "properties": {
1504 "ref": {},
1505 },
1506 "type": "object",
1507 },
1508 "ref": {},
1509 "unique": {
1510 "type": "array",
1511 },
1512 },
1513 "required": [
1514 "ref",
1515 ],
1516 "type": "object",
1517 },
1518 },
1519 "id": "references-and-guards",
1520 },
1521 {
1522 "fingerprint": {
1523 "def": {
1524 "typeName": "ZodAny",
1525 },
1526 "jsonSchema": {
1527 "$schema": "http://json-schema.org/draft-07/schema#",
1528 },
1529 },
1530 "id": "boolean-true",
1531 },
1532 {
1533 "fingerprint": {
1534 "def": {
1535 "typeName": "ZodNever",
1536 },
1537 "jsonSchema": {
1538 "$schema": "http://json-schema.org/draft-07/schema#",
1539 "not": {},
1540 },
1541 },
1542 "id": "boolean-false",
1543 },
1544 {
1545 "fingerprint": {
1546 "def": {
1547 "checks": [],
1548 "description": "root",
1549 "typeName": "ZodString",
1550 },
1551 "jsonSchema": {
1552 "$schema": "http://json-schema.org/draft-07/schema#",
1553 "description": "root",
1554 "type": "string",
1555 },
1556 },
1557 "id": "root-string",
1558 },
1559 {
1560 "fingerprint": {
1561 "def": {
1562 "defaultValue": null,
1563 "innerType": {
1564 "defaultValue": null,
1565 "innerType": {
1566 "innerType": {
1567 "checks": [],
1568 "typeName": "ZodString",
1569 },
1570 "typeName": "ZodNullable",
1571 },
1572 "typeName": "ZodDefault",
1573 },
1574 "typeName": "ZodDefault",
1575 },
1576 "jsonSchema": {
1577 "$schema": "http://json-schema.org/draft-07/schema#",
1578 "default": null,
1579 "type": [
1580 "string",
1581 "null",
1582 ],
1583 },
1584 },
1585 "id": "root-nullable",
1586 },
1587 {
1588 "fingerprint": {
1589 "def": {
1590 "guarded": true,
1591 "typeName": "ZodAny",
1592 },
1593 "jsonSchema": {
1594 "$schema": "http://json-schema.org/draft-07/schema#",
1595 },
1596 },
1597 "id": "root-ref",
1598 },
1599 ]
1600 `;
1601
1602 exports[`v3 output fingerprint > matches the pinned snapshot for the shared object corpus 1`] = `
1603 [
1604 {
1605 "fingerprint": {
1606 "def": {
1607 "catchall": {
1608 "typeName": "ZodNever",
1609 },
1610 "shape": {
1611 "dataset_query": {
1612 "innerType": {
1613 "catchall": {
1614 "typeName": "ZodNever",
1615 },
1616 "shape": {},
1617 "typeName": "ZodObject",
1618 "unknownKeys": "passthrough",
1619 },
1620 "typeName": "ZodOptional",
1621 },
1622 },
1623 "typeName": "ZodObject",
1624 "unknownKeys": "strict",
1625 },
1626 "jsonSchema": {
1627 "$schema": "http://json-schema.org/draft-07/schema#",
1628 "additionalProperties": false,
1629 "properties": {
1630 "dataset_query": {
1631 "additionalProperties": true,
1632 "properties": {},
1633 "type": "object",
1634 },
1635 },
1636 "type": "object",
1637 },
1638 },
1639 "id": "nested-free-form-object",
1640 },
1641 {
1642 "fingerprint": {
1643 "def": {
1644 "catchall": {
1645 "typeName": "ZodNever",
1646 },
1647 "shape": {},
1648 "typeName": "ZodObject",
1649 "unknownKeys": "passthrough",
1650 },
1651 "jsonSchema": {
1652 "$schema": "http://json-schema.org/draft-07/schema#",
1653 "additionalProperties": true,
1654 "properties": {},
1655 "type": "object",
1656 },
1657 },
1658 "id": "root-free-form-absent-properties",
1659 },
1660 {
1661 "fingerprint": {
1662 "def": {
1663 "catchall": {
1664 "typeName": "ZodNever",
1665 },
1666 "shape": {},
1667 "typeName": "ZodObject",
1668 "unknownKeys": "passthrough",
1669 },
1670 "jsonSchema": {
1671 "$schema": "http://json-schema.org/draft-07/schema#",
1672 "additionalProperties": true,
1673 "properties": {},
1674 "type": "object",
1675 },
1676 },
1677 "id": "root-free-form-empty-properties",
1678 },
1679 {
1680 "fingerprint": {
1681 "def": {
1682 "catchall": {
1683 "typeName": "ZodNever",
1684 },
1685 "shape": {
1686 "records": {
1687 "innerType": {
1688 "element": {
1689 "catchall": {
1690 "typeName": "ZodNever",
1691 },
1692 "shape": {},
1693 "typeName": "ZodObject",
1694 "unknownKeys": "passthrough",
1695 },
1696 "typeName": "ZodArray",
1697 },
1698 "typeName": "ZodOptional",
1699 },
1700 },
1701 "typeName": "ZodObject",
1702 "unknownKeys": "strict",
1703 },
1704 "jsonSchema": {
1705 "$schema": "http://json-schema.org/draft-07/schema#",
1706 "additionalProperties": false,
1707 "properties": {
1708 "records": {
1709 "items": {
1710 "additionalProperties": true,
1711 "properties": {},
1712 "type": "object",
1713 },
1714 "type": "array",
1715 },
1716 },
1717 "type": "object",
1718 },
1719 },
1720 "id": "free-form-object-in-array-items",
1721 },
1722 {
1723 "fingerprint": {
1724 "def": {
1725 "catchall": {
1726 "typeName": "ZodNever",
1727 },
1728 "shape": {
1729 "payload": {
1730 "effect": "transform",
1731 "schema": {
1732 "catchall": {
1733 "typeName": "ZodNever",
1734 },
1735 "shape": {},
1736 "typeName": "ZodObject",
1737 "unknownKeys": "passthrough",
1738 },
1739 "typeName": "ZodEffects",
1740 },
1741 },
1742 "typeName": "ZodObject",
1743 "unknownKeys": "strict",
1744 },
1745 "jsonSchema": {
1746 "$schema": "http://json-schema.org/draft-07/schema#",
1747 "additionalProperties": false,
1748 "properties": {
1749 "payload": {
1750 "additionalProperties": true,
1751 "properties": {},
1752 "type": "object",
1753 },
1754 },
1755 "required": [
1756 "payload",
1757 ],
1758 "type": "object",
1759 },
1760 },
1761 "id": "nested-pattern-properties-object",
1762 },
1763 {
1764 "fingerprint": {
1765 "def": {
1766 "catchall": {
1767 "typeName": "ZodNever",
1768 },
1769 "shape": {
1770 "records": {
1771 "element": {
1772 "keyType": {
1773 "checks": [],
1774 "typeName": "ZodString",
1775 },
1776 "typeName": "ZodRecord",
1777 "valueType": {
1778 "checks": [],
1779 "typeName": "ZodNumber",
1780 },
1781 },
1782 "typeName": "ZodArray",
1783 },
1784 },
1785 "typeName": "ZodObject",
1786 "unknownKeys": "strict",
1787 },
1788 "jsonSchema": {
1789 "$schema": "http://json-schema.org/draft-07/schema#",
1790 "additionalProperties": false,
1791 "properties": {
1792 "records": {
1793 "items": {
1794 "additionalProperties": {
1795 "type": "number",
1796 },
1797 "type": "object",
1798 },
1799 "type": "array",
1800 },
1801 },
1802 "required": [
1803 "records",
1804 ],
1805 "type": "object",
1806 },
1807 },
1808 "id": "schema-valued-additional-properties-in-array-items",
1809 },
1810 {
1811 "fingerprint": {
1812 "def": {
1813 "catchall": {
1814 "typeName": "ZodNever",
1815 },
1816 "shape": {},
1817 "typeName": "ZodObject",
1818 "unknownKeys": "strict",
1819 },
1820 "jsonSchema": {
1821 "$schema": "http://json-schema.org/draft-07/schema#",
1822 "additionalProperties": false,
1823 "properties": {},
1824 "type": "object",
1825 },
1826 },
1827 "id": "explicit-additional-properties-false",
1828 },
1829 {
1830 "fingerprint": {
1831 "def": {
1832 "catchall": {
1833 "typeName": "ZodNever",
1834 },
1835 "shape": {
1836 "name": {
1837 "innerType": {
1838 "checks": [],
1839 "typeName": "ZodString",
1840 },
1841 "typeName": "ZodOptional",
1842 },
1843 },
1844 "typeName": "ZodObject",
1845 "unknownKeys": "passthrough",
1846 },
1847 "jsonSchema": {
1848 "$schema": "http://json-schema.org/draft-07/schema#",
1849 "additionalProperties": true,
1850 "properties": {
1851 "name": {
1852 "type": "string",
1853 },
1854 },
1855 "type": "object",
1856 },
1857 },
1858 "id": "explicit-additional-properties-true",
1859 },
1860 {
1861 "fingerprint": {
1862 "def": {
1863 "catchall": {
1864 "typeName": "ZodNever",
1865 },
1866 "shape": {
1867 "name": {
1868 "checks": [],
1869 "typeName": "ZodString",
1870 },
1871 },
1872 "typeName": "ZodObject",
1873 "unknownKeys": "strict",
1874 },
1875 "jsonSchema": {
1876 "$schema": "http://json-schema.org/draft-07/schema#",
1877 "additionalProperties": false,
1878 "properties": {
1879 "name": {
1880 "type": "string",
1881 },
1882 },
1883 "required": [
1884 "name",
1885 ],
1886 "type": "object",
1887 },
1888 },
1889 "id": "named-properties-strict-by-default",
1890 },
1891 {
1892 "fingerprint": {
1893 "def": {
1894 "effect": "transform",
1895 "schema": {
1896 "catchall": {
1897 "typeName": "ZodNever",
1898 },
1899 "shape": {
1900 "name": {
1901 "innerType": {
1902 "checks": [],
1903 "typeName": "ZodString",
1904 },
1905 "typeName": "ZodOptional",
1906 },
1907 },
1908 "typeName": "ZodObject",
1909 "unknownKeys": "passthrough",
1910 },
1911 "typeName": "ZodEffects",
1912 },
1913 "jsonSchema": {
1914 "$schema": "http://json-schema.org/draft-07/schema#",
1915 "additionalProperties": true,
1916 "properties": {
1917 "name": {
1918 "type": "string",
1919 },
1920 },
1921 "type": "object",
1922 },
1923 },
1924 "id": "named-properties-with-pattern-properties",
1925 },
1926 {
1927 "fingerprint": {
1928 "def": {
1929 "catchall": {
1930 "checks": [],
1931 "typeName": "ZodNumber",
1932 },
1933 "shape": {
1934 "name": {
1935 "innerType": {
1936 "checks": [],
1937 "typeName": "ZodString",
1938 },
1939 "typeName": "ZodOptional",
1940 },
1941 },
1942 "typeName": "ZodObject",
1943 "unknownKeys": "strip",
1944 },
1945 "jsonSchema": {
1946 "$schema": "http://json-schema.org/draft-07/schema#",
1947 "additionalProperties": {
1948 "type": "number",
1949 },
1950 "properties": {
1951 "name": {
1952 "type": "string",
1953 },
1954 },
1955 "type": "object",
1956 },
1957 },
1958 "id": "root-additional-properties-schema-valued",
1959 },
1960 {
1961 "fingerprint": {
1962 "def": {
1963 "effect": "transform",
1964 "schema": {
1965 "catchall": {
1966 "typeName": "ZodNever",
1967 },
1968 "shape": {},
1969 "typeName": "ZodObject",
1970 "unknownKeys": "passthrough",
1971 },
1972 "typeName": "ZodEffects",
1973 },
1974 "jsonSchema": {
1975 "$schema": "http://json-schema.org/draft-07/schema#",
1976 "additionalProperties": true,
1977 "properties": {},
1978 "type": "object",
1979 },
1980 },
1981 "id": "pattern-only-object",
1982 },
1983 {
1984 "fingerprint": {
1985 "def": {
1986 "effect": "transform",
1987 "schema": {
1988 "catchall": {
1989 "typeName": "ZodNever",
1990 },
1991 "shape": {},
1992 "typeName": "ZodObject",
1993 "unknownKeys": "passthrough",
1994 },
1995 "typeName": "ZodEffects",
1996 },
1997 "jsonSchema": {
1998 "$schema": "http://json-schema.org/draft-07/schema#",
1999 "additionalProperties": true,
2000 "properties": {},
2001 "type": "object",
2002 },
2003 },
2004 "id": "multiple-matching-patterns",
2005 },
2006 {
2007 "fingerprint": {
2008 "def": {
2009 "effect": "transform",
2010 "schema": {
2011 "catchall": {
2012 "typeName": "ZodNever",
2013 },
2014 "shape": {
2015 "x_id": {
2016 "innerType": {
2017 "checks": [],
2018 "typeName": "ZodString",
2019 },
2020 "typeName": "ZodOptional",
2021 },
2022 },
2023 "typeName": "ZodObject",
2024 "unknownKeys": "passthrough",
2025 },
2026 "typeName": "ZodEffects",
2027 },
2028 "jsonSchema": {
2029 "$schema": "http://json-schema.org/draft-07/schema#",
2030 "additionalProperties": true,
2031 "properties": {
2032 "x_id": {
2033 "type": "string",
2034 },
2035 },
2036 "type": "object",
2037 },
2038 },
2039 "id": "declared-property-also-matching-a-pattern",
2040 },
2041 {
2042 "fingerprint": {
2043 "def": {
2044 "effect": "transform",
2045 "schema": {
2046 "catchall": {
2047 "typeName": "ZodNever",
2048 },
2049 "shape": {
2050 "name": {
2051 "innerType": {
2052 "checks": [],
2053 "typeName": "ZodString",
2054 },
2055 "typeName": "ZodOptional",
2056 },
2057 },
2058 "typeName": "ZodObject",
2059 "unknownKeys": "passthrough",
2060 },
2061 "typeName": "ZodEffects",
2062 },
2063 "jsonSchema": {
2064 "$schema": "http://json-schema.org/draft-07/schema#",
2065 "additionalProperties": true,
2066 "properties": {
2067 "name": {
2068 "type": "string",
2069 },
2070 },
2071 "type": "object",
2072 },
2073 },
2074 "id": "schema-valued-additional-applies-only-to-unmatched-keys",
2075 },
2076 {
2077 "fingerprint": {
2078 "def": {
2079 "catchall": {
2080 "typeName": "ZodAny",
2081 },
2082 "shape": {
2083 "name": {
2084 "innerType": {
2085 "checks": [],
2086 "typeName": "ZodString",
2087 },
2088 "typeName": "ZodOptional",
2089 },
2090 },
2091 "typeName": "ZodObject",
2092 "unknownKeys": "strip",
2093 },
2094 "jsonSchema": {
2095 "$schema": "http://json-schema.org/draft-07/schema#",
2096 "additionalProperties": {},
2097 "properties": {
2098 "name": {
2099 "type": "string",
2100 },
2101 },
2102 "type": "object",
2103 },
2104 },
2105 "id": "empty-schema-additional-properties",
2106 },
2107 {
2108 "fingerprint": {
2109 "def": {
2110 "effect": "transform",
2111 "schema": {
2112 "catchall": {
2113 "typeName": "ZodNever",
2114 },
2115 "shape": {},
2116 "typeName": "ZodObject",
2117 "unknownKeys": "passthrough",
2118 },
2119 "typeName": "ZodEffects",
2120 },
2121 "jsonSchema": {
2122 "$schema": "http://json-schema.org/draft-07/schema#",
2123 "additionalProperties": true,
2124 "properties": {},
2125 "type": "object",
2126 },
2127 },
2128 "id": "pattern-property-enum",
2129 },
2130 {
2131 "fingerprint": {
2132 "def": {
2133 "effect": "transform",
2134 "schema": {
2135 "catchall": {
2136 "typeName": "ZodNever",
2137 },
2138 "shape": {},
2139 "typeName": "ZodObject",
2140 "unknownKeys": "passthrough",
2141 },
2142 "typeName": "ZodEffects",
2143 },
2144 "jsonSchema": {
2145 "$schema": "http://json-schema.org/draft-07/schema#",
2146 "additionalProperties": true,
2147 "properties": {},
2148 "type": "object",
2149 },
2150 },
2151 "id": "pattern-property-strict-nested-array",
2152 },
2153 {
2154 "fingerprint": {
2155 "def": {
2156 "effect": "transform",
2157 "schema": {
2158 "catchall": {
2159 "typeName": "ZodNever",
2160 },
2161 "shape": {},
2162 "typeName": "ZodObject",
2163 "unknownKeys": "passthrough",
2164 },
2165 "typeName": "ZodEffects",
2166 },
2167 "jsonSchema": {
2168 "$schema": "http://json-schema.org/draft-07/schema#",
2169 "additionalProperties": true,
2170 "properties": {},
2171 "type": "object",
2172 },
2173 },
2174 "id": "false-pattern-property-schema",
2175 },
2176 {
2177 "fingerprint": {
2178 "def": {
2179 "effect": "transform",
2180 "schema": {
2181 "catchall": {
2182 "typeName": "ZodNever",
2183 },
2184 "shape": {},
2185 "typeName": "ZodObject",
2186 "unknownKeys": "passthrough",
2187 },
2188 "typeName": "ZodEffects",
2189 },
2190 "jsonSchema": {
2191 "$schema": "http://json-schema.org/draft-07/schema#",
2192 "additionalProperties": true,
2193 "properties": {},
2194 "type": "object",
2195 },
2196 },
2197 "id": "pattern-property-type-union",
2198 },
2199 {
2200 "fingerprint": {
2201 "def": {
2202 "effect": "transform",
2203 "schema": {
2204 "catchall": {
2205 "typeName": "ZodNever",
2206 },
2207 "shape": {},
2208 "typeName": "ZodObject",
2209 "unknownKeys": "passthrough",
2210 },
2211 "typeName": "ZodEffects",
2212 },
2213 "jsonSchema": {
2214 "$schema": "http://json-schema.org/draft-07/schema#",
2215 "additionalProperties": true,
2216 "properties": {},
2217 "type": "object",
2218 },
2219 },
2220 "id": "pattern-property-json-integer",
2221 },
2222 {
2223 "fingerprint": {
2224 "def": {
2225 "effect": "transform",
2226 "guarded": true,
2227 "schema": {
2228 "catchall": {
2229 "typeName": "ZodNever",
2230 },
2231 "shape": {},
2232 "typeName": "ZodObject",
2233 "unknownKeys": "passthrough",
2234 },
2235 "typeName": "ZodEffects",
2236 },
2237 "jsonSchema": {
2238 "$schema": "http://json-schema.org/draft-07/schema#",
2239 "additionalProperties": true,
2240 "properties": {},
2241 "type": "object",
2242 },
2243 },
2244 "id": "pattern-property-composed-const-exclusion",
2245 },
2246 {
2247 "fingerprint": {
2248 "def": {
2249 "effect": "transform",
2250 "schema": {
2251 "catchall": {
2252 "typeName": "ZodNever",
2253 },
2254 "shape": {},
2255 "typeName": "ZodObject",
2256 "unknownKeys": "passthrough",
2257 },
2258 "typeName": "ZodEffects",
2259 },
2260 "jsonSchema": {
2261 "$schema": "http://json-schema.org/draft-07/schema#",
2262 "additionalProperties": true,
2263 "properties": {},
2264 "type": "object",
2265 },
2266 },
2267 "id": "pattern-property-default-materialization",
2268 },
2269 {
2270 "fingerprint": {
2271 "def": {
2272 "catchall": {
2273 "typeName": "ZodNever",
2274 },
2275 "shape": {
2276 "allowed": {
2277 "typeName": "ZodAny",
2278 },
2279 "forbidden": {
2280 "innerType": {
2281 "typeName": "ZodNever",
2282 },
2283 "typeName": "ZodOptional",
2284 },
2285 },
2286 "typeName": "ZodObject",
2287 "unknownKeys": "strict",
2288 },
2289 "jsonSchema": {
2290 "$schema": "http://json-schema.org/draft-07/schema#",
2291 "additionalProperties": false,
2292 "properties": {
2293 "allowed": {},
2294 "forbidden": {
2295 "not": {},
2296 },
2297 },
2298 "type": "object",
2299 },
2300 },
2301 "id": "primitive-boolean-property-schemas",
2302 },
2303 {
2304 "fingerprint": {
2305 "def": {
2306 "catchall": {
2307 "typeName": "ZodNever",
2308 },
2309 "shape": {
2310 "anything": {
2311 "typeName": "ZodAny",
2312 },
2313 "nullOnly": {
2314 "typeName": "ZodNull",
2315 },
2316 },
2317 "typeName": "ZodObject",
2318 "unknownKeys": "strict",
2319 },
2320 "jsonSchema": {
2321 "$schema": "http://json-schema.org/draft-07/schema#",
2322 "additionalProperties": false,
2323 "properties": {
2324 "anything": {},
2325 "nullOnly": {
2326 "type": "null",
2327 },
2328 },
2329 "required": [
2330 "nullOnly",
2331 ],
2332 "type": "object",
2333 },
2334 },
2335 "id": "primitive-empty-and-null-schemas",
2336 },
2337 {
2338 "fingerprint": {
2339 "def": {
2340 "catchall": {
2341 "typeName": "ZodNever",
2342 },
2343 "shape": {
2344 "value": {
2345 "options": [
2346 {
2347 "checks": [],
2348 "typeName": "ZodString",
2349 },
2350 {
2351 "checks": [
2352 {
2353 "kind": "int",
2354 "message": undefined,
2355 },
2356 ],
2357 "typeName": "ZodNumber",
2358 },
2359 {
2360 "typeName": "ZodNull",
2361 },
2362 ],
2363 "typeName": "ZodUnion",
2364 },
2365 },
2366 "typeName": "ZodObject",
2367 "unknownKeys": "strict",
2368 },
2369 "jsonSchema": {
2370 "$schema": "http://json-schema.org/draft-07/schema#",
2371 "additionalProperties": false,
2372 "properties": {
2373 "value": {
2374 "anyOf": [
2375 {
2376 "type": "string",
2377 },
2378 {
2379 "type": "integer",
2380 },
2381 {
2382 "type": "null",
2383 },
2384 ],
2385 },
2386 },
2387 "required": [
2388 "value",
2389 ],
2390 "type": "object",
2391 },
2392 },
2393 "id": "primitive-type-array-union",
2394 },
2395 {
2396 "fingerprint": {
2397 "def": {
2398 "catchall": {
2399 "typeName": "ZodNever",
2400 },
2401 "shape": {
2402 "value": {
2403 "left": {
2404 "checks": [],
2405 "typeName": "ZodString",
2406 },
2407 "right": {
2408 "options": [
2409 {
2410 "typeName": "ZodLiteral",
2411 "value": 1,
2412 },
2413 {
2414 "typeName": "ZodLiteral",
2415 "value": "ready",
2416 },
2417 ],
2418 "typeName": "ZodUnion",
2419 },
2420 "typeName": "ZodIntersection",
2421 },
2422 },
2423 "typeName": "ZodObject",
2424 "unknownKeys": "strict",
2425 },
2426 "jsonSchema": {
2427 "$schema": "http://json-schema.org/draft-07/schema#",
2428 "additionalProperties": false,
2429 "properties": {
2430 "value": {
2431 "allOf": [
2432 {
2433 "type": "string",
2434 },
2435 {
2436 "enum": [
2437 1,
2438 "ready",
2439 ],
2440 "type": [
2441 "number",
2442 "string",
2443 ],
2444 },
2445 ],
2446 },
2447 },
2448 "required": [
2449 "value",
2450 ],
2451 "type": "object",
2452 },
2453 },
2454 "id": "primitive-enum-intersects-declared-type",
2455 },
2456 {
2457 "fingerprint": {
2458 "def": {
2459 "catchall": {
2460 "typeName": "ZodNever",
2461 },
2462 "guarded": true,
2463 "shape": {
2464 "anyOf": {
2465 "typeName": "ZodNull",
2466 },
2467 "typeArray": {
2468 "options": [
2469 {
2470 "typeName": "ZodNull",
2471 },
2472 ],
2473 "typeName": "ZodUnion",
2474 },
2475 },
2476 "typeName": "ZodObject",
2477 "unknownKeys": "strict",
2478 },
2479 "jsonSchema": {
2480 "$schema": "http://json-schema.org/draft-07/schema#",
2481 "additionalProperties": false,
2482 "properties": {
2483 "anyOf": {
2484 "type": "null",
2485 },
2486 "typeArray": {
2487 "type": "null",
2488 },
2489 },
2490 "required": [
2491 "typeArray",
2492 "anyOf",
2493 ],
2494 "type": "object",
2495 },
2496 },
2497 "id": "primitive-null-only-unions",
2498 },
2499 {
2500 "fingerprint": {
2501 "def": {
2502 "catchall": {
2503 "typeName": "ZodNever",
2504 },
2505 "shape": {
2506 "code": {
2507 "effect": "refinement",
2508 "schema": {
2509 "effect": "refinement",
2510 "schema": {
2511 "checks": [
2512 {
2513 "kind": "regex",
2514 "regex": "^[A-Z]{2}$",
2515 },
2516 ],
2517 "typeName": "ZodString",
2518 },
2519 "typeName": "ZodEffects",
2520 },
2521 "typeName": "ZodEffects",
2522 },
2523 "count": {
2524 "effect": "refinement",
2525 "schema": {
2526 "checks": [
2527 {
2528 "inclusive": false,
2529 "kind": "min",
2530 "message": undefined,
2531 "value": 0,
2532 },
2533 ],
2534 "typeName": "ZodNumber",
2535 },
2536 "typeName": "ZodEffects",
2537 },
2538 },
2539 "typeName": "ZodObject",
2540 "unknownKeys": "strict",
2541 },
2542 "jsonSchema": {
2543 "$schema": "http://json-schema.org/draft-07/schema#",
2544 "additionalProperties": false,
2545 "properties": {
2546 "code": {
2547 "pattern": "^[A-Z]{2}$",
2548 "type": "string",
2549 },
2550 "count": {
2551 "exclusiveMinimum": 0,
2552 "type": "number",
2553 },
2554 },
2555 "required": [
2556 "code",
2557 "count",
2558 ],
2559 "type": "object",
2560 },
2561 },
2562 "id": "primitive-scalar-constraints",
2563 },
2564 {
2565 "fingerprint": {
2566 "def": {
2567 "catchall": {
2568 "typeName": "ZodNever",
2569 },
2570 "shape": {
2571 "lower": {
2572 "checks": [
2573 {
2574 "inclusive": true,
2575 "kind": "min",
2576 "message": undefined,
2577 "value": 0,
2578 },
2579 {
2580 "inclusive": false,
2581 "kind": "min",
2582 "message": undefined,
2583 "value": 5,
2584 },
2585 ],
2586 "typeName": "ZodNumber",
2587 },
2588 "upper": {
2589 "checks": [
2590 {
2591 "inclusive": true,
2592 "kind": "max",
2593 "message": undefined,
2594 "value": 10,
2595 },
2596 {
2597 "inclusive": false,
2598 "kind": "max",
2599 "message": undefined,
2600 "value": 5,
2601 },
2602 ],
2603 "typeName": "ZodNumber",
2604 },
2605 },
2606 "typeName": "ZodObject",
2607 "unknownKeys": "strict",
2608 },
2609 "jsonSchema": {
2610 "$schema": "http://json-schema.org/draft-07/schema#",
2611 "additionalProperties": false,
2612 "properties": {
2613 "lower": {
2614 "exclusiveMinimum": 5,
2615 "minimum": 0,
2616 "type": "number",
2617 },
2618 "upper": {
2619 "exclusiveMaximum": 5,
2620 "maximum": 10,
2621 "type": "number",
2622 },
2623 },
2624 "required": [
2625 "lower",
2626 "upper",
2627 ],
2628 "type": "object",
2629 },
2630 },
2631 "id": "primitive-independent-numeric-bounds",
2632 },
2633 {
2634 "fingerprint": {
2635 "def": {
2636 "catchall": {
2637 "typeName": "ZodNever",
2638 },
2639 "shape": {
2640 "value": {
2641 "left": {
2642 "checks": [],
2643 "typeName": "ZodString",
2644 },
2645 "right": {
2646 "typeName": "ZodLiteral",
2647 "value": 1,
2648 },
2649 "typeName": "ZodIntersection",
2650 },
2651 },
2652 "typeName": "ZodObject",
2653 "unknownKeys": "strict",
2654 },
2655 "jsonSchema": {
2656 "$schema": "http://json-schema.org/draft-07/schema#",
2657 "additionalProperties": false,
2658 "properties": {
2659 "value": {
2660 "allOf": [
2661 {
2662 "type": "string",
2663 },
2664 {
2665 "const": 1,
2666 "type": "number",
2667 },
2668 ],
2669 },
2670 },
2671 "required": [
2672 "value",
2673 ],
2674 "type": "object",
2675 },
2676 },
2677 "id": "primitive-const-intersects-declared-type",
2678 },
2679 {
2680 "fingerprint": {
2681 "def": {
2682 "catchall": {
2683 "typeName": "ZodNever",
2684 },
2685 "shape": {
2686 "value": {
2687 "left": {
2688 "typeName": "ZodAny",
2689 },
2690 "right": {
2691 "effect": "refinement",
2692 "schema": {
2693 "typeName": "ZodAny",
2694 },
2695 "typeName": "ZodEffects",
2696 },
2697 "typeName": "ZodIntersection",
2698 },
2699 },
2700 "typeName": "ZodObject",
2701 "unknownKeys": "strict",
2702 },
2703 "jsonSchema": {
2704 "$schema": "http://json-schema.org/draft-07/schema#",
2705 "additionalProperties": false,
2706 "properties": {
2707 "value": {
2708 "allOf": [
2709 {},
2710 {},
2711 ],
2712 },
2713 },
2714 "required": [
2715 "value",
2716 ],
2717 "type": "object",
2718 },
2719 },
2720 "id": "primitive-compound-enum-values",
2721 },
2722 {
2723 "fingerprint": {
2724 "def": {
2725 "catchall": {
2726 "typeName": "ZodNever",
2727 },
2728 "shape": {
2729 "flag": {
2730 "left": {
2731 "typeName": "ZodAny",
2732 },
2733 "right": {
2734 "typeName": "ZodLiteral",
2735 "value": false,
2736 },
2737 "typeName": "ZodIntersection",
2738 },
2739 "maybe": {
2740 "left": {
2741 "typeName": "ZodAny",
2742 },
2743 "right": {
2744 "typeName": "ZodLiteral",
2745 "value": null,
2746 },
2747 "typeName": "ZodIntersection",
2748 },
2749 },
2750 "typeName": "ZodObject",
2751 "unknownKeys": "strict",
2752 },
2753 "jsonSchema": {
2754 "$schema": "http://json-schema.org/draft-07/schema#",
2755 "additionalProperties": false,
2756 "properties": {
2757 "flag": {
2758 "allOf": [
2759 {},
2760 {
2761 "const": false,
2762 "type": "boolean",
2763 },
2764 ],
2765 },
2766 "maybe": {
2767 "allOf": [
2768 {},
2769 {
2770 "type": "object",
2771 },
2772 ],
2773 },
2774 },
2775 "required": [
2776 "maybe",
2777 "flag",
2778 ],
2779 "type": "object",
2780 },
2781 },
2782 "id": "primitive-const-null-and-false",
2783 },
2784 {
2785 "fingerprint": {
2786 "def": {
2787 "catchall": {
2788 "typeName": "ZodNever",
2789 },
2790 "shape": {
2791 "bits": {
2792 "left": {
2793 "typeName": "ZodAny",
2794 },
2795 "right": {
2796 "options": [
2797 {
2798 "typeName": "ZodLiteral",
2799 "value": 0,
2800 },
2801 {
2802 "typeName": "ZodLiteral",
2803 "value": 1,
2804 },
2805 ],
2806 "typeName": "ZodUnion",
2807 },
2808 "typeName": "ZodIntersection",
2809 },
2810 "toggle": {
2811 "left": {
2812 "typeName": "ZodAny",
2813 },
2814 "right": {
2815 "typeName": "ZodLiteral",
2816 "value": true,
2817 },
2818 "typeName": "ZodIntersection",
2819 },
2820 },
2821 "typeName": "ZodObject",
2822 "unknownKeys": "strict",
2823 },
2824 "jsonSchema": {
2825 "$schema": "http://json-schema.org/draft-07/schema#",
2826 "additionalProperties": false,
2827 "properties": {
2828 "bits": {
2829 "allOf": [
2830 {},
2831 {
2832 "enum": [
2833 0,
2834 1,
2835 ],
2836 "type": "number",
2837 },
2838 ],
2839 },
2840 "toggle": {
2841 "allOf": [
2842 {},
2843 {
2844 "const": true,
2845 "type": "boolean",
2846 },
2847 ],
2848 },
2849 },
2850 "required": [
2851 "bits",
2852 "toggle",
2853 ],
2854 "type": "object",
2855 },
2856 },
2857 "id": "primitive-enum-boolean-number-identity",
2858 },
2859 {
2860 "fingerprint": {
2861 "def": {
2862 "catchall": {
2863 "typeName": "ZodNever",
2864 },
2865 "shape": {
2866 "value": {
2867 "left": {
2868 "typeName": "ZodAny",
2869 },
2870 "right": {
2871 "options": [
2872 {
2873 "typeName": "ZodLiteral",
2874 "value": "a",
2875 },
2876 {
2877 "typeName": "ZodLiteral",
2878 "value": null,
2879 },
2880 ],
2881 "typeName": "ZodUnion",
2882 },
2883 "typeName": "ZodIntersection",
2884 },
2885 },
2886 "typeName": "ZodObject",
2887 "unknownKeys": "strict",
2888 },
2889 "jsonSchema": {
2890 "$schema": "http://json-schema.org/draft-07/schema#",
2891 "additionalProperties": false,
2892 "properties": {
2893 "value": {
2894 "allOf": [
2895 {},
2896 {
2897 "enum": [
2898 "a",
2899 null,
2900 ],
2901 "type": [
2902 "string",
2903 "null",
2904 ],
2905 },
2906 ],
2907 },
2908 },
2909 "required": [
2910 "value",
2911 ],
2912 "type": "object",
2913 },
2914 },
2915 "id": "primitive-enum-with-null-member",
2916 },
2917 {
2918 "fingerprint": {
2919 "def": {
2920 "catchall": {
2921 "typeName": "ZodNever",
2922 },
2923 "shape": {
2924 "code": {
2925 "left": {
2926 "effect": "refinement",
2927 "schema": {
2928 "checks": [],
2929 "typeName": "ZodString",
2930 },
2931 "typeName": "ZodEffects",
2932 },
2933 "right": {
2934 "typeName": "ZodLiteral",
2935 "value": "a",
2936 },
2937 "typeName": "ZodIntersection",
2938 },
2939 },
2940 "typeName": "ZodObject",
2941 "unknownKeys": "strict",
2942 },
2943 "jsonSchema": {
2944 "$schema": "http://json-schema.org/draft-07/schema#",
2945 "additionalProperties": false,
2946 "properties": {
2947 "code": {
2948 "allOf": [
2949 {
2950 "type": "string",
2951 },
2952 {
2953 "const": "a",
2954 "type": "string",
2955 },
2956 ],
2957 },
2958 },
2959 "required": [
2960 "code",
2961 ],
2962 "type": "object",
2963 },
2964 },
2965 "id": "primitive-const-constraint-conjunction",
2966 },
2967 {
2968 "fingerprint": {
2969 "def": {
2970 "catchall": {
2971 "typeName": "ZodNever",
2972 },
2973 "shape": {
2974 "count": {
2975 "checks": [
2976 {
2977 "kind": "int",
2978 "message": undefined,
2979 },
2980 {
2981 "inclusive": true,
2982 "kind": "min",
2983 "message": undefined,
2984 "value": 5,
2985 },
2986 {
2987 "inclusive": true,
2988 "kind": "max",
2989 "message": undefined,
2990 "value": 10,
2991 },
2992 ],
2993 "typeName": "ZodNumber",
2994 },
2995 },
2996 "typeName": "ZodObject",
2997 "unknownKeys": "strict",
2998 },
2999 "jsonSchema": {
3000 "$schema": "http://json-schema.org/draft-07/schema#",
3001 "additionalProperties": false,
3002 "properties": {
3003 "count": {
3004 "maximum": 10,
3005 "minimum": 5,
3006 "type": "integer",
3007 },
3008 },
3009 "required": [
3010 "count",
3011 ],
3012 "type": "object",
3013 },
3014 },
3015 "id": "primitive-inclusive-numeric-boundaries",
3016 },
3017 {
3018 "fingerprint": {
3019 "def": {
3020 "catchall": {
3021 "typeName": "ZodNever",
3022 },
3023 "shape": {
3024 "value": {
3025 "left": {
3026 "left": {
3027 "typeName": "ZodAny",
3028 },
3029 "right": {
3030 "typeName": "ZodLiteral",
3031 "value": "b",
3032 },
3033 "typeName": "ZodIntersection",
3034 },
3035 "right": {
3036 "typeName": "ZodEnum",
3037 "values": [
3038 "a",
3039 "b",
3040 ],
3041 },
3042 "typeName": "ZodIntersection",
3043 },
3044 },
3045 "typeName": "ZodObject",
3046 "unknownKeys": "strict",
3047 },
3048 "jsonSchema": {
3049 "$schema": "http://json-schema.org/draft-07/schema#",
3050 "additionalProperties": false,
3051 "properties": {
3052 "value": {
3053 "allOf": [
3054 {},
3055 {
3056 "const": "b",
3057 "type": "string",
3058 },
3059 {
3060 "enum": [
3061 "a",
3062 "b",
3063 ],
3064 "type": "string",
3065 },
3066 ],
3067 },
3068 },
3069 "required": [
3070 "value",
3071 ],
3072 "type": "object",
3073 },
3074 },
3075 "id": "primitive-const-narrows-enum",
3076 },
3077 {
3078 "fingerprint": {
3079 "def": {
3080 "catchall": {
3081 "typeName": "ZodNever",
3082 },
3083 "shape": {
3084 "value": {
3085 "left": {
3086 "typeName": "ZodAny",
3087 },
3088 "right": {
3089 "effect": "refinement",
3090 "schema": {
3091 "typeName": "ZodAny",
3092 },
3093 "typeName": "ZodEffects",
3094 },
3095 "typeName": "ZodIntersection",
3096 },
3097 },
3098 "typeName": "ZodObject",
3099 "unknownKeys": "strict",
3100 },
3101 "jsonSchema": {
3102 "$schema": "http://json-schema.org/draft-07/schema#",
3103 "additionalProperties": false,
3104 "properties": {
3105 "value": {
3106 "allOf": [
3107 {},
3108 {},
3109 ],
3110 },
3111 },
3112 "required": [
3113 "value",
3114 ],
3115 "type": "object",
3116 },
3117 },
3118 "id": "primitive-compound-const-deep-equality",
3119 },
3120 {
3121 "fingerprint": {
3122 "def": {
3123 "catchall": {
3124 "typeName": "ZodNever",
3125 },
3126 "shape": {
3127 "glyph": {
3128 "effect": "refinement",
3129 "schema": {
3130 "checks": [],
3131 "typeName": "ZodString",
3132 },
3133 "typeName": "ZodEffects",
3134 },
3135 },
3136 "typeName": "ZodObject",
3137 "unknownKeys": "strict",
3138 },
3139 "jsonSchema": {
3140 "$schema": "http://json-schema.org/draft-07/schema#",
3141 "additionalProperties": false,
3142 "properties": {
3143 "glyph": {
3144 "type": "string",
3145 },
3146 },
3147 "required": [
3148 "glyph",
3149 ],
3150 "type": "object",
3151 },
3152 },
3153 "id": "primitive-unicode-code-point-length",
3154 },
3155 {
3156 "fingerprint": {
3157 "def": {
3158 "catchall": {
3159 "typeName": "ZodNever",
3160 },
3161 "shape": {
3162 "value": {
3163 "left": {
3164 "effect": "refinement",
3165 "schema": {
3166 "typeName": "ZodAny",
3167 },
3168 "typeName": "ZodEffects",
3169 },
3170 "right": {
3171 "typeName": "ZodEnum",
3172 "values": [
3173 "a",
3174 "abc",
3175 ],
3176 },
3177 "typeName": "ZodIntersection",
3178 },
3179 },
3180 "typeName": "ZodObject",
3181 "unknownKeys": "strict",
3182 },
3183 "jsonSchema": {
3184 "$schema": "http://json-schema.org/draft-07/schema#",
3185 "additionalProperties": false,
3186 "properties": {
3187 "value": {
3188 "allOf": [
3189 {},
3190 {
3191 "enum": [
3192 "a",
3193 "abc",
3194 ],
3195 "type": "string",
3196 },
3197 ],
3198 },
3199 },
3200 "required": [
3201 "value",
3202 ],
3203 "type": "object",
3204 },
3205 },
3206 "id": "primitive-typeless-constraint-scoping",
3207 },
3208 {
3209 "fingerprint": {
3210 "def": {
3211 "catchall": {
3212 "typeName": "ZodNever",
3213 },
3214 "shape": {
3215 "step": {
3216 "effect": "refinement",
3217 "schema": {
3218 "checks": [],
3219 "typeName": "ZodNumber",
3220 },
3221 "typeName": "ZodEffects",
3222 },
3223 },
3224 "typeName": "ZodObject",
3225 "unknownKeys": "strict",
3226 },
3227 "jsonSchema": {
3228 "$schema": "http://json-schema.org/draft-07/schema#",
3229 "additionalProperties": false,
3230 "properties": {
3231 "step": {
3232 "type": "number",
3233 },
3234 },
3235 "required": [
3236 "step",
3237 ],
3238 "type": "object",
3239 },
3240 },
3241 "id": "primitive-float-multiple-of",
3242 },
3243 {
3244 "fingerprint": {
3245 "def": {
3246 "catchall": {
3247 "typeName": "ZodNever",
3248 },
3249 "shape": {
3250 "lower": {
3251 "checks": [
3252 {
3253 "inclusive": false,
3254 "kind": "min",
3255 "message": undefined,
3256 "value": 5,
3257 },
3258 ],
3259 "typeName": "ZodNumber",
3260 },
3261 "upper": {
3262 "checks": [
3263 {
3264 "inclusive": false,
3265 "kind": "max",
3266 "message": undefined,
3267 "value": 5,
3268 },
3269 ],
3270 "typeName": "ZodNumber",
3271 },
3272 },
3273 "typeName": "ZodObject",
3274 "unknownKeys": "strict",
3275 },
3276 "jsonSchema": {
3277 "$schema": "http://json-schema.org/draft-07/schema#",
3278 "additionalProperties": false,
3279 "properties": {
3280 "lower": {
3281 "exclusiveMinimum": 5,
3282 "type": "number",
3283 },
3284 "upper": {
3285 "exclusiveMaximum": 5,
3286 "type": "number",
3287 },
3288 },
3289 "required": [
3290 "lower",
3291 "upper",
3292 ],
3293 "type": "object",
3294 },
3295 },
3296 "id": "primitive-draft4-boolean-exclusive-bounds",
3297 },
3298 {
3299 "fingerprint": {
3300 "def": {
3301 "catchall": {
3302 "typeName": "ZodNever",
3303 },
3304 "shape": {
3305 "value": {
3306 "options": [
3307 {
3308 "effect": "refinement",
3309 "schema": {
3310 "checks": [],
3311 "typeName": "ZodString",
3312 },
3313 "typeName": "ZodEffects",
3314 },
3315 {
3316 "checks": [
3317 {
3318 "inclusive": true,
3319 "kind": "min",
3320 "message": undefined,
3321 "value": 10,
3322 },
3323 ],
3324 "typeName": "ZodNumber",
3325 },
3326 ],
3327 "typeName": "ZodUnion",
3328 },
3329 },
3330 "typeName": "ZodObject",
3331 "unknownKeys": "strict",
3332 },
3333 "jsonSchema": {
3334 "$schema": "http://json-schema.org/draft-07/schema#",
3335 "additionalProperties": false,
3336 "properties": {
3337 "value": {
3338 "anyOf": [
3339 {
3340 "type": "string",
3341 },
3342 {
3343 "minimum": 10,
3344 "type": "number",
3345 },
3346 ],
3347 },
3348 },
3349 "required": [
3350 "value",
3351 ],
3352 "type": "object",
3353 },
3354 },
3355 "id": "primitive-type-array-constraint-scoping",
3356 },
3357 {
3358 "fingerprint": {
3359 "def": {
3360 "catchall": {
3361 "typeName": "ZodNever",
3362 },
3363 "shape": {
3364 "value": {
3365 "innerType": {
3366 "left": {
3367 "typeName": "ZodAny",
3368 },
3369 "right": {
3370 "typeName": "ZodNever",
3371 },
3372 "typeName": "ZodIntersection",
3373 },
3374 "typeName": "ZodOptional",
3375 },
3376 },
3377 "typeName": "ZodObject",
3378 "unknownKeys": "strict",
3379 },
3380 "jsonSchema": {
3381 "$schema": "http://json-schema.org/draft-07/schema#",
3382 "additionalProperties": false,
3383 "properties": {
3384 "value": {
3385 "allOf": [
3386 {},
3387 {
3388 "not": {},
3389 },
3390 ],
3391 },
3392 },
3393 "type": "object",
3394 },
3395 },
3396 "id": "primitive-empty-enum-optional-property",
3397 },
3398 {
3399 "fingerprint": {
3400 "def": {
3401 "catchall": {
3402 "catchall": {
3403 "typeName": "ZodNever",
3404 },
3405 "shape": {
3406 "enabled": {
3407 "defaultValue": false,
3408 "innerType": {
3409 "innerType": {
3410 "defaultValue": false,
3411 "innerType": {
3412 "typeName": "ZodBoolean",
3413 },
3414 "typeName": "ZodDefault",
3415 },
3416 "typeName": "ZodOptional",
3417 },
3418 "typeName": "ZodDefault",
3419 },
3420 },
3421 "typeName": "ZodObject",
3422 "unknownKeys": "strict",
3423 },
3424 "shape": {
3425 "name": {
3426 "innerType": {
3427 "checks": [],
3428 "typeName": "ZodString",
3429 },
3430 "typeName": "ZodOptional",
3431 },
3432 },
3433 "typeName": "ZodObject",
3434 "unknownKeys": "strip",
3435 },
3436 "jsonSchema": {
3437 "$schema": "http://json-schema.org/draft-07/schema#",
3438 "additionalProperties": {
3439 "additionalProperties": false,
3440 "properties": {
3441 "enabled": {
3442 "default": false,
3443 "type": "boolean",
3444 },
3445 },
3446 "type": "object",
3447 },
3448 "properties": {
3449 "name": {
3450 "type": "string",
3451 },
3452 },
3453 "type": "object",
3454 },
3455 },
3456 "id": "additional-property-default-materialization",
3457 },
3458 {
3459 "fingerprint": {
3460 "def": {
3461 "catchall": {
3462 "typeName": "ZodNever",
3463 },
3464 "guarded": true,
3465 "shape": {
3466 "value": {
3467 "options": [
3468 {
3469 "items": [],
3470 "rest": null,
3471 "typeName": "ZodTuple",
3472 },
3473 {
3474 "items": [
3475 {
3476 "checks": [],
3477 "typeName": "ZodString",
3478 },
3479 ],
3480 "rest": null,
3481 "typeName": "ZodTuple",
3482 },
3483 {
3484 "items": [
3485 {
3486 "checks": [],
3487 "typeName": "ZodString",
3488 },
3489 {
3490 "checks": [
3491 {
3492 "kind": "int",
3493 "message": undefined,
3494 },
3495 ],
3496 "typeName": "ZodNumber",
3497 },
3498 ],
3499 "rest": null,
3500 "typeName": "ZodTuple",
3501 },
3502 ],
3503 "typeName": "ZodUnion",
3504 },
3505 },
3506 "typeName": "ZodObject",
3507 "unknownKeys": "strict",
3508 },
3509 "jsonSchema": {
3510 "$schema": "http://json-schema.org/draft-07/schema#",
3511 "additionalProperties": false,
3512 "properties": {
3513 "value": {
3514 "anyOf": [
3515 {
3516 "items": [],
3517 "maxItems": 0,
3518 "minItems": 0,
3519 "type": "array",
3520 },
3521 {
3522 "items": [
3523 {
3524 "type": "string",
3525 },
3526 ],
3527 "maxItems": 1,
3528 "minItems": 1,
3529 "type": "array",
3530 },
3531 {
3532 "items": [
3533 {
3534 "$ref": "#/properties/value/anyOf/1/items/0",
3535 },
3536 {
3537 "type": "integer",
3538 },
3539 ],
3540 "maxItems": 2,
3541 "minItems": 2,
3542 "type": "array",
3543 },
3544 ],
3545 },
3546 },
3547 "required": [
3548 "value",
3549 ],
3550 "type": "object",
3551 },
3552 },
3553 "id": "composition-fixed-tuple-items",
3554 },
3555 {
3556 "fingerprint": {
3557 "def": {
3558 "catchall": {
3559 "typeName": "ZodNever",
3560 },
3561 "shape": {
3562 "value": {
3563 "options": [
3564 {
3565 "items": [],
3566 "rest": null,
3567 "typeName": "ZodTuple",
3568 },
3569 {
3570 "items": [
3571 {
3572 "checks": [],
3573 "typeName": "ZodString",
3574 },
3575 ],
3576 "rest": null,
3577 "typeName": "ZodTuple",
3578 },
3579 {
3580 "items": [
3581 {
3582 "checks": [],
3583 "typeName": "ZodString",
3584 },
3585 {
3586 "checks": [
3587 {
3588 "kind": "int",
3589 "message": undefined,
3590 },
3591 ],
3592 "typeName": "ZodNumber",
3593 },
3594 ],
3595 "rest": {
3596 "typeName": "ZodAny",
3597 },
3598 "typeName": "ZodTuple",
3599 },
3600 ],
3601 "typeName": "ZodUnion",
3602 },
3603 },
3604 "typeName": "ZodObject",
3605 "unknownKeys": "strict",
3606 },
3607 "jsonSchema": {
3608 "$schema": "http://json-schema.org/draft-07/schema#",
3609 "additionalProperties": false,
3610 "properties": {
3611 "value": {
3612 "anyOf": [
3613 {
3614 "items": [],
3615 "maxItems": 0,
3616 "minItems": 0,
3617 "type": "array",
3618 },
3619 {
3620 "items": [
3621 {
3622 "type": "string",
3623 },
3624 ],
3625 "maxItems": 1,
3626 "minItems": 1,
3627 "type": "array",
3628 },
3629 {
3630 "additionalItems": {},
3631 "items": [
3632 {
3633 "$ref": "#/properties/value/anyOf/1/items/0",
3634 },
3635 {
3636 "type": "integer",
3637 },
3638 ],
3639 "minItems": 2,
3640 "type": "array",
3641 },
3642 ],
3643 },
3644 },
3645 "required": [
3646 "value",
3647 ],
3648 "type": "object",
3649 },
3650 },
3651 "id": "composition-open-tuple-items",
3652 },
3653 {
3654 "fingerprint": {
3655 "def": {
3656 "catchall": {
3657 "typeName": "ZodNever",
3658 },
3659 "guarded": true,
3660 "shape": {
3661 "value": {
3662 "options": [
3663 {
3664 "items": [],
3665 "rest": null,
3666 "typeName": "ZodTuple",
3667 },
3668 {
3669 "items": [
3670 {
3671 "checks": [],
3672 "typeName": "ZodString",
3673 },
3674 ],
3675 "rest": null,
3676 "typeName": "ZodTuple",
3677 },
3678 {
3679 "items": [
3680 {
3681 "checks": [],
3682 "typeName": "ZodString",
3683 },
3684 {
3685 "typeName": "ZodNever",
3686 },
3687 ],
3688 "rest": null,
3689 "typeName": "ZodTuple",
3690 },
3691 ],
3692 "typeName": "ZodUnion",
3693 },
3694 },
3695 "typeName": "ZodObject",
3696 "unknownKeys": "strict",
3697 },
3698 "jsonSchema": {
3699 "$schema": "http://json-schema.org/draft-07/schema#",
3700 "additionalProperties": false,
3701 "properties": {
3702 "value": {
3703 "anyOf": [
3704 {
3705 "items": [],
3706 "maxItems": 0,
3707 "minItems": 0,
3708 "type": "array",
3709 },
3710 {
3711 "items": [
3712 {
3713 "type": "string",
3714 },
3715 ],
3716 "maxItems": 1,
3717 "minItems": 1,
3718 "type": "array",
3719 },
3720 {
3721 "items": [
3722 {
3723 "$ref": "#/properties/value/anyOf/1/items/0",
3724 },
3725 {
3726 "not": {},
3727 },
3728 ],
3729 "maxItems": 2,
3730 "minItems": 2,
3731 "type": "array",
3732 },
3733 ],
3734 },
3735 },
3736 "required": [
3737 "value",
3738 ],
3739 "type": "object",
3740 },
3741 },
3742 "id": "composition-false-tuple-position",
3743 },
3744 {
3745 "fingerprint": {
3746 "def": {
3747 "catchall": {
3748 "typeName": "ZodNever",
3749 },
3750 "guarded": true,
3751 "shape": {
3752 "value": {
3753 "left": {
3754 "catchall": {
3755 "typeName": "ZodNever",
3756 },
3757 "shape": {
3758 "a": {
3759 "checks": [],
3760 "typeName": "ZodString",
3761 },
3762 },
3763 "typeName": "ZodObject",
3764 "unknownKeys": "passthrough",
3765 },
3766 "right": {
3767 "catchall": {
3768 "typeName": "ZodNever",
3769 },
3770 "shape": {
3771 "b": {
3772 "checks": [
3773 {
3774 "kind": "int",
3775 "message": undefined,
3776 },
3777 ],
3778 "typeName": "ZodNumber",
3779 },
3780 },
3781 "typeName": "ZodObject",
3782 "unknownKeys": "passthrough",
3783 },
3784 "typeName": "ZodIntersection",
3785 },
3786 },
3787 "typeName": "ZodObject",
3788 "unknownKeys": "strict",
3789 },
3790 "jsonSchema": {
3791 "$schema": "http://json-schema.org/draft-07/schema#",
3792 "additionalProperties": false,
3793 "properties": {
3794 "value": {
3795 "allOf": [
3796 {
3797 "additionalProperties": true,
3798 "properties": {
3799 "a": {
3800 "type": "string",
3801 },
3802 },
3803 "required": [
3804 "a",
3805 ],
3806 "type": "object",
3807 },
3808 {
3809 "additionalProperties": true,
3810 "properties": {
3811 "b": {
3812 "type": "integer",
3813 },
3814 },
3815 "required": [
3816 "b",
3817 ],
3818 "type": "object",
3819 },
3820 ],
3821 },
3822 },
3823 "required": [
3824 "value",
3825 ],
3826 "type": "object",
3827 },
3828 },
3829 "id": "composition-allof-object-intersection",
3830 },
3831 {
3832 "fingerprint": {
3833 "def": {
3834 "catchall": {
3835 "typeName": "ZodNever",
3836 },
3837 "guarded": true,
3838 "shape": {
3839 "value": {
3840 "effect": "refinement",
3841 "schema": {
3842 "left": {
3843 "catchall": {
3844 "typeName": "ZodNever",
3845 },
3846 "shape": {
3847 "a": {
3848 "checks": [],
3849 "typeName": "ZodString",
3850 },
3851 },
3852 "typeName": "ZodObject",
3853 "unknownKeys": "passthrough",
3854 },
3855 "right": {
3856 "catchall": {
3857 "typeName": "ZodNever",
3858 },
3859 "shape": {
3860 "b": {
3861 "checks": [],
3862 "typeName": "ZodString",
3863 },
3864 },
3865 "typeName": "ZodObject",
3866 "unknownKeys": "passthrough",
3867 },
3868 "typeName": "ZodIntersection",
3869 },
3870 "typeName": "ZodEffects",
3871 },
3872 },
3873 "typeName": "ZodObject",
3874 "unknownKeys": "strict",
3875 },
3876 "jsonSchema": {
3877 "$schema": "http://json-schema.org/draft-07/schema#",
3878 "additionalProperties": false,
3879 "properties": {
3880 "value": {
3881 "allOf": [
3882 {
3883 "additionalProperties": true,
3884 "properties": {
3885 "a": {
3886 "type": "string",
3887 },
3888 },
3889 "required": [
3890 "a",
3891 ],
3892 "type": "object",
3893 },
3894 {
3895 "additionalProperties": true,
3896 "properties": {
3897 "b": {
3898 "type": "string",
3899 },
3900 },
3901 "required": [
3902 "b",
3903 ],
3904 "type": "object",
3905 },
3906 ],
3907 },
3908 },
3909 "required": [
3910 "value",
3911 ],
3912 "type": "object",
3913 },
3914 },
3915 "id": "composition-allof-closed-object-branches",
3916 },
3917 {
3918 "fingerprint": {
3919 "def": {
3920 "catchall": {
3921 "typeName": "ZodNever",
3922 },
3923 "guarded": true,
3924 "shape": {
3925 "value": {
3926 "left": {
3927 "effect": "refinement",
3928 "schema": {
3929 "checks": [],
3930 "typeName": "ZodString",
3931 },
3932 "typeName": "ZodEffects",
3933 },
3934 "right": {
3935 "checks": [
3936 {
3937 "kind": "regex",
3938 "regex": "^[A-Z]+$",
3939 },
3940 ],
3941 "typeName": "ZodString",
3942 },
3943 "typeName": "ZodIntersection",
3944 },
3945 },
3946 "typeName": "ZodObject",
3947 "unknownKeys": "strict",
3948 },
3949 "jsonSchema": {
3950 "$schema": "http://json-schema.org/draft-07/schema#",
3951 "additionalProperties": false,
3952 "properties": {
3953 "value": {
3954 "allOf": [
3955 {
3956 "type": "string",
3957 },
3958 {
3959 "pattern": "^[A-Z]+$",
3960 "type": "string",
3961 },
3962 ],
3963 },
3964 },
3965 "required": [
3966 "value",
3967 ],
3968 "type": "object",
3969 },
3970 },
3971 "id": "composition-scalar-allof",
3972 },
3973 {
3974 "fingerprint": {
3975 "def": {
3976 "catchall": {
3977 "typeName": "ZodNever",
3978 },
3979 "guarded": true,
3980 "shape": {
3981 "value": {
3982 "effect": "refinement",
3983 "schema": {
3984 "typeName": "ZodAny",
3985 },
3986 "typeName": "ZodEffects",
3987 },
3988 },
3989 "typeName": "ZodObject",
3990 "unknownKeys": "strict",
3991 },
3992 "jsonSchema": {
3993 "$schema": "http://json-schema.org/draft-07/schema#",
3994 "additionalProperties": false,
3995 "properties": {
3996 "value": {},
3997 },
3998 "required": [
3999 "value",
4000 ],
4001 "type": "object",
4002 },
4003 },
4004 "id": "composition-oneof-exclusive-match",
4005 },
4006 ]
4007 `;
4008
4009 exports[`v3 output fingerprint > matches the pinned snapshot for the shared strict corpus 1`] = `
4010 [
4011 {
4012 "fingerprint": {
4013 "def": {
4014 "catchall": {
4015 "typeName": "ZodNever",
4016 },
4017 "shape": {
4018 "query": {
4019 "checks": [],
4020 "typeName": "ZodString",
4021 },
4022 },
4023 "typeName": "ZodObject",
4024 "unknownKeys": "strict",
4025 },
4026 "jsonSchema": {
4027 "$schema": "http://json-schema.org/draft-07/schema#",
4028 "additionalProperties": false,
4029 "properties": {
4030 "query": {
4031 "type": "string",
4032 },
4033 },
4034 "required": [
4035 "query",
4036 ],
4037 "type": "object",
4038 },
4039 },
4040 "id": "flat-all-required-unchanged",
4041 },
4042 {
4043 "fingerprint": {
4044 "def": {
4045 "catchall": {
4046 "typeName": "ZodNever",
4047 },
4048 "shape": {
4049 "cfg": {
4050 "catchall": {
4051 "typeName": "ZodNever",
4052 },
4053 "shape": {
4054 "note": {
4055 "description": "optional note",
4056 "innerType": {
4057 "checks": [],
4058 "description": "optional note",
4059 "typeName": "ZodString",
4060 },
4061 "typeName": "ZodOptional",
4062 },
4063 "url": {
4064 "checks": [],
4065 "typeName": "ZodString",
4066 },
4067 },
4068 "typeName": "ZodObject",
4069 "unknownKeys": "strict",
4070 },
4071 },
4072 "typeName": "ZodObject",
4073 "unknownKeys": "strict",
4074 },
4075 "jsonSchema": {
4076 "$schema": "http://json-schema.org/draft-07/schema#",
4077 "additionalProperties": false,
4078 "properties": {
4079 "cfg": {
4080 "additionalProperties": false,
4081 "properties": {
4082 "note": {
4083 "description": "optional note",
4084 "type": "string",
4085 },
4086 "url": {
4087 "type": "string",
4088 },
4089 },
4090 "required": [
4091 "url",
4092 ],
4093 "type": "object",
4094 },
4095 },
4096 "required": [
4097 "cfg",
4098 ],
4099 "type": "object",
4100 },
4101 },
4102 "id": "nested-optional-property-widened",
4103 },
4104 {
4105 "fingerprint": {
4106 "def": {
4107 "catchall": {
4108 "typeName": "ZodNever",
4109 },
4110 "shape": {
4111 "a": {
4112 "innerType": {
4113 "checks": [],
4114 "typeName": "ZodString",
4115 },
4116 "typeName": "ZodOptional",
4117 },
4118 "b": {
4119 "innerType": {
4120 "checks": [],
4121 "typeName": "ZodNumber",
4122 },
4123 "typeName": "ZodOptional",
4124 },
4125 },
4126 "typeName": "ZodObject",
4127 "unknownKeys": "strict",
4128 },
4129 "jsonSchema": {
4130 "$schema": "http://json-schema.org/draft-07/schema#",
4131 "additionalProperties": false,
4132 "properties": {
4133 "a": {
4134 "type": "string",
4135 },
4136 "b": {
4137 "type": "number",
4138 },
4139 },
4140 "type": "object",
4141 },
4142 },
4143 "id": "no-required-array-widens-every-property",
4144 },
4145 {
4146 "fingerprint": {
4147 "def": {
4148 "catchall": {
4149 "typeName": "ZodNever",
4150 },
4151 "shape": {
4152 "a": {
4153 "innerType": {
4154 "checks": [],
4155 "typeName": "ZodString",
4156 },
4157 "typeName": "ZodOptional",
4158 },
4159 },
4160 "typeName": "ZodObject",
4161 "unknownKeys": "strict",
4162 },
4163 "jsonSchema": {
4164 "$schema": "http://json-schema.org/draft-07/schema#",
4165 "additionalProperties": false,
4166 "properties": {
4167 "a": {
4168 "type": "string",
4169 },
4170 },
4171 "type": "object",
4172 },
4173 },
4174 "id": "required-empty-array-widens-every-property",
4175 },
4176 {
4177 "fingerprint": {
4178 "def": {
4179 "catchall": {
4180 "typeName": "ZodNever",
4181 },
4182 "shape": {
4183 "id": {
4184 "description": "identifier",
4185 "options": [
4186 {
4187 "checks": [],
4188 "description": "identifier",
4189 "typeName": "ZodString",
4190 },
4191 {
4192 "description": "identifier",
4193 "typeName": "ZodNull",
4194 },
4195 ],
4196 "typeName": "ZodUnion",
4197 },
4198 },
4199 "typeName": "ZodObject",
4200 "unknownKeys": "strict",
4201 },
4202 "jsonSchema": {
4203 "$schema": "http://json-schema.org/draft-07/schema#",
4204 "additionalProperties": false,
4205 "properties": {
4206 "id": {
4207 "description": "identifier",
4208 "type": [
4209 "string",
4210 "null",
4211 ],
4212 },
4213 },
4214 "required": [
4215 "id",
4216 ],
4217 "type": "object",
4218 },
4219 },
4220 "id": "nullable-type-array-kept",
4221 },
4222 {
4223 "fingerprint": {
4224 "def": {
4225 "catchall": {
4226 "typeName": "ZodNever",
4227 },
4228 "shape": {
4229 "cfg": {
4230 "options": [
4231 {
4232 "catchall": {
4233 "typeName": "ZodNever",
4234 },
4235 "shape": {
4236 "a": {
4237 "checks": [],
4238 "typeName": "ZodString",
4239 },
4240 },
4241 "typeName": "ZodObject",
4242 "unknownKeys": "strict",
4243 },
4244 {
4245 "typeName": "ZodNull",
4246 },
4247 ],
4248 "typeName": "ZodUnion",
4249 },
4250 },
4251 "typeName": "ZodObject",
4252 "unknownKeys": "strict",
4253 },
4254 "jsonSchema": {
4255 "$schema": "http://json-schema.org/draft-07/schema#",
4256 "additionalProperties": false,
4257 "properties": {
4258 "cfg": {
4259 "anyOf": [
4260 {
4261 "additionalProperties": false,
4262 "properties": {
4263 "a": {
4264 "type": "string",
4265 },
4266 },
4267 "required": [
4268 "a",
4269 ],
4270 "type": "object",
4271 },
4272 {
4273 "type": "null",
4274 },
4275 ],
4276 },
4277 },
4278 "required": [
4279 "cfg",
4280 ],
4281 "type": "object",
4282 },
4283 },
4284 "id": "nullable-object-stays-nullable",
4285 },
4286 {
4287 "fingerprint": {
4288 "def": {
4289 "catchall": {
4290 "typeName": "ZodNever",
4291 },
4292 "shape": {
4293 "xs": {
4294 "options": [
4295 {
4296 "element": {
4297 "checks": [],
4298 "typeName": "ZodString",
4299 },
4300 "typeName": "ZodArray",
4301 },
4302 {
4303 "typeName": "ZodNull",
4304 },
4305 ],
4306 "typeName": "ZodUnion",
4307 },
4308 },
4309 "typeName": "ZodObject",
4310 "unknownKeys": "strict",
4311 },
4312 "jsonSchema": {
4313 "$schema": "http://json-schema.org/draft-07/schema#",
4314 "additionalProperties": false,
4315 "properties": {
4316 "xs": {
4317 "anyOf": [
4318 {
4319 "items": {
4320 "type": "string",
4321 },
4322 "type": "array",
4323 },
4324 {
4325 "type": "null",
4326 },
4327 ],
4328 },
4329 },
4330 "required": [
4331 "xs",
4332 ],
4333 "type": "object",
4334 },
4335 },
4336 "id": "nullable-array-kept",
4337 },
4338 {
4339 "fingerprint": {
4340 "def": {
4341 "catchall": {
4342 "typeName": "ZodNever",
4343 },
4344 "guarded": true,
4345 "shape": {
4346 "value": {
4347 "innerType": {
4348 "options": [
4349 {
4350 "checks": [],
4351 "typeName": "ZodString",
4352 },
4353 {
4354 "checks": [],
4355 "typeName": "ZodNumber",
4356 },
4357 ],
4358 "typeName": "ZodUnion",
4359 },
4360 "typeName": "ZodOptional",
4361 },
4362 },
4363 "typeName": "ZodObject",
4364 "unknownKeys": "strict",
4365 },
4366 "jsonSchema": {
4367 "$schema": "http://json-schema.org/draft-07/schema#",
4368 "additionalProperties": false,
4369 "properties": {
4370 "value": {
4371 "type": [
4372 "string",
4373 "number",
4374 ],
4375 },
4376 },
4377 "type": "object",
4378 },
4379 },
4380 "id": "optional-any-of-gets-null-branch",
4381 },
4382 {
4383 "fingerprint": {
4384 "def": {
4385 "catchall": {
4386 "typeName": "ZodNever",
4387 },
4388 "guarded": true,
4389 "shape": {
4390 "value": {
4391 "innerType": {
4392 "options": [
4393 {
4394 "checks": [],
4395 "typeName": "ZodString",
4396 },
4397 {
4398 "typeName": "ZodNull",
4399 },
4400 ],
4401 "typeName": "ZodUnion",
4402 },
4403 "typeName": "ZodOptional",
4404 },
4405 },
4406 "typeName": "ZodObject",
4407 "unknownKeys": "strict",
4408 },
4409 "jsonSchema": {
4410 "$schema": "http://json-schema.org/draft-07/schema#",
4411 "additionalProperties": false,
4412 "properties": {
4413 "value": {
4414 "type": [
4415 "string",
4416 "null",
4417 ],
4418 },
4419 },
4420 "type": "object",
4421 },
4422 },
4423 "id": "any-of-already-nullable-unchanged",
4424 },
4425 {
4426 "fingerprint": {
4427 "def": {
4428 "catchall": {
4429 "typeName": "ZodNever",
4430 },
4431 "shape": {
4432 "choice": {
4433 "description": "pick one",
4434 "innerType": {
4435 "description": "pick one",
4436 "left": {
4437 "typeName": "ZodAny",
4438 },
4439 "right": {
4440 "typeName": "ZodEnum",
4441 "values": [
4442 "a",
4443 "b",
4444 ],
4445 },
4446 "typeName": "ZodIntersection",
4447 },
4448 "typeName": "ZodOptional",
4449 },
4450 },
4451 "typeName": "ZodObject",
4452 "unknownKeys": "strict",
4453 },
4454 "jsonSchema": {
4455 "$schema": "http://json-schema.org/draft-07/schema#",
4456 "additionalProperties": false,
4457 "properties": {
4458 "choice": {
4459 "allOf": [
4460 {},
4461 {
4462 "enum": [
4463 "a",
4464 "b",
4465 ],
4466 "type": "string",
4467 },
4468 ],
4469 "description": "pick one",
4470 },
4471 },
4472 "type": "object",
4473 },
4474 },
4475 "id": "optional-enum-only-wrapped",
4476 },
4477 {
4478 "fingerprint": {
4479 "def": {
4480 "catchall": {
4481 "typeName": "ZodNever",
4482 },
4483 "shape": {
4484 "kind": {
4485 "innerType": {
4486 "left": {
4487 "typeName": "ZodAny",
4488 },
4489 "right": {
4490 "typeName": "ZodLiteral",
4491 "value": "fixed",
4492 },
4493 "typeName": "ZodIntersection",
4494 },
4495 "typeName": "ZodOptional",
4496 },
4497 },
4498 "typeName": "ZodObject",
4499 "unknownKeys": "strict",
4500 },
4501 "jsonSchema": {
4502 "$schema": "http://json-schema.org/draft-07/schema#",
4503 "additionalProperties": false,
4504 "properties": {
4505 "kind": {
4506 "allOf": [
4507 {},
4508 {
4509 "const": "fixed",
4510 "type": "string",
4511 },
4512 ],
4513 },
4514 },
4515 "type": "object",
4516 },
4517 },
4518 "id": "optional-const-wrapped",
4519 },
4520 {
4521 "fingerprint": {
4522 "def": {
4523 "catchall": {
4524 "typeName": "ZodNever",
4525 },
4526 "shape": {
4527 "anything": {
4528 "innerType": {
4529 "typeName": "ZodAny",
4530 },
4531 "typeName": "ZodOptional",
4532 },
4533 },
4534 "typeName": "ZodObject",
4535 "unknownKeys": "strict",
4536 },
4537 "jsonSchema": {
4538 "$schema": "http://json-schema.org/draft-07/schema#",
4539 "additionalProperties": false,
4540 "properties": {
4541 "anything": {},
4542 },
4543 "type": "object",
4544 },
4545 },
4546 "id": "optional-empty-schema-unchanged",
4547 },
4548 {
4549 "fingerprint": {
4550 "def": {
4551 "catchall": {
4552 "typeName": "ZodNever",
4553 },
4554 "shape": {
4555 "value": {
4556 "innerType": {
4557 "options": [
4558 {
4559 "checks": [],
4560 "typeName": "ZodString",
4561 },
4562 {
4563 "checks": [],
4564 "typeName": "ZodNumber",
4565 },
4566 ],
4567 "typeName": "ZodUnion",
4568 },
4569 "typeName": "ZodOptional",
4570 },
4571 },
4572 "typeName": "ZodObject",
4573 "unknownKeys": "strict",
4574 },
4575 "jsonSchema": {
4576 "$schema": "http://json-schema.org/draft-07/schema#",
4577 "additionalProperties": false,
4578 "properties": {
4579 "value": {
4580 "type": [
4581 "string",
4582 "number",
4583 ],
4584 },
4585 },
4586 "type": "object",
4587 },
4588 },
4589 "id": "multi-type-array-gains-null",
4590 },
4591 {
4592 "fingerprint": {
4593 "def": {
4594 "catchall": {
4595 "typeName": "ZodNever",
4596 },
4597 "guarded": true,
4598 "shape": {
4599 "either": {
4600 "effect": "refinement",
4601 "schema": {
4602 "typeName": "ZodAny",
4603 },
4604 "typeName": "ZodEffects",
4605 },
4606 },
4607 "typeName": "ZodObject",
4608 "unknownKeys": "strict",
4609 },
4610 "jsonSchema": {
4611 "$schema": "http://json-schema.org/draft-07/schema#",
4612 "additionalProperties": false,
4613 "properties": {
4614 "either": {},
4615 },
4616 "required": [
4617 "either",
4618 ],
4619 "type": "object",
4620 },
4621 },
4622 "id": "one-of-converted-to-any-of",
4623 },
4624 {
4625 "fingerprint": {
4626 "def": {
4627 "catchall": {
4628 "typeName": "ZodNever",
4629 },
4630 "shape": {
4631 "rows": {
4632 "element": {
4633 "catchall": {
4634 "typeName": "ZodNever",
4635 },
4636 "shape": {
4637 "id": {
4638 "checks": [],
4639 "typeName": "ZodString",
4640 },
4641 "tag": {
4642 "innerType": {
4643 "checks": [],
4644 "typeName": "ZodString",
4645 },
4646 "typeName": "ZodOptional",
4647 },
4648 },
4649 "typeName": "ZodObject",
4650 "unknownKeys": "strict",
4651 },
4652 "typeName": "ZodArray",
4653 },
4654 },
4655 "typeName": "ZodObject",
4656 "unknownKeys": "strict",
4657 },
4658 "jsonSchema": {
4659 "$schema": "http://json-schema.org/draft-07/schema#",
4660 "additionalProperties": false,
4661 "properties": {
4662 "rows": {
4663 "items": {
4664 "additionalProperties": false,
4665 "properties": {
4666 "id": {
4667 "type": "string",
4668 },
4669 "tag": {
4670 "type": "string",
4671 },
4672 },
4673 "required": [
4674 "id",
4675 ],
4676 "type": "object",
4677 },
4678 "type": "array",
4679 },
4680 },
4681 "required": [
4682 "rows",
4683 ],
4684 "type": "object",
4685 },
4686 },
4687 "id": "array-items-object-normalized",
4688 },
4689 {
4690 "fingerprint": {
4691 "def": {
4692 "catchall": {
4693 "typeName": "ZodNever",
4694 },
4695 "guarded": true,
4696 "shape": {
4697 "name": {
4698 "defaultValue": "x",
4699 "description": "Example: "a"",
4700 "innerType": {
4701 "checks": [],
4702 "description": "Example: "a"",
4703 "typeName": "ZodString",
4704 },
4705 "typeName": "ZodDefault",
4706 },
4707 },
4708 "typeName": "ZodObject",
4709 "unknownKeys": "strict",
4710 },
4711 "jsonSchema": {
4712 "$schema": "http://json-schema.org/draft-07/schema#",
4713 "additionalProperties": false,
4714 "properties": {
4715 "name": {
4716 "default": "x",
4717 "description": "Example: "a"",
4718 "type": "string",
4719 },
4720 },
4721 "type": "object",
4722 },
4723 },
4724 "id": "default-and-examples-stripped",
4725 },
4726 {
4727 "fingerprint": {
4728 "def": {
4729 "catchall": {
4730 "typeName": "ZodNever",
4731 },
4732 "shape": {
4733 "count": {
4734 "checks": [
4735 {
4736 "kind": "int",
4737 "message": undefined,
4738 },
4739 ],
4740 "typeName": "ZodNumber",
4741 },
4742 "file": {
4743 "options": [
4744 {
4745 "checks": [],
4746 "typeName": "ZodString",
4747 },
4748 {
4749 "typeName": "ZodNull",
4750 },
4751 ],
4752 "typeName": "ZodUnion",
4753 },
4754 "format": {
4755 "left": {
4756 "checks": [],
4757 "typeName": "ZodString",
4758 },
4759 "right": {
4760 "typeName": "ZodEnum",
4761 "values": [
4762 "json",
4763 "csv",
4764 ],
4765 },
4766 "typeName": "ZodIntersection",
4767 },
4768 "repos": {
4769 "element": {
4770 "checks": [],
4771 "typeName": "ZodString",
4772 },
4773 "typeName": "ZodArray",
4774 },
4775 "shouted": {
4776 "checks": [],
4777 "typeName": "ZodString",
4778 },
4779 "untyped": {
4780 "typeName": "ZodAny",
4781 },
4782 "url": {
4783 "checks": [
4784 {
4785 "kind": "url",
4786 },
4787 ],
4788 "typeName": "ZodString",
4789 },
4790 },
4791 "typeName": "ZodObject",
4792 "unknownKeys": "strict",
4793 },
4794 "jsonSchema": {
4795 "$schema": "http://json-schema.org/draft-07/schema#",
4796 "additionalProperties": false,
4797 "properties": {
4798 "count": {
4799 "type": "integer",
4800 },
4801 "file": {
4802 "type": [
4803 "string",
4804 "null",
4805 ],
4806 },
4807 "format": {
4808 "allOf": [
4809 {
4810 "type": "string",
4811 },
4812 {
4813 "enum": [
4814 "json",
4815 "csv",
4816 ],
4817 "type": "string",
4818 },
4819 ],
4820 },
4821 "repos": {
4822 "items": {
4823 "type": "string",
4824 },
4825 "type": "array",
4826 },
4827 "shouted": {
4828 "type": "string",
4829 },
4830 "untyped": {},
4831 "url": {
4832 "format": "uri",
4833 "type": "string",
4834 },
4835 },
4836 "required": [
4837 "url",
4838 "file",
4839 "repos",
4840 "shouted",
4841 "count",
4842 "format",
4843 ],
4844 "type": "object",
4845 },
4846 },
4847 "id": "string-format-outside-accepted-list-stripped",
4848 },
4849 {
4850 "fingerprint": {
4851 "def": {
4852 "catchall": {
4853 "typeName": "ZodNever",
4854 },
4855 "shape": {
4856 "date": {
4857 "checks": [
4858 {
4859 "kind": "date",
4860 "message": undefined,
4861 },
4862 ],
4863 "typeName": "ZodString",
4864 },
4865 "date-time": {
4866 "checks": [
4867 {
4868 "kind": "datetime",
4869 "local": false,
4870 "offset": true,
4871 "precision": null,
4872 },
4873 ],
4874 "typeName": "ZodString",
4875 },
4876 "duration": {
4877 "checks": [
4878 {
4879 "kind": "duration",
4880 },
4881 ],
4882 "typeName": "ZodString",
4883 },
4884 "email": {
4885 "checks": [
4886 {
4887 "kind": "email",
4888 },
4889 ],
4890 "typeName": "ZodString",
4891 },
4892 "hostname": {
4893 "checks": [],
4894 "typeName": "ZodString",
4895 },
4896 "ipv4": {
4897 "checks": [
4898 {
4899 "kind": "ip",
4900 "message": undefined,
4901 "version": "v4",
4902 },
4903 ],
4904 "typeName": "ZodString",
4905 },
4906 "ipv6": {
4907 "checks": [
4908 {
4909 "kind": "ip",
4910 "message": undefined,
4911 "version": "v6",
4912 },
4913 ],
4914 "typeName": "ZodString",
4915 },
4916 "time": {
4917 "checks": [
4918 {
4919 "kind": "time",
4920 "precision": null,
4921 },
4922 ],
4923 "typeName": "ZodString",
4924 },
4925 "uuid": {
4926 "checks": [
4927 {
4928 "kind": "uuid",
4929 },
4930 ],
4931 "typeName": "ZodString",
4932 },
4933 },
4934 "typeName": "ZodObject",
4935 "unknownKeys": "strict",
4936 },
4937 "jsonSchema": {
4938 "$schema": "http://json-schema.org/draft-07/schema#",
4939 "additionalProperties": false,
4940 "properties": {
4941 "date": {
4942 "format": "date",
4943 "type": "string",
4944 },
4945 "date-time": {
4946 "format": "date-time",
4947 "type": "string",
4948 },
4949 "duration": {
4950 "format": "duration",
4951 "type": "string",
4952 },
4953 "email": {
4954 "format": "email",
4955 "type": "string",
4956 },
4957 "hostname": {
4958 "type": "string",
4959 },
4960 "ipv4": {
4961 "format": "ipv4",
4962 "type": "string",
4963 },
4964 "ipv6": {
4965 "format": "ipv6",
4966 "type": "string",
4967 },
4968 "time": {
4969 "format": "time",
4970 "type": "string",
4971 },
4972 "uuid": {
4973 "format": "uuid",
4974 "type": "string",
4975 },
4976 },
4977 "required": [
4978 "date-time",
4979 "time",
4980 "date",
4981 "duration",
4982 "email",
4983 "hostname",
4984 "ipv4",
4985 "ipv6",
4986 "uuid",
4987 ],
4988 "type": "object",
4989 },
4990 },
4991 "id": "accepted-string-formats-kept",
4992 },
4993 {
4994 "fingerprint": {
4995 "def": {
4996 "catchall": {
4997 "typeName": "ZodNever",
4998 },
4999 "shape": {
5000 "cfg": {
Showing first 5,000 of 7,979 lines. View raw