blob: 0846d62e3a7f5a5441f5f3722a2c28baff1bfac2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
package spdx
// Annotation2_1 is an Annotation section of an SPDX Document for version 2.1 of the spec.
type Annotation2_1 struct {
// 8.1: Annotator
// Cardinality: conditional (mandatory, one) if there is an Annotation
Annotator string
// including AnnotatorType: one of "Person", "Organization" or "Tool"
AnnotatorType string
// 8.2: Annotation Date: YYYY-MM-DDThh:mm:ssZ
// Cardinality: conditional (mandatory, one) if there is an Annotation
AnnotationDate string
// 8.3: Annotation Type: "REVIEW" or "OTHER"
// Cardinality: conditional (mandatory, one) if there is an Annotation
AnnotationType string
// 8.4: SPDX Identifier Reference
// Cardinality: conditional (mandatory, one) if there is an Annotation
AnnotationSPDXIdentifier string
// 8.5: Annotation Comment
// Cardinality: conditional (mandatory, one) if there is an Annotation
AnnotationComment string
}
|