-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathNIST_V0_voter_records_interchange.xsd
1770 lines (1755 loc) · 94.6 KB
/
NIST_V0_voter_records_interchange.xsd
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
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://itl.nist.gov/ns/voting/1500-102/v1" version="1.0.3" xmlns="http://itl.nist.gov/ns/voting/1500-102/v1" xmlns:addr="http://www.fgdc.gov/schemas/address/addr" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- ========== Imports ========== -->
<xsd:import namespace="http://www.fgdc.gov/schemas/address/addr" schemaLocation="https://www.fgdc.gov/schemas/address/addr.xsd"/>
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/2000/09/xmldsig#"/>
<!-- ========== Roots ========== -->
<xsd:element name="VoterRecordsRequest" type="VoterRecordsRequest"/>
<xsd:element name="VoterRecordsResponse" type="VoterRecordsResponse"/>
<!-- ========== Enumerations ========== -->
<xsd:simpleType name="AssertionValue">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages.Enumeration for assertions from a voter or a third party such as a department of motor vehicles (DMV) in response to questions on a registration form, used in the Assertion attribute of VoterClassification.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="no">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter’s or third party’s assertion of “no” or “false”.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="yes">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter’s or third party’s assertion of “yes” or “true”.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unknown">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter’s or third party’s assertion of “unknown”.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter’s or third party’s assertion of “other”.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="BallotReceiptMethod">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages.Enumeration for methods for delivering a ballot to the voter, used in the BallotReceiptPreference attribute ofBallotRequest. The sub-element may be repeated multiple times with different values as applicable, e.g., to specify both mail and online.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="email">
<xsd:annotation>
<xsd:documentation xml:lang="en">For email only.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="email-or-online">
<xsd:annotation>
<xsd:documentation xml:lang="en">For electronic mail or downloadable from a website (this value is ambiguous, thus the separate values for email and online).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="fax">
<xsd:annotation>
<xsd:documentation xml:lang="en">For use of a fax.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="mail">
<xsd:annotation>
<xsd:documentation xml:lang="en">For postal mail.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="online">
<xsd:annotation>
<xsd:documentation xml:lang="en">For downloadable from a website, e.g., the voter is sent a hypertext link to a ballot.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ContactMethodType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for methods for contacting a voter or an election administration office, used in the Type attribute of ContactMethod.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="email">
<xsd:annotation>
<xsd:documentation xml:lang="en">For electronic mail.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="phone">
<xsd:annotation>
<xsd:documentation xml:lang="en">For use of a phone.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of contact method is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="IdentifierType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for election data-related codes in the ExternalIdentifier class.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="fips">
<xsd:annotation>
<xsd:documentation xml:lang="en">For FIPS codes.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="local-level">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a code that is specific to a county or other similar locality.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="national-level">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a code that is used at the national level other than ocd-id.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ocd-id">
<xsd:annotation>
<xsd:documentation xml:lang="en">For Open Civic Data identifiers.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-level">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a code that is specific to a state.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of code is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PhoneCapability">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for telephone capabilities, used in the Capability attribute of PhoneContactMethod.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="fax">
<xsd:annotation>
<xsd:documentation xml:lang="en">For telephones that include facsimile capabilities.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="mms">
<xsd:annotation>
<xsd:documentation xml:lang="en">For telephones that contain Multimedia Messaging Service (MMS) capabilities.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="sms">
<xsd:annotation>
<xsd:documentation xml:lang="en">For telephones that contain Short Messaging Service (SMS) capabilities.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voice">
<xsd:annotation>
<xsd:documentation xml:lang="en">For telephones that contain voice capabilities.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReportingUnitType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for the type of geopolitical unit, used in the Type sub-element in the ReportingUnit element.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ballot-batch">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for reporting batches of ballots that may cross precinct boundaries.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ballot-style-area">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for ballot style areas generally composed of precincts.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="borough">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in CT, NJ, PA, other states, and New York City for boroughs. For AK and LA, see county.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="city">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a city that reports results and/or for the district that encompasses it.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="city-council">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for city council districts.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="combined-precinct">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for one or more precincts that have been combined for the purposes of reporting. Used for “Ward” if “Ward” is used interchangeably with “CombinedPrecinct”.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="congressional">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for U.S. Congressional districts.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="county">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a county and/or for the district that encompasses it. In AK, used for counties that are called boroughs. In LA, used for parishes.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="county-council">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for county council districts.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="drop-box">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a dropbox for absentee ballots.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="judicial">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for judicial districts.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="municipality">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used as applicable for various units such as towns, townships, villages that report votes and/or for the district that encompasses it.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="polling-place">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a polling place.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="precinct">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used also for “Ward” or “District” when these terms are used interchangeably with “Precinct”.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="school">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a school district.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="special">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a special district.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="split-precinct">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for splits of precincts.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a state and/or for the district that encompasses it.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-house">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a state house or assembly district.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-senate">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a state senate district.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="town">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in some New England states as a type of municipality that reports votes and/or for the district that encompasses it.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="township">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in some mid-western states as a type of municipality that reports votes and/or for the district that encompasses it.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="utility">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a utility district.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="village">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used as a type of municipality that reports votes and/or for the district that encompasses it.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="vote-center">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a vote center.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ward">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for combinations or groupings of precincts or other units.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="water">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a water district.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for other types of reporting units not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="RequestError">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in response messages. Enumeration for registration-related errors, used in the Error attribute of RegistrationRejection.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="identity-lookup-failed">
<xsd:annotation>
<xsd:documentation xml:lang="en">A lookup on the voter’s identity failed.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="incomplete">
<xsd:annotation>
<xsd:documentation xml:lang="en">The registration request is incomplete.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ineligible">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is ineligible to be registered.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="invalid-form">
<xsd:annotation>
<xsd:documentation xml:lang="en">The registration form specified is invalid.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of error is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="RequestForm">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages. Enumeration for types of registration forms, used in the RegistrationForm attribute of VoterRecordsRequest.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="fpca">
<xsd:annotation>
<xsd:documentation xml:lang="en">For the Federal Post Card Application form.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="nvra">
<xsd:annotation>
<xsd:documentation xml:lang="en">For the National Voter Registration Act form.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of form is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="RequestMethod">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages. Enumeration for the method used by the voter to register, used in the RequestMethod attribute of VoterRecordsRequest.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="armed-forces-recruitment-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by an armed forces recruitment office.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="motor-vehicle-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via an MVA/DMV.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other-agency-designated-by-state">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by an unspecified state-designated agency.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="public-assistance-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by a public assistance office.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="registration-drive-from-advocacy-group-or-political-party">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via a registration drive.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-funded-agency-serving-persons-with-disabilities">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by a state-designated agency serving persons with disabilities.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voter-via-election-registrars-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via an election or registrar’s office.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voter-via-email">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via email.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voter-via-fax">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via fax.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voter-via-internet">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via the Internet, e.g., a website.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voter-via-mail">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via postal mail.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unknown">
<xsd:annotation>
<xsd:documentation xml:lang="en">The method used is unknown.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of method is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="RequestProxyType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages. Enumeration for the registration proxy, e.g., the MVA/DMV , involved in the voter's registration request, used in the Type attribute of RegistrationProxy.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="armed-forces-recruitment-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by an armed forces recruitment office.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="motor-vehicle-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via an MVA/DMV.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other-agency-designated-by-state">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by an unspecified state-designated agency.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="public-assistance-office">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by a public assistance office.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="registration-drive-from-advocacy-group-or-political-party">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter via a registration drive.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-funded-agency-serving-persons-with-disabilities">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter assisted by a state-designated agency serving persons with disabilities.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of source is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SignatureSource">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for source of the voter's signature, used in the Source sub-element of Signature.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="dmv">
<xsd:annotation>
<xsd:documentation xml:lang="en">For the department of motor vehicles or motor vehicle authority.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="local">
<xsd:annotation>
<xsd:documentation xml:lang="en">For an unspecified local source.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state">
<xsd:annotation>
<xsd:documentation xml:lang="en">For an unspecified state source.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="voter">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter has included a signature on the form.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the source of the signature is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SignatureType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for the type of voter signature, used in the Type sub-element of Signature.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="dynamic">
<xsd:annotation>
<xsd:documentation xml:lang="en">For use with biometrics or other artifacts captured as part of the act of the voter signing the registration form.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="electronic">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a facsimile of the signature applied to a marking surface, e.g., paper.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of signature is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SuccessAction">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in response messages. Enumeration for a response to a voter records request, indicating that the response to the request is successful and the action that occurred, used in the Action sub-element of RegistrationSuccess. The success action may not necessarily match the requested action.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="address-updated">
<xsd:annotation>
<xsd:documentation xml:lang="en">For indicating that an address was updated.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="name-updated">
<xsd:annotation>
<xsd:documentation xml:lang="en">For indicating that a name was updated.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="registration-cancelled">
<xsd:annotation>
<xsd:documentation xml:lang="en">For indicating that a registration was cancelled.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="registration-created">
<xsd:annotation>
<xsd:documentation xml:lang="en">For indicating that a registration was created.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="registration-updated">
<xsd:annotation>
<xsd:documentation xml:lang="en">For indicating that a registration was updated.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="status-updated">
<xsd:annotation>
<xsd:documentation xml:lang="en">For indicating that a registration status was updated.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for other types of success actions not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="VoterClassificationType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for voter status classifications, used in the Type attribute of VoterClassification. Whether the voter status, e.g., eighteen-on-election-day, is true, false, or unknown depends on the value of the Assertion attribute.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="activated-national-guard">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is an activated National Guard member on State orders (FPCA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="active-duty">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a member of the Uniformed Services or Merchant Marine on active duty (FPCA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="active-duty-spouse-or-dependent">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is an eligible spouse or dependent (FPCA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="citizen-abroad-intent-to-return">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a US citizen residing outside the US and has intention to return (FPCA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="citizen-abroad-return-uncertain">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a US citizen residing outside the US and their return is uncertain (FPCA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="citizen-abroad-never-resided">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a US citizen and has never resided in the US (FPCA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="deceased">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is deceased (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="declared-incompetent">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter has been declared incompetent (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="eighteen-on-election-day">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter will be 18 on election day (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="felon">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a felon (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="permanently-denied">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter has not been permanently denied (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="protected-voter">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter status is protected (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="restored-felon">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a restored felon (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="united-states-citizen">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter is a United States citizen (NVRA).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of voter classification is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="VoterHelperType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages. Enumeration for types of registration helpers, used in the Type attribute of RegistrationHelper.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="assistant">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a registration assistant.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="witness">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a registration witness.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="VoterIdType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. Enumeration for the type of voter ID, used in the Type attribute of VoterId.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="drivers-license">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a driver’s license.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="local-voter-registration-id">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a local voter registration record ID.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ssn">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a complete Social Security number.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ssn4">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for the last four digits of a Social Security number.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-id">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a state ID that is not a state voter registration ID.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="state-voter-registration-id">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a state’s voter registration record ID.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unspecified-document">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for an unspecified document, not known whether the document contains name, address, or photo ID.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unspecified-document-with-name-and-address">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a document that contains the voter’s name and address, such as a utility bill.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unspecified-document-with-photo-identification">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for a document that contains a photograph of the voter.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unknown">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used for documentation that was not captured.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of ID is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="VoterRequestType">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages. Enumeration for the type of voter records request, used in the Type attribute of VoterRecordsRequest.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ballot-request">
<xsd:annotation>
<xsd:documentation xml:lang="en">For requesting a ballot, possibly in conjunction with an FPCA registration request.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="lookup">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter registration lookup.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="registration">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter registration request.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of request is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="VoterStatus">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in response messages.
Enumeration for the status of the voter in a Voter Registration Database.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="active">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter in active status.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="inactive">
<xsd:annotation>
<xsd:documentation xml:lang="en">For a voter in inactive status.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when the type of voter status is not included in this enumeration.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<!-- ========== Interfaces Defined ========== -->
<!-- === Interface Address === -->
<xsd:group name="Address">
<xsd:annotation>
<xsd:documentation xml:lang="en">The UML model includes an interface to the FGDC address schema, which permits any one of the 11 address subtypes to be used in any of the address elements that are of type Address.</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element name="CommunityAddress_type" type="addr:CommunityAddress_type"/>
<xsd:element name="FourNumberAddressRange_type" type="addr:FourNumberAddressRange_type"/>
<xsd:element name="GeneralAddressClass_type" type="addr:GeneralAddressClass_type"/>
<xsd:element name="IntersectionAddress_type" type="addr:IntersectionAddress_type"/>
<xsd:element name="LandmarkAddress_type" type="addr:LandmarkAddress_type"/>
<xsd:element name="NumberedThoroughfareAddress_type" type="addr:NumberedThoroughfareAddress_type"/>
<xsd:element name="TwoNumberAddressRange_type" type="addr:TwoNumberAddressRange_type"/>
<xsd:element name="USPSGeneralDeliveryOffice_type" type="addr:USPSGeneralDeliveryOffice_type"/>
<xsd:element name="USPSPostalDeliveryBox_type" type="addr:USPSPostalDeliveryBox_type"/>
<xsd:element name="USPSPostalDeliveryRoute_type" type="addr:USPSPostalDeliveryRoute_type"/>
<xsd:element name="UnnumberedThoroughfareAddress_type" type="addr:UnnumberedThoroughfareAddress_type"/>
</xsd:choice>
</xsd:group>
<!-- ========== Classes ========== -->
<xsd:complexType name="AdditionalInfo">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages.Class for specifying information not addressed in this model by other attributes, e.g. state-specific information that does not "fit" in any other attribute. The information will thus be highly specific to the generating application, and consuming applications must "know" the meaning of the information to make use of it. For this reason, use of this class is discouraged as much as is possible. The StringValue and FileValue attributes are both optional, however exactly one of them must be included.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="FileValue" type="File" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used if the value is in a file; contains the filename and MIME type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">Name of the value.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="StringValue" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used if the value is a string; contains the string.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BallotRequest" abstract="true">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages.
An abstract class representing a request for a ballot. Classes for specific types of BallotRequest inherit the attributes and define their own.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="BallotReceiptPreference" type="BallotReceiptMethod" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">The voter's preference on how to receive their ballot in order from their most preferred method to least. If omitted, the default method for the form will be used.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MailForwardingAddress" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:group minOccurs="0" maxOccurs="1" ref="Address"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BallotStyle">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in response messages.
For referencing a ballot style defined elsewhere, such as in an Election Management System (EMS).</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ExternalIdentifier" type="ExternalIdentifier" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">For associating an ID with the ballot style.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ImageUri" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">URI for a ballot image.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Party" type="Party" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">For associating one or more parties with the ballot style.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ContactMethod">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. ElectionAdministration optionally includes this class to specify how to contact the election administration. Voter optionally includes this class to specify the method for contacting a voter regarding the voter's request. If the voter can be contacted in multiple ways, the application creating the data should order the occurrences of ContactMethod by priority. The PhoneContactMethod class uses ContactMethod as a base class, and should be used with when the contact method is for a telephone and it is necessary to describe the capabilities of the telephone. The Capability attribute is provided by the PhoneContactMethod class.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="OtherType" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when ContactMethodType value is other.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Type" type="ContactMethodType">
<xsd:annotation>
<xsd:documentation xml:lang="en">The contact method type, e.g. email or phone.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Value" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The value of the ContactMethod. This will be the text value of the phone number, email address, or other mechanism. The values must be free of any formatting characters, such as parentheses or dashes for a phone number.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Election">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages.
Describes an election event. Only the date of the election is required. Other attributes may be used to describe the election for which a ballot is requested or a voter participated.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="EndDate" type="xsd:date" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">For an election that spans multiple days, the last day of the election.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ExternalIdentifier" type="ExternalIdentifier" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">For associating an ID with the election.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Name" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">For including a name for the election; the name could be the same name as appears on the ballot.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="StartDate" type="xsd:date">
<xsd:annotation>
<xsd:documentation xml:lang="en">The first day of the election.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ElectionAdministration">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in response messages. ElectionAdministration optionally includes ContactMethod to specify contact information for the election authority.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ContactMethod" type="ContactMethod" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">For including various contact information.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Location" type="Location" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Location of the election authority.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Name" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Name of the election authority.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Uri" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">A URL for the election authority.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ElectionBasedBallotRequest">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request messages. Implementation of BallotRequest in which a ballot for a single election event is requested.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="BallotRequest">
<xsd:sequence>
<xsd:element name="Election" type="Election">
<xsd:annotation>
<xsd:documentation xml:lang="en">The election for which the ballot is requested.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Error">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in response messages. RequestRejection includes this class to describe the errors that caused the rejection.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Name" type="RequestError">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used to indicate the type of error.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="OtherError" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when Name value is other.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Ref" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Reference (e.g. XPath) to the entity that the error applies.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ExternalIdentifier">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used in request and response messages. BallotStyle, Election, Party and ReportingUnit optionally include this class for associating a jurisdiction's codes, i.e., identifiers, with political parties or geopolitical units such as counties, towns, precincts, etc. Multiple occurrences of ExternalIdentifier can be used to associate multiple codes, e.g., if there is a desire to associate multiple codes with an object such as state-specific codes as well as OCD-IDs (Open Civic Data Identifiers).</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="OtherType" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Used when Type value is other.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Type" type="IdentifierType">
<xsd:annotation>
<xsd:documentation xml:lang="en">An identifier type, e.g., FIPS.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Value" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">The identifier used by the jurisdiction.</xsd:documentation>
</xsd:annotation>