From 4d01fe58d9930579f26d1ce7a49ce34becca3ef7 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Fri, 8 Oct 2021 14:18:36 +0200 Subject: [PATCH] Updating and fixing --- source/behavior/entities/format/events.json | 3 ++- source/behavior/entities/format/minecraft.entity.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/behavior/entities/format/events.json b/source/behavior/entities/format/events.json index b2733b3a..fb48d441 100644 --- a/source/behavior/entities/format/events.json +++ b/source/behavior/entities/format/events.json @@ -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" }, diff --git a/source/behavior/entities/format/minecraft.entity.json b/source/behavior/entities/format/minecraft.entity.json index 587078d6..4cf10fdf 100644 --- a/source/behavior/entities/format/minecraft.entity.json +++ b/source/behavior/entities/format/minecraft.entity.json @@ -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,