Tomorrow.io · Schema

Tomorrow.io Event

A high-impact weather event (e.g. tropical storm, severe thunderstorm, wildfire, flood, lightning) or a customer-defined event.

WeatherForecastClimateRiskAir QualityPollenLightningSevere WeatherMapsRoutingSatelliteMicrosatellitesRadarGeospatialAlerts

Properties

Name Type Description
eventId string
insight string The insight category id this event was generated for.
title string
description string
severity string
startTime string
endTime string
location object
eventValues object
View JSON Schema on GitHub

JSON Schema

tomorrow-io-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tomorrow-io/main/json-schema/tomorrow-io-event-schema.json",
  "title": "Tomorrow.io Event",
  "description": "A high-impact weather event (e.g. tropical storm, severe thunderstorm, wildfire, flood, lightning) or a customer-defined event.",
  "type": "object",
  "required": ["eventId", "insight", "startTime"],
  "properties": {
    "eventId": { "type": "string" },
    "insight": { "type": "string", "description": "The insight category id this event was generated for." },
    "title": { "type": "string" },
    "description": { "type": "string" },
    "severity": { "type": "string", "enum": ["info", "low", "medium", "high", "severe"] },
    "startTime": { "type": "string", "format": "date-time" },
    "endTime": { "type": "string", "format": "date-time" },
    "location": {
      "type": "object",
      "properties": {
        "type": { "type": "string" },
        "coordinates": { "type": "array" }
      }
    },
    "eventValues": { "type": "object", "additionalProperties": true }
  }
}