diff options
Diffstat (limited to 'spdx/v2_2/annotation.go')
-rw-r--r-- | spdx/v2_2/annotation.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spdx/v2_2/annotation.go b/spdx/v2_2/annotation.go index f2d5bc8..35eddc6 100644 --- a/spdx/v2_2/annotation.go +++ b/spdx/v2_2/annotation.go @@ -6,24 +6,24 @@ import "github.com/spdx/tools-golang/spdx/common" // Annotation is an Annotation section of an SPDX Document for version 2.2 of the spec. type Annotation struct { - // 8.1: Annotator + // 12.1: Annotator // Cardinality: conditional (mandatory, one) if there is an Annotation Annotator common.Annotator `json:"annotator"` - // 8.2: Annotation Date: YYYY-MM-DDThh:mm:ssZ + // 12.2: Annotation Date: YYYY-MM-DDThh:mm:ssZ // Cardinality: conditional (mandatory, one) if there is an Annotation AnnotationDate string `json:"annotationDate"` - // 8.3: Annotation Type: "REVIEW" or "OTHER" + // 12.3: Annotation Type: "REVIEW" or "OTHER" // Cardinality: conditional (mandatory, one) if there is an Annotation AnnotationType string `json:"annotationType"` - // 8.4: SPDX Identifier Reference + // 12.4: SPDX Identifier Reference // Cardinality: conditional (mandatory, one) if there is an Annotation // This field is not used in hierarchical data formats where the referenced element is clear, such as JSON or YAML. AnnotationSPDXIdentifier common.DocElementID `json:"-"` - // 8.5: Annotation Comment + // 12.5: Annotation Comment // Cardinality: conditional (mandatory, one) if there is an Annotation AnnotationComment string `json:"comment"` } |