update schema to include variables in script

This commit is contained in:
2022-08-10 23:34:07 +02:00
parent 91072cc4e6
commit 2c406cf6eb

View File

@@ -43,6 +43,7 @@
"required": [ "required": [
"type" "type"
], ],
"additionalProperties": false
"properties": { "properties": {
"type": { "type": {
"enum": [ "enum": [
@@ -53,7 +54,23 @@
"description": { "description": {
"type": "string" "type": "string"
}, },
"vars": {
"type": "object",
"title": "your collection of variables to be available to cuddle",
"patternProperties": {
"^.*$": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
}
},
"additionalProperties": false "additionalProperties": false
},
} }
} }
} }