{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventInput",
  "title": "EventInput",
  "type": "object",
  "description": "An event to send to ODP",
  "required": [
    "type",
    "action"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Event type category (e.g., order, product, email, navigation)"
    },
    "action": {
      "type": "string",
      "description": "Specific action within the event type (e.g., purchase, view, open)"
    },
    "identifiers": {
      "type": "object",
      "description": "Customer identifiers associated with the event",
      "additionalProperties": {
        "type": "string"
      }
    },
    "data": {
      "type": "object",
      "description": "Additional event data fields",
      "additionalProperties": true
    }
  }
}