-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPDX 2.3.0 schema conflicts with documentation for Annotations #1147
Comments
I did just notice that the JSON schema does allow for annotations within different objects (e.g. spdx-spec/schemas/spdx-schema.json Lines 234 to 271 in 62f3e7c
This style feels like the best (most natural?) way to use Annotations but unfortunately, it doesn't match up with any of the documentation. For example, there is no "annotation" subsection in Clause 4 (Packages). It also feels less "SPDX"-y and more "CycloneDX"-y but that may not really matter. |
Clause 12 (Annotations) Section 4 of the SPDX documentation calls for an "SPDX identifier reference field".
However, the JSON schema does not specify this field. See the snippet below:
spdx-spec/schemas/spdx-schema.json
Lines 15 to 42 in 62f3e7c
It would be helpful to have
SPDXREF
(which is used in the SPDX Tag specification) orspdxElementId
(which is used in Clause 11 (Relationships)) as a defined field in the JSON schema.Without this field defined, it is not possible to link Annotations to an element in an SPDX 2.3.0 JSON BOM.
The text was updated successfully, but these errors were encountered: