From 513a529e85788f11866b84ff6f5d98a1eb245615 Mon Sep 17 00:00:00 2001 From: Charlie Powell Date: Thu, 15 Aug 2024 00:46:22 -0400 Subject: [PATCH] Proposed work for amidaware/community-scripts#245 Just add the env and run_as_user keys to the schema. --- community_scripts.schema.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/community_scripts.schema.json b/community_scripts.schema.json index 4c700e1..72ef7e2 100644 --- a/community_scripts.schema.json +++ b/community_scripts.schema.json @@ -22,6 +22,17 @@ "type": "string" } }, + "env": { + "description": "The script environmental variables listed as an array.", + "type": "array", + "items": { + "type": "string" + } + }, + "run_as_user": { + "description": "Run this script as the active user as opposed to System (Windows only)", + "type": "boolean" + }, "filename": { "description": "The filename of the script.", "type": "string"