Options for schemaFor.
Optional
Readonly
input (the default) describes what a parse accepts, output what it returns. The input side is the wire shape: zod's output side marks every defaulted field required, closes every object and cannot represent a transform.
input
output
Options for schemaFor.