Skip to content

Commit 61699b3

Browse files
DELETE: dataschemaversion with semantic versioning
1 parent 5fee5fc commit 61699b3

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/cloudevents/domains/digital-letters/2025-10-draft/digital-letters-profile.schema.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ properties:
2323
- data
2424
dataschemaversion:
2525
type: string
26-
const: "1.0"
27-
description: Data Schema version (fixed to 1.0).
26+
pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
27+
description: Version of the event payload schema (semantic versioning format).
2828
examples:
29-
- "1.0"
29+
- 1.0.0
30+
$comment: Version of the event payload schema (semantic versioning, see https://semver.org/).
3031
datacontenttype:
3132
type: string
3233
const: "application/json"

0 commit comments

Comments
 (0)