Specification for Contact_Individual
FIELD DESCRIPTION |
TYPE |
REQUIRED |
SAMPLE DATA |
VALUE REFERENCE |
RULE REFERENCE |
FIELD FORM ASSOCIATION |
VALIDATION RULES |
TYPE |
Dropdown |
X (error) |
Individual Committee Organization Candidate |
|
|
|
|
LAST NAME |
A/N-30 |
X (error) |
Smith |
|
|
|
- REQUIRED
- type: string
- min length: 1
- max length: 30
- regex: ^[ -~]{0,30}$
|
FIRST NAME |
A/N-20 |
X (error) |
John |
|
|
|
- REQUIRED
- type: string
- min length: 1
- max length: 20
- regex: ^[ -~]{0,20}$
|
MIDDLE NAME |
A/N-20 |
|
W |
|
|
|
- type: ['string', 'null']
- min length: 0
- max length: 20
- regex: ^[ -~]{0,20}$
|
PREFIX |
A/N-10 |
|
Dr |
|
|
|
- type: ['string', 'null']
- min length: 0
- max length: 10
- regex: ^[ -~]{0,10}$
|
SUFFIX |
A/N-10 |
|
Jr |
|
|
|
- type: ['string', 'null']
- min length: 0
- max length: 10
- regex: ^[ -~]{0,10}$
|
STREET 1 |
A/N-34 |
X (error) |
123 Main Street |
|
|
|
- REQUIRED
- type: string
- min length: 1
- max length: 34
- regex: ^[ -~]{0,34}$
|
STREET 2 |
A/N-34 |
|
|
|
|
|
- type: ['string', 'null']
- min length: 0
- max length: 34
- regex: ^[ -~]{0,34}$
|
CITY |
A/N-30 |
X (error) |
Anytown |
|
|
|
- REQUIRED
- type: string
- min length: 1
- max length: 30
- regex: ^[ -~]{0,30}$
|
STATE |
A/N-2 |
X (error) |
WA |
|
Edit: ST. Default to ZZ if Country DNE US |
|
- REQUIRED
- type: string
- min length: 1
- max length: 2
- regex: ^[ -~]{0,2}$
|
ZIP |
A/N-9 |
X (error) |
981110123 |
|
|
|
- REQUIRED if COUNTRY equals USA
- type: ['string', 'null']
- min length: 0
- max length: 9
- regex: ^[ -~]{0,9}$
|
TELEPHONE |
N-10 |
|
|
|
|
|
- type: ['string', 'null']
- min length: 0
- max length: 15
- regex: ^\+\d{1,3} \d{10}$
|
EMPLOYER |
A/N-38 |
|
XYZ Company |
|
Req if Donor aggregate >$200 |
|
- type: ['string', 'null']
- min length: 0
- max length: 38
- regex: ^[ -~]{0,38}$
|
OCCUPATION |
A/N-38 |
|
QC Inspector |
|
Req if Donor aggregate >$200 |
|
- type: ['string', 'null']
- min length: 0
- max length: 38
- regex: ^[ -~]{0,38}$
|
COUNTRY |
Dropdown |
X (error) |
|
|
Should default to United States |
|
|