Skip to content

Commit

Permalink
*.md: bring mediaType out of reserved status
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
  • Loading branch information
vbatts committed Nov 9, 2021
1 parent d600991 commit 5f31485
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions image-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

- **`mediaType`** *string*

This property is *reserved* for use, to [maintain compatibility][matrix].
When used, this field contains the media type of this document, which differs from the [descriptor](descriptor.md#properties) use of `mediaType`.
This property SHOULD be used and [remain compatible][matrix] with earlier versions of this specification and with other similar external formats.
When used, this field MUST contain the media type `application/vnd.oci.image.index.v1+json`.
This field usage differs from the [descriptor](descriptor.md#properties) use of `mediaType`.

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

Expand Down
5 changes: 3 additions & 2 deletions manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ Unlike the [image index](image-index.md), which contains information about a set

- **`mediaType`** *string*

This property is *reserved* for use, to [maintain compatibility](media-types.md#compatibility-matrix).
When used, this field contains the media type of this document, which differs from the [descriptor](descriptor.md#properties) use of `mediaType`.
This property SHOULD be used and [remain compatible](media-types.md#compatibility-matrix) with earlier versions of this specification and with other similar external formats.
When used, this field MUST contain the media type `application/vnd.oci.image.manifest.v1+json`.
This field usage differs from the [descriptor](descriptor.md#properties) use of `mediaType`.

- **`config`** *[descriptor](descriptor.md)*

Expand Down

0 comments on commit 5f31485

Please sign in to comment.