I

StandardSchemaV1

Vendored, dependency-free types for the Standard Schema spec (v1). Any validation library implementing the ~standard contract — zod, valibot, arktype, … — is structurally assignable to StandardSchemaV1, so the forms layer can accept them without taking on a dependency. The namespace pattern from the official spec is flattened into named exports to stay within the repo's lint rules.

Signature

ts
interface StandardSchemaV1<Input = unknown, Output = Input>

Type Parameters

Input= unknown
Output= Input

Properties

PropertyTypeDescription
'~standard'readonlyStandardSchemaProps<Input, Output>The Standard Schema properties.