SPDX Lite (Normative)
Explanation of the Lite profile
The Lite profile is designed to make it quick and easy to start a Software Bill of Materials in situations where a company may have limited capacity for introducing new items into their processes.
The Lite profile captures the minimum set of information required for license compliance in the software supply chain. It contains information about the creation of the SBOM, package lists with licensing and other related information, and their relationships.
All elements in Lite profile are essential for complying with licenses. It is easy to use an SPDX document with the Lite profile for anyone who does not have enough knowledge about licensing information and easy to import license information from former versions of SPDX Lite format files.
The Lite profile offers the flexibility to be used either alone or in combination with other SPDX profiles as an SPDX document in the software supply chain.
Mandatory and recommended properties
The Lite profile specifies that some properties shall be present and some others should be present, as much as possible.
The following lists collect and present this information for every class present in the SPDX data, in a concise and easy-to-follow format. The lists of properties are in alphabetical order, for easy reference.
/Core/SpdxDocument
- Mandatory
- creationInfo
- element (may be multiple), shall have at least one /Software/Sbom object
- rootElement (may be multiple), should be objects of type /Software/Sbom
- spdxId
- Recommended
- comment
- dataLicense
- name
- namespaceMap (may be multiple)
- verifiedUsing (may be multiple), should be objects of type /Core/Hash
/Software/Sbom
- Mandatory
- creationInfo
- element (may be multiple), shall have at least one /Software/Package object
- rootElement (may be multiple), should be objects of type /Software/Package
- spdxId
- Recommended
- sbomType (may be multiple)
/Software/Package
- Mandatory
- copyrightText
- creationInfo
- name
- packageVersion
- spdxId
- suppliedBy, should be an object of type /Core/Agent
- Recommended
- attributionText (may be multiple)
- builtTime
- comment
- downloadLocation
- homepage
- originatedBy (may be multiple), should be objects of type /Core/Agent
- packageUrl
- releaseTime
- supportLevel (may be multiple)
- validUntilTime
- verifiedUsing (may be multiple), should be objects of type /Core/Hash
However, there shall be at least a “downloadLocation” or “packageUrl” property.
Additionally:
- for every
/Software/Packageobject shall exist exactly one/Core/Relationshipobject of typehasConcludedLicensehaving that element as itsfromproperty and a/SimpleLicensing/AnyLicenseInfoobject as itstoproperty. - for every
/Software/Packageobject shall exist exactly one/Core/Relationshipobject of typehasDeclaredLicensehaving that element as itsfromproperty and a/SimpleLicensing/AnyLicenseInfoobject as itstoproperty.
/Core/Hash
- Mandatory
- algorithm
- hashValue
- Recommended
- comment
/SimpleLicensing/LicenseExpression
- Mandatory
- creationInfo
- licenseExpression
- spdxId
- Recommended
- licenseListVersion
/SimpleLicensing/SimpleLicensingText
- Mandatory
- creationInfo
- licenseText
- spdxId
- Recommended
- comment
/Core/Agent (createdBy, suppliedBy, originatedBy)
- Mandatory
- creationInfo, should be “BlankNode”
- name
- spdxId
- Recommended
- externalIdentifier (may be multiple)
/Core/CreationInfo
- Mandatory
- created
- createdBy (may be multiple), should be objects of type /Core/Agent
- specVersion, shall be a fixed string, “3.1.n” - where n is any supported patch version of the SPDX specification
- Recommended
- comment
/Core/ExternalIdentifier
- Mandatory
- externalIdentifierType
- identifier
/Core/NameSpaceMap
- Mandatory
- namespace
- prefix
/Core/Relationship
- Mandatory
- creationInfo
- from
- relationshipType
- spdxId
- to (may be multiple)