{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/tomorrow/refs/heads/main/json-schema/events-response-schema.json", "title": "EventsResponse", "description": "EventsResponse schema from Tomorrow.io Weather API", "type": "object", "properties": { "data": { "type": "object", "properties": { "events": { "type": "array", "items": { "type": "object", "description": "A single insight match.", "properties": { "insightId": { "type": "string", "example": "6183d156022c1b00086860a1" }, "startTime": { "type": "string", "format": "date-time", "example": "2026-05-30T15:00:00Z" }, "endTime": { "type": "string", "format": "date-time", "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" ] } } } } } } } }