aboutsummaryrefslogtreecommitdiff
path: root/spdx/document.go
diff options
context:
space:
mode:
Diffstat (limited to 'spdx/document.go')
-rw-r--r--spdx/document.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/spdx/document.go b/spdx/document.go
index d2e9e13..2541ec4 100644
--- a/spdx/document.go
+++ b/spdx/document.go
@@ -6,11 +6,12 @@ package spdx
// Document2_1 is an SPDX Document for version 2.1 of the spec.
// See https://spdx.org/sites/cpstandard/files/pages/files/spdxversion2.1.pdf
type Document2_1 struct {
- CreationInfo *CreationInfo2_1
- Packages map[ElementID]*Package2_1
- OtherLicenses []*OtherLicense2_1
- Relationships []*Relationship2_1
- Annotations []*Annotation2_1
+ CreationInfo *CreationInfo2_1
+ Packages map[ElementID]*Package2_1
+ UnpackagedFiles map[ElementID]*File2_1
+ OtherLicenses []*OtherLicense2_1
+ Relationships []*Relationship2_1
+ Annotations []*Annotation2_1
// DEPRECATED in version 2.0 of spec
Reviews []*Review2_1