Weatherbit · JSON Structure

Weatherbit Energy Obs Group Forecast Structure

EnergyObsGroupForecast schema from Weatherbit API

Type: object Properties: 9
WeatherForecastingHistorical DataAir QualityAlertsAgricultural Weather

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

Properties

city_name state_code country_code timezone lat lon threshold_units threshold_value data

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/weatherbit/refs/heads/main/json-structure/weatherbit-energy-obs-group-forecast-structure.json",
  "name": "EnergyObsGroupForecast",
  "description": "EnergyObsGroupForecast schema from Weatherbit API",
  "type": "object",
  "properties": {
    "city_name": {
      "type": "string",
      "description": "City name (closest)",
      "example": "Raleigh"
    },
    "state_code": {
      "type": "string",
      "description": "State abbreviation",
      "example": "NC"
    },
    "country_code": {
      "type": "string",
      "description": "Country abbreviation",
      "example": "US"
    },
    "timezone": {
      "type": "string",
      "description": "Local IANA time zone",
      "example": "America/New_York"
    },
    "lat": {
      "type": "double",
      "description": "Latitude",
      "example": 38.0
    },
    "lon": {
      "type": "double",
      "description": "Longitude",
      "example": -78.25
    },
    "threshold_units": {
      "type": "string",
      "description": "Degree day threshold units",
      "example": "C"
    },
    "threshold_value": {
      "type": "string",
      "description": "Degree day threshold",
      "example": "18"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/EnergyObsSeries"
      }
    }
  }
}