diff --git a/spdx/model.go b/spdx/model.go index e91856b..7d1105e 100644 --- a/spdx/model.go +++ b/spdx/model.go @@ -85,6 +85,9 @@ const ( TypePersistentIdSwh = common.TypePersistentIdSwh TypePersistentIdGitoid = common.TypePersistentIdGitoid + // F.5 Other + CategoryOther = common.CategoryOther + // 11.1 Relationship field types RelationshipDescribes = common.TypeRelationshipDescribe RelationshipDescribedBy = common.TypeRelationshipDescribeBy diff --git a/spdx/v2/common/external.go b/spdx/v2/common/external.go index 8344ac6..2715815 100644 --- a/spdx/v2/common/external.go +++ b/spdx/v2/common/external.go @@ -21,11 +21,15 @@ const ( TypePackageManagerNuGet string = "nuget" TypePackageManagerBower string = "bower" TypePackageManagerPURL string = "purl" + // F.4 Persistent-Id types CategoryPersistentId string = "PERSISTENT-ID" TypePersistentIdSwh string = "swh" TypePersistentIdGitoid string = "gitoid" + // F.5 Other + CategoryOther string = "OTHER" + // 11.1 Relationship field types TypeRelationshipDescribe string = "DESCRIBES" TypeRelationshipDescribeBy string = "DESCRIBED_BY"