AccuWeather · JSON Structure

Accuweather Session Info Structure

SessionInfo schema from AccuWeather API

Type: object Properties: 3
WeatherForecastsMeteorologyLocation ServicesAir QualityStorms

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

Properties

id partner utm

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/accuweather/refs/heads/main/json-structure/accuweather-session-info-structure.json",
  "name": "SessionInfo",
  "description": "SessionInfo schema from AccuWeather API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID for the user's session (persistent to 10m after the last pageview)",
      "nullable": true
    },
    "partner": {
      "type": "string",
      "description": "Unique ID for the partner from the URL",
      "nullable": true
    },
    "utm": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "description": "utm_source from the URL",
          "nullable": true
        },
        "medium": {
          "type": "string",
          "description": "utm_medium from the URL",
          "nullable": true
        },
        "campaign": {
          "type": "string",
          "description": "utm_campaign from the URL",
          "nullable": true
        },
        "term": {
          "type": "string",
          "description": "utm_term from the URL",
          "nullable": true
        }
      },
      "additionalProperties": false
    }
  }
}