Package: effect
Module: SchemaRepresentation
Compiles multiple live representations to a shared JSON Schema Draft 2020-12 document.
When to use
Use when several representation roots must share the same JSON Schema definitions.
Gotchas
Every definition is compiled, including definitions that are not reachable from a root.
See
toJsonSchemaDocument for a single rootSignature
declare const toJsonSchemaMultiDocument: (document: MultiDocument, options?: Schema.ToJsonSchemaOptions) => JsonSchema.MultiDocument<"draft-2020-12">
Since v4.0.0