forked from votinginfoproject/vip-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample feed for v2.2.xml
429 lines (424 loc) · 16.8 KB
/
sample feed for v2.2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
<?xml version="1.0"?>
<!--
Sample XML file for Voting Information Project (VIP) Spec Version 2.2
Date: 2010-09-01
A sample file for one state's (Ohio's) election. In this hypothetical version of Ohio, the state comprises only three counties.
Each county has multiple precincts; one precinct is split; precincts sometimes share the same polling location. One county has a common drop
location, while another county has a precinct with a specific mail location.
Five candidate contests are occuring in one November election, along with one county referendum, and one judge retention.
One of the candidate contests is a special state senate primary; the state senate district comprises one full county
and one precinct split in a neighboring county.
The other contests are either statewide or countywide; the county contests are non-partisan.
Note that the ID attributes are unique throughout the file.
-->
<vip_object xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://election-info-standard.googlecode.com/files/election_spec_v2.2.xsd" schemaVersion="2.2">
<source id="0">
<name>State of Ohio</name>
<vip_id>39</vip_id>
<datetime>2010-10-31T15:45:10</datetime>
<description>The State of Ohio is the official source of eletion information in Ohio. This feed provides information on election dates, districts, offices, candidates, and precinct boundaries.</description>
<organization_url>http://www.sos.state.oh.us/</organization_url>
<feed_contact_id>1555122</feed_contact_id>
<tou_url>http://www.sos.state.oh.us/vipFeed/terms_of_use.html</tou_url>
</source>
<election id="1">
<date>2010-11-06</date>
<election_type>Federal</election_type>
<state_id>39</state_id>
<statewide>yes</statewide>
<registration_info>http://www.sos.state.oh.us/sos/PublicAffairs/VoterInfoGuide.aspx?Section=14</registration_info>
<absentee_ballot_info>http://www.sos.state.oh.us/sos/PublicAffairs/VoterInfoGuide.aspx?Section=16</absentee_ballot_info>
<results_url>http://www.sos.state.oh.us/sos/ElectionsVoter/electionResults.aspx</results_url>
<polling_hours>7am-8pm</polling_hours>
<election_day_registration>no</election_day_registration>
<registration_deadline>2010-10-01</registration_deadline>
<absentee_request_deadline>2010-11-01</absentee_request_deadline>
</election>
<state id="39">
<name>Ohio</name>
<election_administration_id>3456</election_administration_id>
</state>
<locality id="101">
<name>Adams</name>
<state_id>39</state_id>
<type>county</type>
</locality>
<locality id="102">
<name>Allen</name>
<state_id>39</state_id>
<type>county</type>
</locality>
<locality id="103">
<name>Ashland</name>
<state_id>39</state_id>
<type>county</type>
</locality>
<precinct id="10101">
<name>Fake Twp</name>
<locality_id>101</locality_id>
<polling_location_id>20101</polling_location_id>
</precinct>
<precinct id="10102">
<name>Psuedo Twp</name>
<locality_id>101</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70002</electoral_district_id>
<polling_location_id>20102</polling_location_id>
</precinct>
<precinct id="10103">
<name>SharesTwoOtherLocations Twp</name>
<locality_id>101</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70003</electoral_district_id>
<polling_location_id>20101</polling_location_id>
<polling_location_id>20102</polling_location_id>
</precinct>
<precinct id="10201">
<name>Bath Twp A</name>
<locality_id>102</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70002</electoral_district_id>
<polling_location_id>20201</polling_location_id>
</precinct>
<precinct id="10202">
<name>Bath Twp B</name>
<locality_id>102</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70002</electoral_district_id>
<polling_location_id>20201</polling_location_id>
</precinct>
<precinct id="10203">
<name>Rural Twp Mail In </name>
<locality_id>102</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70002</electoral_district_id>
<mail_only>yes</mail_only>
<early_vote_site_id>30203</early_vote_site_id>
</precinct>
<precinct id="10301">
<name>1-A</name>
<locality_id>103</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70003</electoral_district_id>
<ward>1</ward>
<polling_location_id>20301</polling_location_id>
</precinct>
<precinct id="10302">
<name>1-B</name>
<locality_id>103</locality_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70002</electoral_district_id>
<ward>1</ward>
<polling_location_id>20301</polling_location_id>
</precinct>
<precinct_split id="30101">
<name>Fake Twp-A</name>
<precinct_id>10101</precinct_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70002</electoral_district_id>
<ballot_style_image_url>http://www.example.com/precinct_split_101_ballot.pdf</ballot_style_image_url>
</precinct_split>
<precinct_split id="30102">
<name>Fake Twp-B</name>
<precinct_id>10101</precinct_id>
<electoral_district_id>70001</electoral_district_id>
<electoral_district_id>70003</electoral_district_id>
</precinct_split>
<election_administration id="3456">
<eo_id>3457</eo_id>
<ovc_id>3458</ovc_id>
<physical_address><location_name>Government Center</location_name><line1>12 Chad Ct.</line1><city>Columbus</city><state>OH</state><zip>33333</zip></physical_address>
<mailing_address><line1>P.O. Box 1776</line1><city>Columbus</city><state>OH</state><zip>33333</zip></mailing_address>
<elections_url>http://www.sos.state.oh.us/sos/ElectionsVoter/ohioElections.aspx</elections_url>
<registration_url>http://www.elections.oh.us/register.html</registration_url>
<am_i_registered_url>http://www.elections.oh.us/check_reg.html</am_i_registered_url>
<absentee_url>http://www.elections.oh.us/early_absentee.html</absentee_url>
<where_do_i_vote_url>http://www.elections.oh.us/where_vote.html</where_do_i_vote_url>
<what_is_on_my_ballot_url>http://www.elections.oh.us/ballot_guide.html</what_is_on_my_ballot_url>
<rules_url>http://codes.ohio.gov/orc/35</rules_url>
<voter_services>Early voting and absentee ballot request are available beginning October 1. Voter registration is always available.</voter_services>
<hours>M-F 9am-6pm Sat 9am-Noon</hours>
</election_administration>
<election_official id="3457">
<name>Robert Smith</name>
<phone>(101) 555-1212</phone>
<fax>(101) 555-1213</fax>
<email>rsmith@ohio.gov</email>
</election_official>
<election_official id="3458">
<name>Roberta Smith</name>
<title>Head of Elections</title>
<phone>(101) 555-1212</phone>
<fax>(101) 555-1213</fax>
<email>rsmith@ohio.gov</email>
</election_official>
<election_official id="1555122">
<name>Alissa P. Hacker</name>
<title>Information Technology Specialist</title>
<phone>(101) 555-1235</phone>
<fax>(101) 555-1236</fax>
<email>ahacker@ohio.gov</email>
</election_official>
<election_official id="3459">
<name>Robert Miller</name>
<title>Overseas Voter Contact</title>
<phone>(101) 555-1215</phone>
<fax>(101) 555-1216</fax>
<email>rmiller@ohio.gov</email>
</election_official>
<polling_location id="20101">
<address><location_name>Springfield Elementary</location_name><line1>123 Main St.</line1><city>Fake Twp</city><state>OH</state><zip>33333</zip></address>
<directions>Enter through gym door.</directions>
<polling_hours>7:30am-8:30pm</polling_hours>
</polling_location>
<polling_location id="20102">
<address><location_name>Adams Church</location_name><line1>123 Main St.</line1><city>Adams</city><state>OH</state><zip>33333</zip></address>
<directions>Enter through door by parking lot.</directions>
</polling_location>
<polling_location id="20201">
<address><location_name>Bath Firehouse Church</location_name><line1>123 State St.</line1><city>Bath</city><state>OH</state><zip>33333</zip></address>
<directions>Enter through big red door.</directions>
</polling_location>
<polling_location id="20301">
<address><location_name>Ashland City High School</location_name><line1>123 Center St.</line1><city>Ashland</city><state>OH</state><zip>33333</zip></address>
<directions>Enter at main doors and take a left.</directions>
</polling_location>
<early_vote_site id="30203">
<name>Springfield Ballot Drop</name>
<address>
<location_name>Early Vote Kiosk Number 52</location_name>
<line1>321 Main St.</line1>
<city>Springfield</city>
<state>IL</state>
<zip>44444</zip>
</address>
<locality_id>101</locality_id>
<directions>Next to Post Office.</directions>
<voter_services>Early voting is available.</voter_services>
<start_date>2010-10-01</start_date>
<end_date>2010-11-04</end_date>
<days_times_open>Mon-Fri: 9am - 6pm. Sat. and Sun.: 10am - 7pm.</days_times_open>
</early_vote_site>
<contest id="60001">
<election_id>1</election_id>
<electoral_district_id>70001</electoral_district_id>
<type>general</type>
<partisan>yes</partisan>
<office>State Treasurer</office>
<ballot_id>80001</ballot_id>
<ballot_placement>1</ballot_placement>
<filing_closed_date>2010-05-10</filing_closed_date>
</contest>
<contest id="60002">
<election_id>1</election_id>
<electoral_district_id>70001</electoral_district_id>
<type>general</type>
<partisan>yes</partisan>
<office>Attorney General</office>
<ballot_id>80002</ballot_id>
<ballot_placement>2</ballot_placement>
</contest>
<contest id="60003">
<election_id>1</election_id>
<electoral_district_id>70002</electoral_district_id>
<type>primary</type>
<partisan>yes</partisan>
<primary_party>Democrat</primary_party>
<electorate_specifications>All voters registered in the Democratic Party by October 20th, 2010.</electorate_specifications>
<special>yes</special>
<office>State Senate</office>
<ballot_id>80003</ballot_id>
<ballot_placement>3</ballot_placement>
</contest>
<contest id="60004">
<election_id>1</election_id>
<electoral_district_id>70003</electoral_district_id>
<type>general</type>
<partisan>no</partisan>
<office>County Commisioner</office>
<ballot_id>80004</ballot_id>
<ballot_placement>4</ballot_placement>
</contest>
<contest id="60005">
<election_id>1</election_id>
<electoral_district_id>70003</electoral_district_id>
<type>general</type>
<partisan>no</partisan>
<office>County Supervisor At Large</office>
<number_elected>2</number_elected>
<number_voting_for>2</number_voting_for>
<ballot_id>80005</ballot_id>
<ballot_placement>4</ballot_placement>
</contest>
<contest id="60006">
<election_id>1</election_id>
<electoral_district_id>70003</electoral_district_id>
<type>referendum</type>
<partisan>no</partisan>
<ballot_id>80006</ballot_id>
<ballot_placement>6</ballot_placement>
</contest>
<contest id="60007">
<election_id>1</election_id>
<electoral_district_id>70003</electoral_district_id>
<type>judge retention</type>
<partisan>no</partisan>
<ballot_id>80007</ballot_id>
<ballot_placement>5</ballot_placement>
</contest>
<electoral_district id="70001">
<name>statewide</name>
<type>statewide</type>
</electoral_district>
<electoral_district id="70002">
<name>SD-13</name>
<type>State Senate</type>
</electoral_district>
<electoral_district id="70003">
<name>Ashland County</name>
<type>County</type>
</electoral_district>
<ballot id="80001">
<candidate_id>90001</candidate_id>
<candidate_id>90002</candidate_id>
<candidate_id>90003</candidate_id>
</ballot>
<ballot id="80002">
<candidate_id sort_order="1">90004</candidate_id>
<candidate_id sort_order="2">90005</candidate_id>
</ballot>
<ballot id="80003">
<candidate_id>90006</candidate_id>
<candidate_id>90007</candidate_id>
</ballot>
<ballot id="80004">
<candidate_id>90008</candidate_id>
<candidate_id>90009</candidate_id>
</ballot>
<ballot id="80005">
<candidate_id>90010</candidate_id>
</ballot>
<ballot id="80006">
<referendum_id>90011</referendum_id>
</ballot>
<ballot id="80007">
<custom_ballot_id>90012</custom_ballot_id>
<write_in>no</write_in>
</ballot>
<candidate id="90001">
<name>Daniel Berlin</name>
<party>Democrat</party>
<candidate_url>http://www.dberlin.org</candidate_url>
<biography>Daniel Berlin grew up somewhere</biography>
<phone>123-456-7890</phone>
<photo_url>http://www.dberlin.org/dannyb.jpg</photo_url>
<filed_mailing_address><line1>123 Fake St.</line1><city>Rockville</city><state>OH</state><zip>20852</zip></filed_mailing_address>
<email>dberlin@example.com</email>
<sort_order>1</sort_order>
</candidate>
<candidate id="90002">
<name>Berlin Opponent</name>
<party>Republican</party>
<sort_order>2</sort_order>
</candidate>
<candidate id="90003">
<name>Third Party Person</name>
<party>Libertarian</party>
<sort_order>3</sort_order>
</candidate>
<candidate id="90004">
<name>Goodie Lawyer</name>
<party>Democrat</party>
</candidate>
<candidate id="90005">
<name>Betty Lawschool</name>
<party>Republican</party>
</candidate>
<candidate id="90006">
<name>Goodie Liberal</name>
<party>Democrat</party>
</candidate>
<candidate id="90007">
<name>Carl Moderation</name>
<party>Democrat</party>
</candidate>
<candidate id="90008">
<name>Justin Fication</name>
</candidate>
<candidate id="90009">
<name>Count E. Betterer</name>
</candidate>
<candidate id="90010">
<name>Runner Solo</name>
</candidate>
<referendum id="90011">
<title>Proposition 37</title>
<subtitle>A referendum to ban smoking indoors</subtitle>
<brief>A yes vote is a vote to ban smoking indoors.</brief>
<text>Shall the State of Ohio ... (full text of referendum as it appears on the ballot).</text>
<pro_statement>Vote yes please</pro_statement>
<con_statement>Vote no please</con_statement>
<passage_threshold>three-fifths</passage_threshold>
<effect_of_abstain>Abstaining has no effect</effect_of_abstain>
<ballot_response_id>120001</ballot_response_id>
<ballot_response_id>120002</ballot_response_id>
</referendum>
<custom_ballot id="90012">
<heading>Should Judge Carlton Smith be retained?</heading>
<ballot_response_id>120001</ballot_response_id>
<ballot_response_id>120002</ballot_response_id>
</custom_ballot>
<ballot_response id="120001">
<sort_order>1</sort_order>
<text>Yes</text>
</ballot_response>
<ballot_response id="120002">
<sort_order>2</sort_order>
<text>No</text>
</ballot_response>
<street_segment id="1210001">
<start_house_number>1</start_house_number>
<end_house_number>10</end_house_number>
<odd_even_both>both</odd_even_both>
<non_house_address>
<street_direction>E</street_direction>
<street_name>Guinevere</street_name>
<street_suffix>Dr</street_suffix>
<address_direction>SE</address_direction>
<apartment>616S</apartment>
<state>VA</state>
<city>Annandale</city>
<zip>22003</zip>
</non_house_address>
<precinct_id>10101</precinct_id>
</street_segment>
<street_segment id="1210002">
<start_house_number>1</start_house_number>
<end_house_number>9</end_house_number>
<odd_even_both>odd</odd_even_both>
<non_house_address>
<street_name>Main</street_name>
<street_suffix>Dr</street_suffix>
<state>VA</state>
<city>Annandale</city>
<zip>22003</zip>
</non_house_address>
<precinct_id>10101</precinct_id>
<precinct_split_id>30102</precinct_split_id>
</street_segment>
<street_segment id="1210003">
<start_house_number>2</start_house_number>
<end_house_number>2</end_house_number>
<odd_even_both>both</odd_even_both>
<non_house_address>
<house_number_prefix>NW</house_number_prefix>
<house_number_suffix>A</house_number_suffix>
<street_name>Main</street_name>
<street_suffix>Dr</street_suffix>
<state>VA</state>
<city>Annandale</city>
<zip>22003</zip>
</non_house_address>
<precinct_id>10102</precinct_id>
</street_segment>
</vip_object>