Specification for Contact_Organization
FIELD DESCRIPTION |
TYPE |
REQUIRED |
SAMPLE DATA |
VALUE REFERENCE |
RULE REFERENCE |
FIELD FORM ASSOCIATION |
VALIDATION RULES |
TYPE |
Dropdown |
X (error) |
Individual Committee Organization Candidate |
|
Required if NOT [IND|CAN] |
|
|
NAME |
A/N-200 |
X (error) |
John Smith & Co. |
|
|
|
- REQUIRED
- type: string
- min length: 1
- max length: 200
- regex: ^[ -~]{0,200}$
|
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 |
AK,AL,...,ZZ |
Edit: ST. Default to ZZ if Country DNE US |
|
- REQUIRED
- type: string
- min length: 1
- max length: 30
- regex: ^[ -~]{0,30}$
|
STATE |
A/N-2 |
X (error) |
WA |
|
|
|
- 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}$
|
COUNTRY |
Dropdown |
X (error) |
|
|
Should default to United States |
|
|