Sycophant.Schema.NormalizedSchema
(sycophant v0.4.2)
Copy Markdown
Holds a normalized JSON Schema alongside its pre-resolved form and origin tag.
Wire adapters receive json_schema (a plain map) for encoding.
Validation uses resolved (an ExJsonSchema.Schema.Root).
Key coercion to atoms is applied only when source is :zoi.
Summary
Types
@type t() :: %Sycophant.Schema.NormalizedSchema{ json_schema: map(), resolved: ExJsonSchema.Schema.Root.t(), source: :zoi | :json_schema }