mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
14 lines
504 B
Go
14 lines
504 B
Go
package model
|
|
|
|
import "github.com/anchore/syft/internal/formats/common/spdxhelpers"
|
|
|
|
type Relationship struct {
|
|
// Id to which the SPDX element is related
|
|
SpdxElementID string `json:"spdxElementId"`
|
|
// Describes the type of relationship between two SPDX elements.
|
|
RelationshipType spdxhelpers.RelationshipType `json:"relationshipType"`
|
|
// SPDX ID for SpdxElement. A related SpdxElement.
|
|
RelatedSpdxElement string `json:"relatedSpdxElement"`
|
|
Comment string `json:"comment,omitempty"`
|
|
}
|