specification icon indicating copy to clipboard operation
specification copied to clipboard

fix json-schema-file strict schema property

Open jkowalleck opened this issue 2 years ago • 2 comments

Hello @stevespringett ,

looks like there is a bug in the strict schema files: the optional bom.$schema property was not updated, when the actual schema $id revision was bumped.

to mitigate this for now and the future, i propose to lax the definition - from a specific string to any string. This means: no need to modify the schema version on multiple places, when bumping.

jkowalleck avatar Apr 06 '22 20:04 jkowalleck

Will need to take a vote. Another possibility would be to leave the enum in place and have a unit test that checks.

stevespringett avatar Sep 19 '22 00:09 stevespringett

updated for CDX 1.5

jkowalleck avatar Jul 05 '23 22:07 jkowalleck

obsoleted by https://github.com/CycloneDX/specification/issues/402

jkowalleck avatar Apr 09 '24 06:04 jkowalleck