Xweather · Schema
AirQualityObservation
AirQualityObservation schema from Xweather Weather API
Air QualityCompanyDataForecastsLightningMaritimeObservationsSevere WeatherWeather
Properties
| Name | Type | Description |
|---|---|---|
| aqi | integer | Air Quality Index value. |
| category | string | AQI category (e.g., Good, Moderate, Unhealthy). |
| pollutants | object | Individual pollutant concentrations. |
| timestamp | integer | |
| dateTimeISO | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/xweather/refs/heads/main/json-schema/xweather-air-quality-observation-schema.json",
"title": "AirQualityObservation",
"description": "AirQualityObservation schema from Xweather Weather API",
"type": "object",
"properties": {
"aqi": {
"type": "integer",
"description": "Air Quality Index value."
},
"category": {
"type": "string",
"description": "AQI category (e.g., Good, Moderate, Unhealthy)."
},
"pollutants": {
"type": "object",
"description": "Individual pollutant concentrations.",
"properties": {
"o3": {
"type": "object",
"description": "Ozone data."
},
"pm25": {
"type": "object",
"description": "PM2.5 particulate matter data."
},
"pm10": {
"type": "object",
"description": "PM10 particulate matter data."
},
"co": {
"type": "object",
"description": "Carbon monoxide data."
},
"no2": {
"type": "object",
"description": "Nitrogen dioxide data."
},
"so2": {
"type": "object",
"description": "Sulfur dioxide data."
}
}
},
"timestamp": {
"type": "integer"
},
"dateTimeISO": {
"type": "string",
"format": "date-time"
}
}
}