Event Envelope

Every event is wrapped in the event envelope prior to delivery.

  • id string

    The unique identifier for this event.

    Format: UUID
  • dataContentType string

    The content type of the event. This will be set to "application/json"

  • dataSchemaVersion string

    The version of the event schema being received in the data field.

  • data object

    The event data sent from Alegeus. See Events for more information.

  • source string

    The event source for the event data in the data field.

  • type string

    The event type for the event data in the data field.

  • time string<date-time>

    The date and time that the event was produced.

    Date Format: yyyy-MM-ddThh:mm:ss.fffffff+00:00
    Time Zone: UTC
  • specVersion string

    The version of the CloudEvents specification which the event uses.

Example
{
    "id": "25d7c8e6-0acc-402b-afe3-d10c3e840b10"
    "dataContentType": "application/json",
    "dataSchemaVersion": "1.0.0",
    "data": {
        <Event payload here>
    },
    "source": "com.alegeus.events.wca",
    "type": "CardTransaction",
    "time": "2025-04-11T13:07:03Z",
    "specversion": "1.0"
}

AI Assistant Preview

Generating response...