Closed goneall closed 6 years ago
Just peeking into a JSON-LD file at random, and I'm wondering what the spdx and doap entries are for.
This is an artifact of the Jena library used to produce the JSON-LD and how it is being invoked. These are declared namespaces used elsewhere in the SPDX documents. Apparently, it Jena is including it in all the JSON-LD files, even if they are not used.
I plan to revisit the JSON-LD representation of the licenses in the future. I'd really like to use an external context file which would make it very clean, compact and easier to maintain. I just haven't had time to figure out how to generate it using the Jena libraries. I spent a few hours earlier this week trying to figure it out and decided to wait until after the 3.1 release to pick it back up again.
Fixes issue #90, issue #146 and issue #145
Before merging, the license list URL need to be moved from https://spdx.org/licenses/preview to https://spdx.org/licenses
Signed-off-by: Gary O'Neall gary@sourceauditor.com