Skip to content

Commit

Permalink
manifest-list: non-manifest descriptors
Browse files Browse the repository at this point in the history
For media that pertains to an image, like AppStream metadata, may need
to accompany a manifest-list, but is not a descriptor that points to a
manifest (i.e. and XML file).

This OPTIONAL `elements` field provides a place for these non-manifest
descriptors.

Signed-off-by: Vincent Batts <[email protected]>
  • Loading branch information
vbatts committed Jan 27, 2017
1 parent de17474 commit 9ad15cf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions manifest-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

- **`manifests`** *array of objects*

This REQUIRED property contains a list of manifests for specific platforms.
While the property MUST be present, the size of the array MAY be zero.
This REQUIRED property contains a list of [manifests](manifest.md) for specific platforms.
While this property MUST be present, the size of the array MAY be zero.

Each object in `manifests` is a [descriptor](descriptor.md) with the following additional properties and restrictions:
Each object in `manifests` has the base properties of [descriptor](descriptor.md) with the following additional properties and restrictions:

- **`mediaType`** *string*

Expand Down Expand Up @@ -64,6 +64,13 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

This OPTIONAL property specifies an array of strings, each specifying a mandatory CPU feature (for example `sse4` or `aes`).

- **`elements`** *array of objects*

This OPTIONAL property contains a list of non-manifest objects.
The size of the array MAY be zero.

Each object in `elements` has the base properties of [descriptor](descriptor.md).

- **`annotations`** *string-string map*

This OPTIONAL property contains arbitrary metadata for the manifest list.
Expand Down

0 comments on commit 9ad15cf

Please sign in to comment.