Azure Event Grid · Schema

CloudEvent

Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema.

EventingEvent-DrivenPub/SubMessagingWebhookCloudEventsCloudMicrosoft Azure

Properties

Name Type Description
id string An identifier for the event. The combination of id and source must be unique for each distinct event.
source string Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.
data object Event data specific to the event type.
data_base64 string Event data specific to the event type, encoded as a base64 string.
type string Type of event related to the originating occurrence.
time string The time (in UTC) the event was generated, in RFC3339 format.
specversion string The version of the CloudEvents specification which the event uses.
dataschema string Identifies the schema that data adheres to.
datacontenttype string Content type of data value.
subject string This describes the subject of the event in the context of the event producer (identified by source).
View JSON Schema on GitHub

JSON Schema

azure-event-grid-cloud-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-event-grid/json-schema/azure-event-grid-cloud-event-schema.json",
  "title": "CloudEvent",
  "description": "Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-event-grid-namespace-dataplane-api-openapi.yml#/components/schemas/CloudEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "An identifier for the event. The combination of id and source must be unique for each distinct event."
    },
    "source": {
      "type": "string",
      "description": "Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event."
    },
    "data": {
      "description": "Event data specific to the event type."
    },
    "data_base64": {
      "type": "string",
      "format": "byte",
      "description": "Event data specific to the event type, encoded as a base64 string."
    },
    "type": {
      "type": "string",
      "description": "Type of event related to the originating occurrence."
    },
    "time": {
      "type": "string",
      "format": "date-time",
      "description": "The time (in UTC) the event was generated, in RFC3339 format."
    },
    "specversion": {
      "type": "string",
      "description": "The version of the CloudEvents specification which the event uses."
    },
    "dataschema": {
      "type": "string",
      "description": "Identifies the schema that data adheres to."
    },
    "datacontenttype": {
      "type": "string",
      "description": "Content type of data value."
    },
    "subject": {
      "type": "string",
      "description": "This describes the subject of the event in the context of the event producer (identified by source)."
    }
  },
  "required": [
    "id",
    "source",
    "type",
    "specversion"
  ]
}

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/azure-event-grid-cloud-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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