When encoding to JSON, we serialise coswid.$version-scheme as a string (see: https://github.com/veraison/swid/blob/main/versionscheme.go#L40-L56).
This was done with the good intention of providing something human-readable, but it is an arbitrary choice and, most importantly, it’s incompatible with use in EAT (e.g., in the sw-version claim, which is also used by the measured component).
For more context, see: veraison/eat#37 (comment)
When encoding to JSON, we serialise
coswid.$version-schemeas a string (see: https://github.com/veraison/swid/blob/main/versionscheme.go#L40-L56).This was done with the good intention of providing something human-readable, but it is an arbitrary choice and, most importantly, it’s incompatible with use in EAT (e.g., in the
sw-versionclaim, which is also used by the measured component).For more context, see: veraison/eat#37 (comment)