{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/weatherbit/refs/heads/main/json-schema/weatherbit-energy-obs-group-forecast-schema.json", "title": "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": "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" } } } }