AccuWeather · Schema

LocationSettingsInfo

Detailed keys for the location from AccuWeather to aid in weather data retrieval.

WeatherForecastsMeteorologyLocation ServicesAir QualityStorms

Properties

Name Type Description
id string Unique Id created for favorite and recent locations
locationKey string AccuWeather Surefind location key for this location.
name string Simple name for a location, such as the name of a city
longName string Full name for a location, such as the name of an Admin or address
displayName string Name used to display to the user as the placeholder This differece from the LongName since will be sometimes display location name from the AW API (Non-english/direct location key serach)
stationCode string AccuWeather station code for this location.
supportedDataSets array AccuWeather list of supported data sets for this location.
supportsMinuteCast boolean True if a location supports MinuteCast data.
latitude number Latitude for a location
longitude number Longitude for a location
supportsEventConfidence boolean True if a location supports probabilities on weather events.
View JSON Schema on GitHub

JSON Schema

accuweather-location-settings-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-location-settings-info-schema.json",
  "title": "LocationSettingsInfo",
  "description": "Detailed keys for the location from AccuWeather to aid in weather data retrieval.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique Id created for favorite and recent locations",
      "nullable": true,
      "example": "50603e3f-5433-4d14-9b5f-01c8cf619d9b"
    },
    "locationKey": {
      "type": "string",
      "description": "AccuWeather Surefind location key for this location.",
      "nullable": true,
      "example": "328328"
    },
    "name": {
      "type": "string",
      "description": "Simple name for a location, such as the name of a city",
      "nullable": true,
      "example": "State Collage"
    },
    "longName": {
      "type": "string",
      "description": "Full name for a location, such as the name of an Admin or address",
      "nullable": true,
      "example": "385 Science Park Rd, State College, PA"
    },
    "displayName": {
      "type": "string",
      "description": "Name used to display to the user as the placeholder\r\nThis differece from the LongName since will be sometimes display location name from\r\nthe AW API (Non-english/direct location key serach)",
      "nullable": true,
      "example": "385 Science Park Rd, State College, PA or Eureka, CA USA"
    },
    "stationCode": {
      "type": "string",
      "description": "AccuWeather station code for this location.",
      "nullable": true,
      "example": "EGRB"
    },
    "supportedDataSets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "AccuWeather list of supported data sets for this location.",
      "nullable": true,
      "example": [
        "AirQualityCurrentConditions",
        "AirQualityForecasts",
        "Alerts",
        "DailyAirQualityForecast",
        "DailyPollenForecast",
        "ForecastConfidence",
        "FutureRadar",
        "MinuteCast",
        "ProximityNotification-Lightning",
        "Radar"
      ]
    },
    "supportsMinuteCast": {
      "type": "boolean",
      "description": "True if a location supports MinuteCast data.",
      "nullable": true,
      "readOnly": true,
      "example": true
    },
    "latitude": {
      "type": "number",
      "description": "Latitude for a location",
      "format": "double",
      "nullable": true
    },
    "longitude": {
      "type": "number",
      "description": "Longitude for a location",
      "format": "double",
      "nullable": true
    },
    "supportsEventConfidence": {
      "type": "boolean",
      "description": "True if a location supports probabilities on weather events.",
      "nullable": true,
      "readOnly": true,
      "example": true
    }
  },
  "additionalProperties": false
}