Skip to content

[develop] Use MAJOR.MINOR version JSON-LD context URL in example#1244

Open
bact wants to merge 11 commits intospdx:developfrom
bact:update-context-url-in-example
Open

[develop] Use MAJOR.MINOR version JSON-LD context URL in example#1244
bact wants to merge 11 commits intospdx:developfrom
bact:update-context-url-in-example

Conversation

@bact
Copy link
Copy Markdown
Collaborator

@bact bact commented Jul 9, 2025

This PR targets develop branch.
A similar PR for support/3.0 is at #1247

To use "3.0"/"3.1" RDF URLs (version without patch version), as required by spdx/spdx-3-model#1046, we need to verify if new RDF URLs are working.

We may check that with an SBOM example (examples/jsonld/package_sbom.json) and the example validation workflow in this repo.

This issue may not directly affect the texts in the ISO publication but without the fix the texts in ISO publication may not back with relevant working URLs.

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added ci Dev workflow and repo management ISO publication Last minute publication (considerations for markdown to word) labels Jul 9, 2025
bact added 3 commits July 24, 2025 12:23
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact removed the ISO publication Last minute publication (considerations for markdown to word) label Jul 24, 2025
@bact
Copy link
Copy Markdown
Collaborator Author

bact commented Jul 24, 2025

@bact bact changed the title Use MAJOR.MINOR version JSON-LD context URL in example [develop] Use MAJOR.MINOR version JSON-LD context URL in example Jul 24, 2025
@bact bact added this to the 3.1-rc1 milestone Jul 24, 2025
@goneall goneall self-assigned this Nov 14, 2025
@goneall
Copy link
Copy Markdown
Member

goneall commented Jan 16, 2026

We need to upload the schema and context files to the website before we can merge this.

@bact bact added the URL URL, IRI, redirection, content negotiation and related matters label Jan 20, 2026
@bact bact modified the milestones: 3.1-rc1, 3.1-rc2 Mar 19, 2026
@bact
Copy link
Copy Markdown
Collaborator Author

bact commented Mar 25, 2026

Example validation failed because none of these URLs exist:

* https://spdx.org/schema/3.1/spdx-json-schema.json
* https://spdx.org/rdf/3.1/spdx-model.ttl
* https://spdx.org/rdf/3.1/spdx-context.jsonld

All of these URLs are now online.
But since currently they are redirected to actual copies at https://spdx.github.io/spdx-spec/v3.1-RC1/... they will still use SemVer from v3.1-RC1, which require "major.minor.patch" specVersion and will failed with the example that uses "major.minor" version (see the run log, line 34)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Dev workflow and repo management URL URL, IRI, redirection, content negotiation and related matters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants