From b651c013d402f0fe67b8950bdc1378f8304a41b1 Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 30 Sep 2023 00:31:48 +0200 Subject: [PATCH] fix failing schema validation Signed-off-by: Simon L --- php/containers-schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/containers-schema.json b/php/containers-schema.json index d039d205..96789207 100644 --- a/php/containers-schema.json +++ b/php/containers-schema.json @@ -40,7 +40,7 @@ }, "display_name": { "type": "string", - "pattern": "^[A-Za-z 0-9]+$" + "pattern": "^[A-Za-z 0-9-]+$" }, "environment": { "type": "array", @@ -74,7 +74,7 @@ }, "port_number": { "type": "string", - "pattern": "^(%[A-Z_]+%)$" + "pattern": "^(%[A-Z_]+%|[0-9]{1,5})$" }, "protocol": { "type": "string",