Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

StandardSchema

Type definitions from the Standard Schema specification.

The declarations below are vendored verbatim from @standard-schema/spec 1.1.0.

6 exports Source

Other

The Standard JSON Schema interface.

Signature

interface StandardJSONSchemaV1<Input = unknown, Output = Input> {
readonly "~standard": Props<Input, Output>;
}

The Standard Schema interface.

Signature

interface StandardSchemaV1<Input = unknown, Output = Input> {
readonly "~standard": Props<Input, Output>;
}

The Standard Typed interface. This is a base type extended by other specs.

Signature

interface StandardTypedV1<Input = unknown, Output = Input> {
readonly "~standard": Props<Input, Output>;
}