From 2c406cf6eb42906aa6b4dab899caff0a19545f82 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 10 Aug 2022 23:34:07 +0200 Subject: [PATCH] update schema to include variables in script --- schemas/base.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/schemas/base.json b/schemas/base.json index 4daa12c..66de964 100644 --- a/schemas/base.json +++ b/schemas/base.json @@ -43,6 +43,7 @@ "required": [ "type" ], + "additionalProperties": false "properties": { "type": { "enum": [ @@ -53,7 +54,23 @@ "description": { "type": "string" }, - "additionalProperties": false + "vars": { + "type": "object", + "title": "your collection of variables to be available to cuddle", + "patternProperties": { + "^.*$": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object" + } + ] + } + }, + "additionalProperties": false + }, } } }