Apache EventMesh · Schema

CloudEvents v1.0

Schema for a CloudEvents v1.0 specification compliant event as used by Apache EventMesh.

ApacheCloudEventsEvent-DrivenMessagingOpen-SourcePub-SubServerless

Properties

Name Type Description
specversion string The version of the CloudEvents specification
id string Identifies the event. Must be unique within the scope of the source.
source string Identifies the context in which an event happened
type string Describes the type of event related to the originating occurrence
datacontenttype string Content type of the data value (e.g., application/json)
dataschema string Identifies the schema that data adheres to
subject string Describes the subject of the event in the context of the event producer
time string Timestamp of when the occurrence happened
data object The event payload
data_base64 string Base64-encoded event payload
View JSON Schema on GitHub

JSON Schema

cloudevent.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/apache-event-mesh/cloudevent.json",
  "title": "CloudEvents v1.0",
  "description": "Schema for a CloudEvents v1.0 specification compliant event as used by Apache EventMesh.",
  "type": "object",
  "required": ["specversion", "id", "source", "type"],
  "properties": {
    "specversion": {
      "type": "string",
      "const": "1.0",
      "description": "The version of the CloudEvents specification"
    },
    "id": {
      "type": "string",
      "description": "Identifies the event. Must be unique within the scope of the source."
    },
    "source": {
      "type": "string",
      "format": "uri-reference",
      "description": "Identifies the context in which an event happened"
    },
    "type": {
      "type": "string",
      "description": "Describes the type of event related to the originating occurrence"
    },
    "datacontenttype": {
      "type": "string",
      "description": "Content type of the data value (e.g., application/json)"
    },
    "dataschema": {
      "type": "string",
      "format": "uri",
      "description": "Identifies the schema that data adheres to"
    },
    "subject": {
      "type": "string",
      "description": "Describes the subject of the event in the context of the event producer"
    },
    "time": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of when the occurrence happened"
    },
    "data": {
      "description": "The event payload"
    },
    "data_base64": {
      "type": "string",
      "contentEncoding": "base64",
      "description": "Base64-encoded event payload"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudevent"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.