{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ispixelworking-com/json-schema/ispixelworking-com-post-v1-events-request-schema.json",
  "title": "PostV1EventsRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ispixelworking-com-openapi-generated.yml#/components/schemas/PostV1EventsRequest",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "timestamp_ms": {
            "type": "integer"
          },
          "action_source": {
            "type": "string"
          },
          "source_url": {
            "type": "string"
          },
          "oppref": {
            "type": "string"
          },
          "user": {
            "type": "object",
            "properties": {
              "obref": {
                "type": "string"
              },
              "emails_sha256": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "ip_address": {
                "type": "string"
              },
              "user_agent": {
                "type": "string"
              }
            }
          },
          "data": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "amount": {
                "type": "integer"
              },
              "currency": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}