Closed NorioKobota closed 5 months ago
@goneall, @kestewart
Thanks for the review. I have a question to @goneall.
The simplest option IMHO is rootElement.
The SpdxDocument class has rootElement in this PR, but does the Sbom class also should have rootElement? Or does that mean rootElement in the SpdxDocument class should be 1..1?
Based on this JSON-LD sample, I think it's enough to have rootElement in SpdxDocument..
@goneall, @kestewart Thanks for the review. I have a question to @goneall.
The simplest option IMHO is rootElement.
The SpdxDocument class has rootElement in this PR, but does the Sbom class also should have rootElement? Or does that mean rootElement in the SpdxDocument class should be 1..1?
Based on this JSON-LD sample, I think it's enough to have rootElement in SpdxDocument..
Very good point about the SBOM.
I'm thinking that in a Lite document the document root element should point to the SBOM element collection and the SBOM root element should point to the package. Perhaps make them both required and add some documentation on the best practice for what these fields should contain?
Adds the explanation for the Lite profile as Annex.