SpecVersion
SpecVersion is a metadata field used in some data exchange formats to declare the version of the specification to which a payload or artifact conforms. It serves as a contract indicator, separate from the artifact's own release version, and allows processors to apply the correct validation rules and interpretation for the fields that follow.
In practice, specVersion is included as a string field in serialized messages or documents. The field name
Example: The CloudEvents specification uses a specversion field with the value '1.0' to indicate that the event
Design and interoperability considerations: when introducing a specVersion field, ensure backward compatibility and clear migration paths.