From 64af575e124cef4dce3f39dbdb45ce6defe9cfb9 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 24 Mar 2024 18:07:14 +0100 Subject: [PATCH] fix: allow dots in variable names --- schemas/merged-raw.json | 2 +- schemas/merged-slim.json | 4 ++-- schemas/merged-ultraslim.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/merged-raw.json b/schemas/merged-raw.json index 22e0100..72f4e95 100644 --- a/schemas/merged-raw.json +++ b/schemas/merged-raw.json @@ -7,7 +7,7 @@ "vars": { "type": "object", "patternProperties": { - "^([a-zA-Z_-]+)": { + "^([a-zA-Z\\._-]+)": { "type": "object", "required": ["name", "ids"], "properties": { diff --git a/schemas/merged-slim.json b/schemas/merged-slim.json index 7a7cb85..467b407 100644 --- a/schemas/merged-slim.json +++ b/schemas/merged-slim.json @@ -8,7 +8,7 @@ "vars": { "type": "object", "patternProperties": { - "^([a-zA-Z_-]+)": { + "^([a-zA-Z\\._-]+)": { "type": "object", "required": ["name", "ids"], "properties": { @@ -36,7 +36,7 @@ "additionalItems": false, "items": { "type": "string", - "pattern": "^[0-9]+#[A-Za-z0-9_-]*$", + "pattern": "^[0-9]+#[A-Za-z0-9\\._-]*$", "minLength": 2 } }, diff --git a/schemas/merged-ultraslim.json b/schemas/merged-ultraslim.json index b8bc4e4..f12bba8 100644 --- a/schemas/merged-ultraslim.json +++ b/schemas/merged-ultraslim.json @@ -9,7 +9,7 @@ "$id": "/properties/vars", "type": "object", "patternProperties": { - "^([a-zA-Z_-]+)": { + "^([a-zA-Z\\._-]+)": { "type": "object", "properties": { "t": {