ApiCoreInterfaces
Interface: StandardJSONSchemaV1\<Input, Output\>
Defined in: packages/core/src/types.ts:51
Standard JSON Schema v1 (https://standardschema.dev/json-schema): a schema
that can describe itself as JSON Schema — Zod 4.2+, ArkType 2.1.28+, and
Valibot through toStandardJsonSchema. It is how a validator you already
use becomes a definition a space can store.
Type Parameters
| Type Parameter | Default type |
|---|---|
Input | unknown |
Output | Input |
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
~standard | readonly | object | packages/core/src/types.ts:52 |
~standard.jsonSchema | readonly | object | packages/core/src/types.ts:56 |
~standard.jsonSchema.input | readonly | (options) => Record<string, unknown> | packages/core/src/types.ts:57 |
~standard.jsonSchema.output | readonly | (options) => Record<string, unknown> | packages/core/src/types.ts:61 |
~standard.types? | readonly | object | packages/core/src/types.ts:55 |
~standard.types.input | readonly | Input | packages/core/src/types.ts:55 |
~standard.types.output | readonly | Output | packages/core/src/types.ts:55 |
~standard.vendor | readonly | string | packages/core/src/types.ts:54 |
~standard.version | readonly | 1 | packages/core/src/types.ts:53 |