Skip to content

Commit

Permalink
Merge pull request cloudevents#744 from duglin/v1.0.1
Browse files Browse the repository at this point in the history
v1.0.1
Doug Davis authored Dec 12, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents ec36d8b + 63f9aeb commit c856ea1
Showing 21 changed files with 117 additions and 117 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -27,25 +27,25 @@ The following documents are available:
| | Latest Release | Working Draft |
| :---------------------------- | :-----------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------: |
| **Core Specification:** |
| CloudEvents | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/spec.md) | [master](https://github.com/cloudevents/spec/blob/master/spec.md) |
| CloudEvents | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/spec.md) | [master](https://github.com/cloudevents/spec/blob/master/spec.md) |
| |
| **Optional Specifications:** |
| AMQP Protocol Binding | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/amqp-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/amqp-protocol-binding.md) |
| AVRO Event Format | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/avro-format.md) | [master](https://github.com/cloudevents/spec/blob/master/avro-format.md) |
| HTTP Protocol Binding | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/http-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/http-protocol-binding.md) |
| JSON Event Format | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/json-format.md) | [master](https://github.com/cloudevents/spec/blob/master/json-format.md) |
| Kafka Protocol Binding | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/kafka-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/kafka-protocol-binding.md) |
| MQTT Protocol Binding | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/mqtt-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/mqtt-protocol-binding.md) |
| NATS Protocol Binding | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/nats-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/nats-protocol-binding.md) |
| AMQP Protocol Binding | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/amqp-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/amqp-protocol-binding.md) |
| AVRO Event Format | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/avro-format.md) | [master](https://github.com/cloudevents/spec/blob/master/avro-format.md) |
| HTTP Protocol Binding | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/http-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/http-protocol-binding.md) |
| JSON Event Format | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/json-format.md) | [master](https://github.com/cloudevents/spec/blob/master/json-format.md) |
| Kafka Protocol Binding | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/kafka-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/kafka-protocol-binding.md) |
| MQTT Protocol Binding | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/mqtt-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/mqtt-protocol-binding.md) |
| NATS Protocol Binding | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/nats-protocol-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/nats-protocol-binding.md) |
| WebSockets Protocol Binding | - | [master](https://github.com/cloudevents/spec/blob/master/websockets-protocol-binding.md) |
| Protobuf Event Format | | [master](https://github.com/cloudevents/spec/blob/master/protobuf-format.md) |
| Web hook | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/http-webhook.md) | [master](https://github.com/cloudevents/spec/blob/master/http-webhook.md) |
| Protobuf Event Format | | [v1.0-rc1](https://github.com/cloudevents/spec/blob/master/protobuf-format.md) |
| Web hook | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/http-webhook.md) | [master](https://github.com/cloudevents/spec/blob/master/http-webhook.md) |
| |
| **Additional Documentation:** |
| CloudEvents Adapters | - | [master](https://github.com/cloudevents/spec/blob/master/adapters.md) |
| CloudEvents SDK Requirements | - | [master](https://github.com/cloudevents/spec/blob/master/SDK.md) |
| Documented Extensions | - | [master](https://github.com/cloudevents/spec/blob/master/documented-extensions.md) |
| Primer | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/primer.md) | [master](https://github.com/cloudevents/spec/blob/master/primer.md) |
| Primer | [v1.0.1](https://github.com/cloudevents/spec/blob/v1.0.1/primer.md) | [master](https://github.com/cloudevents/spec/blob/master/primer.md) |
| Proprietary Specifications | - | [master](https://github.com/cloudevents/spec/blob/master/proprietary-specs.md) |

If you are new to CloudEvents, it is recommended that you start by reading the
2 changes: 1 addition & 1 deletion adapters/aws-s3.md
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ same pattern as described in the following table:
| :-------------------- | :---------------------------------------------- |
| `id` | "responseElements.x-amz-request-id" + `.` + "responseElements.x-amz-id-2" |
| `source` | "eventSource" value + `.` + "awsRegion" value + `.` + "s3.buckets.name" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.amazonaws.s3.` + "eventName" value |
| `datacontenttype` | S3 event type (e.g. `application/json`) |
| `dataschema` | Omit |
10 changes: 5 additions & 5 deletions adapters/couchdb.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ based on the event type.
| :-------------------- | :------------------------------------ |
| `id` | The event sequence identifier (`seq`) |
| `source` | The server URL / `db` |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `org.apache.couchdb.document.updated` |
| `datacontenttype` | `application/json` |
| `subject` | The document identifier (`id`) |
@@ -31,7 +31,7 @@ based on the event type.
| :-------------------- | :------------------------------------ |
| `id` | The event sequence identifier (`seq`) |
| `source` | The server URL / `db` |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `org.apache.couchdb.document.deleted` |
| `datacontenttype` | `application/json` |
| `subject` | The document identifier (`id`) |
@@ -46,7 +46,7 @@ based on the event type.
| :-------------------- | :------------------------------------ |
| `id` | The event sequence identifier (`seq`) |
| `source` | The server URL |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `org.apache.couchdb.database.created` |
| `subject` | The database name (`db_name`) |
| `time` | Current time |
@@ -57,7 +57,7 @@ based on the event type.
| :-------------------- | :------------------------------------ |
| `id` | The event sequence identifier (`seq`) |
| `source` | The server URL |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `org.apache.couchdb.database.updated` |
| `subject` | The database name (`db_name`) |
| `time` | Current time |
@@ -68,7 +68,7 @@ based on the event type.
| :-------------------- | :------------------------------------ |
| `id` | The event sequence identifier (`seq`) |
| `source` | The server URL |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `org.apache.couchdb.database.deleted` |
| `subject` | The database name (`db_name`) |
| `time` | Current time |
88 changes: 44 additions & 44 deletions adapters/github.md

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions adapters/gitlab.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ based on the specified event.
| :-------------------- | :--------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "repository.homepage" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.push` |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -30,7 +30,7 @@ based on the specified event.
| :-------------------- | :--------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "repository.homepage" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.tag_push` |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -44,7 +44,7 @@ based on the specified event.
| :-------------------- | :---------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "repository.homepage" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.issue.` + "object_attributes.state" value |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -58,7 +58,7 @@ based on the specified event.
| :-------------------- | :--------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "commit.url" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.note.commit` |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -72,7 +72,7 @@ based on the specified event.
| :-------------------- | :----------------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "object_attributes.url" value, without the `#note\_...` part |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.note.merge_request` |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -86,7 +86,7 @@ based on the specified event.
| :-------------------- | :---------------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "object_attributes.url" value without the `#note\_...` part |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.note.issue` |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -100,7 +100,7 @@ based on the specified event.
| :-------------------- | :---------------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "object_attributes.url" value without the `#note\_...` part |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.note.snippet` |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -114,7 +114,7 @@ based on the specified event.
| :-------------------- | :------------------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "repository.homepage" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.merge_request.` + "object_attributes.action" value |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -128,7 +128,7 @@ based on the specified event.
| :-------------------- | :--------------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "project.web_url" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.wiki_page.` + "object_attributes.action" value |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -142,7 +142,7 @@ based on the specified event.
| :-------------------- | :-------------------------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "project.web_url" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.pipeline.` + "object_attributes.status" value |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
@@ -156,7 +156,7 @@ based on the specified event.
| :-------------------- | :--------------------------------------- |
| `id` | Generate a new unique value, e.g. a UUID |
| `source` | "repository.homepage" value |
| `specversion` | `1.x-wip` |
| `specversion` | `1.0` |
| `type` | `com.gitlab.job.` + "job_status" value |
| `datacontenttype` | `application/json` |
| `dataschema` | Omit |
6 changes: 3 additions & 3 deletions amqp-protocol-binding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AMQP Protocol Binding for CloudEvents - Version 1.x-wip
# AMQP Protocol Binding for CloudEvents - Version 1.0.1

## Abstract

@@ -225,7 +225,7 @@ content-type: application/json; charset=utf-8
----------- application-properties -----------
cloudEvents:specversion: 1.x-wip
cloudEvents:specversion: 1.0
cloudEvents:type: com.example.someevent
cloudEvents:time: 2018-04-05T03:56:24Z
cloudEvents:id: 1234-1234-1234
@@ -287,7 +287,7 @@ content-type: application/cloudevents+json; charset=utf-8
------------- application-data --------------------------
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
... further attributes omitted ...
6 changes: 3 additions & 3 deletions avro-format.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Avro Event Format for CloudEvents - Version 1.x-wip
# Avro Event Format for CloudEvents - Version 1.0.1

## Abstract

@@ -82,7 +82,7 @@ described by the [CloudEvent Avro Schema](./spec.avsc):
"namespace": "io.cloudevents",
"type": "record",
"name": "CloudEvent",
"version": "1.x-wip",
"version": "1.0",
"doc": "Avro Event Format for CloudEvents",
"fields": [
{
@@ -157,7 +157,7 @@ The following table shows exemplary mappings:
| CloudEvents | Type | Exemplary Avro Value |
| ----------- | ------ | ---------------------------------------------- |
| type | string | `"com.example.someevent"` |
| specversion | string | `"1.x-wip"` |
| specversion | string | `"1.0"` |
| source | string | `"/mycontext"` |
| id | string | `"7a0dc520-c870-4193c8"` |
| time | string | `"2019-06-05T23:45:00Z"` |
4 changes: 2 additions & 2 deletions extensions/dataref.md
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ both `data` and `dataref` (serialized as JSON):

```JSON
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.github.pull_request.opened",
"source" : "https://github.com/cloudevents/spec/pull/123",
"id" : "A234-1234-1234",
@@ -63,7 +63,7 @@ The following example shows a CloudEvent in which a middleware has replaced the

```JSON
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.github.pull_request.opened",
"source" : "https://github.com/cloudevents/spec/pull/123",
"id" : "A234-1234-1234",
2 changes: 1 addition & 1 deletion extensions/distributed-tracing.md
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ An example with HTTP:
```bash
CURL -X POST example/webhook.json \
-H 'ce-id: 1' \
-H 'ce-specversion: 1.x-wip' \
-H 'ce-specversion: 1.0' \
-H 'ce-type: example' \
-H 'ce-source: http://localhost' \
-H 'ce-traceparent: 00-0af7651916cd43dd8448eb211c80319c-b9c7c989f97918e1-01' \
18 changes: 9 additions & 9 deletions http-protocol-binding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTTP Protocol Binding for CloudEvents - Version 1.x-wip
# HTTP Protocol Binding for CloudEvents - Version 1.0.1

## Abstract

@@ -232,7 +232,7 @@ request:
```text
POST /someresource HTTP/1.1
Host: webhook.example.com
ce-specversion: 1.x-wip
ce-specversion: 1.0
ce-type: com.example.someevent
ce-time: 2018-04-05T03:56:24Z
ce-id: 1234-1234-1234
@@ -250,7 +250,7 @@ This example shows a response containing an event:

```text
HTTP/1.1 200 OK
ce-specversion: 1.x-wip
ce-specversion: 1.0
ce-type: com.example.someevent
ce-time: 2018-04-05T03:56:24Z
ce-id: 1234-1234-1234
@@ -309,7 +309,7 @@ Content-Type: application/cloudevents+json; charset=utf-8
Content-Length: nnnn
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
... further attributes omitted ...
@@ -330,7 +330,7 @@ Content-Type: application/cloudevents+json; charset=utf-8
Content-Length: nnnn
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
... further attributes omitted ...
@@ -386,7 +386,7 @@ Content-Length: nnnn
[
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
... further attributes omitted ...
@@ -396,7 +396,7 @@ Content-Length: nnnn
}
},
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someotherevent",
... further attributes omitted ...
@@ -419,7 +419,7 @@ Content-Length: nnnn
[
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
... further attributes omitted ...
@@ -429,7 +429,7 @@ Content-Length: nnnn
}
},
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someotherevent",
... further attributes omitted ...
2 changes: 1 addition & 1 deletion http-webhook.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTTP 1.1 Web Hooks for Event Delivery - Version 1.x-wip
# HTTP 1.1 Web Hooks for Event Delivery - Version 1.0.1

## Abstract

14 changes: 7 additions & 7 deletions json-format.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JSON Event Format for CloudEvents - Version 1.x-wip
# JSON Event Format for CloudEvents - Version 1.0.1

## Abstract

@@ -100,7 +100,7 @@ The following table shows exemplary attribute mappings:
| CloudEvents | Type | Exemplary JSON Value |
| --------------- | ---------------- | ----------------------- |
| type | String | "com.example.someevent" |
| specversion | String | "1.x-wip" |
| specversion | String | "1.0" |
| source | URI-reference | "/mycontext" |
| subject | String | "larger-context" |
| subject | String (null) | null |
@@ -160,7 +160,7 @@ Example event with `String`-valued `data`:

```JSON
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"source" : "/mycontext",
"id" : "A234-1234-1234",
@@ -177,7 +177,7 @@ Example event with `Binary`-valued data

```JSON
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"source" : "/mycontext",
"id" : "B234-1234-1234",
@@ -194,7 +194,7 @@ or [JSON data](#31-handling-of-data) data:

```JSON
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"source" : "/mycontext",
"subject": null,
@@ -243,7 +243,7 @@ second with JSON data.
```JSON
[
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"source" : "/mycontext/4",
"id" : "B234-1234-1234",
@@ -254,7 +254,7 @@ second with JSON data.
"data_base64" : "... base64 encoded string ..."
},
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someotherevent",
"source" : "/mycontext/9",
"id" : "C234-1234-1234",
6 changes: 3 additions & 3 deletions kafka-protocol-binding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Kafka Protocol Binding for CloudEvents - Version 1.x-wip
# Kafka Protocol Binding for CloudEvents - Version 1.0.1

## Abstract

@@ -221,7 +221,7 @@ Key: mykey
------------------ headers -------------------
ce_specversion: "1.x-wip"
ce_specversion: "1.0"
ce_type: "com.example.someevent"
ce_source: "/mycontext/subcontext"
ce_id: "1234-1234-1234"
@@ -287,7 +287,7 @@ content-type: application/cloudevents+json; charset=UTF-8
------------------- value --------------------
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"source" : "/mycontext/subcontext",
"id" : "1234-1234-1234",
8 changes: 4 additions & 4 deletions mqtt-protocol-binding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MQTT Protocol Binding for CloudEvents - Version 1.x-wip
# MQTT Protocol Binding for CloudEvents - Version 1.0.1

## Abstract

@@ -197,7 +197,7 @@ Content Type: application/json; charset=utf-8
------------- User Properties ----------------
specversion: 1.x-wip
specversion: 1.0
type: com.example.someevent
time: 2018-04-05T03:56:24Z
id: 1234-1234-1234
@@ -260,7 +260,7 @@ Content Type: application/cloudevents+json; charset=utf-8
------------------ payload -------------------
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"time" : 2018-04-05T03:56;24Z,
"id" : 1234-1234-1234,
@@ -289,7 +289,7 @@ Topic Name: mytopic
------------------ payload -------------------
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
"time" : 2018-04-05T03:56;24Z,
"id" : 1234-1234-1234,
4 changes: 2 additions & 2 deletions nats-protocol-binding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NATS Protocol Binding for CloudEvents - Version 1.x-wip
# NATS Protocol Binding for CloudEvents - Version 1.0.1

## Abstract

@@ -128,7 +128,7 @@ Subject: mySubject
------------------ payload -------------------
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.example.someevent",
... further attributes omitted ...
6 changes: 3 additions & 3 deletions primer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CloudEvents Primer - Version 1.x-wip
# CloudEvents Primer - Version 1.0.1

## Abstract

@@ -441,13 +441,13 @@ nesting would be:

```
Content-Type: application/json
ce-specversion: 1.x-wip
ce-specversion: 1.0
ce-type: myevent
ce-id: 1234-1234-1234
ce-source: example.com
{
"specversion": "1.x-wip",
"specversion": "1.0",
"type": "coolevent",
"id": "xxxx-xxxx-xxxx",
"source": "bigco.com",
2 changes: 1 addition & 1 deletion protobuf-format.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Protobuf Event Format for CloudEvents - Version 1.0
# Protobuf Event Format for CloudEvents - Version 1.0-rc1

## Abstract

2 changes: 1 addition & 1 deletion spec.avsc
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"namespace":"io.cloudevents",
"type":"record",
"name":"AvroCloudEvent",
"version":"1.x-wip",
"version":"1.0",
"doc":"Avro Event Format for CloudEvents",
"fields":[
{
2 changes: 1 addition & 1 deletion spec.json
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
"description": "The version of the CloudEvents specification which the event uses.",
"$ref": "#/definitions/specversiondef",
"examples": [
"1.x-wip"
"1.0"
]
},
"type": {
6 changes: 3 additions & 3 deletions spec.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CloudEvents - Version 1.x-wip
# CloudEvents - Version 1.0.1

## Abstract

@@ -302,7 +302,7 @@ The following attributes are REQUIRED to be present in all CloudEvents:
- Type: `String`
- Description: The version of the CloudEvents specification which the event
uses. This enables the interpretation of the context. Compliant event
producers MUST use a value of `1.x-wip` when referring to this version of the
producers MUST use a value of `1.0` when referring to this version of the
specification.

Currently, this attribute will only have the 'major' and 'minor' version
@@ -562,7 +562,7 @@ The following example shows a CloudEvent serialized as JSON:

```JSON
{
"specversion" : "1.x-wip",
"specversion" : "1.0",
"type" : "com.github.pull_request.opened",
"source" : "https://github.com/cloudevents/spec/pull",
"subject" : "123",
2 changes: 1 addition & 1 deletion websockets-protocol-binding.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WebSockets Protocol Binding for CloudEvents - Version 1.x-wip
# WebSockets Protocol Binding for CloudEvents - Version 1.0.1

## Abstract

0 comments on commit c856ea1

Please sign in to comment.