AccuWeather · Schema

DeviceInfo

DeviceInfo schema from AccuWeather API

WeatherForecastsMeteorologyLocation ServicesAir QualityStorms

Properties

Name Type Description
name string Name of the user's browser. Eg. 'Chrome'
brand string Name of the user's device maker. Eg. 'Apple' or 'Samsung'
version string Version of the user's browser. Eg. '16'
category string One of 'mobile', 'tablet', or 'desktop'
View JSON Schema on GitHub

JSON Schema

accuweather-device-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-device-info-schema.json",
  "title": "DeviceInfo",
  "description": "DeviceInfo schema from AccuWeather API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the user's browser.\r\nEg. 'Chrome'",
      "nullable": true
    },
    "brand": {
      "type": "string",
      "description": "Name of the user's device maker.\r\nEg. 'Apple' or 'Samsung'",
      "nullable": true
    },
    "version": {
      "type": "string",
      "description": "Version of the user's browser.\r\nEg. '16'",
      "nullable": true
    },
    "category": {
      "type": "string",
      "description": "One of 'mobile', 'tablet', or 'desktop'",
      "nullable": true
    }
  },
  "additionalProperties": false
}