Updating and fixing

This commit is contained in:
DaanV2
2021-10-08 14:18:36 +02:00
parent 9589d79117
commit 4d01fe58d9
2 changed files with 3 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
"title": "Add Or Remove",
"description": "The components groups to add or remove",
"type": "object",
"examples": [{ "add": { "component_groups": [] } }, { "remove": { "component_groups": [] } }],
"examples": [{ "component_groups": [] }],
"properties": {
"component_groups": {
"title": "Component Groups",
@@ -23,6 +23,7 @@
"event_base": {
"additionalProperties": false,
"type": "object",
"examples": [{ "add": { "component_groups": [] } }, { "remove": { "component_groups": [] } }],
"properties": {
"filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "Triggers additional events", "$comment": "UNDOCUMENTED", "title": "Trigger" },

View File

@@ -82,6 +82,7 @@
"description": "Each group when add / remove the default components",
"uniqueItems": true,
"type": "object",
"propertyNames": { "examples": ["self:"] },
"additionalProperties": {
"$ref": "./components.json",
"uniqueItems": true,