Lux.Schemas.Companies.ObjectiveSignal (Lux v0.5.0)

View Source

Schema for objective execution signals used by the CEO.

This schema defines the structure for:

  1. Objective evaluation requests
  2. Next step determination
  3. Objective status updates and completion

Summary

Types

A signal with a schema_id set to this module.

t()

Types

signal()

@type signal() :: %Lux.Signal{
  id: term(),
  metadata: term(),
  payload: term(),
  recipient: term(),
  schema_id: Lux.Schemas.Companies.ObjectiveSignal,
  sender: term(),
  timestamp: term()
}

A signal with a schema_id set to this module.

t()

@type t() :: %Lux.Signal{
  id: term(),
  metadata: term(),
  payload: %{type: String.t(), objective_id: String.t(), title: String.t()},
  recipient: term(),
  schema_id: Lux.Schemas.Companies.ObjectiveSignal,
  sender: term(),
  timestamp: term()
}

Functions

id()

name()

schema()

schema_id()

validate(signal)

view()