AccuWeather · Schema

SessionInfo

SessionInfo schema from AccuWeather API

WeatherForecastsMeteorologyLocation ServicesAir QualityStorms

Properties

Name Type Description
id string Unique ID for the user's session (persistent to 10m after the last pageview)
partner string Unique ID for the partner from the URL
utm object
View JSON Schema on GitHub

JSON Schema

accuweather-session-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/accuweather/refs/heads/main/json-schema/accuweather-session-info-schema.json",
  "title": "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
    }
  },
  "additionalProperties": false
}