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

ElectoralDistrict

import type { ElectoralDistrict } from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";

Describes the geographic scope of a contest.

interface ElectoralDistrict {
id?: string;
name?: string;
scope?:
| "statewide"
| "congressional"
| "stateUpper"
| "stateLower"
| "countywide"
| "judicial"
| "schoolBoard"
| "citywide"
| "special"
| "countyCouncil"
| "township"
| "ward"
| "cityCouncil"
| "national";
}

§Properties

§
id?: string
[src]

An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper.

§
name?: string
[src]

The name of the district.

§
scope?: "statewide" | "congressional" | "stateUpper" | "stateLower" | "countywide" | "judicial" | "schoolBoard" | "citywide" | "special" | "countyCouncil" | "township" | "ward" | "cityCouncil" | "national"
[src]

The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special