# crm_addresses

<!-- Generated from apps/irrigation/dbt_redshift/models/client_data/sources.yml. Do not edit by hand — run `make generate-client-data-dictionary`. -->

Postal addresses of contacts and companies, at most one per owner. Served only when the owner is in crm_contact_informations or crm_companies. Contains personal data (home addresses).

| Column | Description |
| --- | --- |
| `id` | Unique identifier for the address |
| `lat` | Latitude of the address, when geocoded |
| `lng` | Longitude of the address, when geocoded |
| `street1` | First line of the street address |
| `street2` | Second line of the street address, when provided |
| `city` | City |
| `region` | Region, county or state, when provided |
| `post_code` | Postal code |
| `country` | Country name |
| `country_code` | ISO 3166-1 alpha-2 country code |
| `label` | Address label: personal or work |
| `is_primary` | Whether this is the owner's primary address (primary in the PMS) |
| `created_at` | Timestamp when the address was created |
| `updated_at` | Timestamp when the address was last updated |
| `addressable_type` | Owner type: Crm::ContactInformation or Crm::Company |
| `addressable_id` | Identifier of the owner; matches crm_contact_informations.id or crm_companies.id per addressable_type |
| `timestamp` | Date when the table was last synchronized |
