diff --git a/continuous-deployment.md b/continuous-deployment.md index 1fe9da2e..65254586 100644 --- a/continuous-deployment.md +++ b/continuous-deployment.md @@ -51,7 +51,7 @@ A `service` can represent for example a binary that is running, a daemon, an app This event represents an environment that has been created. Such an environment can be used to deploy services in. -- Event Type: __`dev.cdevents.environment.created.0.2.0-draft`__ +- Event Type: __`dev.cdevents.environment.created.0.2.0`__ - Predicate: created - Subject: [`environment`](#environment) @@ -67,7 +67,7 @@ This event represents an environment that has been created. Such an environment This event represents an environment that has been modified. -- Event Type: __`dev.cdevents.environment.modified.0.2.0-draft`__ +- Event Type: __`dev.cdevents.environment.modified.0.2.0`__ - Predicate: modified - Subject: [`environment`](#environment) @@ -83,7 +83,7 @@ This event represents an environment that has been modified. This event represents an environment that has been deleted.``` -- Event Type: __`dev.cdevents.environment.deleted.0.2.0-draft`__ +- Event Type: __`dev.cdevents.environment.deleted.0.2.0`__ - Predicate: deleted - Subject: [`environment`](#environment) @@ -98,7 +98,7 @@ This event represents an environment that has been deleted.``` This event represents a new instance of a service that has been deployed -- Event Type: __`dev.cdevents.service.deployed.0.2.0-draft`__ +- Event Type: __`dev.cdevents.service.deployed.0.2.0`__ - Predicate: deployed - Subject: [`service`](#service) @@ -114,7 +114,7 @@ This event represents a new instance of a service that has been deployed This event represents an existing instance of a service that has been upgraded to a new version -- Event Type: __`dev.cdevents.service.upgraded.0.2.0-draft`__ +- Event Type: __`dev.cdevents.service.upgraded.0.2.0`__ - Predicate: upgraded - Subject: [`service`](#service) @@ -130,7 +130,7 @@ This event represents an existing instance of a service that has been upgraded t This event represents an existing instance of a service that has been rolled back to a previous version -- Event Type: __`dev.cdevents.service.rolledback.0.2.0-draft`__ +- Event Type: __`dev.cdevents.service.rolledback.0.2.0`__ - Predicate: rolledback - Subject: [`service`](#service) @@ -146,7 +146,7 @@ This event represents an existing instance of a service that has been rolled bac This event represents the removal of a previously deployed service instance and is thus not longer present in the specified environment -- Event Type: __`dev.cdevents.service.removed.0.2.0-draft`__ +- Event Type: __`dev.cdevents.service.removed.0.2.0`__ - Predicate: removed - Subject: [`service`](#service) @@ -161,7 +161,7 @@ This event represents the removal of a previously deployed service instance and This event represents an existing instance of a service that has an accessible URL for users to interact with it. This event can be used to let other tools know that the service is ready and also available for consumption. -- Event Type: __`dev.cdevents.service.published.0.2.0-draft`__ +- Event Type: __`dev.cdevents.service.published.0.2.0`__ - Predicate: published - Subject: [`service`](#service) diff --git a/continuous-integration.md b/continuous-integration.md index 7ffb879e..a57ac40d 100644 --- a/continuous-integration.md +++ b/continuous-integration.md @@ -56,7 +56,7 @@ An `artifact` is usually produced as output of a build process. Events need to b This event represents a Build task that has been queued; this build process usually is in charge of producing a binary from source code. -- Event Type: __`dev.cdevents.build.queued.0.2.0-draft`__ +- Event Type: __`dev.cdevents.build.queued.0.2.0`__ - Predicate: queued - Subject: [`build`](#build) @@ -70,7 +70,7 @@ This event represents a Build task that has been queued; this build process usua This event represents a Build task that has been started; this build process usually is in charge of producing a binary from source code. -- Event Type: __`dev.cdevents.build.started.0.2.0-draft`__ +- Event Type: __`dev.cdevents.build.started.0.2.0`__ - Predicate: started - Subject: [`build`](#build) @@ -84,7 +84,7 @@ This event represents a Build task that has been started; this build process usu This event represents a Build task that has finished. This event will eventually contain the finished status, success, error or failure -- Event Type: __`dev.cdevents.build.finished.0.2.0-draft`__ +- Event Type: __`dev.cdevents.build.finished.0.2.0`__ - Predicate: finished - Subject: [`build`](#build) @@ -100,7 +100,7 @@ This event represents a Build task that has finished. This event will eventually The event represents an artifact that has been packaged for distribution; this artifact is now versioned with a fixed version. This event is usually produced by the build system. If an SBOM URI is available at this stage, it should be included. -- Event Type: __`dev.cdevents.artifact.packaged.0.2.0-draft`__ +- Event Type: __`dev.cdevents.artifact.packaged.0.2.0`__ - Predicate: packaged - Subject: [`artifact`](#artifact) @@ -117,7 +117,7 @@ This event is usually produced by the build system. If an SBOM URI is available The event represents an artifact that has been signed. The signature is included in the events itself. An artifact may be signed after it has been packaged or sometimes after it has published, depending on the tooling being used and the type of artifact. The `artifact signed` event is typically produced by the CI or build system. -- Event Type: __`dev.cdevents.artifact.signed.0.2.0-draft`__ +- Event Type: __`dev.cdevents.artifact.signed.0.2.0`__ - Predicate: signed - Subject: [`artifact`](#artifact) @@ -133,7 +133,7 @@ An artifact may be signed after it has been packaged or sometimes after it has p The event represents an artifact that has been published and it can be advertised for others to use. The `artifact published` event is typically produced by the artifact registry, but it may also be produced by the build system. -- Event Type: __`dev.cdevents.artifact.published.0.2.0-draft`__ +- Event Type: __`dev.cdevents.artifact.published.0.2.0`__ - Predicate: published - Subject: [`artifact`](#artifact) @@ -149,7 +149,7 @@ The `artifact published` event is typically produced by the artifact registry, b The event represents an artifact that has been downloaded from the registry. The `artifact downloaded` event is preferably produced by the artifact registry. -- Event Type: __`dev.cdevents.artifact.downloaded.0.1.0-draft`__ +- Event Type: __`dev.cdevents.artifact.downloaded.0.1.0`__ - Predicate: downloaded - Subject: [`artifact`](#artifact) @@ -165,7 +165,7 @@ The `artifact downloaded` event is preferably produced by the artifact registry. The event represents an artifact that has been deleted from an artifact registry. The `artifact deleted` event is preferably produced by the artifact registry. -- Event Type: __`dev.cdevents.artifact.deleted.0.1.0-draft`__ +- Event Type: __`dev.cdevents.artifact.deleted.0.1.0`__ - Predicate: deleted - Subject: [`artifact`](#artifact) diff --git a/continuous-operations.md b/continuous-operations.md index c72b43cd..bb1c047b 100644 --- a/continuous-operations.md +++ b/continuous-operations.md @@ -62,7 +62,7 @@ A ticket can request a change, report a problem, or document an [`incident`](#in This event represents an incident that has been detected by a system or human. -- Event Type: __`dev.cdevents.incident.detected.0.2.0-draft`__ +- Event Type: __`dev.cdevents.incident.detected.0.2.0`__ - Predicate: detected - Subject: [`incident`](#incident) @@ -80,7 +80,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.2.0-draft`__ +- Event Type: __`dev.cdevents.incident.reported.0.2.0`__ - Predicate: reported - Subject: [`incident`](#incident) @@ -99,7 +99,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.2.0-draft`__ +- Event Type: __`dev.cdevents.incident.resolved.0.2.0`__ - Predicate: resolved - Subject: [`incident`](#incident) @@ -117,7 +117,7 @@ This event represents an incident that has been resolved, meaning that the probl This event represents a ticket that has been created within some ticketing system. -- Event Type: __`dev.cdevents.ticket.created.0.1.0-draft`__ +- Event Type: __`dev.cdevents.ticket.created.0.1.0`__ - Predicate: created - Subject: [`ticket`](#ticket) @@ -140,7 +140,7 @@ This event represents a ticket that has been created within some ticketing syste This event indicates that a ticket has been updated within some ticketing system. -- Event Type: __`dev.cdevents.ticket.updated.0.1.0-draft`__ +- Event Type: __`dev.cdevents.ticket.updated.0.1.0`__ - Predicate: updated - Subject: [`ticket`](#ticket) @@ -164,7 +164,7 @@ This event indicates that a ticket has been updated within some ticketing system This event indicates that a ticket has been closed or resolved within some ticketing system. -- Event Type: __`dev.cdevents.ticket.closed.0.1.0-draft`__ +- Event Type: __`dev.cdevents.ticket.closed.0.1.0`__ - Predicate: closed - Subject: [`ticket`](#ticket) diff --git a/core.md b/core.md index 8ac93ec9..70c7942a 100644 --- a/core.md +++ b/core.md @@ -68,7 +68,7 @@ Due the dynamic nature of Pipelines, most of actual work needs to be queued to happen in a distributed way, hence queued events are added. Adopters can choose to ignore these events if they don't apply to their use cases. -- Event Type: __`dev.cdevents.pipelinerun.queued.0.2.0-draft`__ +- Event Type: __`dev.cdevents.pipelinerun.queued.0.2.0`__ - Predicate: queued - Subject: [`pipelineRun`](#pipelinerun) @@ -84,7 +84,7 @@ to ignore these events if they don't apply to their use cases. A pipelineRun has started and it is running. -- Event Type: __`dev.cdevents.pipelinerun.started.0.2.0-draft`__ +- Event Type: __`dev.cdevents.pipelinerun.started.0.2.0`__ - Predicate: started - Subject: [`pipelineRun`](#pipelinerun) @@ -100,7 +100,7 @@ A pipelineRun has started and it is running. A pipelineRun has finished, successfully or not. -- Event Type: __`dev.cdevents.pipelinerun.finished.0.2.0-draft`__ +- Event Type: __`dev.cdevents.pipelinerun.finished.0.2.0`__ - Predicate: finished - Subject: [`pipelineRun`](#pipelinerun) @@ -118,7 +118,7 @@ A pipelineRun has finished, successfully or not. A taskRun has started and it is running. -- Event Type: __`dev.cdevents.taskrun.started.0.2.0-draft`__ +- Event Type: __`dev.cdevents.taskrun.started.0.2.0`__ - Predicate: started - Subject: [`taskRun`](#taskrun) @@ -135,7 +135,7 @@ A taskRun has started and it is running. A taskRun has finished, successfully or not. -- Event Type: __`dev.cdevents.taskrun.finished.0.2.0-draft`__ +- Event Type: __`dev.cdevents.taskrun.finished.0.2.0`__ - Predicate: finished - Subject: [`taskRun`](#taskrun) diff --git a/custom/schema.json b/custom/schema.json index 10ab4732..4af49f94 100644 --- a/custom/schema.json +++ b/custom/schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/custom", + "$id": "https://cdevents.dev/0.4.0/schema/custom", "properties": { "context": { "properties": { diff --git a/examples/artifact_deleted.json b/examples/artifact_deleted.json index 3fc642ba..d33d60cb 100644 --- a/examples/artifact_deleted.json +++ b/examples/artifact_deleted.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.artifact.deleted.0.1.0-draft", + "type": "dev.cdevents.artifact.deleted.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/artifact_downloaded.json b/examples/artifact_downloaded.json index 054ab326..d7b50832 100644 --- a/examples/artifact_downloaded.json +++ b/examples/artifact_downloaded.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.artifact.downloaded.0.1.0-draft", + "type": "dev.cdevents.artifact.downloaded.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/artifact_packaged.json b/examples/artifact_packaged.json index 5b283759..52e444e6 100644 --- a/examples/artifact_packaged.json +++ b/examples/artifact_packaged.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.artifact.packaged.0.2.0-draft", + "type": "dev.cdevents.artifact.packaged.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/artifact_published.json b/examples/artifact_published.json index f8240e18..d3e6ae49 100644 --- a/examples/artifact_published.json +++ b/examples/artifact_published.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.artifact.published.0.2.0-draft", + "type": "dev.cdevents.artifact.published.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/artifact_signed.json b/examples/artifact_signed.json index eb93d4ee..e274725d 100644 --- a/examples/artifact_signed.json +++ b/examples/artifact_signed.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.artifact.signed.0.2.0-draft", + "type": "dev.cdevents.artifact.signed.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/branch_created.json b/examples/branch_created.json index 0e13c965..9df78b9b 100644 --- a/examples/branch_created.json +++ b/examples/branch_created.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.branch.created.0.2.0-draft", + "type": "dev.cdevents.branch.created.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/branch_deleted.json b/examples/branch_deleted.json index 42f573e0..aae54b75 100644 --- a/examples/branch_deleted.json +++ b/examples/branch_deleted.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.branch.deleted.0.2.0-draft", + "type": "dev.cdevents.branch.deleted.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/build_finished.json b/examples/build_finished.json index 97682cce..964c7e55 100644 --- a/examples/build_finished.json +++ b/examples/build_finished.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.build.finished.0.2.0-draft", + "type": "dev.cdevents.build.finished.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/build_queued.json b/examples/build_queued.json index fa523b90..2784e39b 100644 --- a/examples/build_queued.json +++ b/examples/build_queued.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.build.queued.0.2.0-draft", + "type": "dev.cdevents.build.queued.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/build_started.json b/examples/build_started.json index 474569ee..13645193 100644 --- a/examples/build_started.json +++ b/examples/build_started.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.build.started.0.2.0-draft", + "type": "dev.cdevents.build.started.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/change_abandoned.json b/examples/change_abandoned.json index c71d6d1b..7b5cd2db 100644 --- a/examples/change_abandoned.json +++ b/examples/change_abandoned.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.change.abandoned.0.2.0-draft", + "type": "dev.cdevents.change.abandoned.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/change_created.json b/examples/change_created.json index 994c9288..8a97a7a4 100644 --- a/examples/change_created.json +++ b/examples/change_created.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.change.created.0.3.0-draft", + "type": "dev.cdevents.change.created.0.3.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/change_merged.json b/examples/change_merged.json index 398cbfea..c6f959c6 100644 --- a/examples/change_merged.json +++ b/examples/change_merged.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.change.merged.0.2.0-draft", + "type": "dev.cdevents.change.merged.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/change_reviewed.json b/examples/change_reviewed.json index ef2f5f39..4ac7b91f 100644 --- a/examples/change_reviewed.json +++ b/examples/change_reviewed.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.change.reviewed.0.2.0-draft", + "type": "dev.cdevents.change.reviewed.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/change_updated.json b/examples/change_updated.json index 233cf31f..879c716b 100644 --- a/examples/change_updated.json +++ b/examples/change_updated.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.change.updated.0.2.0-draft", + "type": "dev.cdevents.change.updated.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/environment_created.json b/examples/environment_created.json index 7b221b7f..43724e89 100644 --- a/examples/environment_created.json +++ b/examples/environment_created.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.environment.created.0.2.0-draft", + "type": "dev.cdevents.environment.created.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/environment_deleted.json b/examples/environment_deleted.json index 59a7fdc9..cb96ec17 100644 --- a/examples/environment_deleted.json +++ b/examples/environment_deleted.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.environment.deleted.0.2.0-draft", + "type": "dev.cdevents.environment.deleted.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/environment_modified.json b/examples/environment_modified.json index 77626886..f5500e33 100644 --- a/examples/environment_modified.json +++ b/examples/environment_modified.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.environment.modified.0.2.0-draft", + "type": "dev.cdevents.environment.modified.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/incident_detected.json b/examples/incident_detected.json index c4628f7c..a8d5a8ea 100644 --- a/examples/incident_detected.json +++ b/examples/incident_detected.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/monitoring/prod1", - "type": "dev.cdevents.incident.detected.0.2.0-draft", + "type": "dev.cdevents.incident.detected.0.2.0", "timestamp": "2022-11-11T13:52:20.079Z" }, "subject": { diff --git a/examples/incident_reported.json b/examples/incident_reported.json index a21ecbc1..14226757 100644 --- a/examples/incident_reported.json +++ b/examples/incident_reported.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/monitoring/prod1", - "type": "dev.cdevents.incident.reported.0.2.0-draft", + "type": "dev.cdevents.incident.reported.0.2.0", "timestamp": "2022-11-11T13:52:20.079Z" }, "subject": { diff --git a/examples/incident_resolved.json b/examples/incident_resolved.json index 39d5ae08..65db2fb8 100644 --- a/examples/incident_resolved.json +++ b/examples/incident_resolved.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/monitoring/prod1", - "type": "dev.cdevents.incident.resolved.0.2.0-draft", + "type": "dev.cdevents.incident.resolved.0.2.0", "timestamp": "2022-11-11T13:52:20.079Z" }, "subject": { diff --git a/examples/pipelinerun_finished.json b/examples/pipelinerun_finished.json index c027c7dc..0ab9b712 100644 --- a/examples/pipelinerun_finished.json +++ b/examples/pipelinerun_finished.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.pipelinerun.finished.0.2.0-draft", + "type": "dev.cdevents.pipelinerun.finished.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/pipelinerun_queued.json b/examples/pipelinerun_queued.json index cf0aaacc..dcccb34a 100644 --- a/examples/pipelinerun_queued.json +++ b/examples/pipelinerun_queued.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.pipelinerun.queued.0.2.0-draft", + "type": "dev.cdevents.pipelinerun.queued.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/pipelinerun_started.json b/examples/pipelinerun_started.json index c0bff690..f1da5839 100644 --- a/examples/pipelinerun_started.json +++ b/examples/pipelinerun_started.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.pipelinerun.started.0.2.0-draft", + "type": "dev.cdevents.pipelinerun.started.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/repository_created.json b/examples/repository_created.json index bc8c3946..b33446f5 100644 --- a/examples/repository_created.json +++ b/examples/repository_created.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.repository.created.0.2.0-draft", + "type": "dev.cdevents.repository.created.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/repository_deleted.json b/examples/repository_deleted.json index d39b71a0..f2213c4f 100644 --- a/examples/repository_deleted.json +++ b/examples/repository_deleted.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.repository.deleted.0.2.0-draft", + "type": "dev.cdevents.repository.deleted.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/repository_modified.json b/examples/repository_modified.json index 22206ded..76d536c7 100644 --- a/examples/repository_modified.json +++ b/examples/repository_modified.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.repository.modified.0.2.0-draft", + "type": "dev.cdevents.repository.modified.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/service_deployed.json b/examples/service_deployed.json index f0343947..9b1167e2 100644 --- a/examples/service_deployed.json +++ b/examples/service_deployed.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.service.deployed.0.2.0-draft", + "type": "dev.cdevents.service.deployed.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/service_published.json b/examples/service_published.json index a2cdaabc..9a6df78b 100644 --- a/examples/service_published.json +++ b/examples/service_published.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.service.published.0.2.0-draft", + "type": "dev.cdevents.service.published.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/service_removed.json b/examples/service_removed.json index 73ddc073..0add7f1c 100644 --- a/examples/service_removed.json +++ b/examples/service_removed.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.service.removed.0.2.0-draft", + "type": "dev.cdevents.service.removed.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/service_rolledback.json b/examples/service_rolledback.json index 8f24c00a..f36685b2 100644 --- a/examples/service_rolledback.json +++ b/examples/service_rolledback.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.service.rolledback.0.2.0-draft", + "type": "dev.cdevents.service.rolledback.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/service_upgraded.json b/examples/service_upgraded.json index 5c5846bc..77f2690c 100644 --- a/examples/service_upgraded.json +++ b/examples/service_upgraded.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.service.upgraded.0.2.0-draft", + "type": "dev.cdevents.service.upgraded.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/taskrun_finished.json b/examples/taskrun_finished.json index 0097e0cb..87f43a65 100644 --- a/examples/taskrun_finished.json +++ b/examples/taskrun_finished.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.taskrun.finished.0.2.0-draft", + "type": "dev.cdevents.taskrun.finished.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/taskrun_started.json b/examples/taskrun_started.json index dd56381a..6c37817b 100644 --- a/examples/taskrun_started.json +++ b/examples/taskrun_started.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.taskrun.started.0.2.0-draft", + "type": "dev.cdevents.taskrun.started.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testcaserun_finished.json b/examples/testcaserun_finished.json index 0afa0a85..4054698a 100644 --- a/examples/testcaserun_finished.json +++ b/examples/testcaserun_finished.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.finished.0.2.0-draft", + "type": "dev.cdevents.testcaserun.finished.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testcaserun_queued.json b/examples/testcaserun_queued.json index 64ff6389..6f09faf5 100644 --- a/examples/testcaserun_queued.json +++ b/examples/testcaserun_queued.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.queued.0.2.0-draft", + "type": "dev.cdevents.testcaserun.queued.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testcaserun_skipped.json b/examples/testcaserun_skipped.json index ea678efb..8b016768 100644 --- a/examples/testcaserun_skipped.json +++ b/examples/testcaserun_skipped.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.skipped.0.1.0-draft", + "type": "dev.cdevents.testcaserun.skipped.0.1.0", "timestamp": "2023-03-20T14:27:05.315384Z" }, "subject": { diff --git a/examples/testcaserun_started.json b/examples/testcaserun_started.json index 5d4b2549..f9f5c48a 100644 --- a/examples/testcaserun_started.json +++ b/examples/testcaserun_started.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testcaserun.started.0.2.0-draft", + "type": "dev.cdevents.testcaserun.started.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testoutput_published.json b/examples/testoutput_published.json index 9927552d..ce6ecccf 100644 --- a/examples/testoutput_published.json +++ b/examples/testoutput_published.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testoutput.published.0.2.0-draft", + "type": "dev.cdevents.testoutput.published.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testsuiterun_finished.json b/examples/testsuiterun_finished.json index d9a1ad2a..d5a08639 100644 --- a/examples/testsuiterun_finished.json +++ b/examples/testsuiterun_finished.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testsuiterun.finished.0.2.0-draft", + "type": "dev.cdevents.testsuiterun.finished.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testsuiterun_queued.json b/examples/testsuiterun_queued.json index 57c3c054..7b57c247 100644 --- a/examples/testsuiterun_queued.json +++ b/examples/testsuiterun_queued.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testsuiterun.queued.0.2.0-draft", + "type": "dev.cdevents.testsuiterun.queued.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/testsuiterun_started.json b/examples/testsuiterun_started.json index 253ebc69..3173d506 100644 --- a/examples/testsuiterun_started.json +++ b/examples/testsuiterun_started.json @@ -1,10 +1,10 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chain_id": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", - "type": "dev.cdevents.testsuiterun.started.0.2.0-draft", + "type": "dev.cdevents.testsuiterun.started.0.2.0", "timestamp": "2023-03-20T14:27:05.315384Z", "schemaUri": "https://myorg.com/schema/custom" }, diff --git a/examples/ticket_closed.json b/examples/ticket_closed.json index f8da5364..7c7dd405 100644 --- a/examples/ticket_closed.json +++ b/examples/ticket_closed.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/ticketing/system", - "type": "dev.cdevents.ticket.closed.0.1.0-draft", + "type": "dev.cdevents.ticket.closed.0.1.0", "timestamp": "2022-11-11T13:52:20.079Z" }, "subject": { diff --git a/examples/ticket_created.json b/examples/ticket_created.json index 4cbd599f..334d67c7 100644 --- a/examples/ticket_created.json +++ b/examples/ticket_created.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/ticketing/system", - "type": "dev.cdevents.ticket.created.0.1.0-draft", + "type": "dev.cdevents.ticket.created.0.1.0", "timestamp": "2022-11-11T13:52:20.079Z" }, "subject": { diff --git a/examples/ticket_updated.json b/examples/ticket_updated.json index 60595ee7..a1053e7a 100644 --- a/examples/ticket_updated.json +++ b/examples/ticket_updated.json @@ -1,9 +1,9 @@ { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/ticketing/system", - "type": "dev.cdevents.ticket.updated.0.1.0-draft", + "type": "dev.cdevents.ticket.updated.0.1.0", "timestamp": "2022-11-11T13:52:20.079Z" }, "subject": { diff --git a/links.md b/links.md index d2d35896..c7795e02 100644 --- a/links.md +++ b/links.md @@ -129,7 +129,7 @@ between CDEvents. ```json { "context": { - "version": "0.3.0-draft", + "version": "0.4.0", "id": "505b31c2-8bc8-47b3-a1a0-269d7a8530ac", "source": "dev/jenkins", "type": "dev.cdevents.testsuite.finished.0.1.1", @@ -370,7 +370,7 @@ help explain the overall flow using payloads from CDEvents. ```json { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "chain_id": "d0be0005-cca7-4175-8fe3-f64d2f27bc01", "id": "38a09112-a1ab-4c26-94c4-edfc234ef631", "source": "/event/source/123", @@ -420,7 +420,7 @@ sender generates this id. ```json { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "chain_id": "d0be0005-cca7-4175-8fe3-f64d2f27bc01", "id": "AA6945F8-B0F1-48DD-B658-25ACF95BD2F5", "source": "/event/source/123", diff --git a/schemas/artifactdeleted.json b/schemas/artifactdeleted.json index 767a3b7e..c65ff4c9 100644 --- a/schemas/artifactdeleted.json +++ b/schemas/artifactdeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/artifact-deleted-event", + "$id": "https://cdevents.dev/0.4.0/schema/artifact-deleted-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.artifact.deleted.0.1.0-draft" + "dev.cdevents.artifact.deleted.0.1.0" ], - "default": "dev.cdevents.artifact.deleted.0.1.0-draft" + "default": "dev.cdevents.artifact.deleted.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/artifactdownloaded.json b/schemas/artifactdownloaded.json index 854d435e..64c6bc96 100644 --- a/schemas/artifactdownloaded.json +++ b/schemas/artifactdownloaded.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/artifact-downloaded-event", + "$id": "https://cdevents.dev/0.4.0/schema/artifact-downloaded-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.artifact.downloaded.0.1.0-draft" + "dev.cdevents.artifact.downloaded.0.1.0" ], - "default": "dev.cdevents.artifact.downloaded.0.1.0-draft" + "default": "dev.cdevents.artifact.downloaded.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/artifactpackaged.json b/schemas/artifactpackaged.json index 0161d81a..fc0b7bd0 100644 --- a/schemas/artifactpackaged.json +++ b/schemas/artifactpackaged.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/artifact-packaged-event", + "$id": "https://cdevents.dev/0.4.0/schema/artifact-packaged-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.artifact.packaged.0.2.0-draft" + "dev.cdevents.artifact.packaged.0.2.0" ], - "default": "dev.cdevents.artifact.packaged.0.2.0-draft" + "default": "dev.cdevents.artifact.packaged.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/artifactpublished.json b/schemas/artifactpublished.json index a3a2994f..1873ea7c 100644 --- a/schemas/artifactpublished.json +++ b/schemas/artifactpublished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/artifact-published-event", + "$id": "https://cdevents.dev/0.4.0/schema/artifact-published-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.artifact.published.0.2.0-draft" + "dev.cdevents.artifact.published.0.2.0" ], - "default": "dev.cdevents.artifact.published.0.2.0-draft" + "default": "dev.cdevents.artifact.published.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/artifactsigned.json b/schemas/artifactsigned.json index d0b8f74b..329e8264 100644 --- a/schemas/artifactsigned.json +++ b/schemas/artifactsigned.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/artifact-signed-event", + "$id": "https://cdevents.dev/0.4.0/schema/artifact-signed-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.artifact.signed.0.2.0-draft" + "dev.cdevents.artifact.signed.0.2.0" ], - "default": "dev.cdevents.artifact.signed.0.2.0-draft" + "default": "dev.cdevents.artifact.signed.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/branchcreated.json b/schemas/branchcreated.json index 3f2bab6f..e9b3bce8 100644 --- a/schemas/branchcreated.json +++ b/schemas/branchcreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/branch-created-event", + "$id": "https://cdevents.dev/0.4.0/schema/branch-created-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.branch.created.0.2.0-draft" + "dev.cdevents.branch.created.0.2.0" ], - "default": "dev.cdevents.branch.created.0.2.0-draft" + "default": "dev.cdevents.branch.created.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/branchdeleted.json b/schemas/branchdeleted.json index e5b6901b..7fd48f44 100644 --- a/schemas/branchdeleted.json +++ b/schemas/branchdeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/branch-deleted-event", + "$id": "https://cdevents.dev/0.4.0/schema/branch-deleted-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.branch.deleted.0.2.0-draft" + "dev.cdevents.branch.deleted.0.2.0" ], - "default": "dev.cdevents.branch.deleted.0.2.0-draft" + "default": "dev.cdevents.branch.deleted.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/buildfinished.json b/schemas/buildfinished.json index 043edae6..efdfeb9a 100644 --- a/schemas/buildfinished.json +++ b/schemas/buildfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/build-finished-event", + "$id": "https://cdevents.dev/0.4.0/schema/build-finished-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.build.finished.0.2.0-draft" + "dev.cdevents.build.finished.0.2.0" ], - "default": "dev.cdevents.build.finished.0.2.0-draft" + "default": "dev.cdevents.build.finished.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/buildqueued.json b/schemas/buildqueued.json index 3bbdc479..e7251c18 100644 --- a/schemas/buildqueued.json +++ b/schemas/buildqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/build-queued-event", + "$id": "https://cdevents.dev/0.4.0/schema/build-queued-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.build.queued.0.2.0-draft" + "dev.cdevents.build.queued.0.2.0" ], - "default": "dev.cdevents.build.queued.0.2.0-draft" + "default": "dev.cdevents.build.queued.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/buildstarted.json b/schemas/buildstarted.json index a4187730..1131f785 100644 --- a/schemas/buildstarted.json +++ b/schemas/buildstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/build-started-event", + "$id": "https://cdevents.dev/0.4.0/schema/build-started-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.build.started.0.2.0-draft" + "dev.cdevents.build.started.0.2.0" ], - "default": "dev.cdevents.build.started.0.2.0-draft" + "default": "dev.cdevents.build.started.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/changeabandoned.json b/schemas/changeabandoned.json index 3d0efcf2..05ed7deb 100644 --- a/schemas/changeabandoned.json +++ b/schemas/changeabandoned.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/change-abandoned-event", + "$id": "https://cdevents.dev/0.4.0/schema/change-abandoned-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.change.abandoned.0.2.0-draft" + "dev.cdevents.change.abandoned.0.2.0" ], - "default": "dev.cdevents.change.abandoned.0.2.0-draft" + "default": "dev.cdevents.change.abandoned.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/changecreated.json b/schemas/changecreated.json index fabd921e..5c6dd60b 100644 --- a/schemas/changecreated.json +++ b/schemas/changecreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/change-created-event", + "$id": "https://cdevents.dev/0.4.0/schema/change-created-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.change.created.0.3.0-draft" + "dev.cdevents.change.created.0.3.0" ], - "default": "dev.cdevents.change.created.0.3.0-draft" + "default": "dev.cdevents.change.created.0.3.0" }, "timestamp": { "type": "string", diff --git a/schemas/changemerged.json b/schemas/changemerged.json index 6d129a6f..cb89ea83 100644 --- a/schemas/changemerged.json +++ b/schemas/changemerged.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/change-merged-event", + "$id": "https://cdevents.dev/0.4.0/schema/change-merged-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.change.merged.0.2.0-draft" + "dev.cdevents.change.merged.0.2.0" ], - "default": "dev.cdevents.change.merged.0.2.0-draft" + "default": "dev.cdevents.change.merged.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/changereviewed.json b/schemas/changereviewed.json index ad159d84..0f9f0c75 100644 --- a/schemas/changereviewed.json +++ b/schemas/changereviewed.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/change-reviewed-event", + "$id": "https://cdevents.dev/0.4.0/schema/change-reviewed-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.change.reviewed.0.2.0-draft" + "dev.cdevents.change.reviewed.0.2.0" ], - "default": "dev.cdevents.change.reviewed.0.2.0-draft" + "default": "dev.cdevents.change.reviewed.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/changeupdated.json b/schemas/changeupdated.json index eee7499b..af0897c0 100644 --- a/schemas/changeupdated.json +++ b/schemas/changeupdated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/change-updated-event", + "$id": "https://cdevents.dev/0.4.0/schema/change-updated-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.change.updated.0.2.0-draft" + "dev.cdevents.change.updated.0.2.0" ], - "default": "dev.cdevents.change.updated.0.2.0-draft" + "default": "dev.cdevents.change.updated.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/environmentcreated.json b/schemas/environmentcreated.json index 2cd5530f..00093311 100644 --- a/schemas/environmentcreated.json +++ b/schemas/environmentcreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/environment-created-event", + "$id": "https://cdevents.dev/0.4.0/schema/environment-created-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.environment.created.0.2.0-draft" + "dev.cdevents.environment.created.0.2.0" ], - "default": "dev.cdevents.environment.created.0.2.0-draft" + "default": "dev.cdevents.environment.created.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/environmentdeleted.json b/schemas/environmentdeleted.json index fed91fa3..53ab8de7 100644 --- a/schemas/environmentdeleted.json +++ b/schemas/environmentdeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/environment-deleted-event", + "$id": "https://cdevents.dev/0.4.0/schema/environment-deleted-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.environment.deleted.0.2.0-draft" + "dev.cdevents.environment.deleted.0.2.0" ], - "default": "dev.cdevents.environment.deleted.0.2.0-draft" + "default": "dev.cdevents.environment.deleted.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/environmentmodified.json b/schemas/environmentmodified.json index 6e8c9cfb..1c44b715 100644 --- a/schemas/environmentmodified.json +++ b/schemas/environmentmodified.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/environment-modified-event", + "$id": "https://cdevents.dev/0.4.0/schema/environment-modified-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.environment.modified.0.2.0-draft" + "dev.cdevents.environment.modified.0.2.0" ], - "default": "dev.cdevents.environment.modified.0.2.0-draft" + "default": "dev.cdevents.environment.modified.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/incidentdetected.json b/schemas/incidentdetected.json index dcddd4fb..038e6fc5 100644 --- a/schemas/incidentdetected.json +++ b/schemas/incidentdetected.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/incident-detected-event", + "$id": "https://cdevents.dev/0.4.0/schema/incident-detected-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.incident.detected.0.2.0-draft" + "dev.cdevents.incident.detected.0.2.0" ], - "default": "dev.cdevents.incident.detected.0.2.0-draft" + "default": "dev.cdevents.incident.detected.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/incidentreported.json b/schemas/incidentreported.json index 53543e49..ef4af5bc 100644 --- a/schemas/incidentreported.json +++ b/schemas/incidentreported.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/incident-reported-event", + "$id": "https://cdevents.dev/0.4.0/schema/incident-reported-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.incident.reported.0.2.0-draft" + "dev.cdevents.incident.reported.0.2.0" ], - "default": "dev.cdevents.incident.reported.0.2.0-draft" + "default": "dev.cdevents.incident.reported.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/incidentresolved.json b/schemas/incidentresolved.json index 46ab6a1f..ebb17304 100644 --- a/schemas/incidentresolved.json +++ b/schemas/incidentresolved.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/incident-resolved-event", + "$id": "https://cdevents.dev/0.4.0/schema/incident-resolved-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.incident.resolved.0.2.0-draft" + "dev.cdevents.incident.resolved.0.2.0" ], - "default": "dev.cdevents.incident.resolved.0.2.0-draft" + "default": "dev.cdevents.incident.resolved.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/pipelinerunfinished.json b/schemas/pipelinerunfinished.json index ffcb45c6..db8c77c1 100644 --- a/schemas/pipelinerunfinished.json +++ b/schemas/pipelinerunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/pipeline-run-finished-event", + "$id": "https://cdevents.dev/0.4.0/schema/pipeline-run-finished-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.pipelinerun.finished.0.2.0-draft" + "dev.cdevents.pipelinerun.finished.0.2.0" ], - "default": "dev.cdevents.pipelinerun.finished.0.2.0-draft" + "default": "dev.cdevents.pipelinerun.finished.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/pipelinerunqueued.json b/schemas/pipelinerunqueued.json index 899beb21..636c14e4 100644 --- a/schemas/pipelinerunqueued.json +++ b/schemas/pipelinerunqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/pipeline-run-queued-event", + "$id": "https://cdevents.dev/0.4.0/schema/pipeline-run-queued-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.pipelinerun.queued.0.2.0-draft" + "dev.cdevents.pipelinerun.queued.0.2.0" ], - "default": "dev.cdevents.pipelinerun.queued.0.2.0-draft" + "default": "dev.cdevents.pipelinerun.queued.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/pipelinerunstarted.json b/schemas/pipelinerunstarted.json index 257e13d6..6bc193c0 100644 --- a/schemas/pipelinerunstarted.json +++ b/schemas/pipelinerunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/pipeline-run-started-event", + "$id": "https://cdevents.dev/0.4.0/schema/pipeline-run-started-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.pipelinerun.started.0.2.0-draft" + "dev.cdevents.pipelinerun.started.0.2.0" ], - "default": "dev.cdevents.pipelinerun.started.0.2.0-draft" + "default": "dev.cdevents.pipelinerun.started.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/repositorycreated.json b/schemas/repositorycreated.json index edb91bd0..913eb9c1 100644 --- a/schemas/repositorycreated.json +++ b/schemas/repositorycreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/repository-created-event", + "$id": "https://cdevents.dev/0.4.0/schema/repository-created-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.repository.created.0.2.0-draft" + "dev.cdevents.repository.created.0.2.0" ], - "default": "dev.cdevents.repository.created.0.2.0-draft" + "default": "dev.cdevents.repository.created.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/repositorydeleted.json b/schemas/repositorydeleted.json index 1e8852ce..9877b64f 100644 --- a/schemas/repositorydeleted.json +++ b/schemas/repositorydeleted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/repository-deleted-event", + "$id": "https://cdevents.dev/0.4.0/schema/repository-deleted-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.repository.deleted.0.2.0-draft" + "dev.cdevents.repository.deleted.0.2.0" ], - "default": "dev.cdevents.repository.deleted.0.2.0-draft" + "default": "dev.cdevents.repository.deleted.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/repositorymodified.json b/schemas/repositorymodified.json index 7a3fdbc7..1fce9213 100644 --- a/schemas/repositorymodified.json +++ b/schemas/repositorymodified.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/repository-modified-event", + "$id": "https://cdevents.dev/0.4.0/schema/repository-modified-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.repository.modified.0.2.0-draft" + "dev.cdevents.repository.modified.0.2.0" ], - "default": "dev.cdevents.repository.modified.0.2.0-draft" + "default": "dev.cdevents.repository.modified.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/servicedeployed.json b/schemas/servicedeployed.json index 6cbab4c0..2ef30cab 100644 --- a/schemas/servicedeployed.json +++ b/schemas/servicedeployed.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/service-deployed-event", + "$id": "https://cdevents.dev/0.4.0/schema/service-deployed-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.service.deployed.0.2.0-draft" + "dev.cdevents.service.deployed.0.2.0" ], - "default": "dev.cdevents.service.deployed.0.2.0-draft" + "default": "dev.cdevents.service.deployed.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/servicepublished.json b/schemas/servicepublished.json index f9ed5b3e..a5b44ba0 100644 --- a/schemas/servicepublished.json +++ b/schemas/servicepublished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/service-published-event", + "$id": "https://cdevents.dev/0.4.0/schema/service-published-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.service.published.0.2.0-draft" + "dev.cdevents.service.published.0.2.0" ], - "default": "dev.cdevents.service.published.0.2.0-draft" + "default": "dev.cdevents.service.published.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/serviceremoved.json b/schemas/serviceremoved.json index 1875cd87..8745d654 100644 --- a/schemas/serviceremoved.json +++ b/schemas/serviceremoved.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/service-removed-event", + "$id": "https://cdevents.dev/0.4.0/schema/service-removed-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.service.removed.0.2.0-draft" + "dev.cdevents.service.removed.0.2.0" ], - "default": "dev.cdevents.service.removed.0.2.0-draft" + "default": "dev.cdevents.service.removed.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/servicerolledback.json b/schemas/servicerolledback.json index debcd535..cf7c08e1 100644 --- a/schemas/servicerolledback.json +++ b/schemas/servicerolledback.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/service-rolledback-event", + "$id": "https://cdevents.dev/0.4.0/schema/service-rolledback-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.service.rolledback.0.2.0-draft" + "dev.cdevents.service.rolledback.0.2.0" ], - "default": "dev.cdevents.service.rolledback.0.2.0-draft" + "default": "dev.cdevents.service.rolledback.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/serviceupgraded.json b/schemas/serviceupgraded.json index b00bb448..13827881 100644 --- a/schemas/serviceupgraded.json +++ b/schemas/serviceupgraded.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/service-upgraded-event", + "$id": "https://cdevents.dev/0.4.0/schema/service-upgraded-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.service.upgraded.0.2.0-draft" + "dev.cdevents.service.upgraded.0.2.0" ], - "default": "dev.cdevents.service.upgraded.0.2.0-draft" + "default": "dev.cdevents.service.upgraded.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/taskrunfinished.json b/schemas/taskrunfinished.json index b5b77d29..935940bb 100644 --- a/schemas/taskrunfinished.json +++ b/schemas/taskrunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/task-run-finished-event", + "$id": "https://cdevents.dev/0.4.0/schema/task-run-finished-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.taskrun.finished.0.2.0-draft" + "dev.cdevents.taskrun.finished.0.2.0" ], - "default": "dev.cdevents.taskrun.finished.0.2.0-draft" + "default": "dev.cdevents.taskrun.finished.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/taskrunstarted.json b/schemas/taskrunstarted.json index 95de4c35..ac0619f7 100644 --- a/schemas/taskrunstarted.json +++ b/schemas/taskrunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/task-run-started-event", + "$id": "https://cdevents.dev/0.4.0/schema/task-run-started-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.taskrun.started.0.2.0-draft" + "dev.cdevents.taskrun.started.0.2.0" ], - "default": "dev.cdevents.taskrun.started.0.2.0-draft" + "default": "dev.cdevents.taskrun.started.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testcaserunfinished.json b/schemas/testcaserunfinished.json index 3bcbd2ef..5962f441 100644 --- a/schemas/testcaserunfinished.json +++ b/schemas/testcaserunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-case-run-finished-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-case-run-finished-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.finished.0.2.0-draft" + "dev.cdevents.testcaserun.finished.0.2.0" ], - "default": "dev.cdevents.testcaserun.finished.0.2.0-draft" + "default": "dev.cdevents.testcaserun.finished.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testcaserunqueued.json b/schemas/testcaserunqueued.json index 40b54d08..b109f70e 100644 --- a/schemas/testcaserunqueued.json +++ b/schemas/testcaserunqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-case-run-queued-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-case-run-queued-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.queued.0.2.0-draft" + "dev.cdevents.testcaserun.queued.0.2.0" ], - "default": "dev.cdevents.testcaserun.queued.0.2.0-draft" + "default": "dev.cdevents.testcaserun.queued.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testcaserunskipped.json b/schemas/testcaserunskipped.json index 94ad80dd..95137ff8 100644 --- a/schemas/testcaserunskipped.json +++ b/schemas/testcaserunskipped.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-case-run-skipped-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-case-run-skipped-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.skipped.0.1.0-draft" + "dev.cdevents.testcaserun.skipped.0.1.0" ], - "default": "dev.cdevents.testcaserun.skipped.0.1.0-draft" + "default": "dev.cdevents.testcaserun.skipped.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/testcaserunstarted.json b/schemas/testcaserunstarted.json index 7b598e41..963a48cc 100644 --- a/schemas/testcaserunstarted.json +++ b/schemas/testcaserunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-case-run-started-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-case-run-started-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testcaserun.started.0.2.0-draft" + "dev.cdevents.testcaserun.started.0.2.0" ], - "default": "dev.cdevents.testcaserun.started.0.2.0-draft" + "default": "dev.cdevents.testcaserun.started.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testoutputpublished.json b/schemas/testoutputpublished.json index 6f86d4e7..bb8d10e5 100644 --- a/schemas/testoutputpublished.json +++ b/schemas/testoutputpublished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-output-published-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-output-published-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testoutput.published.0.2.0-draft" + "dev.cdevents.testoutput.published.0.2.0" ], - "default": "dev.cdevents.testoutput.published.0.2.0-draft" + "default": "dev.cdevents.testoutput.published.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testsuiterunfinished.json b/schemas/testsuiterunfinished.json index 677aafff..782d64a3 100644 --- a/schemas/testsuiterunfinished.json +++ b/schemas/testsuiterunfinished.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-suite-run-finished-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-suite-run-finished-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testsuiterun.finished.0.2.0-draft" + "dev.cdevents.testsuiterun.finished.0.2.0" ], - "default": "dev.cdevents.testsuiterun.finished.0.2.0-draft" + "default": "dev.cdevents.testsuiterun.finished.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testsuiterunqueued.json b/schemas/testsuiterunqueued.json index 612dfe9b..abefe718 100644 --- a/schemas/testsuiterunqueued.json +++ b/schemas/testsuiterunqueued.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-suite-run-queued-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-suite-run-queued-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testsuiterun.queued.0.2.0-draft" + "dev.cdevents.testsuiterun.queued.0.2.0" ], - "default": "dev.cdevents.testsuiterun.queued.0.2.0-draft" + "default": "dev.cdevents.testsuiterun.queued.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/testsuiterunstarted.json b/schemas/testsuiterunstarted.json index 25854b30..bef07143 100644 --- a/schemas/testsuiterunstarted.json +++ b/schemas/testsuiterunstarted.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/test-suite-run-started-event", + "$id": "https://cdevents.dev/0.4.0/schema/test-suite-run-started-event", "properties": { "context": { "properties": { @@ -19,9 +19,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.testsuiterun.started.0.2.0-draft" + "dev.cdevents.testsuiterun.started.0.2.0" ], - "default": "dev.cdevents.testsuiterun.started.0.2.0-draft" + "default": "dev.cdevents.testsuiterun.started.0.2.0" }, "timestamp": { "type": "string", diff --git a/schemas/ticketclosed.json b/schemas/ticketclosed.json index d3aedab8..8b670ac8 100644 --- a/schemas/ticketclosed.json +++ b/schemas/ticketclosed.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/ticket-closed-event", + "$id": "https://cdevents.dev/0.4.0/schema/ticket-closed-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.ticket.closed.0.1.0-draft" + "dev.cdevents.ticket.closed.0.1.0" ], - "default": "dev.cdevents.ticket.closed.0.1.0-draft" + "default": "dev.cdevents.ticket.closed.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/ticketcreated.json b/schemas/ticketcreated.json index a7c8d650..d54dd18b 100644 --- a/schemas/ticketcreated.json +++ b/schemas/ticketcreated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/ticket-created-event", + "$id": "https://cdevents.dev/0.4.0/schema/ticket-created-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.ticket.created.0.1.0-draft" + "dev.cdevents.ticket.created.0.1.0" ], - "default": "dev.cdevents.ticket.created.0.1.0-draft" + "default": "dev.cdevents.ticket.created.0.1.0" }, "timestamp": { "type": "string", diff --git a/schemas/ticketupdated.json b/schemas/ticketupdated.json index 985e4ec3..8f3ca300 100644 --- a/schemas/ticketupdated.json +++ b/schemas/ticketupdated.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://cdevents.dev/0.4.0-draft/schema/ticket-updated-event", + "$id": "https://cdevents.dev/0.4.0/schema/ticket-updated-event", "properties": { "context": { "properties": { @@ -20,9 +20,9 @@ "type": { "type": "string", "enum": [ - "dev.cdevents.ticket.updated.0.1.0-draft" + "dev.cdevents.ticket.updated.0.1.0" ], - "default": "dev.cdevents.ticket.updated.0.1.0-draft" + "default": "dev.cdevents.ticket.updated.0.1.0" }, "timestamp": { "type": "string", diff --git a/source-code-version-control.md b/source-code-version-control.md index 07fc56d9..be090894 100644 --- a/source-code-version-control.md +++ b/source-code-version-control.md @@ -67,7 +67,7 @@ A `change` identifies a proposed set of changes to the content of a `repository` A new Source Code Repository was created to host source code for a project. -- Event Type: __`dev.cdevents.repository.created.0.2.0-draft`__ +- Event Type: __`dev.cdevents.repository.created.0.2.0`__ - Predicate: created - Subject: [`repository`](#repository) @@ -85,7 +85,7 @@ A new Source Code Repository was created to host source code for a project. A Source Code Repository modified some of its attributes, like location, or owner. -- Event Type: __`dev.cdevents.repository.modified.0.2.0-draft`__ +- Event Type: __`dev.cdevents.repository.modified.0.2.0`__ - Predicate: modified - Subject: [`repository`](#repository) @@ -101,7 +101,7 @@ A Source Code Repository modified some of its attributes, like location, or owne ### [`repository deleted`](examples/repository_deleted.json) -- Event Type: __`dev.cdevents.repository.deleted.0.2.0-draft`__ +- Event Type: __`dev.cdevents.repository.deleted.0.2.0`__ - Predicate: modified - Subject: [`repository`](#repository) @@ -119,7 +119,7 @@ A Source Code Repository modified some of its attributes, like location, or owne A branch inside the Repository was created. -- Event Type: __`dev.cdevents.branch.created.0.2.0-draft`__ +- Event Type: __`dev.cdevents.branch.created.0.2.0`__ - Predicate: created - Subject: [`branch`](#branch) @@ -134,7 +134,7 @@ A branch inside the Repository was created. A branch inside the Repository was deleted. -- Event Type: __`dev.cdevents.branch.deleted.0.2.0-draft`__ +- Event Type: __`dev.cdevents.branch.deleted.0.2.0`__ - Predicate: deleted - Subject: [`branch`](#branch) @@ -149,7 +149,7 @@ A branch inside the Repository was deleted. A source code change was created and submitted to a repository specific branch. Examples: PullRequest sent to Github, MergeRequest sent to Gitlab, Change created in Gerrit. -- Event Type: __`dev.cdevents.change.created.0.3.0-draft`__ +- Event Type: __`dev.cdevents.change.created.0.3.0`__ - Predicate: created - Subject: [`change`](#change) @@ -165,7 +165,7 @@ A source code change was created and submitted to a repository specific branch. Someone (user) or an automated system submitted an review to the source code change. A user or an automated system needs to be in charge of understanding how many approvals/rejections are needed for this change to be merged or rejected. The review event needs to include if the change is approved by the reviewer, more changes are needed or if the change is rejected. -- Event Type: __`dev.cdevents.change.reviewed.0.2.0-draft`__ +- Event Type: __`dev.cdevents.change.reviewed.0.2.0`__ - Predicate: reviewed - Subject: [`change`](#change) @@ -180,7 +180,7 @@ Someone (user) or an automated system submitted an review to the source code cha A change is merged to the target branch where it was submitted. -- Event Type: __`dev.cdevents.change.merged.0.2.0-draft`__ +- Event Type: __`dev.cdevents.change.merged.0.2.0`__ - Predicate: merged - Subject: [`change`](#change) @@ -195,7 +195,7 @@ A change is merged to the target branch where it was submitted. A tool or a user decides that the change has been inactive for a while and it can be considered abandoned. -- Event Type: __`dev.cdevents.change.abandoned.0.2.0-draft`__ +- Event Type: __`dev.cdevents.change.abandoned.0.2.0`__ - Predicate: abandoned - Subject: [`change`](#change) @@ -210,7 +210,7 @@ A tool or a user decides that the change has been inactive for a while and it ca A Change has been updated, for example a new commit is added or removed from an existing Change. -- Event Type: __`dev.cdevents.change.updated.0.2.0-draft`__ +- Event Type: __`dev.cdevents.change.updated.0.2.0`__ - Predicate: updated - Subject: [`change`](#change) diff --git a/spec.md b/spec.md index 112b67dc..5032ef15 100644 --- a/spec.md +++ b/spec.md @@ -371,7 +371,7 @@ This is an example of a full CDEvent context, rendered in JSON format: ```json { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started.0.2.0", @@ -457,7 +457,7 @@ The following example shows `context` and `subject` together, rendered as JSON. ```json { "context": { - "version": "0.4.0-draft", + "version": "0.4.0", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started.0.2.0", diff --git a/testing-events.md b/testing-events.md index ee2590c4..8caccb2e 100644 --- a/testing-events.md +++ b/testing-events.md @@ -75,7 +75,7 @@ One or more `testOutput` artifacts are usually produced as the result of a test This event represents when a testCaseRun has been queued for execution - and is waiting for applicable preconditions (resource availability, other tasks, etc.) to be fulfilled before actually executing. -- Event Type: __`dev.cdevents.testcaserun.queued.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.queued.0.2.0`__ - Predicate: queued - Subject: [`testCaseRun`](#testcaserun) @@ -92,7 +92,7 @@ This event represents when a testCaseRun has been queued for execution - and is This event represents a started testCase execution. -- Event Type: __`dev.cdevents.testcaserun.started.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.started.0.2.0`__ - Predicate: started - Subject: [`testCaseRun`](#testcaserun) @@ -109,7 +109,7 @@ This event represents a started testCase execution. This event represents a finished testCase execution. The event will contain the outcome and additional metadata as applicable. -- Event Type: __`dev.cdevents.testcaserun.finished.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.finished.0.2.0`__ - Predicate: finished - Subject: [`testCaseRun`](#testcaserun) @@ -128,7 +128,7 @@ This event represents a finished testCase execution. The event will contain the This event represents a skipped testCaseRun execution. The event should only be emitted if there has been no prior "queued" or "started" event. -- Event Type: __`dev.cdevents.testcaserun.skipped.0.1.0-draft`__ +- Event Type: __`dev.cdevents.testcaserun.skipped.0.1.0`__ - Predicate: skipped - Subject: [`testCaseRun`](#testcaserun) @@ -147,7 +147,7 @@ This event represents a skipped testCaseRun execution. The event should only be This event represents when a testSuiteRun has been queued for execution - and is waiting for applicable preconditions (resource availability, other tasks, etc.) to be met before actually executing. -- Event Type: __`dev.cdevents.testsuiterun.queued.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testsuiterun.queued.0.2.0`__ - Predicate: queued - Subject: [`testSuiteRun`](#testsuiterun) @@ -163,7 +163,7 @@ This event represents when a testSuiteRun has been queued for execution - and is This event represents a started testSuite execution. -- Event Type: __`dev.cdevents.testsuiterun.started.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testsuiterun.started.0.2.0`__ - Predicate: started - Subject: [`testSuiteRun`](#testsuiterun) @@ -179,7 +179,7 @@ This event represents a started testSuite execution. This event represents a finished testSuite execution. The event will contain the outcome and additional metadata as applicable. -- Event Type: __`dev.cdevents.testsuiterun.finished.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testsuiterun.finished.0.2.0`__ - Predicate: finished - Subject: [`testSuiteRun`](#testsuiterun) @@ -197,7 +197,7 @@ This event represents a finished testSuite execution. The event will contain the The event represents a test execution output that has been published. -- Event Type: __`dev.cdevents.testoutput.published.0.2.0-draft`__ +- Event Type: __`dev.cdevents.testoutput.published.0.2.0`__ - Predicate: published - Subject: [`testOutput`](#testoutput) diff --git a/tools/spec-release.sh b/tools/spec-release.sh index 4dfc6288..0c4333d4 100755 --- a/tools/spec-release.sh +++ b/tools/spec-release.sh @@ -151,6 +151,11 @@ find schemas -name '*json' | \ find examples -name '*json' | \ xargs sed -i ".backup" -e 's,"version": "'${OLD_VERSION}'","version": "'${VERSION}'",g' +# Replace the version in the custom events schema ID +find custom -name '*json' | \ + xargs sed -i ".backup" -e 's,https://cdevents.dev/'${OLD_VERSION}'/schema/,https://cdevents.dev/'${VERSION}'/schema/,g' + + # Update examples in docs for doc in cloudevents-binding spec; do sed -i ".backup" -e 's;"version": "'${OLD_VERSION}'",;"version": "'${VERSION}'",;g' "${doc}.md" diff --git a/version.txt b/version.txt index 18e17a3c..1d0ba9ea 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.4.0-draft +0.4.0