blob: f4c4f41731093e458876391241a10a1af362fa7d (
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
|
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
package v2_1
import "github.com/spdx/tools-golang/spdx/common"
// CreationInfo is a Document Creation Information section of an
// SPDX Document for version 2.1 of the spec.
type CreationInfo struct {
// 2.7: License List Version
// Cardinality: optional, one
LicenseListVersion string `json:"licenseListVersion"`
// 2.8: Creators: may have multiple keys for Person, Organization
// and/or Tool
// Cardinality: mandatory, one or many
Creators []common.Creator `json:"creators"`
// 2.9: Created: data format YYYY-MM-DDThh:mm:ssZ
// Cardinality: mandatory, one
Created string `json:"created"`
// 2.10: Creator Comment
// Cardinality: optional, one
CreatorComment string `json:"comment"`
}
|