Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Update artifact manifest spec to make mediaType REQUIRED (#101)
Browse files Browse the repository at this point in the history
Fixes: #100

Signed-off-by: Michael Brown <brownxmi@amazon.com>
  • Loading branch information
michaelb990 committed Jun 8, 2022
1 parent 1a9bb3f commit 7c0b1c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artifact-manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ The `artifact.manifest` provides an optional collection of `blobs`, an optional

- **`mediaType`** *string*

This field contains the `mediaType` of this document, differentiating from [image-manifest][oci-image-manifest-spec] and [image-index][oci-image-index]. The `mediaType` for this manifest type MUST be `application/vnd.cncf.oras.artifact.manifest.v1+json`, where the version WILL change to reflect newer versions.
This REQUIRED field contains the `mediaType` of this document, differentiating from [image-manifest][oci-image-manifest-spec] and [image-index][oci-image-index].
The `mediaType` for this manifest type MUST be `application/vnd.cncf.oras.artifact.manifest.v1+json`, where the version WILL change to reflect newer versions.

- **`artifactType`** *string*

Expand Down
1 change: 1 addition & 0 deletions examples/net-monitor-oci-image.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"schemaVersion": 2,
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
Expand Down

0 comments on commit 7c0b1c0

Please sign in to comment.