Skip to content

Commit af33c5a

Browse files
committed
descriptor: clarify value of artifactType field
Signed-off-by: Bjorn Neergaard <[email protected]>
1 parent 3f60669 commit af33c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

descriptor.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ The following fields contain the primary properties that constitute a Descriptor
5454

5555
- **`artifactType`** *string*
5656

57-
This OPTIONAL property contains the type of an artifact when the descriptor points to an artifact.
58-
This is the value of the config descriptor `mediaType` when the descriptor references an [image manifest](manifest.md).
57+
This OPTIONAL property contains the type of an artifact when the descriptor points to an [artifact](artifacts-guidance.md).
58+
This property MUST be the same as the `artifactType` of the referenced [manifest](manifest.md), or the `mediaType` of the `config` descriptor if an `artifactType` is not set.
5959
If defined, the value MUST comply with [RFC 6838][rfc6838], including the [naming requirements in its section 4.2][rfc6838-s4.2], and MAY be registered with [IANA][iana].
6060

6161
Descriptors pointing to [`application/vnd.oci.image.manifest.v1+json`](manifest.md) SHOULD include the extended field `platform`, see [Image Index Property Descriptions](image-index.md#image-index-property-descriptions) for details.

0 commit comments

Comments
 (0)