cloudevents.json•1.87 kB
{
"namespace": "cloudevents",
"description": "This document defines attributes for CloudEvents.\n",
"attributes": {
"cloudevents.event_id": {
"description": "The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event.\n",
"type": "string",
"stability": "development",
"examples": ["123e4567-e89b-12d3-a456-426614174000", "0001"]
},
"cloudevents.event_source": {
"description": "The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened.\n",
"type": "string",
"stability": "development",
"examples": [
"https://github.com/cloudevents",
"/cloudevents/spec/pull/123",
"my-service"
]
},
"cloudevents.event_spec_version": {
"description": "The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses.\n",
"type": "string",
"stability": "development",
"examples": ["1.0"]
},
"cloudevents.event_type": {
"description": "The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence.\n",
"type": "string",
"stability": "development",
"examples": [
"com.github.pull_request.opened",
"com.example.object.deleted.v2"
]
},
"cloudevents.event_subject": {
"description": "The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source).\n",
"type": "string",
"stability": "development",
"examples": ["mynewfile.jpg"]
}
}
}