Xweather · Schema

ConditionsRecord

ConditionsRecord schema from Xweather Weather API

Air QualityCompanyDataForecastsLightningMaritimeObservationsSevere WeatherWeather

Properties

Name Type Description
id string Station or place identifier.
loc object
place object Place name components.
profile object Location profile data.
ob object
raw string Raw METAR or observation string.
relativeTo object Distance and bearing relative to queried location.
View JSON Schema on GitHub

JSON Schema

xweather-conditions-record-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xweather/refs/heads/main/json-schema/xweather-conditions-record-schema.json",
  "title": "ConditionsRecord",
  "description": "ConditionsRecord schema from Xweather Weather API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Station or place identifier."
    },
    "loc": {
      "$ref": "#/components/schemas/Location"
    },
    "place": {
      "type": "object",
      "description": "Place name components."
    },
    "profile": {
      "type": "object",
      "description": "Location profile data."
    },
    "ob": {
      "$ref": "#/components/schemas/ConditionsObservation"
    },
    "raw": {
      "type": "string",
      "description": "Raw METAR or observation string."
    },
    "relativeTo": {
      "type": "object",
      "description": "Distance and bearing relative to queried location."
    }
  }
}