Skip to content
GitHub

StandardSchemaV1

interface in meocord/interface Since 4.1.0

interface StandardSchemaV1<Input = unknown, Output = Input>

The Standard Schema interface, version 1, which zod, valibot, arktype and other validation libraries implement.

@Validate takes any schema that implements it, so MeoCord depends on no validation library. It is declared here rather than imported, as the specification at https://standardschema.dev intends.

See also