StandardSchemaV1
StandardSchemaV1<
Input,Output> =object
A Standard Schema v1 validator (standardschema.dev), the interface zod, Valibot and ArkType implement. Declared here, as the spec invites, so the SDK depends on no schema library.
Type Parameters
Section titled “Type Parameters”Input = unknown
Output
Section titled “Output”Output = Input
Properties
Section titled “Properties”~standard
Section titled “~standard”
readonly~standard:object
types?
Section titled “types?”
readonlyoptionaltypes?:object
types.input
Section titled “types.input”
readonlyinput:Input
types.output
Section titled “types.output”
readonlyoutput:Output
validate
Section titled “validate”
readonlyvalidate: (value) =>StandardResult<Output> |Promise<StandardResult<Output>>
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”StandardResult<Output> | Promise<StandardResult<Output>>
vendor
Section titled “vendor”
readonlyvendor:string
version
Section titled “version”
readonlyversion:1