FEC Candidate


Candidate Contact

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "USA"
Type: object

Type: string
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "S"
Type: object

Type: string
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "H"
Type: object

Type: string

Type: string

TYPE

Type: const
Specific value: "CAN"
Example:

"CAN"

CANDIDATE ID

Type: string
Must match regular expression: ^P[0-9]{8}$|^[H|S][0-9]{1}[A-Z]{2}[0-9]{5}$

Must be at least 1 characters long

Must be at most 9 characters long


Examples:

"P01234567"
"H0MD12345"
"S0MD12345"

LAST NAME

Type: string
Must match regular expression: ^[ -~]{0,30}$

Must be at least 1 characters long

Must be at most 30 characters long


Example:

"Smith"

FIRST NAME

Type: string
Must match regular expression: ^[ -~]{0,20}$

Must be at least 1 characters long

Must be at most 20 characters long


Example:

"John"

MIDDLE NAME

Type: string or null
Must match regular expression: ^[ -~]{0,20}$
Example:

"W"

PREFIX

Type: string or null
Must match regular expression: ^[ -~]{0,10}$
Example:

"Dr"

SUFFIX

Type: string or null
Must match regular expression: ^[ -~]{0,10}$
Example:

"Jr"

STREET 1

Type: string
Must match regular expression: ^[ -~]{0,34}$

Must be at least 1 characters long

Must be at most 34 characters long


Example:

"123 Main Street"

STREET 2

Type: string or null
Must match regular expression: ^[ -~]{0,34}$

CITY

Type: string
Must match regular expression: ^[ -~]{0,30}$

Must be at least 1 characters long

Must be at most 30 characters long


Example:

"Anytown"

STATE

Type: string
Must match regular expression: ^[A-Z]{2}$

Must be at least 2 characters long

Must be at most 2 characters long


Example:

"WA"

ZIP

Type: string or null
Must match regular expression: ^[ -~]{0,9}$
Example:

981110123

EMPLOYER

Type: string or null
Must match regular expression: ^[ -~]{0,38}$
Example:

"XYZ Company"

OCCUPATION

Type: string or null
Must match regular expression: ^[ -~]{0,38}$
Example:

"QC Inspector"

CANDIDATE OFFICE

Type: enum (of string)

Must be one of:

  • "H"
  • "S"
  • "P"

Example:

"H\nS\nP"

CANDIDATE STATE

Type: string or null
Must match regular expression: ^[A-Z]{2}$
Example:

"WA"

CANDIDATE DISTRICT

Type: string or null
Must match regular expression: ^[0-9]{2}$

TELEPHONE

Type: string or null
Must match regular expression: ^\+\d{1,3} \d{10}$

COUNTRY

Type: string