diff --git a/annotations.md b/annotations.md index f55f2e763..6c910b4aa 100644 --- a/annotations.md +++ b/annotations.md @@ -28,7 +28,10 @@ This specification defines the following annotation keys, intended for but not l * **org.opencontainers.image.revision** Source control revision identifier for the packaged software. * **org.opencontainers.image.vendor** Name of the distributing entity, organization or individual. * **org.opencontainers.image.licenses** License(s) under which contained software is distributed as a [SPDX License Expression][spdx-license-expression]. -* **org.opencontainers.image.ref.name** Name of the reference for a target (string). SHOULD only be considered valid when on descriptors on `index.json` within [image layout](image-layout.md). +* **org.opencontainers.image.ref.name** Name of the reference for a target (string). + * SHOULD only be considered valid when on descriptors on `index.json` within [image layout](image-layout.md). + * Character set of the value SHOULD conform to alphanum of `A-Za-z0-9` and separator set of `-._:@/+` + * Recommended regular expression of `/[A-Za-z0-9]+[-._:@/+A-Za-z0-9]*[A-Za-z0-9]+/` * **org.opencontainers.image.title** Human-readable title of the image (string) * **org.opencontainers.image.description** Human-readable description of the software packaged in the image (string)