├── src
└── political_canvas
│ ├── campaign
│ └── election
│ │ ├── polls.clj
│ │ ├── events.clj
│ │ ├── candidacy.clj
│ │ ├── viewpoints_matrix.clj
│ │ └── example
│ │ └── us
│ │ └── local
│ │ └── chicago_election.clj
│ ├── core.clj
│ ├── shared
│ ├── data
│ │ ├── model
│ │ │ ├── us
│ │ │ │ └── il
│ │ │ │ │ ├── district.clj
│ │ │ │ │ ├── city.clj
│ │ │ │ │ └── county.clj
│ │ │ ├── district.clj
│ │ │ ├── country.clj
│ │ │ ├── region.clj
│ │ │ └── types.clj
│ │ ├── us
│ │ │ └── il
│ │ │ │ └── cook
│ │ │ │ └── chicago.clj
│ │ └── schema
│ │ │ └── objects.clj
│ ├── verification.clj
│ ├── specs.clj
│ ├── chat.clj
│ ├── example
│ │ ├── constituent.clj
│ │ └── us
│ │ │ └── local
│ │ │ └── ward.clj
│ └── tools.clj
│ └── law
│ └── example
│ └── us
│ └── local
│ └── ordinance.clj
├── doc
├── application-guidelines.md
├── project-guidelines.md
├── intro.md
└── architecture.md
├── test
└── political_canvas
│ ├── core_test.clj
│ └── shared
│ └── tools_test.clj
├── .gitignore
├── resources
├── ThirdPartyReferencesAndSuggestions.md
├── example
│ ├── us
│ │ └── local-election.edn
│ └── refdata.edn
└── datomic
│ └── schema
│ └── election.edn
├── technical-resources.md
├── CHANGELOG.md
├── project.clj
├── README.md
└── LICENSE
/src/political_canvas/campaign/election/polls.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.campaign.election.polls)
2 |
--------------------------------------------------------------------------------
/src/political_canvas/core.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.core)
2 |
3 | ;; Wire stuff up ... eventually
4 |
--------------------------------------------------------------------------------
/src/political_canvas/campaign/election/events.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.campaign.election.events)
2 | ;;
3 | ;
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/us/il/district.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.data.model.us.il.district)
2 |
3 | (def districts
4 | {})
--------------------------------------------------------------------------------
/doc/application-guidelines.md:
--------------------------------------------------------------------------------
1 | ## Rough Guidelines
2 | * simple/singly purposed functionality with tests
3 | * peer discussion & reviews
4 | * iterative deployment
5 | *
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/us/il/city.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.shared.data.model.us.il.city
2 | (:use [political_canvas.shared.data.schema.objects]))
3 |
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/us/il/county.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.data.model.us.il.county
2 | (:use [political_canvas.shared.data.schema.objects]))
3 |
--------------------------------------------------------------------------------
/test/political_canvas/core_test.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.core-test
2 | (:require [clojure.test :refer :all]
3 | [political-canvas.core :refer :all]))
4 |
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /target
2 | /classes
3 | /checkouts
4 | pom.xml
5 | pom.xml.asc
6 | *.jar
7 | *.class
8 | /.lein-*
9 | /.nrepl-port
10 | .hgignore
11 | .hg/
12 | .idea/
13 | political-canvas.iml
14 |
--------------------------------------------------------------------------------
/src/political_canvas/campaign/election/candidacy.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.campaign.election.candidacy)
2 | ;;
3 | ; political district
4 | ; candidate identity
5 | ; candidate registration?
6 | ; -- how to get on a ballot
7 | ; -- how to register
8 | ; establish issue & position matrix matrix (see position-matrix)
9 | ;
--------------------------------------------------------------------------------
/resources/ThirdPartyReferencesAndSuggestions.md:
--------------------------------------------------------------------------------
1 | # Potential resources & Supplemental Information
2 |
3 | https://github.com/opencivicdata/ocd-division-ids
4 | Open Civic Data Division Identifiers (OCD-ID), thanks @ghosss
5 | -- find an equivalent for other countries?
6 |
7 | https://github.com/usnistgov/Voting
8 | Voting - Common Election Data Format Project, thankgs @ghosss
9 | -- probably will stop at informal polling
--------------------------------------------------------------------------------
/resources/example/us/local-election.edn:
--------------------------------------------------------------------------------
1 | {:titles
2 | [#political_canvas.shared.refdata.data.Title{:code "Mr", :codes ["Mr"], :translation {:en_us "Male name prefix"}}
3 | #political_canvas.shared.refdata.data.Title{:code "Ms", :codes ["Ms"], :translation {:en_us "Female name prefix"}}
4 | #political_canvas.shared.refdata.data.Title{:code "Dr", :codes ["Dr"], :translation {:en_us "A doctorate, doctor, or dentist"}}
5 | ]
6 | }
--------------------------------------------------------------------------------
/technical-resources.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | ## Specs from records
4 |
5 | ```clojure
6 | (:require [political-canvas.shared.tools :as t]
7 | [clojure.spec.alpha :as s])
8 |
9 | (defrecord Name [prefix first middle last family suffix])
10 |
11 | ; Create a spec for valid/conform
12 | (s/def ::name (t/spec-drec Name))
13 |
14 | => (s/valid? ::name ["dr" "foo" nil "bar" nil nil])
15 | true
16 | ```
17 |
18 | ## Datomic schema
19 | * todo ...
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/district.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.shared.data.model.district
2 | (:use [political_canvas.shared.data.schema.objects]))
3 | ;;
4 | ; What political district is this?
5 | ; How is the district determined?
6 | ; - which external services does it rely on
7 | ; - local configuration data
8 | ; - local database information
9 | ; District details (census)?
10 | ; - does this really matter other than for verification of potential voters
11 |
--------------------------------------------------------------------------------
/doc/project-guidelines.md:
--------------------------------------------------------------------------------
1 | # Campaign Applications & Framework
2 | Guidelines for developing a mobile and web campaign application useable for people.
3 |
4 | ## Phase 0: call for collaboration
5 | * clojure server side developers
6 | * clojurescript client side developers
7 | * mobile developers (android, ios)
8 |
9 | ## Phase 1: architecture
10 | * model
11 | * infrastructure
12 | * qa
13 | * product
14 | * ops?
15 |
16 | ## Phase 2: additional expertise
17 |
18 | todo
--------------------------------------------------------------------------------
/src/political_canvas/campaign/election/viewpoints_matrix.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.campaign.election.viewpoints-matrix)
2 | ;;
3 | ; What are the issues?
4 | ; Issue groups for related issues
5 | ; The candidate's official position?
6 | ; Immutable history with actual position?
7 | ; -- will this actually hinder use if candidates are afraid to speak?
8 | ; -- or will this encourage more direct honesty?
9 | ; public opinion per issue
10 | ; -- display deviations and constituent feedback
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/country.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.shared.data.model.country
2 | (:use [political_canvas.shared.data.schema.objects]))
3 |
4 |
5 | ;; http://www.worldatlas.com/aatlas/ctycodes.htm
6 | ;; http://www.science.co.il/language/Locale-codes.php
7 | ;; todo: character sets for accents, etc on non-english letters
8 | (def countries
9 | {:US (->Country "United States of America" ["USA"] {:en_us "United States"})
10 | :CA (->Country "Canada" ["CAN"] {:en_ca "Canada" :fr_ca "Canada"})
11 | :MX (->Country "Mexico" ["MEX"] {:es_mx "Mexico"})
12 | })
13 |
14 |
--------------------------------------------------------------------------------
/src/political_canvas/shared/verification.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.verification)
2 | ;; If this application ever takes off, there will doubtless be many automated bots, etc that work to dupe the system.
3 | ;; Therefore, this is a starting place for configurable rules that help verify candidate and constituent information.
4 | ;;
5 | ; Candidate
6 | ; name & alias(s)
7 | ; address
8 | ; birth date
9 | ; email
10 | ; taxid (if/when small $donations become a reality)
11 |
12 | ; Constituent
13 | ; name & address
14 | ; voter ID if present
15 | ; email
16 | ; local voting eligibility laws (boo)
--------------------------------------------------------------------------------
/test/political_canvas/shared/tools_test.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.tools-test
2 | (:require [clojure.test :refer :all]
3 | [clojure.spec.alpha :as s])
4 | (:use political-canvas.shared.tools)
5 | (:import (clojure.lang ArityException)))
6 |
7 | (defrecord FooBar [c a b])
8 | (s/def ::foobar (spec-drec FooBar))
9 |
10 | (deftest test-spec-drec
11 | (is (s/valid? ::foobar [1 2 3]))
12 | (is (not (s/valid? ::foobar [1 2])))
13 | (is (not (s/valid? ::foobar [1 2 3 4])))
14 | (is (= [1 2 3] (s/conform ::foobar [1 2 3])))
15 | (is (clojure.spec.alpha/invalid? (s/conform ::foobar [1 2 3 4])))
16 | )
17 |
18 |
--------------------------------------------------------------------------------
/src/political_canvas/shared/specs.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.specs
2 | (:require [clojure.spec.alpha :as s]
3 | [political-canvas.shared.tools :as t])
4 | (:use [political-canvas.shared.data.schema.objects])
5 | (:import [political_canvas.shared.data.schema.objects Name Address EmailAddress SocialMedia]))
6 |
7 | ;; todo: placeholder for specs to assist with names, campaigns, etc ... lots to do
8 |
9 | ; In cases where it might be useful to reuse a 'Model' data type like 'defrecord
10 | ; Now to add secondary validation for defrecord fields (like email regex, etc)
11 | (s/def ::name (t/spec-drec Name))
12 | (s/def ::address (t/spec-drec Address))
13 | (s/def ::email (t/spec-drec EmailAddress))
14 | (s/def ::social_media (t/spec-drec SocialMedia))
--------------------------------------------------------------------------------
/src/political_canvas/shared/chat.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.chat)
2 | ;; Online chat outlets are good start, but they are no substitute for in person communication.
3 | ;; In fact, it seems as though online communication is sometimes too impersonal and results in rude or
4 | ;; hateful interaction as people "hide" behind their chat avatar.
5 | ;;
6 | ; Encapsulate all activity to/from third party chat channels and forums (ie: slack, hipchat, jabber, etc)
7 | ; Establish a common API that enables third party chat APIs
8 | ; Record candidate(s) public history (high priority)
9 | ; Record constituent chat/forum history (priority)
10 | ; Backing data store (portable primary key, iso 8601 timestamp as secondary key)
11 | ; Sentiment engines for public forum mood indicators? (low priority)
12 |
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/region.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.shared.refdata.data.model.region
2 | (:use [political_canvas.shared.data.schema.objects]))
3 |
4 | ; Currently these are heavily focused on US region structure
5 | (def region_types
6 | {:village (->RegionType {:en_us "Village"} {:en_us "A smaller, urban gathering of residences"})
7 | :ward (->RegionType {:en_us "Ward"} {:en_us "A sub-district within a city or township"})
8 | :city (->RegionType {:en_us "City"} {:en_us "A"})
9 | :county (->RegionType {:en_us "County"} {:en_us ""})
10 | :district (->RegionType {:en_us "District"} {:en_us ""})
11 | :state (->RegionType {:en_us "State"} {:en_us ""})
12 | :province (->RegionType {:en_us "Province"} {:en_us ""})
13 | :country (->RegionType {:en_us "Country"} {:en_us ""})
14 | })
15 |
--------------------------------------------------------------------------------
/src/political_canvas/shared/example/constituent.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.example.constituent
2 | (:require [political-canvas.shared.example.ward :as local]))
3 |
4 | ;;
5 | ; A mock list of consituents for local/regional/federal districts
6 | ;
7 |
8 | (def mock_constituents
9 | [{:id 1
10 | :name "Joe Plumber"
11 | :aliases []
12 | :districts [local/ward1]
13 | :contact {[:address {} :email {} :phone {} :date]} ; because districs can change (boo?), people move
14 | :affiliations [{}]
15 | :admin_history [{}] ; mostly unused, track warnings from forum moderators
16 | },
17 | {:id 2
18 | :name "Maryann Perez"
19 | :aliases []
20 | :districts [local/ward1]
21 | :contact {[:address {} :email {} :phone {} :date]}
22 | :affiliations [{}]
23 | :admin_history [{}]
24 | }
25 | ])
26 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 | All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
3 |
4 | ## [Unreleased]
5 | ### Changed
6 | - Add a new arity to `make-widget-async` to provide a different widget shape.
7 |
8 | ## [0.1.1] - 2016-05-31
9 | ### Changed
10 | - Documentation on how to make the widgets.
11 |
12 | ### Removed
13 | - `make-widget-sync` - we're all async, all the time.
14 |
15 | ### Fixed
16 | - Fixed widget maker to keep working when daylight savings switches over.
17 |
18 | ## 0.1.0 - 2016-05-31
19 | ### Added
20 | - Files from the new template.
21 | - Widget maker public API - `make-widget-sync`.
22 |
23 | [Unreleased]: https://github.com/your-name/political-canvas/compare/0.1.1...HEAD
24 | [0.1.1]: https://github.com/your-name/political-canvas/compare/0.1.0...0.1.1
25 |
--------------------------------------------------------------------------------
/project.clj:
--------------------------------------------------------------------------------
1 | (defproject political-canvas "0.1.0-SNAPSHOT"
2 | :description "An application that facilitates political campaigns, in an inclusive, constructive, transparent and inexpensive manner."
3 | :url "http://www.political-canvas.org/FIXME"
4 | :license {:name "GNU Lesser General Public License, version 2.1"
5 | :url "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"}
6 | :dependencies [[org.clojure/clojure "1.9.0"]]
7 | :plugins [[lein-kibit "0.1.3"]
8 | [jonase/eastwood "0.2.3"]
9 | [lein-ancient "0.6.15"]
10 | [lein-licenses "0.2.2"]
11 | [com.walmartlabs/lacinia "0.23.0"]
12 | [com.datomic/datomic-free "0.9.5561"]]
13 | :repl-options {:init (do
14 | (use 'political-canvas.shared.tools)
15 | (use 'political-canvas.shared.data.schema.objects)
16 | (use 'political-canvas.shared.specs)
17 | )}
18 | )
19 |
--------------------------------------------------------------------------------
/doc/intro.md:
--------------------------------------------------------------------------------
1 | # Introduction to political-canvas
2 |
3 | **'Political Canvas'** is an idea of developing applications and framework for encouraging transparent and inexpensive participation in a democracy,
4 | by:
5 | 1) making it easier and cheaper to campaign for a public office
6 | 2) reducing campaign costs
7 | 3) facilitating communication between candidates and constituents (chat forums, town halls, etc)
8 | 4) educating constituents on candidate views, laws, bills, ordinances, etc;
9 | 5) to enable authoring of a new legal measure to be approved by the appropriate governing body.
10 |
11 | I will spend time at night and weekends towards this goal and am a seasoned server side developer, but lack knowledge, skill set,
12 | and bandwidth to deliver a quality product within the next US election cycle. Thus, I am hoping to collaborate with many others
13 | to discuss, develop, learn, and share practical ideas for facilitating inexpensive campaigns for all levels of political office.
--------------------------------------------------------------------------------
/src/political_canvas/law/example/us/local/ordinance.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.law.example.ordinance
2 | (:require [political-canvas.shared.example.ward :as local]))
3 |
4 | ;;
5 | ; This is an example of a local ordinance that restricts nightime urban
6 | ; lighting to reduce light polution, yet maintain pedestrian safety.
7 | ;
8 | ; Allow for versioning of laws and ordinances with source control (git)
9 | ; where authors/sponsors own commit history (no forced updates!)
10 |
11 | (def clean_urban_lighting
12 | "An example local ordinance which targets excessive urban lighting."
13 | {:type "LOCAL-ORDINANCE"
14 | :district local/ward1
15 | :summary "To reduce urban light pollution while maintaining resident safety."
16 | :description "To reduce light pollution, maintain resident safety, and reduce electricity through the use of smart sidewalk lights with motion detection sensors"
17 | :examples [{}]
18 | :status "PLANNING"
19 | :effective-date "20180101"
20 | :authors [{:name "dmillett" :created "20170208"}]
21 | :sponsors []
22 | :history [{:status "PLANNING" :date "20170208"} {:status "INTRODUCTION" :date "20170228"}]})
--------------------------------------------------------------------------------
/resources/example/refdata.edn:
--------------------------------------------------------------------------------
1 | {:prefix
2 | [#political_canvas.shared.refdata.data.Prefix{:code "Mr", :codes ["Mister"], :translation {:en_us "Male name prefix"}}
3 | #political_canvas.shared.refdata.data.Prefix{:code "Ms", :codes ["Miss"], :translation {:en_us "Female name prefix"}}
4 | #political_canvas.shared.refdata.data.Prefix{:code "Dr", :codes ["Doctor"], :translation {:en_us "A doctorate, doctor, or dentist"}}
5 | ]
6 | :suffix
7 | [#political_canvas.shared.refdata.data.Suffix{:code "Jr", :codes ["Junior"], :translation {:en_us "Indicates offspring or child of"}}
8 | #political_canvas.shared.refdata.data.Suffix{:code "Sr", :codes ["Senior"], :translation {:en_us "Indicates progenitor of a family"}}
9 | ]
10 | :titles
11 | [#political_canvas.shared.refdata.data.Title{:code "Honor" :codes nil :translation {:en_us "An elected justice of the peace"}}
12 | #political_canvas.shared.refdata.data.Title{:code "Mayor" :codes nil :translation {:en_us "An elected representative of a village, town, or city"}}
13 | #political_canvas.shared.refdata.data.Title{:code "Alderman" :codes nil :translation {:en_us "An elected neighborhood representative for a city"}}
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/src/political_canvas/shared/tools.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.tools
2 | (:require [clojure.string :as str]))
3 |
4 | (defn local-file
5 | "Refer to a local file somewhere in the project directory."
6 | [filename]
7 | (str (System/getProperty "user.dir") "/" filename))
8 |
9 | (defn data-to-file
10 | "Dump a clojure data structure to an EDN file using (with-out-str). This
11 | requires an existing directory or a filename inclusive of directory."
12 | [data filename]
13 | (spit (str filename ".edn") (with-out-str (pr data))) )
14 |
15 | (defn data-from-file
16 | "Read the contents of a small file into its clojure data structure."
17 | [filename]
18 | (read-string (slurp filename)))
19 |
20 | ; (apply ->Foo [1 2 3]) works
21 | (defn- dr-fields
22 | "Find the custom fields in a defrecord. So fields that do not begin
23 | with '__' or 'const_'. Will the specs be attached to the fields or the
24 | defrecord itself? (todo:)" ; getSimpleName
25 | [dr]
26 | (filter
27 | (fn [field] (not-any? #(str/starts-with? (.getName field) %) ["__" "const_"]))
28 | (.getFields dr)))
29 |
30 | (defn spec-drec
31 | "Create a spec predicate for defrecord types. For example:
32 |
33 | (defrecord Foo [a b c])
34 | (s/def ::foo (spec-drec Foo))
35 | (s/valid? ::foo [1 2 3])
36 | =>true"
37 | [defrec]
38 | (let [drfx (-> (str "->" (.getSimpleName defrec)) symbol resolve)]
39 | (fn [spec_args]
40 | (try (apply drfx spec_args) (catch Exception _)))
41 | ) )
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/us/il/cook/chicago.clj:
--------------------------------------------------------------------------------
1 | (ns political_canvas.shared.data.us.il.cook.chicago
2 | (:use [political_canvas.shared.data.refdata.schema]
3 | [political_canvas.shared.data.model.region]))
4 |
5 | (def ward1 {:name "Ward 1" :type "LOCAL-CITY"
6 | :precincts {} ; 44 precincts
7 | :boundaries [[] [] []] ; Explore geometric shapes (area), otherwise use lat-lon pairs
8 | :demographics {:total_population 56149} ; I am not in favor categorizing ethnicities, but worth a discussion
9 | :contact_info {:email "ward1@cityofchicago.ooorg"}
10 | :address {:state "IL" :city "Chicago" :postal []}})
11 | ; name type description electected postal languages population boundaries
12 | (def wards
13 | {:ward1 (->PoliticalRegion "Ward 1" (:ward region_types) "Chicago, 1st Ward" "" [] [] 56149 [])
14 | ;:ward2 (->PoliticalRegion "Ward 2" (:ward region_types) "Chicago 2nd ward" elected [] [] population boundaries)
15 | :ward50 (->PoliticalRegion nil nil nil nil nil nil nil nil)
16 | })
17 |
18 | (def postal (->AddressType "MAIL" ["MAIL"] {:en_us "Postal address for paper mail"}))
19 |
20 |
21 | ; type street postal region country coordinates
22 | (def chicago-address
23 | (->Address postal "121 N. Lasalle Street" "Chicago" "Illinois" "60602" ""))
24 |
25 | (def chicago
26 | {:name "Chicago"
27 | :nick_names "The Windy City (politics, not weather)"
28 | :region_type (:city region_types)
29 | :region {:country "United States" :State "Illinois" :County ["Cook"]}
30 | :districts wards
31 | :population 1
32 | :mayor {:name "Rahm Emmanuel"}
33 | ;
34 | :address (->Address nil "City Hall"
35 | 121 N. LaSalle Street
36 | Chicago, Illinois 60602}
37 | :languages []
38 | :geograpy {:boundaries []}
39 | })
--------------------------------------------------------------------------------
/doc/architecture.md:
--------------------------------------------------------------------------------
1 | # Proposed Architecture (for discussion)
2 | Here are some initial thoughts on architecture. They are all open for discussion.
3 | Initial delivery may only support one architecture choice where there are multiple,
4 | viable options.
5 |
6 | ## Mobile Application(s)
7 | * Om?
8 | * Android (Java)
9 | * IOS (Swfit)
10 |
11 | ## Web Application
12 | * Om
13 |
14 | ## Verification
15 | * block chain
16 | ### candidates
17 |
18 | ### voters
19 | * voter registration by address & date?
20 | * voter email address(es)
21 | #### how many voters per address?
22 | #### local voter laws
23 | * educate based on voter law eligibility
24 |
25 | ### Constituent
26 | * voting
27 | * authoring
28 |
29 | ### Incumbent
30 | * positions
31 | * position voting (bills, ordinance, etc)
32 | * authoring
33 |
34 | ## API Management
35 | How to provide public and internal access to the platform.
36 |
37 | ### Public
38 | * candidate and public office to campaign for
39 | * raw data for position matrix
40 | * raw data for virtual forms/channels/chats
41 | * for scheduled public and private events
42 |
43 | ### Private
44 | * mobile application support
45 | * internal data analytics (sentiment, etc)
46 |
47 | ## Caching
48 | * Redis
49 |
50 | ## Database
51 | * Cassandra?
52 | * Datomic?
53 | * Postresql?
54 |
55 | ## Chat & Forum
56 | * Slack?
57 | * Jabber/XMPP?
58 | * Hipchat?
59 |
60 | ## Monitoring
61 | * Riemann?
62 | * Prometheus?
63 |
64 | ## Logging
65 | * Schema definition?
66 | * Kafka?
67 |
68 | ## Analytics
69 | * todo (Flink/Spark/etc)
70 | * Hadoop cluster
71 |
72 | ## Social Media
73 | * name your poison (wait, would this app be considered social media ;-)
74 |
75 | ## Server
76 | * Docker containers & Swarm?
77 | * Ansible & Nixos?
78 |
79 | ## Hosting
80 | * Google Compute Engine?
81 | * Digital Ocean?
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/model/types.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.data.model.types
2 | (:use [political_canvas.shared.data.schema.objects]))
3 |
4 | (def social_media
5 | {:twitter (->SocialMediaType "Twitter" nil "www.twitter.com/foo" {:en_us "www.twitter.com"})
6 | :facebook (->SocialMediaType "Facebook" nil "www.facebook.com/foo" {:en_us "www.facebook.com"})
7 | :linked_in (->SocialMediaType "LinkedIn" nil "www.linkedin.com/foo" {:en_us "www.linkedin.com"})
8 | })
9 |
10 | ;; codes (2nd field) could represent non-english equivalents that I, in my ignorance, am unaware of
11 | (def viewpoints
12 | {:education (->ViewpointsType "Education" nil {:en_us "Education"})
13 | :taxes (->ViewpointsType "Taxes" nil {:en_us "Taxes"})
14 | :transit (->ViewpointsType "Transit" "Mass_Transit" {:en_us "Mass Transit"})
15 | :healthcare (->ViewpointsType "Healthcare" nil {:en_us "Healthcare"})
16 | :pollution (->ViewpointsType "Pollution" nil {:en_us "Air, water, soil and food pollution"})
17 | :recycling (->ViewpointsType "Recycling" nil {:en_us "Material recycling"})
18 | :garbage (->ViewpointsType "Garbage" nil {:en_us "Local garbage collection"})
19 | :military (->ViewpointsType "Military" nil {:en_us "Military spending, conflicts, etc"})
20 | :police (->ViewpointsType "Police" nil {:en_us "Local police forces, activity, restrictions, etc"})
21 | :voting (->ViewpointsType "Voting" nil {:en_us "Democratic voting initiatives "})
22 | :immigration (->ViewpointsType "Immigration" nil {:en_us "Immigration process, laws, etc"})
23 | :budget (->ViewpointsType "Budget" nil {:en_us "Budget considerations, funding, concerns, etc"})
24 | :building_permits (->ViewpointsType "BuildingPermits" nil {:en_us "Building restrictions, permits, etc"})
25 | :consumer_rights (->ViewpointsType "ConsumerRights" nil {:en_us "A democracy should also support consumer rights"})
26 | })
--------------------------------------------------------------------------------
/resources/datomic/schema/election.edn:
--------------------------------------------------------------------------------
1 | [
2 | ;; Election
3 | {:db/id #db/id[:db.part/db]
4 | :db/doc "An elections database UUID"
5 | :db/ident :election/uuid
6 | :db/valueType :db.type/uuid
7 | :db/unique :db.unique/identity
8 | :db/cardinality :db.cardinality/one
9 | :db/index true
10 | :db.install/_attribute :db.part/db}
11 |
12 | {:db/id #db/id[:db.part/db]
13 | :db/doc "The election name"
14 | :db/ident :election/name
15 | :db/unique :db.unique/identity
16 | :db/valueType :db.type/string
17 | :db/cardinality :db.cardinality/one
18 | :db/index true
19 | :db.install/_attribute :db.part/db}
20 |
21 | {:db/id #db/id[:db.part/db]
22 | :db/doc "The election date"
23 | :db/ident :election/day
24 | :db/valueType :db.type/instant
25 | :db/cardinality :db.cardinality/one
26 | :db/index true
27 | :db.install/_attribute :db.part/db}
28 |
29 | {:db/id #db/id[:db.part/db]
30 | :db/doc "The election description"
31 | :db/ident :election/description
32 | :db/valueType :db.type/string
33 | :db/cardinality :db.cardinality/one
34 | :db.install/_attribute :db.part/db}
35 |
36 | {:db/id #db/id[:db.part/db]
37 | :db/doc "The voting/polling places for this election."
38 | :db/ident :election/polling_places
39 | :db/valueType :db.type/ref
40 | :db/cardinality :db.cardinality/many
41 | :db.install/_attribute :db.part/db}
42 |
43 | {:db/id #db/id[:db.part/db]
44 | :db/doc "The Candidates for this Election"
45 | :db/ident :election/candidates
46 | :db/valueType :db.type/ref
47 | :db/cardinality :db.cardinality/many
48 | :db.install/_attribute :db.part/db}
49 |
50 | ;; candidates
51 | {:db/id #db.id[:db.part/db]
52 | :db/doc "Election Candidate UUID"
53 | :db/ident :candidate/uuid
54 | :db/valueType :db.type/uuid
55 | :db/unique :db.unique/identity
56 | :db/cardinality :db.cardinality/one
57 | :db/index true
58 | :db.install/_attribute :db.part/db}
59 |
60 | ; todo more Candidate information
61 |
62 | ;; voting/polling places
63 | {:db/id #db/id[:db.part/db]
64 | :db/doc "The voting/polling location uuid"
65 | :db/ident :polling/id
66 | :db/valueType :db.type/uuid
67 | :db/unique :db.unique/identity
68 | :db/cardinality :db.cardinality/one
69 | :db/index true
70 | :db.install/_attribute :db.part/db}
71 |
72 | ; todo: more polling location information
73 | ]
--------------------------------------------------------------------------------
/src/political_canvas/campaign/election/example/us/local/chicago_election.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.campaign.election.example.us.local.chicago-election
2 | (:use [political_canvas.shared.data.us.il.cook.chicago]
3 | [political_canvas.shared.data.schema.objects]
4 | [political_canvas.shared.data.model.types]))
5 |
6 | ;;
7 | ; An example of a local aldermanic fictional race in Chicago. There are 50 aldermanic wards in Chicago and each
8 | ; has a number of precincts. The boundaries are not simple geometric shapes and are often redrawn (why? gerrymandering)
9 | ;
10 | ; Ward boundaries: https://data.cityofchicago.org/Facilities-Geographic-Boundaries/Boundaries-Wards-2015-/sp34-6z76
11 | ; http://www.chicagoelections.com/en/ward-maps-and-aldermen.html
12 | ;
13 | ; https://data.cityofchicago.org/Facilities-Geographic-Boundaries/Boundaries-Wards-2015-/sp34-6z76
14 | ;
15 | ; todo: much of this will probably be broken out into appropriate namespaces, configuration, and persistent data storage
16 | ; http://www.nbcchicago.com/blogs/ward-room/Get-to-Know-Your-Ward-1st-Ward-289330161.html
17 | ;
18 |
19 | (def chicago_elections
20 | {:ward "www.political-canvas.org/us/il/cook/chicago/ward/2018/"})
21 |
22 | (def candidate_jrandom
23 | {:name (->Name "MS" "Janessa" nil "Random" nil {}) ; defrecord Name
24 | :contact_info {:email (->EmailAddress "jane.random@gmail.com" "2010101")
25 | :social_media [(->SocialMedia (:twitter social_media) "@jrandom")
26 | (->SocialMedia (:facebook social_media) "jrandom")]
27 | :websites {:pc (str (:ward chicago_elections) "/ward1/jrandom")}
28 | :forums {:pidgin nil :slack nil}}
29 |
30 | :bio {:summary "A fictional candidate for a fictional election for a real public office"
31 | :previous {:ward1 {:from "01/01/2016"}}}
32 | :viewpoints {:education (->Viewpoints (:education viewpoints) {} {})
33 | :taxes (->Viewpoints (:taxes viewpoints) {} {})
34 | :mass_transit (->Viewpoints (:transit viewpoints) {} {})
35 | :garbage nil}
36 | })
37 |
38 | ; Putting together a rough skeleton of candidate information
39 | ; Note the :website
40 | (def chicago-2018
41 | "A collection of candidates, to be broken out later"
42 | ; todo: region as data with namespace: 'us.il.cook.chicago.ward1'
43 | ; todo:
44 | ; - include ward statistics
45 | ; - polling places
46 | ; - election dates
47 | ; -
48 | {:region "us.il.cook.chicago.ward1"
49 | :pc_url "www.political-canvas.org/us/il/cook/chicago/ward1/2018/"
50 | :candidates
51 | [candidate_jrandom,
52 | ]})
53 |
54 |
55 |
56 | (def chicago-election-2018
57 | {:region {}
58 | :name "Chicago General Election 2018"
59 | :dates {:election "" :early_polling {:from "" :to ""} :candidate_registration {:from "" :to ""}}
60 | :candidate chicago-candidate ; covers individual communications & events
61 | :opinion_polls {}
62 | :media {:social {} :journalism {} :blog {} :misc {}}
63 | :events {:town_hall {} :debates {}}
64 | })
--------------------------------------------------------------------------------
/src/political_canvas/shared/data/schema/objects.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.data.schema.objects)
2 |
3 | ; Load these by language_locale
4 | ; - store as edn
5 | ; - store as JSON?
6 | ;
7 | ;(def title [#Title{:code "Mayor" :codes nil :translation {:en_us "Elected representative of a town or city"}}
8 | ; #Title{:code "Alderman" :codes nil :translation {:en_us "Elected representative for a subset of town or city"}}
9 | ; #Title{:code "Honor" :codes ["Judge"] :translation {:en_us "A justice of the peace"}}])
10 |
11 | ;;
12 | ; Protocols might not add much to the convention of defrecords
13 | ; (defprotocl Translatable (translate [this loc_lang] "Support translation for a given locale_language")
14 | ; (defrecord City [name description] Translatable (translate [this loc_lang] (-> this :description loc_lang)))
15 | (defn translate
16 | "Translate a specific field in an object for any reference data type"
17 | [obj field loc_lang]
18 | (-> obj field loc_lang))
19 |
20 | ;; Types (referential data)
21 | (defrecord Title [code codes translation])
22 | (defrecord Prefix [code codes translation])
23 | (defrecord Suffix [code codes translation])
24 | (defrecord NameType [code codes translation])
25 |
26 | (defrecord AddressType [code codes translation])
27 | (defrecord Address [type street city region postal country coordinates])
28 | (defrecord RegionType [name description])
29 | (defrecord PoliticalRegion [name type description electected postal languages population boundaries])
30 | (defrecord Country [name codes translation])
31 |
32 | (defrecord ContactType [code codes icon translation]) ; email, phone, slack, pidgin, etc
33 | (defrecord SocialMediaType [code icon url translation]) ;twitter, facebook, blog, website
34 | (defrecord ElectionType [code codes translation])
35 | (defrecord CandidateType [code codes translation])
36 | (defrecord PollType [code codes translation])
37 | (defrecord ContributionType [code codes translation])
38 | (defrecord ForumType [code codes translation])
39 | (defrecord ForumTopicType [code codes translation])
40 | (defrecord ViewpointsType [code codes translation]) ; taxes, education, environment, voting, etc
41 |
42 | ;; Schema (persistent data)
43 | ; An email address and the date it was entered
44 | (defrecord EmailAddress [email date])
45 | ; Candidate social media types and handles
46 | (defrecord SocialMedia [type handle])
47 | ; Candidate viewpoints on topics like taxes, education, etc (see ViewpointsTypes)
48 | (defrecord Viewpoints [type voted communicated])
49 | ; For any participant that can use screen names with date
50 | (defrecord Name [first middle last prefix suffix screennames])
51 | ; Texts, images, videos, etc
52 | (defrecord History [key date content])
53 | (defrecord PoliticalOffice [id region title description created_date])
54 | ; Only voting eligible people are allowed to contribute (time/money contribution)
55 | (defrecord Contribution [id type date amount])
56 | ; Where 'types' might be: [{Constituent }, {Encumbent 2018+), {Candidate 2017+}, {Moderator n/a}]
57 | (defrecord Human [ids types name address email_addresses register_date history affiliations contributions offices])
58 | ; A list of boundary coordinates enclosing an election district
59 | ; Where boundaries is a list of external coordinates and coordinates can change
60 | (defrecord Region [id name description boundaries modified_date])
61 | ; The public position Candidate(s) are running for and Constituents are voting for
62 | (defrecord Election [name date candidates forums description])
63 | ; An election topic like: "clean air", "taxation", etc
64 | (defrecord ElectionTopic [name description created_date])
--------------------------------------------------------------------------------
/src/political_canvas/shared/example/us/local/ward.clj:
--------------------------------------------------------------------------------
1 | (ns political-canvas.shared.example.ward)
2 |
3 | ;;
4 | ; Boundarie coordinates courtesy of ("View as Rich List"):
5 | ; https://data.cityofchicago.org/Facilities-Geographic-Boundaries/Boundaries-Wards-2015-/sp34-6z76
6 | ;
7 | ; These boundary coordinates are way too complex. Too much political gerrymandering.
8 |
9 | (def ward1
10 | {:name "Ward 1"
11 | :country "United States"
12 | :state "IL"
13 | :postal []
14 | :locales ["en-us", "es-mx", "pl"]
15 | :type "LOCAL" ; reference data lists
16 | :boundaries
17 | {:name "Ward 1"
18 | :type "MULTIPOLYGON"
19 | :coordinates [-87.67817792430289 41.92863165050658, -87.67816743312886 41.92858222984173, -87.67815776546102 41.92853669521374, -87.6781289851036 41.92831082989203, -87.67812922206097 41.9283108843639, -87.67947339868553 41.928621892738114, -87.67970518430543 41.928464202677205, -87.68091953990123 41.927433596658915, -87.68124922838375 41.92716028327044, -87.68141948607627 41.927019126019246, -87.6816312497435 41.92684357274525, -87.68179238735318 41.92671002050906, -87.68215614310112 41.92641096004903, -87.68276342281573 41.92587873237257, -87.68307583819424 41.92563273365712, -87.68330306586611 41.92545381203725, -87.68344286503252 41.9253437308035, -87.68357980043787 41.92523590473516, -87.68358006051356 41.9252357000303, -87.68310030022113 41.924963078283, -87.6831001072375 41.924962968249666, -87.6831004171218 41.92496296370217, -87.68331930443765 41.924959704078155, -87.6836408027064 41.92495475043924, -87.68441265314802 41.92494591448639, -87.6846774783699 41.92494015415967, -87.68468461057289 41.92494004499553, -87.68497858892071 41.92493552816309, -87.68520910232704 41.924931959645676, -87.68522161525968 41.9252166467249, -87.68522479355518 41.92532739410252, -87.6852269625096 41.925403503515206, -87.68523017679712 41.92551438884345, -87.68526727205447 41.92562637113951, -87.68527942080325 41.925644852447434, -87.68533141779551 41.92569498031881, -87.68575998043322 41.9256901189386, -87.68586453806739 41.92568893311958, -87.68621096266035 41.92568440905399, -87.68657822431558 41.92567959076158, -87.68684335241173 41.92567611670015, -87.68714586651303 41.9256723950623, -87.68714794403243 41.92567236984035, -87.68714828767517 41.925672365471954, -87.6871223879994 41.92490545611849, -87.6871224169411 41.92490545538102, -87.68712676606529 41.92490540152852, -87.6872383456559 41.92490402979187, -87.68750878682019 41.92490178693206, -87.6876419124919 41.92490068364392, -87.68763335214065 41.9246691504733, -87.68762991445678 41.924528956240735, -87.68762527704644 41.924340237122614, -87.68761960715183 41.92413411412399, -87.6876179081713 41.92407233170435, -87.68761344622921 41.92391009510371, -87.68760864687387 41.92374832387461, -87.68760511072232 41.92362890249005, -87.6875971374536 41.92337778848477, -87.6875945854745 41.92329742375062, -87.68758893442454 41.92311945609172, -87.68758293241007 41.92295668950834, -87.68757889215316 41.92284733641807, -87.68757166075166 41.922619387666174, -87.6875666388155 41.92246739188521, -87.68756347530066 41.9223572955377, -87.68755285867995 41.92205822556868, -87.68754706852786 41.92185772620269, -87.68754045722679 41.9217612595318, -87.68753922823284 41.92173740364369, -87.6875381355027 41.921644202912425, -87.68753812416054 41.92164329531086, -87.68753624571438 41.92148299628578, -87.68752334099328 41.92107551574611, -87.68752057715204 41.92098425573114, -87.68751245254319 41.92071604338889, -87.68750850879474 41.9206092153371, -87.68750122546885 41.920411919916994, -87.68748922218137 41.92006451564357, -87.68748689683216 41.91998022757434, -87.6874832254758 41.91984711124748, -87.6874793211163 41.9197055421585, -87.68747012926657 41.919399976036814, -87.68746614764977 41.9192676268375, -87.68746363499541 41.9191841056889, -87.68745991668214 41.91908721317731, -87.68745260746718 41.918896695282946, -87.6874476967296 41.91873503312266, -87.68744323820572 41.91858495271718, -87.68744108631452 41.918512521220336, -87.68743458801958 41.91832993892394, -87.68743066434098 41.91821970857041, -87.68742266645553 41.91799266105467, -87.68741562602507 41.917794515189605, -87.68740999058447 41.91756774024245, -87.68740569355954 41.91739484440536, -87.6873956588802 41.91710011255835, -87.68738871461008 41.91680542238968, -87.68738566621523 41.91667606659331, -87.68737975666144 41.91642532761914, -87.68737811922318 41.91629591492733, -87.68737756929671 41.91625242830937, -87.68737714492227 41.91621908378138, -87.6873767278221 41.91618645236019, -87.68737494417879 41.916130470241114, -87.68736774059789 41.91590454172467, -87.68736367351308 41.91576085853208, -87.68735938265911 41.91560924391722, -87.68735602178562 41.915492594578964, -87.68735243050666 41.915312251467334, -87.68735046117645 41.91521336547953, -87.68734749224836 41.9151002863701, -87.68734584181169 41.91503743452462, -87.68734017414461 41.91485513048939, -87.68733583952465 41.914715753873445, -87.68733227622451 41.91460113543657, -87.68732593295323 41.91440228030681, -87.6873238311478 41.91433637827597, -87.68732371301074 41.914332673628074, -87.68731885845392 41.91415007343203, -87.68731554845608 41.913994802624345, -87.68731473701125 41.91395669402691, -87.68731350942151 41.913899130421996, -87.68731300885929 41.91387561532337, -87.68730753550027 41.91361883562162, -87.68730411410894 41.91347855927483, -87.68730114132292 41.91335667121775, -87.6872914452965 41.91301386219746, -87.68728269734197 41.91271546038467, -87.68727870631486 41.912568209504904, -87.68727418302377 41.912401307582606, -87.68727032059704 41.912215967779964, -87.68726838094715 41.912132203057936, -87.68726520219558 41.911994891047165, -87.68724836918308 41.91138343624707, -87.68723492310598 41.91084790693079, -87.68723422389269 41.91082114588807, -87.68722482276415 41.91046146155866, -87.68722069732141 41.91032086695436, -87.68694154621882 41.910325537022864, -87.68636400469926 41.9103343867837, -87.68599733855842 41.91033824182091, -87.68583550586861 41.910339942159915, -87.68499338826376 41.91035481242559, -87.68478216851722 41.91035748208756, -87.6845897300589 41.91035991444307, -87.68382684410612 41.91037236879288, -87.68356448669236 41.91037616768163, -87.6833907707546 41.910378683262266, -87.68267429938996 41.91038966401132, -87.68234657836122 41.910393472365264, -87.68233965853918 41.91017912327485, -87.6823341153007 41.909945667830016, -87.68232169983408 41.909422848359746, -87.68231855217927 41.90928032248794, -87.68231540953383 41.90913801632319, -87.6823068718991 41.90886464182413, -87.68230662511978 41.90872012913518, -87.68230435302235]
20 | }})
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # political-canvas
2 |
3 | Funded by me:
4 | **TODO**: www.political-canvas.org (website)
5 | **TODO**: hosting (Linode, etc)
6 |
7 | An *election* and *law authoring* group of Clojure(script) and mobile applications designed to improve political elections and law creation for the
8 | US population.
9 |
10 | It will adhere to system and governance of laws in the United States that compliment the United
11 | States Constitution. The process aims to lower the barrier to participating in an election, increase participation and reduce
12 | disenfranchisement of the population, while raising awareness of current and future laws. An open internet and moderated social
13 | platforms (like this), should help balance, or make obsolete, massive financial contributions.
14 |
15 | [Build Campaign (todo)](#build-campaign)
16 |
17 | [Craft Law (todo)](#craft-law)
18 |
19 | [Constituents (todo)](#constituents)
20 |
21 | [Collaborate & Contribute (todo)](#collaborate)
22 |
23 | [Technical (todo)](#technical)
24 |
25 | **Keep the process and structure simple while encouraging/ensuring:**
26 |
27 | * Freedom
28 | * Equality
29 | * Honesty
30 | * Responsibility & Accountability
31 | * Transparency
32 | * Education
33 | * Constituent participation with constructive criticism & debate for town halls, peaceful gatherings, etc
34 | * Public ownership of the framework, domain, and initial mobile applications
35 | * Public API
36 | * Immutable History
37 | * Minimize costs
38 |
39 | *Empathy and education benefit many, where Apathy and ignorance benefit few or none*
40 |
41 |
42 | ## Build Campaign
43 | Create a framework that allows candidates to build a campaign for an election at any level. It should allow for easy
44 | campaign setup, social media feeds, candidate interaction with constituents/other candidates, and issues position matrix
45 | for all candidates. **This includes more in person events with constituents to foster empathy.**
46 |
47 | * Create candidacy
48 | * Establish platform
49 | * Meet constituents
50 | * Campaign contributions limits ($1.00 - your time is worth more)
51 | * Schedule Events
52 | * Social media feeds/API
53 | * Debate & Town Hall forums (in person/video/chat/etc)
54 | * Candidate position matrix
55 | * API to/from polling locations
56 | * Public API
57 | * Moderators to ~ensure fairness and non-intimidation
58 |
59 | *Explore blockchain for candidate positions and registered constituents*
60 |
61 | ### Getting Started
62 | How a person starts building a campaign for a specific public role.
63 |
64 | * Determine position to run for
65 | * Create a Candidate profile
66 | * Build a platform & share views on **Election Topics**
67 | * Interact with **Election Forums**
68 | * Schedule events & meet constituents
69 | * Participate in forum/live debates
70 |
71 | ### Platform
72 | How to establish positions on common and uncommon topics within an electorate. Demonstrate
73 | support for/against policies and events.
74 |
75 | ### Informal Polling
76 |
77 | * see blockchain
78 |
79 | ### Schedule Events
80 | Meet with constituents... empathy doesn't just happen
81 |
82 | ### Debate Forums
83 | A traditional or town hall style debate with all/most candidates with real/digital dialog.
84 |
85 | * Traditional with moderator
86 | * Town Hall with moderator
87 | * Approved questions
88 | * Surprise questions
89 | * Audience questions
90 | * Zero tolerance for intimidation and hate
91 | * Required video and chat interaction
92 | * immutable dialog
93 |
94 | ### Financial & Volunteer Contributions
95 | The digital age brings near ubiqitous communication that should not be influenced
96 | by monetary donations. Therefore, monetary donations are limited to a small monetary
97 | amount that everyone can afford (ex: $1.00).
98 |
99 | Time contributions are allowed.
100 |
101 |
102 | ## Craft Law
103 | Create a simple, singly purposed law that provides letter of law, intent, and common
104 | examples on what the law includes or excludes. Allow for constituent polling of the
105 | law/etc before submitting to the appropriate governing body.
106 |
107 | * Letter & intent of the Law
108 | * Contextual examples supporting the law (positive)
109 | * Contextual examples excluded by the law (negative)
110 | * Author(s)
111 | * Immutable final/draft versions
112 | * Required Laws (depends on)
113 | * Related Laws (similar to)
114 | * Discussion and versioning forum
115 | * Shared polling
116 | * API to/from Governing Body(s) (House/Senate/etc)
117 | * Public API
118 |
119 |
120 | ## Constituents
121 | The voting populace for a given election district. To reduce fraud or abuse, the framework will attempt to validate
122 | Constituent location details. This is also useful for educating about local voter laws.
123 |
124 | * Voter ID (private data)
125 | * Address (private data)
126 | * Census
127 |
128 |
129 | ## Collaborate & Contribute
130 | I think this will take a lot of work with perspectives and efforts from many people. If you have ideas or are
131 | interested in contributing or collaborating, please contact me: **david.millett@political-canvas.org** . Please see the
132 | **doc/** for current points of discussion. Issues are forthcoming.
133 |
134 | Feel free to join the Slack channel **#political-canvas** and share your views towards the development of democracy.
135 |
136 | ### Campaign Framework
137 | Please use the following labels when creating issues:
138 | *framework-campaign*, *development*, *product*, *ui*, *qa*, *mobile*, *ios*, *android*
139 |
140 | ### Law Authoring Framework
141 | Please use the following labels when creating issues:
142 | *framework-campaign*, *development*, *product*, *ui*, *qa*, *mobile*, *ios*, *android*
143 |
144 | ### www.political-canvas.org Website
145 | Please use the following labels when creating issues:
146 | *framework-campaign*, *development*, *product*, *ui*, *qa*, *ops*, *mobile*, *ios*, *android*
147 |
148 |
149 | ## Technical Resources
150 | Soooo much more to do...but democracy is under siege and needs help.
151 | [resources](technical-resources.md)
152 |
153 | ## License
154 |
155 | Copyright © 2016 political-canvas.org (David Millett)
156 |
157 | This program and the accompanying materials are made available under the
158 | terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1
159 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU LESSER GENERAL PUBLIC LICENSE
2 | Version 2.1, February 1999
3 |
4 | Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | [This is the first released version of the Lesser GPL. It also counts
10 | as the successor of the GNU Library Public License, version 2, hence
11 | the version number 2.1.]
12 |
13 | Preamble
14 |
15 | The licenses for most software are designed to take away your
16 | freedom to share and change it. By contrast, the GNU General Public
17 | Licenses are intended to guarantee your freedom to share and change
18 | free software--to make sure the software is free for all its users.
19 |
20 | This license, the Lesser General Public License, applies to some
21 | specially designated software packages--typically libraries--of the
22 | Free Software Foundation and other authors who decide to use it. You
23 | can use it too, but we suggest you first think carefully about whether
24 | this license or the ordinary General Public License is the better
25 | strategy to use in any particular case, based on the explanations below.
26 |
27 | When we speak of free software, we are referring to freedom of use,
28 | not price. Our General Public Licenses are designed to make sure that
29 | you have the freedom to distribute copies of free software (and charge
30 | for this service if you wish); that you receive source code or can get
31 | it if you want it; that you can change the software and use pieces of
32 | it in new free programs; and that you are informed that you can do
33 | these things.
34 |
35 | To protect your rights, we need to make restrictions that forbid
36 | distributors to deny you these rights or to ask you to surrender these
37 | rights. These restrictions translate to certain responsibilities for
38 | you if you distribute copies of the library or if you modify it.
39 |
40 | For example, if you distribute copies of the library, whether gratis
41 | or for a fee, you must give the recipients all the rights that we gave
42 | you. You must make sure that they, too, receive or can get the source
43 | code. If you link other code with the library, you must provide
44 | complete object files to the recipients, so that they can relink them
45 | with the library after making changes to the library and recompiling
46 | it. And you must show them these terms so they know their rights.
47 |
48 | We protect your rights with a two-step method: (1) we copyright the
49 | library, and (2) we offer you this license, which gives you legal
50 | permission to copy, distribute and/or modify the library.
51 |
52 | To protect each distributor, we want to make it very clear that
53 | there is no warranty for the free library. Also, if the library is
54 | modified by someone else and passed on, the recipients should know
55 | that what they have is not the original version, so that the original
56 | author's reputation will not be affected by problems that might be
57 | introduced by others.
58 |
59 | Finally, software patents pose a constant threat to the existence of
60 | any free program. We wish to make sure that a company cannot
61 | effectively restrict the users of a free program by obtaining a
62 | restrictive license from a patent holder. Therefore, we insist that
63 | any patent license obtained for a version of the library must be
64 | consistent with the full freedom of use specified in this license.
65 |
66 | Most GNU software, including some libraries, is covered by the
67 | ordinary GNU General Public License. This license, the GNU Lesser
68 | General Public License, applies to certain designated libraries, and
69 | is quite different from the ordinary General Public License. We use
70 | this license for certain libraries in order to permit linking those
71 | libraries into non-free programs.
72 |
73 | When a program is linked with a library, whether statically or using
74 | a shared library, the combination of the two is legally speaking a
75 | combined work, a derivative of the original library. The ordinary
76 | General Public License therefore permits such linking only if the
77 | entire combination fits its criteria of freedom. The Lesser General
78 | Public License permits more lax criteria for linking other code with
79 | the library.
80 |
81 | We call this license the "Lesser" General Public License because it
82 | does Less to protect the user's freedom than the ordinary General
83 | Public License. It also provides other free software developers Less
84 | of an advantage over competing non-free programs. These disadvantages
85 | are the reason we use the ordinary General Public License for many
86 | libraries. However, the Lesser license provides advantages in certain
87 | special circumstances.
88 |
89 | For example, on rare occasions, there may be a special need to
90 | encourage the widest possible use of a certain library, so that it becomes
91 | a de-facto standard. To achieve this, non-free programs must be
92 | allowed to use the library. A more frequent case is that a free
93 | library does the same job as widely used non-free libraries. In this
94 | case, there is little to gain by limiting the free library to free
95 | software only, so we use the Lesser General Public License.
96 |
97 | In other cases, permission to use a particular library in non-free
98 | programs enables a greater number of people to use a large body of
99 | free software. For example, permission to use the GNU C Library in
100 | non-free programs enables many more people to use the whole GNU
101 | operating system, as well as its variant, the GNU/Linux operating
102 | system.
103 |
104 | Although the Lesser General Public License is Less protective of the
105 | users' freedom, it does ensure that the user of a program that is
106 | linked with the Library has the freedom and the wherewithal to run
107 | that program using a modified version of the Library.
108 |
109 | The precise terms and conditions for copying, distribution and
110 | modification follow. Pay close attention to the difference between a
111 | "work based on the library" and a "work that uses the library". The
112 | former contains code derived from the library, whereas the latter must
113 | be combined with the library in order to run.
114 |
115 | GNU LESSER GENERAL PUBLIC LICENSE
116 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117 |
118 | 0. This License Agreement applies to any software library or other
119 | program which contains a notice placed by the copyright holder or
120 | other authorized party saying it may be distributed under the terms of
121 | this Lesser General Public License (also called "this License").
122 | Each licensee is addressed as "you".
123 |
124 | A "library" means a collection of software functions and/or data
125 | prepared so as to be conveniently linked with application programs
126 | (which use some of those functions and data) to form executables.
127 |
128 | The "Library", below, refers to any such software library or work
129 | which has been distributed under these terms. A "work based on the
130 | Library" means either the Library or any derivative work under
131 | copyright law: that is to say, a work containing the Library or a
132 | portion of it, either verbatim or with modifications and/or translated
133 | straightforwardly into another language. (Hereinafter, translation is
134 | included without limitation in the term "modification".)
135 |
136 | "Source code" for a work means the preferred form of the work for
137 | making modifications to it. For a library, complete source code means
138 | all the source code for all modules it contains, plus any associated
139 | interface definition files, plus the scripts used to control compilation
140 | and installation of the library.
141 |
142 | Activities other than copying, distribution and modification are not
143 | covered by this License; they are outside its scope. The act of
144 | running a program using the Library is not restricted, and output from
145 | such a program is covered only if its contents constitute a work based
146 | on the Library (independent of the use of the Library in a tool for
147 | writing it). Whether that is true depends on what the Library does
148 | and what the program that uses the Library does.
149 |
150 | 1. You may copy and distribute verbatim copies of the Library's
151 | complete source code as you receive it, in any medium, provided that
152 | you conspicuously and appropriately publish on each copy an
153 | appropriate copyright notice and disclaimer of warranty; keep intact
154 | all the notices that refer to this License and to the absence of any
155 | warranty; and distribute a copy of this License along with the
156 | Library.
157 |
158 | You may charge a fee for the physical act of transferring a copy,
159 | and you may at your option offer warranty protection in exchange for a
160 | fee.
161 |
162 | 2. You may modify your copy or copies of the Library or any portion
163 | of it, thus forming a work based on the Library, and copy and
164 | distribute such modifications or work under the terms of Section 1
165 | above, provided that you also meet all of these conditions:
166 |
167 | a) The modified work must itself be a software library.
168 |
169 | b) You must cause the files modified to carry prominent notices
170 | stating that you changed the files and the date of any change.
171 |
172 | c) You must cause the whole of the work to be licensed at no
173 | charge to all third parties under the terms of this License.
174 |
175 | d) If a facility in the modified Library refers to a function or a
176 | table of data to be supplied by an application program that uses
177 | the facility, other than as an argument passed when the facility
178 | is invoked, then you must make a good faith effort to ensure that,
179 | in the event an application does not supply such function or
180 | table, the facility still operates, and performs whatever part of
181 | its purpose remains meaningful.
182 |
183 | (For example, a function in a library to compute square roots has
184 | a purpose that is entirely well-defined independent of the
185 | application. Therefore, Subsection 2d requires that any
186 | application-supplied function or table used by this function must
187 | be optional: if the application does not supply it, the square
188 | root function must still compute square roots.)
189 |
190 | These requirements apply to the modified work as a whole. If
191 | identifiable sections of that work are not derived from the Library,
192 | and can be reasonably considered independent and separate works in
193 | themselves, then this License, and its terms, do not apply to those
194 | sections when you distribute them as separate works. But when you
195 | distribute the same sections as part of a whole which is a work based
196 | on the Library, the distribution of the whole must be on the terms of
197 | this License, whose permissions for other licensees extend to the
198 | entire whole, and thus to each and every part regardless of who wrote
199 | it.
200 |
201 | Thus, it is not the intent of this section to claim rights or contest
202 | your rights to work written entirely by you; rather, the intent is to
203 | exercise the right to control the distribution of derivative or
204 | collective works based on the Library.
205 |
206 | In addition, mere aggregation of another work not based on the Library
207 | with the Library (or with a work based on the Library) on a volume of
208 | a storage or distribution medium does not bring the other work under
209 | the scope of this License.
210 |
211 | 3. You may opt to apply the terms of the ordinary GNU General Public
212 | License instead of this License to a given copy of the Library. To do
213 | this, you must alter all the notices that refer to this License, so
214 | that they refer to the ordinary GNU General Public License, version 2,
215 | instead of to this License. (If a newer version than version 2 of the
216 | ordinary GNU General Public License has appeared, then you can specify
217 | that version instead if you wish.) Do not make any other change in
218 | these notices.
219 |
220 | Once this change is made in a given copy, it is irreversible for
221 | that copy, so the ordinary GNU General Public License applies to all
222 | subsequent copies and derivative works made from that copy.
223 |
224 | This option is useful when you wish to copy part of the code of
225 | the Library into a program that is not a library.
226 |
227 | 4. You may copy and distribute the Library (or a portion or
228 | derivative of it, under Section 2) in object code or executable form
229 | under the terms of Sections 1 and 2 above provided that you accompany
230 | it with the complete corresponding machine-readable source code, which
231 | must be distributed under the terms of Sections 1 and 2 above on a
232 | medium customarily used for software interchange.
233 |
234 | If distribution of object code is made by offering access to copy
235 | from a designated place, then offering equivalent access to copy the
236 | source code from the same place satisfies the requirement to
237 | distribute the source code, even though third parties are not
238 | compelled to copy the source along with the object code.
239 |
240 | 5. A program that contains no derivative of any portion of the
241 | Library, but is designed to work with the Library by being compiled or
242 | linked with it, is called a "work that uses the Library". Such a
243 | work, in isolation, is not a derivative work of the Library, and
244 | therefore falls outside the scope of this License.
245 |
246 | However, linking a "work that uses the Library" with the Library
247 | creates an executable that is a derivative of the Library (because it
248 | contains portions of the Library), rather than a "work that uses the
249 | library". The executable is therefore covered by this License.
250 | Section 6 states terms for distribution of such executables.
251 |
252 | When a "work that uses the Library" uses material from a header file
253 | that is part of the Library, the object code for the work may be a
254 | derivative work of the Library even though the source code is not.
255 | Whether this is true is especially significant if the work can be
256 | linked without the Library, or if the work is itself a library. The
257 | threshold for this to be true is not precisely defined by law.
258 |
259 | If such an object file uses only numerical parameters, data
260 | structure layouts and accessors, and small macros and small inline
261 | functions (ten lines or less in length), then the use of the object
262 | file is unrestricted, regardless of whether it is legally a derivative
263 | work. (Executables containing this object code plus portions of the
264 | Library will still fall under Section 6.)
265 |
266 | Otherwise, if the work is a derivative of the Library, you may
267 | distribute the object code for the work under the terms of Section 6.
268 | Any executables containing that work also fall under Section 6,
269 | whether or not they are linked directly with the Library itself.
270 |
271 | 6. As an exception to the Sections above, you may also combine or
272 | link a "work that uses the Library" with the Library to produce a
273 | work containing portions of the Library, and distribute that work
274 | under terms of your choice, provided that the terms permit
275 | modification of the work for the customer's own use and reverse
276 | engineering for debugging such modifications.
277 |
278 | You must give prominent notice with each copy of the work that the
279 | Library is used in it and that the Library and its use are covered by
280 | this License. You must supply a copy of this License. If the work
281 | during execution displays copyright notices, you must include the
282 | copyright notice for the Library among them, as well as a reference
283 | directing the user to the copy of this License. Also, you must do one
284 | of these things:
285 |
286 | a) Accompany the work with the complete corresponding
287 | machine-readable source code for the Library including whatever
288 | changes were used in the work (which must be distributed under
289 | Sections 1 and 2 above); and, if the work is an executable linked
290 | with the Library, with the complete machine-readable "work that
291 | uses the Library", as object code and/or source code, so that the
292 | user can modify the Library and then relink to produce a modified
293 | executable containing the modified Library. (It is understood
294 | that the user who changes the contents of definitions files in the
295 | Library will not necessarily be able to recompile the application
296 | to use the modified definitions.)
297 |
298 | b) Use a suitable shared library mechanism for linking with the
299 | Library. A suitable mechanism is one that (1) uses at run time a
300 | copy of the library already present on the user's computer system,
301 | rather than copying library functions into the executable, and (2)
302 | will operate properly with a modified version of the library, if
303 | the user installs one, as long as the modified version is
304 | interface-compatible with the version that the work was made with.
305 |
306 | c) Accompany the work with a written offer, valid for at
307 | least three years, to give the same user the materials
308 | specified in Subsection 6a, above, for a charge no more
309 | than the cost of performing this distribution.
310 |
311 | d) If distribution of the work is made by offering access to copy
312 | from a designated place, offer equivalent access to copy the above
313 | specified materials from the same place.
314 |
315 | e) Verify that the user has already received a copy of these
316 | materials or that you have already sent this user a copy.
317 |
318 | For an executable, the required form of the "work that uses the
319 | Library" must include any data and utility programs needed for
320 | reproducing the executable from it. However, as a special exception,
321 | the materials to be distributed need not include anything that is
322 | normally distributed (in either source or binary form) with the major
323 | components (compiler, kernel, and so on) of the operating system on
324 | which the executable runs, unless that component itself accompanies
325 | the executable.
326 |
327 | It may happen that this requirement contradicts the license
328 | restrictions of other proprietary libraries that do not normally
329 | accompany the operating system. Such a contradiction means you cannot
330 | use both them and the Library together in an executable that you
331 | distribute.
332 |
333 | 7. You may place library facilities that are a work based on the
334 | Library side-by-side in a single library together with other library
335 | facilities not covered by this License, and distribute such a combined
336 | library, provided that the separate distribution of the work based on
337 | the Library and of the other library facilities is otherwise
338 | permitted, and provided that you do these two things:
339 |
340 | a) Accompany the combined library with a copy of the same work
341 | based on the Library, uncombined with any other library
342 | facilities. This must be distributed under the terms of the
343 | Sections above.
344 |
345 | b) Give prominent notice with the combined library of the fact
346 | that part of it is a work based on the Library, and explaining
347 | where to find the accompanying uncombined form of the same work.
348 |
349 | 8. You may not copy, modify, sublicense, link with, or distribute
350 | the Library except as expressly provided under this License. Any
351 | attempt otherwise to copy, modify, sublicense, link with, or
352 | distribute the Library is void, and will automatically terminate your
353 | rights under this License. However, parties who have received copies,
354 | or rights, from you under this License will not have their licenses
355 | terminated so long as such parties remain in full compliance.
356 |
357 | 9. You are not required to accept this License, since you have not
358 | signed it. However, nothing else grants you permission to modify or
359 | distribute the Library or its derivative works. These actions are
360 | prohibited by law if you do not accept this License. Therefore, by
361 | modifying or distributing the Library (or any work based on the
362 | Library), you indicate your acceptance of this License to do so, and
363 | all its terms and conditions for copying, distributing or modifying
364 | the Library or works based on it.
365 |
366 | 10. Each time you redistribute the Library (or any work based on the
367 | Library), the recipient automatically receives a license from the
368 | original licensor to copy, distribute, link with or modify the Library
369 | subject to these terms and conditions. You may not impose any further
370 | restrictions on the recipients' exercise of the rights granted herein.
371 | You are not responsible for enforcing compliance by third parties with
372 | this License.
373 |
374 | 11. If, as a consequence of a court judgment or allegation of patent
375 | infringement or for any other reason (not limited to patent issues),
376 | conditions are imposed on you (whether by court order, agreement or
377 | otherwise) that contradict the conditions of this License, they do not
378 | excuse you from the conditions of this License. If you cannot
379 | distribute so as to satisfy simultaneously your obligations under this
380 | License and any other pertinent obligations, then as a consequence you
381 | may not distribute the Library at all. For example, if a patent
382 | license would not permit royalty-free redistribution of the Library by
383 | all those who receive copies directly or indirectly through you, then
384 | the only way you could satisfy both it and this License would be to
385 | refrain entirely from distribution of the Library.
386 |
387 | If any portion of this section is held invalid or unenforceable under any
388 | particular circumstance, the balance of the section is intended to apply,
389 | and the section as a whole is intended to apply in other circumstances.
390 |
391 | It is not the purpose of this section to induce you to infringe any
392 | patents or other property right claims or to contest validity of any
393 | such claims; this section has the sole purpose of protecting the
394 | integrity of the free software distribution system which is
395 | implemented by public license practices. Many people have made
396 | generous contributions to the wide range of software distributed
397 | through that system in reliance on consistent application of that
398 | system; it is up to the author/donor to decide if he or she is willing
399 | to distribute software through any other system and a licensee cannot
400 | impose that choice.
401 |
402 | This section is intended to make thoroughly clear what is believed to
403 | be a consequence of the rest of this License.
404 |
405 | 12. If the distribution and/or use of the Library is restricted in
406 | certain countries either by patents or by copyrighted interfaces, the
407 | original copyright holder who places the Library under this License may add
408 | an explicit geographical distribution limitation excluding those countries,
409 | so that distribution is permitted only in or among countries not thus
410 | excluded. In such case, this License incorporates the limitation as if
411 | written in the body of this License.
412 |
413 | 13. The Free Software Foundation may publish revised and/or new
414 | versions of the Lesser General Public License from time to time.
415 | Such new versions will be similar in spirit to the present version,
416 | but may differ in detail to address new problems or concerns.
417 |
418 | Each version is given a distinguishing version number. If the Library
419 | specifies a version number of this License which applies to it and
420 | "any later version", you have the option of following the terms and
421 | conditions either of that version or of any later version published by
422 | the Free Software Foundation. If the Library does not specify a
423 | license version number, you may choose any version ever published by
424 | the Free Software Foundation.
425 |
426 | 14. If you wish to incorporate parts of the Library into other free
427 | programs whose distribution conditions are incompatible with these,
428 | write to the author to ask for permission. For software which is
429 | copyrighted by the Free Software Foundation, write to the Free
430 | Software Foundation; we sometimes make exceptions for this. Our
431 | decision will be guided by the two goals of preserving the free status
432 | of all derivatives of our free software and of promoting the sharing
433 | and reuse of software generally.
434 |
435 | NO WARRANTY
436 |
437 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446 |
447 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456 | DAMAGES.
457 |
458 | END OF TERMS AND CONDITIONS
459 |
460 | How to Apply These Terms to Your New Libraries
461 |
462 | If you develop a new library, and you want it to be of the greatest
463 | possible use to the public, we recommend making it free software that
464 | everyone can redistribute and change. You can do so by permitting
465 | redistribution under these terms (or, alternatively, under the terms of the
466 | ordinary General Public License).
467 |
468 | To apply these terms, attach the following notices to the library. It is
469 | safest to attach them to the start of each source file to most effectively
470 | convey the exclusion of warranty; and each file should have at least the
471 | "copyright" line and a pointer to where the full notice is found.
472 |
473 |
474 | Copyright (C)
475 |
476 | This library is free software; you can redistribute it and/or
477 | modify it under the terms of the GNU Lesser General Public
478 | License as published by the Free Software Foundation; either
479 | version 2.1 of the License, or (at your option) any later version.
480 |
481 | This library is distributed in the hope that it will be useful,
482 | but WITHOUT ANY WARRANTY; without even the implied warranty of
483 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
484 | Lesser General Public License for more details.
485 |
486 | You should have received a copy of the GNU Lesser General Public
487 | License along with this library; if not, write to the Free Software
488 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
489 |
490 | Also add information on how to contact you by electronic and paper mail.
491 |
492 | You should also get your employer (if you work as a programmer) or your
493 | school, if any, to sign a "copyright disclaimer" for the library, if
494 | necessary. Here is a sample; alter the names:
495 |
496 | Yoyodyne, Inc., hereby disclaims all copyright interest in the
497 | library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498 |
499 | , 1 April 1990
500 | Ty Coon, President of Vice
501 |
502 | That's all there is to it!
--------------------------------------------------------------------------------