ExecutionPlane.Contracts.JsonRpcExecutionIntent.V1 (execution_plane v0.1.0)

Copy Markdown View Source

JSON-RPC-family execution intent.

The lower transport binding and session-policy internals are Wave 1 carrier fields only and remain provisional until Wave 3.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.JsonRpcExecutionIntent.V1{
  contract_version: String.t(),
  envelope: ExecutionPlane.Contracts.ExecutionIntentEnvelope.V1.t(),
  protocol_schema: map(),
  request: map(),
  session_policy: map(),
  transport_binding: map()
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(intent)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()