Skip to content

Commit bba6ed8

Browse files
authored
Merge pull request #551 from stevvooe/annotations-field-on-descriptor
specs-go/v1: add annotations field to descriptor
2 parents 5ef499e + c14c499 commit bba6ed8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specs-go/v1/descriptor.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ type Descriptor struct {
3030

3131
// URLs specifies a list of URLs from which this object MAY be downloaded
3232
URLs []string `json:"urls,omitempty"`
33+
34+
// Annotations contains arbitrary metadata relating to the targeted content.
35+
Annotations map[string]string `json:"annotations,omitempty"`
3336
}

0 commit comments

Comments
 (0)