effect-io-ai

Package: effect
Module: JsonSchema

JsonSchema.Definitions

A record of named JSON Schema definitions, keyed by definition name.

When to use

Use as the shared lookup table for named JSON Schema nodes that are referenced from JSON Schema documents.

Details

The map is dialect-neutral. Conversion APIs emit it as $defs, definitions, or components.schemas depending on the target format.

See

Signature

export interface Definitions extends Record<string, JsonSchema> {}

Source

Since v4.0.0