{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/layout-link/json-schema/layout-link-get-v1-events-response-schema.json",
  "title": "GetV1EventsResponse",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/layout-link-openapi-generated.yml#/components/schemas/GetV1EventsResponse",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "event": {
            "type": "string"
          },
          "event_id": {
            "type": "string"
          },
          "delivery_id": {
            "type": "string"
          },
          "order": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "store": {
                "type": "string"
              },
              "store_address": {
                "type": "string"
              },
              "items": {
                "type": "integer"
              },
              "total_minor": {
                "type": "integer"
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              }
            }
          },
          "occurred_at": {
            "type": "string",
            "format": "date-time"
          },
          "sent_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    },
    "nextCursor": {
      "type": "string"
    }
  }
}