Open Charge Map · Schema
AddressInfo
Geographic position for site and (nearest) address component information.
Electric VehiclesEV ChargingCharging StationsPoints of InterestOpen DataGeospatialTransportationClean EnergyCrowdsourcedRegistry
Properties
| Name | Type | Description |
|---|---|---|
| ID | integer | ID |
| AddressLine1 | string | First line of nearby street address |
| AddressLine2 | string | Second line of nearby street address |
| Town | string | Town or City |
| StateOrProvince | string | State or Province |
| Postcode | string | Postal code or Zipcode |
| CountryID | integer | The reference ID for the Country |
| Country | object | |
| Latitude | number | Site latitude coordinate in decimal degrees |
| Longitude | number | Site longitude coordinate in decimal degrees |
| ContactTelephone1 | string | Primary contact number |
| ContactTelephone2 | string | Secondary contact number |
| ContactEmail | string | Primary contact email |
| AccessComments | string | Guidance for users to use or find the equipment |
| RelatedURL | string | Optional website for more information |
| Distance | number | Distance from search location, if search is around a point |
| DistanceUnit | integer | Unit used for distance, 1= Miles, 2 = KM |
| Title | string | General title for this location to aid user |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://openchargemap.org/schema/AddressInfo.json",
"title": "AddressInfo",
"type": "object",
"description": "Geographic position for site and (nearest) address component information.",
"properties": {
"ID": {
"type": "integer",
"description": "ID",
"default": 0,
"example": 148879
},
"AddressLine1": {
"type": "string",
"description": "First line of nearby street address",
"default": "",
"example": "Buttsgrove Way",
"pattern": "^(.*)$"
},
"AddressLine2": {
"type": "string",
"description": "Second line of nearby street address",
"default": null
},
"Town": {
"type": "string",
"description": "Town or City",
"example": "Huntingdon",
"pattern": "^(.*)$"
},
"StateOrProvince": {
"type": "string",
"description": "State or Province"
},
"Postcode": {
"type": "string",
"description": "Postal code or Zipcode",
"example": "PE29 1PE",
"pattern": "^(.*)$"
},
"CountryID": {
"type": "integer",
"description": "The reference ID for the Country",
"example": 1
},
"Country": {
"$ref": "#/components/schemas/Country"
},
"Latitude": {
"type": "number",
"description": "Site latitude coordinate in decimal degrees",
"default": 0,
"example": 52.343197
},
"Longitude": {
"type": "number",
"description": "Site longitude coordinate in decimal degrees",
"default": 0,
"example": -0.170632
},
"ContactTelephone1": {
"type": "string",
"description": "Primary contact number",
"default": null
},
"ContactTelephone2": {
"type": "string",
"description": "Secondary contact number",
"default": null
},
"ContactEmail": {
"type": "string",
"description": "Primary contact email"
},
"AccessComments": {
"type": "string",
"description": "Guidance for users to use or find the equipment"
},
"RelatedURL": {
"type": "string",
"description": "Optional website for more information",
"default": null
},
"Distance": {
"type": "number",
"description": "Distance from search location, if search is around a point",
"default": null
},
"DistanceUnit": {
"type": "integer",
"description": "Unit used for distance, 1= Miles, 2 = KM",
"default": 1
},
"Title": {
"type": "string",
"description": "General title for this location to aid user"
}
},
"required": [
"ID",
"CountryID",
"Latitude",
"Longitude"
]
}