improve json-schema with pattern for image

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-09-28 01:05:44 +02:00
parent 810bfa1450
commit d9ec367976

View file

@ -14,7 +14,8 @@
"properties": { "properties": {
"image": { "image": {
"type": "string", "type": "string",
"minLength": 1 "minLength": 1,
"pattern": "^[a-z0-9/-]+$"
}, },
"expose": { "expose": {
"type": "array", "type": "array",