ColorfulClouds · JSON Structure

Caiyun Weather Alert Content Item Structure

AlertContentItem schema from Caiyun Weather API

Type: object Properties: 15 Required: 4
WeatherForecastingAir QualityPrecipitationHyperlocalGeospatialChina

AlertContentItem is a JSON Structure definition published by ColorfulClouds, describing 15 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

province status code description pubtimestamp city adcode regionId latlon county alertId request_status source name location

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/colorfulclouds/refs/heads/main/json-structure/caiyun-weather-alert-content-item-structure.json",
  "name": "AlertContentItem",
  "description": "AlertContentItem schema from Caiyun Weather API",
  "type": "object",
  "properties": {
    "province": {
      "type": "string",
      "example": "Beijing"
    },
    "status": {
      "type": "string",
      "example": "active"
    },
    "code": {
      "type": "string",
      "description": "Alert code per China Meteorological Administration scheme.",
      "example": "0902"
    },
    "description": {
      "type": "string"
    },
    "pubtimestamp": {
      "type": "double",
      "description": "Publication time as Unix epoch seconds."
    },
    "city": {
      "type": "string"
    },
    "adcode": {
      "type": "string"
    },
    "regionId": {
      "type": "string"
    },
    "latlon": {
      "type": "array",
      "items": {
        "type": "float"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "county": {
      "type": "string"
    },
    "alertId": {
      "type": "string"
    },
    "request_status": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "location": {
      "type": "string"
    }
  },
  "required": [
    "code",
    "description",
    "title",
    "status"
  ]
}