aboutsummaryrefslogtreecommitdiff
path: root/spdx/v2_2/snippet.go
diff options
context:
space:
mode:
Diffstat (limited to 'spdx/v2_2/snippet.go')
-rw-r--r--spdx/v2_2/snippet.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/spdx/v2_2/snippet.go b/spdx/v2_2/snippet.go
index 913007a..61045f1 100644
--- a/spdx/v2_2/snippet.go
+++ b/spdx/v2_2/snippet.go
@@ -7,42 +7,42 @@ import "github.com/spdx/tools-golang/spdx/common"
// Snippet is a Snippet section of an SPDX Document for version 2.2 of the spec.
type Snippet struct {
- // 5.1: Snippet SPDX Identifier: "SPDXRef-[idstring]"
+ // 9.1: Snippet SPDX Identifier: "SPDXRef-[idstring]"
// Cardinality: mandatory, one
SnippetSPDXIdentifier common.ElementID `json:"SPDXID"`
- // 5.2: Snippet from File SPDX Identifier
+ // 9.2: Snippet from File SPDX Identifier
// Cardinality: mandatory, one
SnippetFromFileSPDXIdentifier common.ElementID `json:"snippetFromFile"`
// Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to
Ranges []common.SnippetRange `json:"ranges"`
- // 5.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
+ // 9.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
// Cardinality: mandatory, one
SnippetLicenseConcluded string `json:"licenseConcluded"`
- // 5.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION"
+ // 9.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION"
// Cardinality: optional, one or many
LicenseInfoInSnippet []string `json:"licenseInfoInSnippets,omitempty"`
- // 5.7: Snippet Comments on License
+ // 9.7: Snippet Comments on License
// Cardinality: optional, one
SnippetLicenseComments string `json:"licenseComments,omitempty"`
- // 5.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
+ // 9.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
// Cardinality: mandatory, one
SnippetCopyrightText string `json:"copyrightText"`
- // 5.9: Snippet Comment
+ // 9.9: Snippet Comment
// Cardinality: optional, one
SnippetComment string `json:"comment,omitempty"`
- // 5.10: Snippet Name
+ // 9.10: Snippet Name
// Cardinality: optional, one
SnippetName string `json:"name,omitempty"`
- // 5.11: Snippet Attribution Text
+ // 9.11: Snippet Attribution Text
// Cardinality: optional, one or many
SnippetAttributionTexts []string `json:"-"`
}