{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rutter/json-schema/rutter-list-event-response-schema.json",
  "title": "ListEventResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rutter-events-api-openapi.yml#/components/schemas/ListEventResponse",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Event"
      }
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "events"
  ],
  "$defs": {
    "Event": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the event."
        },
        "data": {
          "description": "The data of the event."
        },
        "resource": {
          "type": "string",
          "description": "The rutter object type."
        },
        "type": {
          "type": "string",
          "enum": [
            "object_deleted"
          ],
          "description": "The type of the event."
        },
        "last_synced_at": {
          "type": "string",
          "description": "The [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) timestamp for when this event occurred."
        }
      },
      "required": [
        "id",
        "resource",
        "type",
        "last_synced_at"
      ]
    }
  }
}