effect-io-ai

Package: effect
Module: SchemaRepresentation

SchemaRepresentation.fromJsonSchemaMultiDocument

Imports multiple JSON Schema Draft 2020-12 roots as runtime schemas with shared definitions.

When to use

Use when multiple imported roots must preserve shared definitions, aliases, and recursion.

Gotchas

Every definition is translated, including definitions that no root references. Callback results are used directly, and exceptions raised by a callback pass through unchanged.

See

Signature

declare const fromJsonSchemaMultiDocument: (document: JsonSchema.MultiDocument<"draft-2020-12">, options?: FromJsonSchemaOptions) => SchemaMultiDocument

Source

Since v4.0.0