Black Duck to SPDX field mapping
Field | Description |
SPDXID
|
This field contains the identify of the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally. |
spdxVersion
|
The version of SPDX used to generate this report. |
creationInfo
|
comment : An optional field for creators of the SPDX
document to provide general comments about the creation of the SPDX
document or any other relevant comment not included in the other
fields.
|
name
|
The BOM project name. |
dataLicense |
The licensing under which the creator of this SPDX document allows related data to be reproduced. The only valid value for this property is http://spdx.org/licenses/CC0-1.0. |
documentNamespace
|
URL to Black Duck's license and readme page on Github. |
documentDescribes
|
This field contains the parent ID for the
package. Displayed as SPDXRef-package-[BOM project
version UUID] . |
packages
|
This section contains both the exported project version (which is
described by the documentDescribes ) and also the
project version BOM component(s). Each component will have the items
listed below:
Note: Some of the values above may
not have any information and will display a value of
NOASSERTION . |
components section | This section contains the same fields above,
detailing the information for each of the components found in
the project with the following exceptions:
|
files
|
Does not contain any data, displaying
[] only. |
relationships
|
relationshipType : Represents a
relationship between two SpdxElements . Can be
either DEPENDS_ON or CONTAINS .
|
hasExtractedLicensingInfos
|
Contains all the licenses that do not have SPDX ID in
the KnowledgeBase. They are added with a document-unique license ID.
|