{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opentrack/json-schema/opentrack-webhook-event-schema.json",
  "title": "WebhookEvent",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opentrack-api-openapi.yml#/components/schemas/WebhookEvent",
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "description": "Event name, e.g. container.status.updated"
    },
    "data": {
      "type": "object",
      "description": "Data representing the current state of the event entity at the time of the event"
    },
    "changes": {
      "type": "object",
      "description": "information about changes, e.g. voyageNumber: { current: '221A', previous: 'XA221A' }"
    },
    "sentAt": {
      "type": "string",
      "description": "Timestamp when the event has been sent."
    }
  }
}