Skip to content

Commit 674b414

Browse files
committed
*: Replace '*array*' with '*array of {type}*'
Covering all cases turned up by: $ git grep '\*array' runtime-spec does this pretty consistently, and the first such usage appeared in image-spec with f3d0f78 (config: reformat and add optional/required, 2016-09-20, opencontainers#333). And before that, c22ca79 (serialization: docker v1 image format media type, 2016-04-04, opencontainers#6) had landed some: <code>array of strings</code> Signed-off-by: W. Trevor King <[email protected]>
1 parent 28b83df commit 674b414

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
139139
MUST be set to `layers`.
140140
Implementations MUST generate an error if they encounter a unknown value while verifying or unpacking an image.
141141

142-
- **diff_ids** *array*, REQUIRED
142+
- **diff_ids** *array of strings*, REQUIRED
143143

144144
An array of layer content hashes (`DiffIDs`), in order from first to last.
145145

descriptor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The following fields contain the primary properties that constitute a Descriptor
3434
This property exists so that a client will have an expected size for the content before processing.
3535
If the length of the retrieved content does not match the specified length, the content SHOULD NOT be trusted.
3636

37-
- **`urls`** *array*
37+
- **`urls`** *array of strings*
3838

3939
This OPTIONAL property specifies a list of URLs from which this object MAY be downloaded.
4040

manifest-list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This section defines the `application/vnd.oci.image.manifest.list.v1+json` [medi
1818
For this version of the specification, this MUST be set to `application/vnd.oci.image.manifest.list.v1+json`.
1919
For the media type(s) that this is compatible with see the [matrix](media-types.md#compatibility-matrix).
2020

21-
- **`manifests`** *array*
21+
- **`manifests`** *array of objects*
2222

2323
This REQUIRED property contains a list of manifests for specific platforms.
2424
While the property MUST be present, the size of the array MAY be zero.
@@ -52,15 +52,15 @@ This section defines the `application/vnd.oci.image.manifest.list.v1+json` [medi
5252

5353
This OPTIONAL property specifies the operating system version, for example `10.0.10586`.
5454

55-
- **`os.features`** *array*
55+
- **`os.features`** *array of strings*
5656

5757
This OPTIONAL property specifies an array of strings, each specifying a mandatory OS feature (for example on Windows `win32k`).
5858

5959
- **`variant`** *string*
6060

6161
This OPTIONAL property specifies the variant of the CPU, for example `armv6l` to specify a particular CPU variant of the ARM CPU.
6262

63-
- **`features`** *array*
63+
- **`features`** *array of strings*
6464

6565
This OPTIONAL property specifies an array of strings, each specifying a mandatory CPU feature (for example `sse4` or `aes`).
6666

manifest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Unlike the [Manifest List](manifest-list.md), which contains information about a
3939

4040
Manifests concerned with portability SHOULD use one of the above media types.
4141

42-
- **`layers`** *array*
42+
- **`layers`** *array of objects*
4343

4444
Each item in the array MUST be a [descriptor](descriptor.md).
4545
The array MUST have the base image at index 0.

0 commit comments

Comments
 (0)