From 12c1f7425e081abaceed19bd2d31ee6f3cdfc467 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 6 Nov 2023 13:48:23 +0100 Subject: [PATCH] fileformats.schema - add pattern to rename.new_name --- fileformats.schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fileformats.schema.json b/fileformats.schema.json index 082da93..b849b74 100644 --- a/fileformats.schema.json +++ b/fileformats.schema.json @@ -155,7 +155,8 @@ "type": "object", "properties": { "new_name": { - "type": "string" + "type": "string", + "pattern": "^(\\{(name|stem|suffix)\\}|[^{}])+$" } } },