From f91e95a19ec44fc89156f43ab605abb16c0d876f Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Wed, 13 Jul 2022 21:27:03 +0100 Subject: [PATCH] Update scheduler.json #39 --- .../entities/format/components/scheduler.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/source/behavior/entities/format/components/scheduler.json b/source/behavior/entities/format/components/scheduler.json index 0a5650c2..c6b1c39c 100644 --- a/source/behavior/entities/format/components/scheduler.json +++ b/source/behavior/entities/format/components/scheduler.json @@ -6,29 +6,28 @@ "additionalProperties": false, "properties": { "min_delay_secs": { - "type": "integer", - "description": "The minimum time in seconds before a scheduled event occurs", - "$comment": "UNDOCUMENTED", "title": "Minimum Delay Secs", + "type": "number", + "default": 0, + "description": "The minimum the scheduler will be delayed.", "minimum": 0 }, "max_delay_secs": { - "type": "integer", - "description": "The maximum time in seconds before a scheduled event occurs", - "$comment": "UNDOCUMENTED", "title": "Maximum Delay Secs", + "type": "number", + "default": 0, + "description": "The maximum the scheduler will be delayed.", "minimum": 0 }, "scheduled_events": { + "title": "Scheduled Events", "type": "array", "description": "The list of triggers that fire when the conditions match the given filter criteria. If any filter criteria overlap the first defined event will be picked.", - "title": "Scheduled Events", "items": { + "title": "Scheduled Events", "additionalProperties": false, "type": "object", "description": "A filter and event pair. The event runs when the filter criteria succeeds", - "$comment": "UNDOCUMENTED", - "title": "Scheduled Events", "properties": { "filters": { "$ref": "../../filters/filters.json"