update schema to include variables in script

This commit is contained in:
Kasper Juul Hermansen 2022-08-10 23:34:07 +02:00
parent 91072cc4e6
commit 2c406cf6eb
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

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