> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cope.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CloudEvents envelope

> Shared CloudEvents 1.0 envelope fields used by COPE webhook deliveries.

# CloudEvents envelope

> Generated from COPE public event contracts. Do not edit this page by hand.

Shared event envelope for COPE domain events. The data property is validated by each event's payload schema.

## Envelope Fields

| Field             | Required | Type     | Allowed Values     | Description                                                                |
| ----------------- | -------- | -------- | ------------------ | -------------------------------------------------------------------------- |
| `baggage`         | no       | `string` | -                  | W3C baggage CloudEvents extension.                                         |
| `data`            | yes      | `object` | -                  | Event-specific payload. Envelope metadata must remain top-level.           |
| `datacontenttype` | yes      | `const`  | `application/json` | -                                                                          |
| `dataschema`      | yes      | `string` | -                  | Public schema URI for the event-specific payload schema.                   |
| `id`              | yes      | `string` | -                  | -                                                                          |
| `idempotency_key` | yes      | `string` | -                  | COPE CloudEvents extension containing the stable producer idempotency key. |
| `source`          | yes      | `string` | -                  | -                                                                          |
| `specversion`     | yes      | `const`  | `1.0`              | -                                                                          |
| `subject`         | yes      | `string` | -                  | -                                                                          |
| `time`            | yes      | `string` | -                  | -                                                                          |
| `traceparent`     | no       | `string` | -                  | W3C trace context CloudEvents extension.                                   |
| `tracestate`      | no       | `string` | -                  | W3C trace state CloudEvents extension.                                     |
| `type`            | yes      | `string` | -                  | -                                                                          |
