Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Precinct

import type { Precinct } from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";
interface Precinct {
administrationRegionId?: string;
contestId?: string[];
datasetId?: bigint;
earlyVoteSiteId?: string[];
electoralDistrictId?: string[];
id?: string;
mailOnly?: boolean;
name?: string;
number?: string;
ocdId?: string[];
pollingLocationId?: string[];
spatialBoundaryId?: string[];
splitName?: string;
ward?: string;
}

§Properties

§
administrationRegionId?: string
[src]

ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag.

§
contestId?: string[]
[src]

ID(s) of the Contest message(s) for this precinct.

§
datasetId?: bigint
[src]

Required. Dataset ID. What datasets our Precincts come from.

§
earlyVoteSiteId?: string[]
[src]

ID(s) of the PollingLocation message(s) for this precinct.

§
electoralDistrictId?: string[]
[src]

ID(s) of the ElectoralDistrict message(s) for this precinct.

§
id?: string
[src]

Required. A unique identifier for this precinct.

§
mailOnly?: boolean
[src]

Specifies if the precinct runs mail-only elections.

§
name?: string
[src]

Required. The name of the precinct.

§
number?: string
[src]

The number of the precinct.

§
ocdId?: string[]
[src]

Encouraged. The OCD ID of the precinct

§
pollingLocationId?: string[]
[src]

ID(s) of the PollingLocation message(s) for this precinct.

§
spatialBoundaryId?: string[]
[src]

ID(s) of the SpatialBoundary message(s) for this precinct. Used to specify a geometrical boundary of the precinct.

§
splitName?: string
[src]

If present, this proto corresponds to one portion of split precinct. Other portions of this precinct are guaranteed to have the same name. If not present, this proto represents a full precicnt.

§
ward?: string
[src]

Specifies the ward the precinct is contained within.