A stable diagnostic returned by DMN validation, preflight, and execution.
to_map/1 converts the diagnostic into a persistence-safe representation for
downstream consumers. Boxic intentionally does not assign lifecycle severity.
Summary
Functions
Returns a stable map containing only JSON-compatible values.
Types
@type category() ::
:xml_schema
| :dmn_model
| :feel
| :executable_profile
| :import
| :serialization
| :evaluation_preflight
| :evaluation
@type json_value() :: json_scalar() | [json_value()] | %{optional(String.t()) => json_value()}
@type path_segment() :: atom() | String.t() | non_neg_integer()
Functions
@spec to_map(t()) :: %{required(String.t()) => json_value()}
Returns a stable map containing only JSON-compatible values.