Tomorrow.io · JSON Structure

Event Structure

A single insight match.

Type: object Properties: 5
WeatherClimateForecastHistorical WeatherAir QualityPollenFireFloodRoutesMap TilesAviationMaritimePublic APIs

Event is a JSON Structure definition published by Tomorrow.io, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

insightId startTime endTime severity 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/tomorrow/refs/heads/main/json-structure/event-structure.json",
  "name": "Event",
  "description": "A single insight match.",
  "type": "object",
  "properties": {
    "insightId": {
      "type": "string",
      "example": "6183d156022c1b00086860a1"
    },
    "startTime": {
      "type": "datetime",
      "example": "2026-05-30T15:00:00Z"
    },
    "endTime": {
      "type": "datetime",
      "example": "2026-05-30T17:00:00Z"
    },
    "severity": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ],
      "example": "high"
    },
    "location": {
      "type": "object",
      "description": "GeoJSON geometry \u2014 Point, LineString, or Polygon.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Point",
            "LineString",
            "Polygon"
          ],
          "example": "Point"
        },
        "coordinates": {
          "type": "array",
          "items": {},
          "example": [
            -71.0466,
            42.3478
          ]
        }
      },
      "required": [
        "type",
        "coordinates"
      ]
    }
  }
}