Apache EventMesh · JSON Structure

Eventmesh Admin Cloud Event Structure

A CloudEvents v1.0 compliant event

Type: object Properties: 10
ApacheCloudEventsEvent-DrivenMessagingOpen SourcePub-SubServerless

CloudEvent is a JSON Structure definition published by Apache EventMesh, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

specversion id source type datacontenttype dataschema subject time data data_base64

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-event-mesh/refs/heads/main/json-structure/eventmesh-admin-cloud-event-structure.json",
  "name": "CloudEvent",
  "description": "A CloudEvents v1.0 compliant event",
  "type": "object",
  "properties": {
    "specversion": {
      "type": "string",
      "description": "CloudEvents specification version"
    },
    "id": {
      "type": "string",
      "description": "Unique event identifier"
    },
    "source": {
      "type": "uri",
      "description": "Event source identifier"
    },
    "type": {
      "type": "string",
      "description": "Event type"
    },
    "datacontenttype": {
      "type": "string",
      "description": "Content type of the data attribute"
    },
    "dataschema": {
      "type": "uri",
      "description": "Schema for the data attribute"
    },
    "subject": {
      "type": "string",
      "description": "Subject of the event in the context of the source"
    },
    "time": {
      "type": "datetime",
      "description": "Timestamp of the event"
    },
    "data": {
      "type": "string",
      "description": "Event payload"
    },
    "data_base64": {
      "type": "string",
      "description": "Base64 encoded event payload"
    }
  }
}