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 a2b82b0..1bdaaab 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
@@ -85,7 +86,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