1// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 2 3package v2_1 4 5import "github.com/spdx/tools-golang/spdx/common" 6 7// CreationInfo is a Document Creation Information section of an 8// SPDX Document for version 2.1 of the spec. 9type CreationInfo struct { 10 // 2.7: License List Version 11 // Cardinality: optional, one 12 LicenseListVersion string `json:"licenseListVersion"` 13 14 // 2.8: Creators: may have multiple keys for Person, Organization 15 // and/or Tool 16 // Cardinality: mandatory, one or many 17 Creators []common.Creator `json:"creators"` 18 19 // 2.9: Created: data format YYYY-MM-DDThh:mm:ssZ 20 // Cardinality: mandatory, one 21 Created string `json:"created"` 22 23 // 2.10: Creator Comment 24 // Cardinality: optional, one 25 CreatorComment string `json:"comment,omitempty"` 26} 27