Weatherbit · Schema

EnergyObsGroupForecast

WeatherForecastingHistorical DataAir QualityAlertsAgricultural Weather

Properties

Name Type Description
city_name string City name (closest)
state_code string State abbreviation
country_code string Country abbreviation
timezone string Local IANA time zone
lat number Latitude
lon number Longitude
threshold_units string Degree day threshold units
threshold_value string Degree day threshold
data array
View JSON Schema on GitHub

JSON Schema

weatherbit-energyobsgroupforecast-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EnergyObsGroupForecast",
  "title": "EnergyObsGroupForecast",
  "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": "number",
      "description": "Latitude",
      "example": 38.0
    },
    "lon": {
      "type": "number",
      "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"
      }
    }
  }
}