Skip to content

Commit 069d186

Browse files
committed
Unknown descriptor mediatypes MUST be ignored
Signed-off-by: Jimmy Zelinskie <[email protected]>
1 parent befc3cb commit 069d186

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

image-index.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The image index is a higher-level manifest which points to specific [image manif
44
While the use of an image index is OPTIONAL for image providers, image consumers SHOULD be prepared to process them.
55

66
This section defines the `application/vnd.oci.image.index.v1+json` [media type](media-types.md).
7+
78
For the media type(s) that this document is compatible with, see the [matrix][matrix].
89

910
## *Image Index* Property Descriptions
@@ -40,7 +41,7 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
4041

4142
Image indexes concerned with portability SHOULD use one of the above media types.
4243
Future versions of the spec MAY use a different mediatype (i.e. a new versioned format).
43-
An encountered `mediaType` that is unknown SHOULD be safely ignored.
44+
An encountered `mediaType` that is unknown to the implementation MUST be ignored.
4445

4546
- **`platform`** *object*
4647

manifest.md

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Unlike the [image index](image-index.md), which contains information about a set
6060
- [`application/vnd.oci.image.layer.nondistributable.v1.tar+gzip`](layer.md#gzip-media-types)
6161

6262
Manifests concerned with portability SHOULD use one of the above media types.
63+
An encountered `mediaType` that is unknown to the implementation MUST be ignored.
64+
6365

6466
Entries in this field will frequently use the `+gzip` types.
6567

0 commit comments

Comments
 (0)