Package: effect
Module: SchemaRepresentation
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
fromJsonSchemaDocument for a single rootfromSchemaMultiDocument for converting the result to a representation documentSignature
declare const fromJsonSchemaMultiDocument: (document: JsonSchema.MultiDocument<"draft-2020-12">, options?: FromJsonSchemaOptions) => SchemaMultiDocument
Since v4.0.0