A version of the persona DNA (docs/spec.md Appendix C), as the library hands
it to the host: Reminisce.persona/3 and the five writers answer one, and
Reminisce.Policy.check_persona/3 is given one.
strands is a list of maps, each with its words as content, ordered by
kind, then by name; change is what a writer answers beside the version,
and nil from Reminisce.persona/3. A version the policy is given is not
written yet: it has no recorded_at, status_changed_at, forked_from or
change, and its strands are as Reminisce.Policy.check_persona/3 says.
Inspect leaves out the strands and the change, whose names and words may
concern a person, the reason, and the actor ids persona_set_by,
persona_proposed_by and reviewed_by: what a host logs with inspect/2
is the number, the status, the basis, the base, the times and
forked_from.
Summary
Types
@type t() :: %Reminisce.Persona.Version{ base: pos_integer() | nil, basis: :told | :generated, change: map() | nil, forked_from: %{owner: Reminisce.owner(), version: pos_integer(), at: DateTime.t()} | nil, number: pos_integer(), persona_proposed_by: String.t() | nil, persona_set_by: String.t() | nil, reason: String.t() | nil, recorded_at: DateTime.t() | nil, reviewed_by: String.t() | nil, status: :proposed | :adopted | :declined, status_changed_at: DateTime.t() | nil, strands: [map()] }