Open Charge Map · Schema

UserProfile

Full user profile, including non-public fields such as Email Address

Electric VehiclesEV ChargingCharging StationsPoints of InterestOpen DataGeospatialTransportationClean EnergyCrowdsourcedRegistry

Properties

Name Type Description
ID number
Username string
Profile string
Location string
WebsiteURL string
ReputationPoints number
Permissions string
DateCreated string
DateLastLogin string
IsProfilePublic boolean
Latitude number
Longitude number
EmailAddress string
ProfileImageURL string
View JSON Schema on GitHub

JSON Schema

UserProfile.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openchargemap.org/schema/UserProfile.json",
  "title": "UserProfile",
  "description": "Full user profile, including non-public fields such as Email Address",
  "type": "object",
  "x-examples": {
    "example-userprofile": {
      "ID": 1000,
      "Username": "Joe Bloggs",
      "Profile": "Example Open Charge Map user. \ud83e\udd18",
      "Location": "San Francisco, US",
      "WebsiteURL": "https://openchargemap.org",
      "ReputationPoints": 2008,
      "Permissions": "{\"Permissions\":[{\"Level\":100},{\"Level\":1000}],\"LegacyPermissions\":\"[CountryLevel_Editor=All];[Administrator=true];\"}",
      "DateCreated": "2011-09-28T15:11:00",
      "DateLastLogin": "2021-11-09T07:49:00",
      "IsProfilePublic": true,
      "Latitude": -31,
      "Longitude": 115,
      "EmailAddress": "[email protected]",
      "ProfileImageURL": "https://www.gravatar.com/avatar/examplef?s=80&d=robohash"
    }
  },
  "properties": {
    "ID": {
      "type": "number"
    },
    "Username": {
      "type": "string",
      "minLength": 1
    },
    "Profile": {
      "type": "string",
      "minLength": 1
    },
    "Location": {
      "type": "string",
      "minLength": 1
    },
    "WebsiteURL": {
      "type": "string",
      "minLength": 1
    },
    "ReputationPoints": {
      "type": "number"
    },
    "Permissions": {
      "type": "string",
      "minLength": 1
    },
    "DateCreated": {
      "type": "string",
      "minLength": 1
    },
    "DateLastLogin": {
      "type": "string",
      "minLength": 1
    },
    "IsProfilePublic": {
      "type": "boolean"
    },
    "Latitude": {
      "type": "number"
    },
    "Longitude": {
      "type": "number"
    },
    "EmailAddress": {
      "type": "string",
      "minLength": 1
    },
    "ProfileImageURL": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "ID",
    "Username",
    "DateCreated",
    "IsProfilePublic"
  ]
}