Location Object

An organization may manage chargestations in multiple locations (geographical addresses)

{
  "_id": "6162e7aed1b3d0238d358fc6",
  "active": true,
  "operatorName": "Hummingbird Energy",
  "address": {
    "streetAndNumber": "Lepelstraat 20",
    "postalCode": "1018 XM ",
    "city": "Amsterdam",
    "country": "Netherlands",
    "state": "Noord"
  },
  "timezone": "America/Los_Angeles",
  "coordinates": [
    -52.33,
    34.23
  ],
  "meta_data": {
    "Key": "Value"
  },
  "createdAt": "2021-10-10T13:16:30.329Z",
  "updatedAt": "2021-10-10T13:16:30.329Z"
}

Attributes

_id string

The Id of this Location

active boolean

Use this flag to activate / deactivate this Location

operatorName string

The name of the operator of this location

address object

streetAndNumber: string
postalCode: string
city: string
state: string
country: string Two digit country code

timezone string

The location timezone
See https://momentjs.com/timezone/ for all available timezones

coordinates array in [Longitude, Latitude] format

longitude: float Longitude in Decimal degrees (DD) format
latitude: float Latitude in Decimal degrees (DD) format
See Decimal Degrees for more information

meta_data object
Any location specific information the application developer would like to store

createdAt datetime

Creation time of this record

updatedAt datetime

Last update time of this record