---
library: "bootstrap"
slug: "Ballot"
name: "Ballot"
ref: "Ballot#e0e4"
hash: "sema:Ballot#mh:SHA-256:e0e4a34b48dba4669e09b04c4b8c3202f95c878fc26c29480a298012753b1f3c"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Ballot"
---

# Ballot

Immutable record of one agent's cast choice

Infrastructure · Data Structures

## Mechanism

The immutable record of one agent's cast choice in a decision. Carries which proposal, which voter, and which option was chosen. The question, the options and the decision rule belong to the `Vote` that called for it; a Ballot is the response, and `Quorum` counts these. Immutable once cast — a revision is a new Ballot carrying a fresh [MonotonicCounter](https://semahash.org/vocabularies/bootstrap/patterns/MonotonicCounter.md) sequence, so revocation and amendment surface as distinct later decisions rather than retroactive edits.

## Invariants

- Immutable once cast: a revision is a new Ballot, not an edit.
- Names one voter and one choice drawn from the options of the decision it answers.
- Choice is expressed as a [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) over those options, not free text.

## Failure modes

- Spoiled ballot: ambiguous or invalid [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) format.
- Double voting: a single agent submits multiple ballots for one proposal (Sybil risk).

## Where this came from

—

## Builds on

- [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) (references)
- [MonotonicCounter](https://semahash.org/vocabularies/bootstrap/patterns/MonotonicCounter.md) (references)

## Used by

- [Elect](https://semahash.org/vocabularies/bootstrap/patterns/Elect.md) (accepts)
- [Quorum](https://semahash.org/vocabularies/bootstrap/patterns/Quorum.md) (accepts)
- [Vote](https://semahash.org/vocabularies/bootstrap/patterns/Vote.md) (accepts)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Ballot#e0e4
- Hash: sema:Ballot#mh:SHA-256:e0e4a34b48dba4669e09b04c4b8c3202f95c878fc26c29480a298012753b1f3c

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Ballot
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Ballot.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
