Skip to content

Documentation / @agentick/core / ToJSONSchemaOptions

Interface: ToJSONSchemaOptions ​

Defined in: kernel/src/schema.ts:52

Options for JSON Schema conversion.

Properties ​

stripMeta? ​

optional stripMeta: boolean

Defined in: kernel/src/schema.ts:63

Whether to strip $schema and additionalProperties from output.

Default ​

ts
true

target? ​

optional target: "draft-2020-12" | "draft-07" | "openapi-3.0"

Defined in: kernel/src/schema.ts:57

Target JSON Schema version for Standard Schema conversion.

Default ​

ts
"draft-2020-12"

Released under the ISC License.