Skip to content

Commit

Permalink
Introduce spec version 0.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
  • Loading branch information
afrittoli committed Oct 25, 2022
1 parent fef9b84 commit 905fc11
Show file tree
Hide file tree
Showing 36 changed files with 137 additions and 104 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ points for metrics.
## CDEvents Specification

The latest release of the specification is
[v0.1.0](https://github.com/cdevents/spec/tree/v0.1.0/spec.md), and you can
[v0.1.1](https://github.com/cdevents/spec/tree/v0.1.1/spec.md), and you can
continuously follow the latest updates of the specification on [the `main`
branch](./spec.md).

Expand Down
2 changes: 1 addition & 1 deletion cloudevents-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Content-Length: nnnn

{
"context": {
"version" : "0.1.0",
"version" : "0.1.1",
"id" : "A234-1234-1234",
"source" : "/staging/tekton/",
"type" : "dev.cdevents.taskrun.started",
Expand Down
7 changes: 4 additions & 3 deletions schemas/artifactpackaged.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/artifact-packaged-event",
"$id": "https://cdevents.dev/0.1.1/schema/artifact-packaged-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/artifactpublished.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/artifact-published-event",
"$id": "https://cdevents.dev/0.1.1/schema/artifact-published-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/branchcreated.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/branch-created-event",
"$id": "https://cdevents.dev/0.1.1/schema/branch-created-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/branchdeleted.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/branch-deleted-event",
"$id": "https://cdevents.dev/0.1.1/schema/branch-deleted-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/buildfinished.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/build-finished-event",
"$id": "https://cdevents.dev/0.1.1/schema/build-finished-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/buildqueued.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/build-queued-event",
"$id": "https://cdevents.dev/0.1.1/schema/build-queued-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/buildstarted.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/build-started-event",
"$id": "https://cdevents.dev/0.1.1/schema/build-started-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/changeabandoned.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/change-abandoned-event",
"$id": "https://cdevents.dev/0.1.1/schema/change-abandoned-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/changecreated.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/change-created-event",
"$id": "https://cdevents.dev/0.1.1/schema/change-created-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/changemerged.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/change-merged-event",
"$id": "https://cdevents.dev/0.1.1/schema/change-merged-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/changereviewed.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/change-reviewed-event",
"$id": "https://cdevents.dev/0.1.1/schema/change-reviewed-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/changeupdated.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/change-updated-event",
"$id": "https://cdevents.dev/0.1.1/schema/change-updated-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/environmentcreated.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/environment-created-event",
"$id": "https://cdevents.dev/0.1.1/schema/environment-created-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/environmentdeleted.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/environment-deleted-event",
"$id": "https://cdevents.dev/0.1.1/schema/environment-deleted-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/environmentmodified.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/environment-modified-event",
"$id": "https://cdevents.dev/0.1.1/schema/environment-modified-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/pipelinerunfinished.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/pipeline-run-finished-event",
"$id": "https://cdevents.dev/0.1.1/schema/pipeline-run-finished-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/pipelinerunqueued.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/pipeline-run-queued-event",
"$id": "https://cdevents.dev/0.1.1/schema/pipeline-run-queued-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/pipelinerunstarted.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/pipeline-run-started-event",
"$id": "https://cdevents.dev/0.1.1/schema/pipeline-run-started-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
7 changes: 4 additions & 3 deletions schemas/repositorycreated.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.1.0/schema/repository-created-event",
"$id": "https://cdevents.dev/0.1.1/schema/repository-created-event",
"properties": {
"context": {
"properties": {
"version": {
"type": "string",
"enum": [
"0.1.0"
"0.1.0",
"0.1.1"
],
"default": "0.1.0"
"default": "0.1.1"
},
"id": {
"type": "string",
Expand Down
Loading

0 comments on commit 905fc11

Please sign in to comment.