spdx-examples
spdx-examples copied to clipboard
Create build profile example-1
took a stab at creating a build profile example, based on my understanding of the model and serialization.
@kestewart
Waiting until the CI is updated, then we'll take a pass.
@lumjjb - can you rebase and see if you can get it passing the validation. Once it is, we'll merge.
Attached is an updated examples that almost passes validation using the 3.0.1 spec.
It passes my Java verification code (generated from the 3.0.1 schema), but doesn't pass the schema validation.
I'm not quite sure why it is failing the schema validation. Here's a link to the 3.0.1 schema I'm using for validation: https://spdx.github.io/spdx-spec/v3.0.1/rdf/schema.json
@JPEWdev - if you get a chance, can you try the attached on your validation tools and see if you get any insights. example1.json.txt
I figured out the validation issues - attached is a JSON file that will pass with the 3.0.1 schema file: example1.json.txt
The spdx-validate tool needs to be updated for 3.0.1, then validation should pass. I'll change that and publish it.
spdx3-validate 0.0.4 is now supporting v3.0.1. We can try rerunning the validation.
As there were changes in validation workflow/dependencies in April 2025 (and probably also after that), we may like to rerun the check to see if it pass now.