Restore schemas directory for IANA compatibility#1389
Open
bact wants to merge 4 commits intospdx:developfrom
Open
Restore schemas directory for IANA compatibility#1389bact wants to merge 4 commits intospdx:developfrom
bact wants to merge 4 commits intospdx:developfrom
Conversation
The directory is referenced in official documents and should be kept accessible: - https://www.iana.org/assignments/media-types/application/spdx+json - https://spdx.github.io/spdx-spec/v2.3/conformance/#44-standard-data-format-requirements For backward compatibility reason, the file `spdx-schema.json` should point to SPDX 2 version. Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
schemasdirectory is referenced in official specifications, including IANA media type registration.It is also referenced in
examples/README.md(alongside theontologydirectory).To fix #1158 (reported by @RingoDev), this PR:
schemasdirectory: Maintains directory structure as documented by IANA (application/spdx+json) and the SPDX v2.3 Specification (4.4 Standard data format requirements ).spdx-schema.jsonpointing to the latest SPDX 2.x version, for backward compatibility. (SPDX 3 versions can access the schema at https://spdx.github.io/spdx-spec/VERSION/rdf/schema.json).rdfdirectory back toontologydirectory.docs/rdf.Notes: since IANA points to https://github.com/spdx/spdx-spec/blob/master/schemas/spdx-schema.json -- the change in this PR (
developbranch) has to be mirrored inmainbranch too. GitHub will automatically redirectedmasterbranch URLs tomain.