Properties
| Name | Type | Description |
|---|---|---|
| data | object | All custom data must go here. |
| event | string | The name of the event. |
| id | string | Unique event identifier. |
| timestamp | number | A UTC timestamp in miliseconds. |
| version | string | Specification version in use. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Event",
"title": "Event",
"type": "object",
"required": [
"event"
],
"properties": {
"data": {
"type": "object",
"description": "All custom data must go here.",
"example": {}
},
"event": {
"type": "string",
"description": "The name of the event.",
"example": "example_value"
},
"id": {
"type": "string",
"description": "Unique event identifier.",
"example": "507f1f77bcf86cd799439011"
},
"timestamp": {
"type": "number",
"description": "A UTC timestamp in miliseconds.",
"example": 1.0
},
"version": {
"type": "string",
"description": "Specification version in use.",
"enum": [
"4"
],
"example": "4"
}
}
}