aboutsummaryrefslogtreecommitdiff
path: root/spdx/creation_info.go
diff options
context:
space:
mode:
Diffstat (limited to 'spdx/creation_info.go')
-rw-r--r--spdx/creation_info.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/spdx/creation_info.go b/spdx/creation_info.go
index d256a42..ec5f91b 100644
--- a/spdx/creation_info.go
+++ b/spdx/creation_info.go
@@ -14,7 +14,8 @@ type CreationInfo2_1 struct {
// Cardinality: mandatory, one
DataLicense string
- // 2.3: SPDX Identifier; should be "SPDXRef-DOCUMENT"
+ // 2.3: SPDX Identifier; should be "DOCUMENT" to represent
+ // mandatory identifier of SPDXRef-DOCUMENT
// Cardinality: mandatory, one
SPDXIdentifier ElementID
@@ -66,7 +67,8 @@ type CreationInfo2_2 struct {
// Cardinality: mandatory, one
DataLicense string
- // 2.3: SPDX Identifier; should be "SPDXRef-DOCUMENT"
+ // 2.3: SPDX Identifier; should be "DOCUMENT" to represent
+ // mandatory identifier of SPDXRef-DOCUMENT
// Cardinality: mandatory, one
SPDXIdentifier ElementID