From d0982cfe9f54ab07f1db762bdd444a2cca976f3f Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 13 Oct 2021 10:39:05 +0200 Subject: [PATCH] Updated schemas --- source/behavior/entities/format/components/interact.json | 1 + source/behavior/entities/format/components/physics.json | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/source/behavior/entities/format/components/interact.json b/source/behavior/entities/format/components/interact.json index 1a4ae115..bb1249eb 100644 --- a/source/behavior/entities/format/components/interact.json +++ b/source/behavior/entities/format/components/interact.json @@ -4,6 +4,7 @@ "title": "Interact", "description": "Defines interactions with this entity.", "additionalProperties": false, + "examples": [{ "interactions": [] }], "definitions": { "interaction_spec": { "type": "object", diff --git a/source/behavior/entities/format/components/physics.json b/source/behavior/entities/format/components/physics.json index 89b282a9..066ae291 100644 --- a/source/behavior/entities/format/components/physics.json +++ b/source/behavior/entities/format/components/physics.json @@ -19,10 +19,5 @@ "title": "Has Gravity" } }, - "examples": [ - { - "has_collision": true, - "has_gravity": true - } - ] + "examples": [{}, { "has_collision": true, "has_gravity": true }] }