{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pullpush-ai/json-schema/pullpush-ai-post-api-v1-events-request-schema.json",
  "title": "PostApiV1EventsRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pullpush-ai-openapi-generated.yml#/components/schemas/PostApiV1EventsRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Event type (e.g. order.created , product.updated )"
    },
    "externalId": {
      "type": "string",
      "description": "Unique ID from the source system"
    },
    "occurredAt": {
      "type": "string",
      "description": "ISO 8601 (defaults to now)"
    },
    "payload": {
      "type": "string",
      "description": "Event data (defaults to {} )"
    },
    "connectionId": {
      "type": "string",
      "description": "Target connection identifier"
    }
  },
  "required": [
    "type",
    "externalId",
    "connectionId"
  ]
}