Package: effect
Module: JsonSchema
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
Document for a single root schema with definitionsMultiDocument for multiple root schemas sharing definitionsresolve$ref for resolving a $ref against definitionsSignature
export interface Definitions extends Record<string, JsonSchema> {}
Since v4.0.0