You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: artifact.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,15 @@ For the media type(s) that this is compatible with see the [matrix](media-types.
17
17
18
18
-**`blobs`***string*
19
19
20
-
This OPTIONAL property contains a list of [descriptors](descriptor.md). Each descriptor represents an artifact of any IANA mediaType. The list MAY be ordered for certain artifact types like scan results.
20
+
This OPTIONAL property contains a list of [descriptors](descriptor.md).
21
+
Each descriptor represents an artifact of any IANA mediaType.
22
+
The list MAY be ordered for certain artifact types like scan results.
21
23
22
24
-**`refers`***string*
23
25
24
-
This OPTIONAL property specifies a [descriptor](descriptor.md) of a container image or another artifact. The purpose of this property is to provide a reference to the container image or artifact this artifact is related to. The "Referrers" API in the distribution specification looks for this property to list all artifacts that refer to a given artifact or container image.
26
+
This OPTIONAL property specifies a [descriptor](descriptor.md) of a container image or another artifact.
27
+
The purpose of this property is to provide a reference to the container image or artifact this artifact is related to.
28
+
The "Referrers" API in the distribution specification looks for this property to list all artifacts that refer to a given artifact or container image.
Copy file name to clipboardExpand all lines: descriptor.md
+13-8
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
# OCI Content Descriptors
2
2
3
-
* An OCI image consists of several different components, arranged in a [Merkle Directed Acyclic Graph (DAG)](https://en.wikipedia.org/wiki/Merkle_tree).
4
-
* References between components in the graph are expressed through _Content Descriptors_.
5
-
* A Content Descriptor (or simply _Descriptor_) describes the disposition of the targeted content.
6
-
* A Content Descriptor includes the type of the content, a content identifier (_digest_), and the byte-size of the raw content. Optionally, it includes the type of artifact it is describing.
7
-
* Descriptors SHOULD be embedded in other formats to securely reference external content.
8
-
* Other formats SHOULD use descriptors to securely reference external content.
3
+
- An OCI image consists of several different components, arranged in a [Merkle Directed Acyclic Graph (DAG)](https://en.wikipedia.org/wiki/Merkle_tree).
4
+
- References between components in the graph are expressed through _Content Descriptors_.
5
+
- A Content Descriptor (or simply _Descriptor_) describes the disposition of the targeted content.
6
+
- A Content Descriptor includes the type of the content, a content identifier (_digest_), and the byte-size of the raw content.
7
+
Optionally, it includes the type of artifact it is describing.
8
+
- Descriptors SHOULD be embedded in other formats to securely reference external content.
9
+
- Other formats SHOULD use descriptors to securely reference external content.
9
10
10
11
This section defines the `application/vnd.oci.descriptor.v1+json`[media type](media-types.md).
11
12
@@ -72,7 +73,7 @@ The _algorithm_ specifies the cryptographic hash function and encoding used for
72
73
73
74
A digest string MUST match the following [grammar](considerations.md#ebnf):
0 commit comments