ColorfulClouds · Schema

RealtimeResponse

RealtimeResponse schema from Caiyun Weather API

WeatherForecastingAir QualityPrecipitationHyperlocalGeospatialChina
View JSON Schema on GitHub

JSON Schema

caiyun-weather-realtime-response-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-realtime-response-schema.json",
  "title": "RealtimeResponse",
  "description": "RealtimeResponse schema from Caiyun Weather API",
  "allOf": [
    {
      "$ref": "#/components/schemas/EnvelopeBase"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": "object",
          "properties": {
            "realtime": {
              "$ref": "#/components/schemas/Realtime"
            },
            "primary": {
              "type": "integer"
            }
          },
          "required": [
            "realtime"
          ]
        }
      },
      "required": [
        "result"
      ]
    }
  ]
}