Interface for location information of a profile

interface Location {
    address1?: string;
    address2?: string;
    city?: string;
    country?: string;
    latitude?: number;
    longitude?: number;
    region?: string;
    timezone?: string;
    zip?: string;
}

Properties

address1?: string

First line of street address

address2?: string

Second line of street address

city?: string

City name

country?: string

Country name

latitude?: number

Latitude coordinate. We recommend providing a precision of four decimal places.

longitude?: number

Longitude coordinate. We recommend providing a precision of four decimal places.

region?: string

Region within a country, such as state or province

timezone?: string

Time zone name. We recommend using time zones from the IANA Time Zone Database.

zip?: string

Zip code