SystemOneDSL.CUE (SystemOneDSL v1.0.0)

Copy Markdown View Source

Deterministic CUE schema exporter for compiled SystemOneDSL.Contract catalogs.

Summary

Functions

Serializes a map of compiled SystemOneDSL.Contract structs into a deterministic CUE schema string.

Functions

export(contracts_map)

@spec export(%{optional(atom() | String.t()) => SystemOneDSL.Contract.t() | map()}) ::
  String.t()

Serializes a map of compiled SystemOneDSL.Contract structs into a deterministic CUE schema string.