Boxic.DMN.Compatibility (boxic_dmn v0.2.0)

Copy Markdown View Source

The DMN compatibility profile supported by this Boxic release.

Boxic targets DMN 1.4 for validation, evaluation, and XML encoding. Loading remains tolerant of legacy and namespace-less documents so callers can inspect them, but their source profile is retained on the normalized model.

Summary

Functions

Returns the single DMN profile emitted and evaluated by this release.

Classifies the namespace used by a loaded definitions element.

Types

profile()

@type profile() :: %{
  version: String.t(),
  source_profile: :dmn_1_4,
  model_namespace: String.t(),
  feel_namespace: String.t(),
  dmndi_namespace: String.t(),
  dc_namespace: String.t(),
  di_namespace: String.t(),
  schema: String.t(),
  tck_revision: String.t()
}

source_profile()

@type source_profile() :: :dmn_1_4 | :dmn_1_3 | :unqualified | {:unknown, String.t()}

Functions

pinned_profile()

@spec pinned_profile() :: profile()

Returns the single DMN profile emitted and evaluated by this release.

source_profile(namespace)

@spec source_profile(String.t() | nil) :: source_profile()

Classifies the namespace used by a loaded definitions element.