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

Update artifact manifest spec to make mediaType REQUIRED #101

Merged
merged 1 commit into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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