WattTime · JSON Structure

Watttime Register Response Structure

RegisterResponse schema from WattTime API

Type: object Properties: 2
EmissionsClimateCarbonEnergyElectricity GridSustainabilityClean Energy

RegisterResponse is a JSON Structure definition published by WattTime, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

user ok

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/watttime/refs/heads/main/json-structure/watttime-register-response-structure.json",
  "name": "RegisterResponse",
  "description": "RegisterResponse schema from WattTime API",
  "type": "object",
  "properties": {
    "user": {
      "type": "string",
      "description": "Created username.",
      "example": "johndoe"
    },
    "ok": {
      "type": "string",
      "description": "Success message.",
      "example": "User created"
    }
  }
}