Skip to content

Commit c4b16c3

Browse files
authored
Merge pull request opencontainers#442 from wking/descriptor-url-specifics
descriptor: MUST URIs and SHOULD http(s) for descriptor's 'urls'
2 parents 03f258e + 876489a commit c4b16c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

descriptor.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ The following fields contain the primary properties that constitute a Descriptor
3636

3737
- **`urls`** *array*
3838

39-
This OPTIONAL property specifies a list of URLs from which this object MAY be downloaded.
39+
This OPTIONAL property specifies a list of URIs from which this object MAY be downloaded.
40+
Each entry MUST conform to [RFC 3986][rfc3986].
41+
Entries SHOULD use the `http` and `https` schemes, as defined in [RFC 7230][rfc7230-s2.7].
4042

4143
### Reserved
4244

@@ -117,3 +119,6 @@ The following example describes a [_Manifest_](manifest.md#image-manifest) with
117119
"digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270"
118120
}
119121
```
122+
123+
[rfc3986]: https://tools.ietf.org/html/rfc3986
124+
[rfc7230-s2.7]: https://tools.ietf.org/html/rfc7230#section-2.7

0 commit comments

Comments
 (0)