Skip to content

Props

Defined in: core/standard-schema.ts:15

The Standard Schema properties interface.

Input = unknown

Output = Input

readonly optional types?: Types<Input, Output>

Defined in: core/standard-schema.ts:23

Inferred types associated with the schema.


readonly validate: (value) => Result<Output> | Promise<Result<Output>>

Defined in: core/standard-schema.ts:21

Validates unknown input values.

unknown

Result<Output> | Promise<Result<Output>>


readonly vendor: string

Defined in: core/standard-schema.ts:19

The vendor name of the schema library.


readonly version: 1

Defined in: core/standard-schema.ts:17

The version number of the standard.