Skip to content

Latest commit

 

History

History
110 lines (77 loc) · 4.57 KB

field-types.md

File metadata and controls

110 lines (77 loc) · 4.57 KB

Boolean field

Name Type Required Format
value boolean yes -
source string no any
certificationDate string no ISO 8601

String field

Name Type Required Format
value string yes any
source string no any
certificationDate string no ISO 8601

Integer field

Name Type Required Format
value integer yes -
source string no any
certificationDate string no ISO 8601

Number field

Name Type Required Format
value number yes -
source string no any
certificationDate string no ISO 8601

Date field

Name Type Required Format
value string yes ISO 8601
source string no any
certificationDate string no ISO 8601

Email field

Name Type Required Format
value string yes RFC 5322
source string no any
certificationDate string no ISO 8601

Postal address field

Rough implementation of the AFNOR NF Z 10-011 standard

Name Type Required Format
line1 string yes max 38 characters
line2 string no max 38 characters
line3 string no max 38 characters
line4 string no max 38 characters
line5 string no max 38 characters
line6 string no max 38 characters
source string no any
certificationDate dstring no ISO 8601

Phone number field

Name Type Required Format
value string yes E.164 Standard
mobile boolean yes -
source string no any
certificationDate string no ISO 8601

Gender field

Name Type Required Format
value number yes ISO/IEC 5218
source string no any
certificationDate string no ISO 8601

Country field

Name Type Required Format
value string no* any
isoValue string no* ISO 3166-1 alpha-3
source string no any
certificationDate string no ISO 8601

* one of value and isoValue attributes must be set.

City field

Name Type Required Format
inseeValue string no* French INSEE City code
name string no* any
source string no any
certificationDate string no ISO 8601

* one of inseeValue and name attributes must be set.