spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

[2.3.1] Fix $schema identifier in JSON Schema

Open Bo98 opened this issue 1 year ago • 0 comments

While pre-2019 JSON Schema drafts had a trailing #, the 2019-09 draft does not:

The identifier for Draft 2019-09 is https://json-schema.org/draft/2019-09/schema.

https://json-schema.org/understanding-json-schema/reference/schema

Many validators locally store rules for the different schemas and match them by simple string comparison rather than fetching the remote schema, so the trailing # was causing issues here.

This issue is specific to the 2.3.1 branch - the identifier in 2.3.0 is correct.

Bo98 avatar Aug 08 '24 00:08 Bo98