OpenUV · JSON Structure

Openuv Uv Forecast Structure

Structured representation of a UV index forecast series.

Type: array Properties: 0
WeatherUV IndexSunSolarGeolocationForecastPublic APIs

UVForecast is a JSON Structure definition published by OpenUV. It conforms to the https://json-structure.org/meta/draft-00/schema meta-schema.

Meta-schema: https://json-structure.org/meta/draft-00/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/draft-00/schema",
  "title": "OpenUV UV Forecast Structure",
  "description": "Structured representation of a UV index forecast series.",
  "type": "array",
  "name": "UVForecast",
  "items": {
    "type": "object",
    "name": "UVForecastEntry",
    "properties": {
      "uv": { "type": "number", "unit": "uv-index" },
      "uv_time": { "type": "string", "format": "date-time" },
      "sun_position": {
        "type": "object",
        "properties": {
          "azimuth": { "type": "number", "unit": "radians" },
          "altitude": { "type": "number", "unit": "radians" }
        }
      }
    }
  }
}