Skip to content

Commit 5f31485

Browse files
committed
*.md: bring mediaType out of reserved status
Signed-off-by: Vincent Batts <[email protected]>
1 parent d600991 commit 5f31485

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

image-index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
1717

1818
- **`mediaType`** *string*
1919

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

2324
- **`manifests`** *array of objects*
2425

manifest.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ Unlike the [image index](image-index.md), which contains information about a set
2222

2323
- **`mediaType`** *string*
2424

25-
This property is *reserved* for use, to [maintain compatibility](media-types.md#compatibility-matrix).
26-
When used, this field contains the media type of this document, which differs from the [descriptor](descriptor.md#properties) use of `mediaType`.
25+
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.
26+
When used, this field MUST contain the media type `application/vnd.oci.image.manifest.v1+json`.
27+
This field usage differs from the [descriptor](descriptor.md#properties) use of `mediaType`.
2728

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

0 commit comments

Comments
 (0)