From 1736faa30955fe74f0599438bff610ab64556424 Mon Sep 17 00:00:00 2001 From: Viacheslav Klimov Date: Thu, 4 Dec 2025 12:15:24 +0200 Subject: [PATCH] Update alarm rule schedule docs --- .../alarm-rule/alarm_rule_schedule_format.md | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/ui-ngx/src/assets/help/en_US/alarm-rule/alarm_rule_schedule_format.md b/ui-ngx/src/assets/help/en_US/alarm-rule/alarm_rule_schedule_format.md index 94ffabbc34..c49d1029bf 100644 --- a/ui-ngx/src/assets/help/en_US/alarm-rule/alarm_rule_schedule_format.md +++ b/ui-ngx/src/assets/help/en_US/alarm-rule/alarm_rule_schedule_format.md @@ -1,6 +1,6 @@ -#### Active all time schedule format +#### Active-all-the-time schedule format -An attribute with a dynamic value for an active all-time schedule format must contain an empty JSON object or JSON in the following format: +For a schedule that is always active, the argument can be an empty JSON object or a JSON object in the following format: ```javascript { @@ -10,7 +10,7 @@ An attribute with a dynamic value for an active all-time schedule format must co #### Specific time schedule format -An attribute with a dynamic value for a specific schedule format must have JSON in the following format: +The argument value for a specific time schedule must be a JSON object in the following format (the `type` field is optional): ```javascript { @@ -27,23 +27,25 @@ An attribute with a dynamic value for a specific schedule format must have JSON -When startsOn and endsOn equals 0 it's means that the schedule will be active the whole day. + +If both startsOn and endsOn are 0, the schedule is active for the entire day. #### Custom time schedule format -An attribute with a dynamic value for a custom schedule format must have JSON in the following format: +The argument value for a specific time schedule must be a JSON object in the following format (the `type` field is optional): ```javascript { @@ -98,26 +100,28 @@ An attribute with a dynamic value for a custom schedule format must have JSON in -One array item contains such fields: +Each item represents one day of the week and contains: -When startsOn and endsOn equals 0 it's means that the schedule will be active the whole day. + +If both startsOn and endsOn are 0, the schedule is active for the entire day.