Skip to content

Interface.StandardSchemaV1Properties

github-actions[bot] edited this page Jun 2, 2026 · 27 revisions

umt / StandardSchemaV1Properties

Interface: StandardSchemaV1Properties<Input, Output>

Defined in: Validate/standardSchema.ts:23

The Standard Schema V1 properties interface.

Type Parameters

Input

Input = unknown

Output

Output = Input

Properties

types?

readonly optional types?: StandardSchemaV1Types<Input, Output>

Defined in: Validate/standardSchema.ts:33

Inferred types associated with the schema.


validate

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

Defined in: Validate/standardSchema.ts:29

Validates unknown input values.

Parameters

value

unknown

Returns

StandardSchemaV1Result<Output> | Promise<StandardSchemaV1Result<Output>>


vendor

readonly vendor: string

Defined in: Validate/standardSchema.ts:27

The vendor name of the schema library.


version

readonly version: 1

Defined in: Validate/standardSchema.ts:25

The version number of the standard.

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally