spdx-spec
spdx-spec copied to clipboard
Incompatibility in comment property for license between JSON and RDF/XML
We are using JSON formats for the SPDX listed licenses in addition to the RDF/XML formats.
In RDF/XML we use the property name comment with the RDFS namespace.
The JSON file uses licenseComment.
For examples, see the Apache JSONLD file for the RDF definition and the straight JSON file for the JSON definition.
These fields should be consistent.
Propose using comment. Shorter, more consistent with other JSON classes as well as consistent with the RDF.
Since fixing this will break something, proposing we address this in SPDX 3.0.
Based on call today, this can be fixed for the spec in 2.2, but the license list will be inconsistent and that will be addressed in 3.0
Based on call, we will use comment for JSON in 2.2, and make XML compatible in future release. So no change in 2.2 Specification, and we'll resolve in 3.0. Should this be moved to license list XML repo or License list publisher? Will give more visibility to JSON user files.
This is resolved in 3.0 - closing