AccuWeather · JSON Structure

Accuweather Favorite Location Structure

FavoriteLocation schema from AccuWeather API

Type: object Properties: 20
WeatherForecastsMeteorologyLocation ServicesAir QualityStorms

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

Properties

id key name longName displayName displayTemperature displayHighTemperature displayLowTemperature displayRealFeel displayRealFeelShade icon conditions localTime color isBefore7PM isDayTime minuteCastForecast numberOfAlerts latitude longitude

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-favorite-location-structure.json",
  "name": "FavoriteLocation",
  "description": "FavoriteLocation schema from AccuWeather API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "nullable": true
    },
    "key": {
      "type": "string",
      "nullable": true
    },
    "name": {
      "type": "string",
      "nullable": true
    },
    "longName": {
      "type": "string",
      "nullable": true
    },
    "displayName": {
      "type": "string",
      "nullable": true
    },
    "displayTemperature": {
      "type": "string",
      "nullable": true
    },
    "displayHighTemperature": {
      "type": "string",
      "nullable": true
    },
    "displayLowTemperature": {
      "type": "string",
      "nullable": true
    },
    "displayRealFeel": {
      "type": "string",
      "nullable": true
    },
    "displayRealFeelShade": {
      "type": "string",
      "nullable": true
    },
    "icon": {
      "type": "int32"
    },
    "conditions": {
      "type": "string",
      "nullable": true
    },
    "localTime": {
      "type": "string",
      "nullable": true
    },
    "color": {
      "type": "string",
      "nullable": true
    },
    "isBefore7PM": {
      "type": "boolean"
    },
    "isDayTime": {
      "type": "boolean"
    },
    "minuteCastForecast": {
      "type": "object",
      "properties": {
        "summary60": {
          "type": "string",
          "nullable": true
        },
        "minutes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "displayTime": {
                "type": "string",
                "nullable": true
              },
              "minute": {
                "type": "int32"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "dbz": {
                "type": "float",
                "nullable": true
              },
              "precipitationType": {
                "type": "string",
                "nullable": true
              }
            },
            "additionalProperties": false
          },
          "nullable": true
        }
      },
      "additionalProperties": false
    },
    "numberOfAlerts": {
      "type": "int32",
      "nullable": true
    },
    "latitude": {
      "type": "double",
      "nullable": true
    },
    "longitude": {
      "type": "double",
      "nullable": true
    }
  }
}