Skip to content

Commit 84b6a28

Browse files
committed
descriptor: add OPTIONAL annotations to this object
this has come up in discussion and is needed for adding discoverable arbitrary data to the descriptor references. Especially in making an index for image layout. Signed-off-by: Vincent Batts <[email protected]>
1 parent f15a268 commit 84b6a28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

descriptor.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ The following fields contain the primary properties that constitute a Descriptor
4040
Each entry MUST conform to [RFC 3986][rfc3986].
4141
Entries SHOULD use the `http` and `https` schemes, as defined in [RFC 7230][rfc7230-s2.7].
4242

43+
- **`annotations`** *string-string map*
44+
45+
This OPTIONAL property contains arbitrary metadata for this descriptor.
46+
This OPTIONAL property MUST use the [annotation rules](annotations.md#rules).
47+
4348
### Reserved
4449

4550
The following field keys are reserved and MUST NOT be used by other specifications.

0 commit comments

Comments
 (0)