From d9ec36797602c4080a5f037c22d54eafea259a14 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 28 Sep 2023 01:05:44 +0200 Subject: [PATCH] improve json-schema with pattern for image Signed-off-by: Simon L --- php/containers-schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/containers-schema.json b/php/containers-schema.json index d82338c8..d039d205 100644 --- a/php/containers-schema.json +++ b/php/containers-schema.json @@ -14,7 +14,8 @@ "properties": { "image": { "type": "string", - "minLength": 1 + "minLength": 1, + "pattern": "^[a-z0-9/-]+$" }, "expose": { "type": "array",