From c14c49943a4dfd80dc08bdf49a0ab671c4cd2f9c Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Thu, 2 Feb 2017 17:57:36 -0800 Subject: [PATCH] specs-go/v1: add annotations field to descriptor Signed-off-by: Stephen J Day --- specs-go/v1/descriptor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs-go/v1/descriptor.go b/specs-go/v1/descriptor.go index 0e081eb0d..fdf50c744 100644 --- a/specs-go/v1/descriptor.go +++ b/specs-go/v1/descriptor.go @@ -30,4 +30,7 @@ type Descriptor struct { // URLs specifies a list of URLs from which this object MAY be downloaded URLs []string `json:"urls,omitempty"` + + // Annotations contains arbitrary metadata relating to the targeted content. + Annotations map[string]string `json:"annotations,omitempty"` }