Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ManifestContestDescription

The metadata that describes the structure and type of one contest in the election.

see
[Civics Common Standard Data Specification](https://developers.google.com/elections-data/reference/contest)

Hierarchy

Implements

Index

Constructors

Properties

contestId: string
cryptoHashElement: ElementModQ
geopoliticalUnitId: string
name: string
numberElected: number
selections: ManifestSelectionDescription[] = []
sequenceOrder: number

Used for ordering in a ballot to ensure various encryption primitives are deterministic. The sequence order must be unique and should be representative of how the items are represented on a template ballot in an external system. The sequence order is not required to be in the order in which they are displayed to a voter. Any acceptable range of integer values may be provided.

voteVariation: string
votesAllowed: undefined | number

Accessors

  • get objectId(): string

Methods

  • isValid(): boolean
  • Internal check that the contest description is self-consistent.

    Returns boolean

Generated using TypeDoc