title | description | author | ms.subservice | ms.author | ms.date | ms.topic |
---|---|---|---|---|---|---|
Azure Event Grid on Kubernetes - Event schemas |
This article describes event schemas that are supported by Event Grid on Azure Arc for Kubernetes |
jfggdl |
kubernetes |
jafernan |
05/25/2021 |
conceptual |
Event Grid on Kubernetes accepts and delivers events in JSON format. It supports the Cloud Events 1.0 schema specification and that's the schema that should be used when publishing events to Event Grid.
[!INCLUDE preview-feature-note.md]
CloudEvents is an open specification for describing event data. It simplifies interoperability by providing a common event schema for publishing, and consuming events. See CloudEvents specification for information on the mandatory context attributes.
[{
"specversion": "1.0",
"type" : "orderCreated",
"source": "myCompanyName/us/webCommerceChannel/myOnlineCommerceSiteBrandName",
"id" : "eventId-n",
"time" : "2020-12-25T20:54:07+00:00",
"subject" : "account/acct-123224/order/o-123456",
"dataSchema" : "1.0",
"data" : {
"orderId" : "123",
"orderType" : "PO",
"reference" : "https://www.myCompanyName.com/orders/123"
}
}]
To learn about destinations and handlers supported by Event Grid on Azure Arc for Kubernetes, see Event Grid on Kubernetes - Event handlers.