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", "title": "Add Or Remove",
"description": "The components groups to add or remove", "description": "The components groups to add or remove",
"type": "object", "type": "object",
"examples": [{ "add": { "component_groups": [] } }, { "remove": { "component_groups": [] } }], "examples": [{ "component_groups": [] }],
"properties": { "properties": {
"component_groups": { "component_groups": {
"title": "Component Groups", "title": "Component Groups",
@@ -23,6 +23,7 @@
"event_base": { "event_base": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"examples": [{ "add": { "component_groups": [] } }, { "remove": { "component_groups": [] } }],
"properties": { "properties": {
"filters": { "$ref": "./../filters/filters.json" }, "filters": { "$ref": "./../filters/filters.json" },
"trigger": { "type": "string", "description": "Triggers additional events", "$comment": "UNDOCUMENTED", "title": "Trigger" }, "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", "description": "Each group when add / remove the default components",
"uniqueItems": true, "uniqueItems": true,
"type": "object", "type": "object",
"propertyNames": { "examples": ["self:"] },
"additionalProperties": { "additionalProperties": {
"$ref": "./components.json", "$ref": "./components.json",
"uniqueItems": true, "uniqueItems": true,