AddressInfo
Standardized representation of a postal address.
The object supports international formats while enforcing consistent field lengths and validation rules.
countryCodemust follow the ISO 3166-1 alpha-2 standard (e.g.,"DK").postalCodeandcitycapture the locality information.line1is required for meaningful addresses;line2andline3are optional extensions and should only be used if the address naturally contains multiple lines, always in order (line1 → line2 → line3).- All fields are nullable, allowing partial addresses where only some information is known.
countryCodestring
Nullable
ISO 3166-1 alpha-2 country code
Length:
2 <= length <= 2Example:
"DK"postalCodestring
Nullable
The local postal code of the address
Length:
1 <= length <= 16Example:
"1400"citystring
Nullable
The city
Length:
1 <= length <= 50Example:
"København"line1string
Nullable
The first address line. Most address only has a singular line.
Length:
1 <= length <= 50Example:
"Torvegade 45"line2string
Nullable
Second address line. Only use if address contains multiple lines. Always start with line1.
Length:
1 <= length <= 50Example:
"2. th."line3string
Nullable
Third address line. Only use if address contains multiple lines. Always start with line1 and line2.
Length:
1 <= length <= 50Example:
"Christianshavn"