From 77280b93a706c94b7b8464857112149bc01c9719 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Thu, 6 Nov 2025 10:43:34 +0000 Subject: [PATCH] Change context/version to context/specversion Rename context/version to context/specversion to avoid confusion between the specification version and the event version. Fixes: #112 Signed-off-by: Andrea Frittoli --- cloudevents-binding.md | 2 +- conformance/artifact_deleted.json | 2 +- conformance/artifact_downloaded.json | 2 +- conformance/artifact_packaged.json | 2 +- conformance/artifact_published.json | 2 +- conformance/artifact_signed.json | 2 +- conformance/branch_created.json | 2 +- conformance/branch_deleted.json | 2 +- conformance/build_finished.json | 2 +- conformance/build_queued.json | 2 +- conformance/build_started.json | 2 +- conformance/change_abandoned.json | 2 +- conformance/change_created.json | 2 +- conformance/change_merged.json | 2 +- conformance/change_reviewed.json | 2 +- conformance/change_updated.json | 2 +- conformance/environment_created.json | 2 +- conformance/environment_deleted.json | 2 +- conformance/environment_modified.json | 2 +- conformance/incident_detected.json | 2 +- conformance/incident_reported.json | 2 +- conformance/incident_resolved.json | 2 +- conformance/pipelinerun_finished.json | 2 +- conformance/pipelinerun_queued.json | 2 +- conformance/pipelinerun_started.json | 2 +- conformance/repository_created.json | 2 +- conformance/repository_deleted.json | 2 +- conformance/repository_modified.json | 2 +- conformance/service_deployed.json | 2 +- conformance/service_published.json | 2 +- conformance/service_removed.json | 2 +- conformance/service_rolledback.json | 2 +- conformance/service_upgraded.json | 2 +- conformance/taskrun_finished.json | 2 +- conformance/taskrun_started.json | 2 +- conformance/testcaserun_finished.json | 2 +- conformance/testcaserun_queued.json | 2 +- conformance/testcaserun_skipped.json | 2 +- conformance/testcaserun_started.json | 2 +- conformance/testoutput_published.json | 2 +- conformance/testsuiterun_finished.json | 2 +- conformance/testsuiterun_queued.json | 2 +- conformance/testsuiterun_started.json | 2 +- conformance/ticket_closed.json | 2 +- conformance/ticket_created.json | 2 +- conformance/ticket_updated.json | 2 +- custom/README.md | 2 +- custom/conformance.json | 2 +- custom/schema.json | 4 ++-- links.md | 10 +++++----- schemas/artifactdeleted.json | 4 ++-- schemas/artifactdownloaded.json | 4 ++-- schemas/artifactpackaged.json | 4 ++-- schemas/artifactpublished.json | 4 ++-- schemas/artifactsigned.json | 4 ++-- schemas/branchcreated.json | 4 ++-- schemas/branchdeleted.json | 4 ++-- schemas/buildfinished.json | 4 ++-- schemas/buildqueued.json | 4 ++-- schemas/buildstarted.json | 4 ++-- schemas/changeabandoned.json | 4 ++-- schemas/changecreated.json | 4 ++-- schemas/changemerged.json | 4 ++-- schemas/changereviewed.json | 4 ++-- schemas/changeupdated.json | 4 ++-- schemas/environmentcreated.json | 4 ++-- schemas/environmentdeleted.json | 4 ++-- schemas/environmentmodified.json | 4 ++-- schemas/incidentdetected.json | 4 ++-- schemas/incidentreported.json | 4 ++-- schemas/incidentresolved.json | 4 ++-- schemas/pipelinerunfinished.json | 2 +- schemas/pipelinerunqueued.json | 4 ++-- schemas/pipelinerunstarted.json | 4 ++-- schemas/repositorycreated.json | 4 ++-- schemas/repositorydeleted.json | 4 ++-- schemas/repositorymodified.json | 4 ++-- schemas/servicedeployed.json | 4 ++-- schemas/servicepublished.json | 4 ++-- schemas/serviceremoved.json | 4 ++-- schemas/servicerolledback.json | 4 ++-- schemas/serviceupgraded.json | 4 ++-- schemas/taskrunfinished.json | 4 ++-- schemas/taskrunstarted.json | 4 ++-- schemas/testcaserunfinished.json | 2 +- schemas/testcaserunqueued.json | 4 ++-- schemas/testcaserunskipped.json | 4 ++-- schemas/testcaserunstarted.json | 4 ++-- schemas/testoutputpublished.json | 4 ++-- schemas/testsuiterunfinished.json | 2 +- schemas/testsuiterunqueued.json | 4 ++-- schemas/testsuiterunstarted.json | 4 ++-- schemas/ticketclosed.json | 4 ++-- schemas/ticketcreated.json | 4 ++-- schemas/ticketupdated.json | 4 ++-- spec.md | 8 ++++---- 96 files changed, 146 insertions(+), 146 deletions(-) diff --git a/cloudevents-binding.md b/cloudevents-binding.md index c83a79f..43cf296 100644 --- a/cloudevents-binding.md +++ b/cloudevents-binding.md @@ -102,7 +102,7 @@ Content-Length: nnnn { "context": { - "version": "0.3.0", + "specversion": "0.5.0", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started.0.1.1", diff --git a/conformance/artifact_deleted.json b/conformance/artifact_deleted.json index 0b68d3a..5c5dca1 100644 --- a/conformance/artifact_deleted.json +++ b/conformance/artifact_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.artifact.deleted.0.2.0-draft", diff --git a/conformance/artifact_downloaded.json b/conformance/artifact_downloaded.json index c3dd76e..7d5345f 100644 --- a/conformance/artifact_downloaded.json +++ b/conformance/artifact_downloaded.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.artifact.downloaded.0.2.0-draft", diff --git a/conformance/artifact_packaged.json b/conformance/artifact_packaged.json index 81b54de..e63773c 100644 --- a/conformance/artifact_packaged.json +++ b/conformance/artifact_packaged.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/artifact_published.json b/conformance/artifact_published.json index 8416704..dd9a4d0 100644 --- a/conformance/artifact_published.json +++ b/conformance/artifact_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/artifact_signed.json b/conformance/artifact_signed.json index 5430fed..e7db401 100644 --- a/conformance/artifact_signed.json +++ b/conformance/artifact_signed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/branch_created.json b/conformance/branch_created.json index 1c9f64a..be01162 100644 --- a/conformance/branch_created.json +++ b/conformance/branch_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/branch_deleted.json b/conformance/branch_deleted.json index 1533a44..df1946a 100644 --- a/conformance/branch_deleted.json +++ b/conformance/branch_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/build_finished.json b/conformance/build_finished.json index ef5ad2f..04bcdbe 100644 --- a/conformance/build_finished.json +++ b/conformance/build_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/build_queued.json b/conformance/build_queued.json index 57b91b6..eb52e3d 100644 --- a/conformance/build_queued.json +++ b/conformance/build_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/build_started.json b/conformance/build_started.json index 0e01300..53c1ae9 100644 --- a/conformance/build_started.json +++ b/conformance/build_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/change_abandoned.json b/conformance/change_abandoned.json index 326dead..c3cae86 100644 --- a/conformance/change_abandoned.json +++ b/conformance/change_abandoned.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/change_created.json b/conformance/change_created.json index 8e07de9..3c2af71 100644 --- a/conformance/change_created.json +++ b/conformance/change_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/change_merged.json b/conformance/change_merged.json index f8fe171..862b502 100644 --- a/conformance/change_merged.json +++ b/conformance/change_merged.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/change_reviewed.json b/conformance/change_reviewed.json index fea2bba..7cf2d8d 100644 --- a/conformance/change_reviewed.json +++ b/conformance/change_reviewed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/change_updated.json b/conformance/change_updated.json index 8e893b1..1b6e691 100644 --- a/conformance/change_updated.json +++ b/conformance/change_updated.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/environment_created.json b/conformance/environment_created.json index 62493fc..2b77d1f 100644 --- a/conformance/environment_created.json +++ b/conformance/environment_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/environment_deleted.json b/conformance/environment_deleted.json index b9eede1..0412980 100644 --- a/conformance/environment_deleted.json +++ b/conformance/environment_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/environment_modified.json b/conformance/environment_modified.json index c1c260d..8137c14 100644 --- a/conformance/environment_modified.json +++ b/conformance/environment_modified.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/incident_detected.json b/conformance/incident_detected.json index a364bf3..1124311 100644 --- a/conformance/incident_detected.json +++ b/conformance/incident_detected.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/monitoring/prod1", diff --git a/conformance/incident_reported.json b/conformance/incident_reported.json index bfd13ed..43e2359 100644 --- a/conformance/incident_reported.json +++ b/conformance/incident_reported.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/monitoring/prod1", diff --git a/conformance/incident_resolved.json b/conformance/incident_resolved.json index fe78854..c565281 100644 --- a/conformance/incident_resolved.json +++ b/conformance/incident_resolved.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/monitoring/prod1", diff --git a/conformance/pipelinerun_finished.json b/conformance/pipelinerun_finished.json index ff86b41..5d37504 100644 --- a/conformance/pipelinerun_finished.json +++ b/conformance/pipelinerun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/pipelinerun_queued.json b/conformance/pipelinerun_queued.json index e8171e3..4125860 100644 --- a/conformance/pipelinerun_queued.json +++ b/conformance/pipelinerun_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/pipelinerun_started.json b/conformance/pipelinerun_started.json index cd054bf..cf8407f 100644 --- a/conformance/pipelinerun_started.json +++ b/conformance/pipelinerun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/repository_created.json b/conformance/repository_created.json index 167c89b..407f089 100644 --- a/conformance/repository_created.json +++ b/conformance/repository_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/repository_deleted.json b/conformance/repository_deleted.json index 5368b1b..276b0a9 100644 --- a/conformance/repository_deleted.json +++ b/conformance/repository_deleted.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/repository_modified.json b/conformance/repository_modified.json index f088d9c..dc8331a 100644 --- a/conformance/repository_modified.json +++ b/conformance/repository_modified.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/service_deployed.json b/conformance/service_deployed.json index dfc86d8..2d04d4c 100644 --- a/conformance/service_deployed.json +++ b/conformance/service_deployed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/service_published.json b/conformance/service_published.json index fedaf7b..45bcc4c 100644 --- a/conformance/service_published.json +++ b/conformance/service_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/service_removed.json b/conformance/service_removed.json index 10a5585..90e4ed1 100644 --- a/conformance/service_removed.json +++ b/conformance/service_removed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/service_rolledback.json b/conformance/service_rolledback.json index 5ba0d85..6909f53 100644 --- a/conformance/service_rolledback.json +++ b/conformance/service_rolledback.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/service_upgraded.json b/conformance/service_upgraded.json index ecd59d7..2217eae 100644 --- a/conformance/service_upgraded.json +++ b/conformance/service_upgraded.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/taskrun_finished.json b/conformance/taskrun_finished.json index eca320e..200fc90 100644 --- a/conformance/taskrun_finished.json +++ b/conformance/taskrun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/taskrun_started.json b/conformance/taskrun_started.json index d6fe43f..38ab149 100644 --- a/conformance/taskrun_started.json +++ b/conformance/taskrun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testcaserun_finished.json b/conformance/testcaserun_finished.json index 3618336..31f23ef 100644 --- a/conformance/testcaserun_finished.json +++ b/conformance/testcaserun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testcaserun_queued.json b/conformance/testcaserun_queued.json index 3bf7a50..d0b8237 100644 --- a/conformance/testcaserun_queued.json +++ b/conformance/testcaserun_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testcaserun_skipped.json b/conformance/testcaserun_skipped.json index b8028ae..ae1c283 100644 --- a/conformance/testcaserun_skipped.json +++ b/conformance/testcaserun_skipped.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdevents.testcaserun.skipped.0.2.0-draft", diff --git a/conformance/testcaserun_started.json b/conformance/testcaserun_started.json index 2933ae2..1d8bbb1 100644 --- a/conformance/testcaserun_started.json +++ b/conformance/testcaserun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testoutput_published.json b/conformance/testoutput_published.json index ba521a3..fdc313a 100644 --- a/conformance/testoutput_published.json +++ b/conformance/testoutput_published.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testsuiterun_finished.json b/conformance/testsuiterun_finished.json index feaa111..7b2a2a2 100644 --- a/conformance/testsuiterun_finished.json +++ b/conformance/testsuiterun_finished.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testsuiterun_queued.json b/conformance/testsuiterun_queued.json index deba594..51b673f 100644 --- a/conformance/testsuiterun_queued.json +++ b/conformance/testsuiterun_queued.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/testsuiterun_started.json b/conformance/testsuiterun_started.json index 98e182a..32ed662 100644 --- a/conformance/testsuiterun_started.json +++ b/conformance/testsuiterun_started.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "4c8cb7dd-3448-41de-8768-eec704e2829b", "source": "/event/source/123", diff --git a/conformance/ticket_closed.json b/conformance/ticket_closed.json index e580b89..dc18d84 100644 --- a/conformance/ticket_closed.json +++ b/conformance/ticket_closed.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/ticketing/system", "type": "dev.cdevents.ticket.closed.0.2.0-draft", diff --git a/conformance/ticket_created.json b/conformance/ticket_created.json index 2ade004..81c409e 100644 --- a/conformance/ticket_created.json +++ b/conformance/ticket_created.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/ticketing/system", "type": "dev.cdevents.ticket.created.0.2.0-draft", diff --git a/conformance/ticket_updated.json b/conformance/ticket_updated.json index 9161f55..db96cc3 100644 --- a/conformance/ticket_updated.json +++ b/conformance/ticket_updated.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "F4BD2B55-B6F6-4F44-AF72-BD2D0E7A8708", "source": "/ticketing/system", "type": "dev.cdevents.ticket.updated.0.2.0-draft", diff --git a/custom/README.md b/custom/README.md index d63aaa5..2b80e02 100644 --- a/custom/README.md +++ b/custom/README.md @@ -112,7 +112,7 @@ Corresponding CDEvent using a `dev.cdeventsx.*` type: ```jsonld= { "context": { - "version": "0.1.0", + "specversion": "0.1.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/harbor/alpine", "type": "dev.cdeventsx.harbor-quota.exceeded.0.1.0", diff --git a/custom/conformance.json b/custom/conformance.json index ddbc4ec..d5a75cf 100644 --- a/custom/conformance.json +++ b/custom/conformance.json @@ -1,6 +1,6 @@ { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "source": "/event/source/123", "type": "dev.cdeventsx.mytool-resource.created.0.1.0", diff --git a/custom/schema.json b/custom/schema.json index 7ef383c..b8f44df 100644 --- a/custom/schema.json +++ b/custom/schema.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -41,7 +41,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/links.md b/links.md index 1e5a76d..db05321 100644 --- a/links.md +++ b/links.md @@ -129,7 +129,7 @@ between CDEvents. ```json { "context": { - "version": "0.4.0", + "specversion": "0.5.0", "id": "505b31c2-8bc8-47b3-a1a0-269d7a8530ac", "source": "dev/jenkins", "type": "dev.cdevents.testsuite.finished.0.1.1", @@ -163,7 +163,7 @@ systems to act accordingly based off the ending notation. ```json { "context": { - "version": "0.3.0", + "specversion": "0.5.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "7ff3f526-1a0e-4d35-8a4c-7d6295e97359", "source": "/event/source/123", @@ -198,7 +198,7 @@ further, we can allow for a path link between `pipelinerun.queued` to the ```json { "context": { - "version": "0.3.0", + "specversion": "0.5.0", "id": "271069a8-fc18-44f1-b38f-9d70a1695819", "chainId": "7ff3f526-1a0e-4d35-8a4c-7d6295e97359", "source": "/event/source/123", @@ -367,7 +367,7 @@ help explain the overall flow using payloads from CDEvents. ```json { "context": { - "version": "0.4.0", + "specversion": "0.5.0", "chainId": "d0be0005-cca7-4175-8fe3-f64d2f27bc01", "id": "38a09112-a1ab-4c26-94c4-edfc234ef631", "source": "/event/source/123", @@ -417,7 +417,7 @@ sender generates this id. ```json { "context": { - "version": "0.4.0", + "specversion": "0.5.0", "chainId": "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 c7d8e81..847646b 100644 --- a/schemas/artifactdeleted.json +++ b/schemas/artifactdeleted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/artifactdownloaded.json b/schemas/artifactdownloaded.json index 7972b87..6be838a 100644 --- a/schemas/artifactdownloaded.json +++ b/schemas/artifactdownloaded.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/artifactpackaged.json b/schemas/artifactpackaged.json index c7094a2..2621e12 100644 --- a/schemas/artifactpackaged.json +++ b/schemas/artifactpackaged.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/artifactpublished.json b/schemas/artifactpublished.json index 2e03ea5..b9c8f13 100644 --- a/schemas/artifactpublished.json +++ b/schemas/artifactpublished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/artifactsigned.json b/schemas/artifactsigned.json index 062f885..0cb990c 100644 --- a/schemas/artifactsigned.json +++ b/schemas/artifactsigned.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/branchcreated.json b/schemas/branchcreated.json index e97ebdc..21c3d21 100644 --- a/schemas/branchcreated.json +++ b/schemas/branchcreated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/branchdeleted.json b/schemas/branchdeleted.json index c938281..84d58de 100644 --- a/schemas/branchdeleted.json +++ b/schemas/branchdeleted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/buildfinished.json b/schemas/buildfinished.json index 912b344..3b793df 100644 --- a/schemas/buildfinished.json +++ b/schemas/buildfinished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/buildqueued.json b/schemas/buildqueued.json index 0081d0a..4df0606 100644 --- a/schemas/buildqueued.json +++ b/schemas/buildqueued.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/buildstarted.json b/schemas/buildstarted.json index 331660d..3a52f46 100644 --- a/schemas/buildstarted.json +++ b/schemas/buildstarted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/changeabandoned.json b/schemas/changeabandoned.json index a3b9ade..3d3daf6 100644 --- a/schemas/changeabandoned.json +++ b/schemas/changeabandoned.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/changecreated.json b/schemas/changecreated.json index 17b6e0d..5f3d6c7 100644 --- a/schemas/changecreated.json +++ b/schemas/changecreated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/changemerged.json b/schemas/changemerged.json index 6d2d710..efe37c6 100644 --- a/schemas/changemerged.json +++ b/schemas/changemerged.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/changereviewed.json b/schemas/changereviewed.json index f4688a8..91eb8fa 100644 --- a/schemas/changereviewed.json +++ b/schemas/changereviewed.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/changeupdated.json b/schemas/changeupdated.json index 38edfc0..da5bcf2 100644 --- a/schemas/changeupdated.json +++ b/schemas/changeupdated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/environmentcreated.json b/schemas/environmentcreated.json index 6a82d57..794db5c 100644 --- a/schemas/environmentcreated.json +++ b/schemas/environmentcreated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/environmentdeleted.json b/schemas/environmentdeleted.json index 38fa7f7..333454b 100644 --- a/schemas/environmentdeleted.json +++ b/schemas/environmentdeleted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/environmentmodified.json b/schemas/environmentmodified.json index 1bb3f6a..93da8a5 100644 --- a/schemas/environmentmodified.json +++ b/schemas/environmentmodified.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/incidentdetected.json b/schemas/incidentdetected.json index ba4ef30..cad7b4b 100644 --- a/schemas/incidentdetected.json +++ b/schemas/incidentdetected.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/incidentreported.json b/schemas/incidentreported.json index db14c66..b7e8978 100644 --- a/schemas/incidentreported.json +++ b/schemas/incidentreported.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/incidentresolved.json b/schemas/incidentresolved.json index bf24802..03e222f 100644 --- a/schemas/incidentresolved.json +++ b/schemas/incidentresolved.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/pipelinerunfinished.json b/schemas/pipelinerunfinished.json index e953a73..ddada6e 100644 --- a/schemas/pipelinerunfinished.json +++ b/schemas/pipelinerunfinished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, diff --git a/schemas/pipelinerunqueued.json b/schemas/pipelinerunqueued.json index 52fc9f3..4b54d83 100644 --- a/schemas/pipelinerunqueued.json +++ b/schemas/pipelinerunqueued.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/pipelinerunstarted.json b/schemas/pipelinerunstarted.json index bcdaf52..b05d880 100644 --- a/schemas/pipelinerunstarted.json +++ b/schemas/pipelinerunstarted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/repositorycreated.json b/schemas/repositorycreated.json index a7dbfc2..efe24f1 100644 --- a/schemas/repositorycreated.json +++ b/schemas/repositorycreated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/repositorydeleted.json b/schemas/repositorydeleted.json index 1500642..e153423 100644 --- a/schemas/repositorydeleted.json +++ b/schemas/repositorydeleted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/repositorymodified.json b/schemas/repositorymodified.json index 0473ac6..806420a 100644 --- a/schemas/repositorymodified.json +++ b/schemas/repositorymodified.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/servicedeployed.json b/schemas/servicedeployed.json index e14af07..b8a298c 100644 --- a/schemas/servicedeployed.json +++ b/schemas/servicedeployed.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/servicepublished.json b/schemas/servicepublished.json index fadf224..0de4e47 100644 --- a/schemas/servicepublished.json +++ b/schemas/servicepublished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/serviceremoved.json b/schemas/serviceremoved.json index c453101..b6e3d77 100644 --- a/schemas/serviceremoved.json +++ b/schemas/serviceremoved.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/servicerolledback.json b/schemas/servicerolledback.json index 0ec4162..bde3453 100644 --- a/schemas/servicerolledback.json +++ b/schemas/servicerolledback.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/serviceupgraded.json b/schemas/serviceupgraded.json index 08db759..612fff3 100644 --- a/schemas/serviceupgraded.json +++ b/schemas/serviceupgraded.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/taskrunfinished.json b/schemas/taskrunfinished.json index eb49095..3ecb77c 100644 --- a/schemas/taskrunfinished.json +++ b/schemas/taskrunfinished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/taskrunstarted.json b/schemas/taskrunstarted.json index 08290dd..3b40d34 100644 --- a/schemas/taskrunstarted.json +++ b/schemas/taskrunstarted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/testcaserunfinished.json b/schemas/testcaserunfinished.json index f3b3d94..40d6541 100644 --- a/schemas/testcaserunfinished.json +++ b/schemas/testcaserunfinished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, diff --git a/schemas/testcaserunqueued.json b/schemas/testcaserunqueued.json index 4255cb5..c1507ed 100644 --- a/schemas/testcaserunqueued.json +++ b/schemas/testcaserunqueued.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -43,7 +43,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/testcaserunskipped.json b/schemas/testcaserunskipped.json index 39cfdbd..f0eedca 100644 --- a/schemas/testcaserunskipped.json +++ b/schemas/testcaserunskipped.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -43,7 +43,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/testcaserunstarted.json b/schemas/testcaserunstarted.json index 2650784..1ac79bc 100644 --- a/schemas/testcaserunstarted.json +++ b/schemas/testcaserunstarted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -43,7 +43,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/testoutputpublished.json b/schemas/testoutputpublished.json index 06f7ffa..d6138c2 100644 --- a/schemas/testoutputpublished.json +++ b/schemas/testoutputpublished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -43,7 +43,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/testsuiterunfinished.json b/schemas/testsuiterunfinished.json index d47bad7..251f54a 100644 --- a/schemas/testsuiterunfinished.json +++ b/schemas/testsuiterunfinished.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, diff --git a/schemas/testsuiterunqueued.json b/schemas/testsuiterunqueued.json index c4f3ee1..5d9fa36 100644 --- a/schemas/testsuiterunqueued.json +++ b/schemas/testsuiterunqueued.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -43,7 +43,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/testsuiterunstarted.json b/schemas/testsuiterunstarted.json index c2e8400..fc5a2f1 100644 --- a/schemas/testsuiterunstarted.json +++ b/schemas/testsuiterunstarted.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -43,7 +43,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/ticketclosed.json b/schemas/ticketclosed.json index 01e03d6..13e100f 100644 --- a/schemas/ticketclosed.json +++ b/schemas/ticketclosed.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/ticketcreated.json b/schemas/ticketcreated.json index 2b1145a..ac3a055 100644 --- a/schemas/ticketcreated.json +++ b/schemas/ticketcreated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/schemas/ticketupdated.json b/schemas/ticketupdated.json index a11e5dd..945db90 100644 --- a/schemas/ticketupdated.json +++ b/schemas/ticketupdated.json @@ -4,7 +4,7 @@ "properties": { "context": { "properties": { - "version": { + "specversion": { "type": "string", "minLength": 1 }, @@ -44,7 +44,7 @@ "additionalProperties": false, "type": "object", "required": [ - "version", + "specversion", "id", "source", "type", diff --git a/spec.md b/spec.md index 0ace919..740996e 100644 --- a/spec.md +++ b/spec.md @@ -31,7 +31,7 @@ CDEvents is a common specification for Continuous Delivery events. - [type (context)](#type-context) - [source (context)](#source-context) - [timestamp](#timestamp) - - [version](#version) + - [specversion](#specversion) - [OPTIONAL Context Attributes](#optional-context-attributes) - [chainId](#chainId) - [links](#links) @@ -268,7 +268,7 @@ defined in the [vocabulary](#vocabulary): - REQUIRED - MUST adhere to the format specified in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) -#### version +#### specversion - Type: `String` - Description: The version of the CDEvents specification which the event @@ -370,7 +370,7 @@ This is an example of a full CDEvent context, rendered in JSON format: ```json { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started.0.2.0", @@ -447,7 +447,7 @@ The following example shows `context` and `subject` together, rendered as JSON. ```json { "context": { - "version": "0.5.0-draft", + "specversion": "0.5.0-draft", "id" : "A234-1234-1234", "source" : "/staging/tekton/", "type" : "dev.cdevents.taskrun.started.0.2.0",