ColorfulClouds · Schema

Result

Unified result envelope for the combined /weather endpoint.

WeatherForecastingAir QualityPrecipitationHyperlocalGeospatialChina

Properties

Name Type Description
primary integer Primary block index in the envelope.
forecast_keypoint string
realtime object
minutely object
hourly object
daily object
alert object
View JSON Schema on GitHub

JSON Schema

caiyun-weather-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/colorfulclouds/refs/heads/main/json-schema/caiyun-weather-result-schema.json",
  "title": "Result",
  "description": "Unified result envelope for the combined /weather endpoint.",
  "type": "object",
  "properties": {
    "primary": {
      "type": "integer",
      "description": "Primary block index in the envelope.",
      "example": 0
    },
    "forecast_keypoint": {
      "type": "string",
      "example": "clear weather, overcast after 20 o'clock"
    },
    "realtime": {
      "$ref": "#/components/schemas/Realtime"
    },
    "minutely": {
      "$ref": "#/components/schemas/Minutely"
    },
    "hourly": {
      "$ref": "#/components/schemas/Hourly"
    },
    "daily": {
      "$ref": "#/components/schemas/Daily"
    },
    "alert": {
      "$ref": "#/components/schemas/Alert"
    }
  }
}