vote
Submit a vote from an expected voter identity, with optional reasoning stored in the attested record. Vote shape depends on the algorithm: plurality/supermajority take an option string; approval takes an option or list of options; borda takes a ranking of all options; condorcet takes a ranking or a single option; opinion_pool takes a probability distribution over options. Duplicates and post-deadline votes are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Ballot in the algorithm's format. | |
| voter | Yes | ||
| reasoning | No | Free-text rationale, kept in the audit trail. | |
| proposal_id | Yes |