The input type accepted by the schema
The output type produced after successful validation
Optional ReadonlytypesInferred types associated with the schema.
Optional property that allows TypeScript type inference for the schema. Not all libraries may provide this.
ReadonlyvalidateValidates unknown input values.
This function performs validation and returns either a success result with the validated/transformed data, or a failure result with validation issues. May return a Promise for async validation.
ReadonlyvendorThe vendor name of the schema library.
Examples: 'zod', 'valibot', 'arktype', 'yup', etc.
ReadonlyversionThe version number of the standard.
Currently only version 1 is defined. Future versions will increment this number to maintain backward compatibility.
The Standard Schema properties interface.
Contains the actual validation logic and metadata required by the spec.