15 lines
439 B
JSON
15 lines
439 B
JSON
{
|
|
"$id": "container-image.schema.json",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "container-image",
|
|
"description": "A docker container image",
|
|
"type": "object",
|
|
"required": [ "name" ],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"pattern": "^(?:[-0-9A-Za-z_.]+((?::[0-9]+|)(?:/[-a-z0-9._]+/[-a-z0-9._]+))|)(?:/|)(?:[-a-z0-9._]+(?:/[-a-z0-9._]+|))(:(?:[-0-9A-Za-z_.]{1,127})|)$"
|
|
}
|
|
}
|
|
}
|