# Working with Addresses `todo` ## Address Validation `todo` ## Address Formatting `todo` ## Address Geocoding `todo` ## Address Lookup `todo` ## Country specific formatting and validation ### Sweden (SE) #### Example ```json { "countryCode": "SE", "postalCode": "12345", "addressLines": ["Sveavägen 1"], "locality": "Stockholm", } ``` #### Postal Code `(required)` - Format: Five digits, no separator - Example: `12345` - Notes: Separator and whitespace will automatically be stripped #### Address Lines The zero-indexed address line is the primary street info and must contain the street name and number. - Expected input: Street name and number, optional apartment number - Format: One address line per index, starting from zero - Examples: `["Sveavägen 1"]`, `["Sveavägen 1", "Lgh 1602"]` - Notes: Street name and number are required #### Locality - Expected input: Postal City (Postort) - Example: `Stockholm` #### Sub Administrative Area - Expected input: Municipality (Kommun) - Example: `Stockholms stad` - Notes: Not required for Sweden and should be omitted if not applicable. #### Sub Locality - Expected input: District (stadsdel) - Example: `Norrmalm` - Notes: Not required for Sweden and should be omitted if not applicable.