CouncilEx.Schemas.Ranking (CouncilEx v0.1.0)

Copy Markdown View Source

Standard Ecto embedded schema for Ranking-round member outputs.

:ordering is a list of option identifiers in preferred order (most-preferred first). Aggregators read by field name.

Summary

Types

t()

@type t() :: %CouncilEx.Schemas.Ranking{ordering: [String.t()], rationale: String.t()}

Functions

changeset(ranking \\ %__MODULE__{}, attrs)