Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 on is
[v0.1.2](https://github.com/cdevents/spec/blob/v0.1.2/spec.md), and you can
[v0.2.0](https://github.com/cdevents/spec/blob/v0.2.0/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 @@ -102,7 +102,7 @@ Content-Length: nnnn

{
"context": {
"version": "0.2.0-draft",
"version": "0.2.0",
"id" : "A234-1234-1234",
"source" : "/staging/tekton/",
"type" : "dev.cdevents.taskrun.started",
Expand Down
6 changes: 3 additions & 3 deletions continuous-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ An `incident` represents a problem in a production environment.

This event represents an incident that has been detected by a system or human.

- Event Type: __`dev.cdevents.incident.detected.0.1.0-draft`__
- Event Type: __`dev.cdevents.incident.detected.0.1.0`__
- Predicate: detected
- Subject: [`incident`](#incident)

Expand All @@ -58,7 +58,7 @@ This event represents an incident that has been detected by a system or human.

This event represents an incident that has been reported through a ticketing system. Compared to the `detected` predicated, it introduces a ticket URI.

- Event Type: __`dev.cdevents.incident.reported.0.1.0-draft`__
- Event Type: __`dev.cdevents.incident.reported.0.1.0`__
- Predicate: reported
- Subject: [`incident`](#incident)

Expand All @@ -77,7 +77,7 @@ This event represents an incident that has been reported through a ticketing sys

This event represents an incident that has been resolved, meaning that the problem identified by the incident has been solved or recalled.

- Event Type: __`dev.cdevents.incident.resolved.0.1.0-draft`__
- Event Type: __`dev.cdevents.incident.resolved.0.1.0`__
- Predicate: resolved
- Subject: [`incident`](#incident)

Expand Down
4 changes: 2 additions & 2 deletions examples/incidentdetected.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"context": {
"version": "0.2.0-draft",
"version": "0.2.0",
"id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708",
"source": "/monitoring/prod1",
"type": "dev.cdevents.incident.detected.0.1.0-draft",
"type": "dev.cdevents.incident.detected.0.1.0",
"timestamp": "2022-11-11T13:52:20.079Z"
},
"subject": {
Expand Down
4 changes: 2 additions & 2 deletions examples/incidentreported.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"context": {
"version": "0.2.0-draft",
"version": "0.2.0",
"id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708",
"source": "/monitoring/prod1",
"type": "dev.cdevents.incident.reported.0.1.0-draft",
"type": "dev.cdevents.incident.reported.0.1.0",
"timestamp": "2022-11-11T13:52:20.079Z"
},
"subject": {
Expand Down
4 changes: 2 additions & 2 deletions examples/incidentresolved.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"context": {
"version": "0.2.0-draft",
"version": "0.2.0",
"id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708",
"source": "/monitoring/prod1",
"type": "dev.cdevents.incident.resolved.0.1.0-draft",
"type": "dev.cdevents.incident.resolved.0.1.0",
"timestamp": "2022-11-11T13:52:20.079Z"
},
"subject": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/artifactpackaged.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/artifact-packaged-event",
"$id": "https://cdevents.dev/0.2.0/schema/artifact-packaged-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/artifactpublished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/artifact-published-event",
"$id": "https://cdevents.dev/0.2.0/schema/artifact-published-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/branchcreated.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/branch-created-event",
"$id": "https://cdevents.dev/0.2.0/schema/branch-created-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/branchdeleted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/branch-deleted-event",
"$id": "https://cdevents.dev/0.2.0/schema/branch-deleted-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/buildfinished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/build-finished-event",
"$id": "https://cdevents.dev/0.2.0/schema/build-finished-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/buildqueued.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/build-queued-event",
"$id": "https://cdevents.dev/0.2.0/schema/build-queued-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/buildstarted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/build-started-event",
"$id": "https://cdevents.dev/0.2.0/schema/build-started-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/changeabandoned.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/change-abandoned-event",
"$id": "https://cdevents.dev/0.2.0/schema/change-abandoned-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/changecreated.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/change-created-event",
"$id": "https://cdevents.dev/0.2.0/schema/change-created-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/changemerged.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/change-merged-event",
"$id": "https://cdevents.dev/0.2.0/schema/change-merged-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/changereviewed.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/change-reviewed-event",
"$id": "https://cdevents.dev/0.2.0/schema/change-reviewed-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/changeupdated.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/change-updated-event",
"$id": "https://cdevents.dev/0.2.0/schema/change-updated-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/environmentcreated.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/environment-created-event",
"$id": "https://cdevents.dev/0.2.0/schema/environment-created-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/environmentdeleted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/environment-deleted-event",
"$id": "https://cdevents.dev/0.2.0/schema/environment-deleted-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/environmentmodified.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/environment-modified-event",
"$id": "https://cdevents.dev/0.2.0/schema/environment-modified-event",
"properties": {
"context": {
"properties": {
Expand Down
6 changes: 3 additions & 3 deletions schemas/incidentdetected.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/incident-detected-event",
"$id": "https://cdevents.dev/0.2.0/schema/incident-detected-event",
"properties": {
"context": {
"properties": {
Expand All @@ -20,9 +20,9 @@
"type": {
"type": "string",
"enum": [
"dev.cdevents.incident.detected.0.1.0-draft"
"dev.cdevents.incident.detected.0.1.0"
],
"default": "dev.cdevents.incident.detected.0.1.0-draft"
"default": "dev.cdevents.incident.detected.0.1.0"
},
"timestamp": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions schemas/incidentreported.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/incident-reported-event",
"$id": "https://cdevents.dev/0.2.0/schema/incident-reported-event",
"properties": {
"context": {
"properties": {
Expand All @@ -20,9 +20,9 @@
"type": {
"type": "string",
"enum": [
"dev.cdevents.incident.reported.0.1.0-draft"
"dev.cdevents.incident.reported.0.1.0"
],
"default": "dev.cdevents.incident.reported.0.1.0-draft"
"default": "dev.cdevents.incident.reported.0.1.0"
},
"timestamp": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions schemas/incidentresolved.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/incident-resolved-event",
"$id": "https://cdevents.dev/0.2.0/schema/incident-resolved-event",
"properties": {
"context": {
"properties": {
Expand All @@ -20,9 +20,9 @@
"type": {
"type": "string",
"enum": [
"dev.cdevents.incident.resolved.0.1.0-draft"
"dev.cdevents.incident.resolved.0.1.0"
],
"default": "dev.cdevents.incident.resolved.0.1.0-draft"
"default": "dev.cdevents.incident.resolved.0.1.0"
},
"timestamp": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion schemas/pipelinerunfinished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/pipeline-run-finished-event",
"$id": "https://cdevents.dev/0.2.0/schema/pipeline-run-finished-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/pipelinerunqueued.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/pipeline-run-queued-event",
"$id": "https://cdevents.dev/0.2.0/schema/pipeline-run-queued-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/pipelinerunstarted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/pipeline-run-started-event",
"$id": "https://cdevents.dev/0.2.0/schema/pipeline-run-started-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/repositorycreated.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/repository-created-event",
"$id": "https://cdevents.dev/0.2.0/schema/repository-created-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/repositorydeleted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/repository-deleted-event",
"$id": "https://cdevents.dev/0.2.0/schema/repository-deleted-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/repositorymodified.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/repository-modified-event",
"$id": "https://cdevents.dev/0.2.0/schema/repository-modified-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/servicedeployed.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/service-deployed-event",
"$id": "https://cdevents.dev/0.2.0/schema/service-deployed-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/servicepublished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/service-published-event",
"$id": "https://cdevents.dev/0.2.0/schema/service-published-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/serviceremoved.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/service-removed-event",
"$id": "https://cdevents.dev/0.2.0/schema/service-removed-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/servicerolledback.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/service-rolledback-event",
"$id": "https://cdevents.dev/0.2.0/schema/service-rolledback-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/serviceupgraded.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/service-upgraded-event",
"$id": "https://cdevents.dev/0.2.0/schema/service-upgraded-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/taskrunfinished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/task-run-finished-event",
"$id": "https://cdevents.dev/0.2.0/schema/task-run-finished-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/taskrunstarted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/task-run-started-event",
"$id": "https://cdevents.dev/0.2.0/schema/task-run-started-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/testcasefinished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/test-case-finished-event",
"$id": "https://cdevents.dev/0.2.0/schema/test-case-finished-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/testcasequeued.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/test-case-queued-event",
"$id": "https://cdevents.dev/0.2.0/schema/test-case-queued-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/testcasestarted.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/test-case-started-event",
"$id": "https://cdevents.dev/0.2.0/schema/test-case-started-event",
"properties": {
"context": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/testsuitefinished.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://cdevents.dev/0.2.0-draft/schema/test-suite-finished-event",
"$id": "https://cdevents.dev/0.2.0/schema/test-suite-finished-event",
"properties": {
"context": {
"properties": {
Expand Down
Loading