API Reference lemma_engine v#0.9.3

Copy Markdown View Source

Modules

Lemma rules engine for Elixir.

Structured engine error as returned by NIF error paths (load, show, run, format, …). Keys are atoms (Rustler encoding), not JSON strings.

OpenAPI and temporal API docs helpers (lemma_openapi crate). Separate from core [Lemma] runtime.

Typed projection of the JSON map returned by Lemma.run/3: evaluated rule results and the resolved temporal window of the spec version actually run.

One rule result from Lemma.run/3, as returned in Lemma.Response.results.

Typed projection of the JSON map returned by Lemma.show/4: spec interface and resolved temporal window.

One input declared in a spec, as returned in Lemma.Show.data.

Half-open [effective_from, effective_to) for one loaded temporal row, as returned in Lemma.Show.versions.