Data contract for a deterministic Jidoka workflow.
Summary
Functions
Returns the supported workflow definition modes.
Parses workflow spec attributes into a validated spec.
Parses workflow spec attributes into a validated spec or raises.
Returns the Zoi schema for workflow specs.
Types
@type t() :: %Jidoka.Workflow.Spec{ context_refs: [any()], dependencies: map(), description: nil | nil | binary(), id: binary(), input_refs: [any()], input_schema: nil | nil | any(), metadata: map(), mode: :callback | :dsl, module: atom(), output: nil | nil | any(), parameters_schema: nil | nil | map(), steps: [term()] }
Functions
@spec modes() :: [atom()]
Returns the supported workflow definition modes.
Parses workflow spec attributes into a validated spec.
Parses workflow spec attributes into a validated spec or raises.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for workflow specs.