Schedule Data Type

A schedule.

Properties
name data type description
at Time For once-a-day schedules, this is the time (GMT) at which the schedule should activate.
enabled boolean Indicates whether or not this schedule is enabled.
every Time For repeating schedules, this is the interval with which the schedule activates.

Valid time values are 0:15, 0:30, 0:45, 1:00, 2:00, 3:00, 4:00, 6:00, 8:00 and 12:00

selected_days SelectedDays If "when" is "selected_days", this defines on which days the schedule is active.
when string Can be "daily" or "selected_days". If "selected_days", the "selected_days" field should also be set.

Example

{
  "enabled" : true,
  "when" : "...",
  "selected_days" : {
    "sun" : true,
    "mon" : true,
    "tue" : true,
    "wed" : true,
    "thu" : true,
    "fri" : true,
    "sat" : true
  },
  "at" : {
    "hour" : 12345,
    "minute" : 12345
  },
  "every" : {
    "hour" : 12345,
    "minute" : 12345
  }
}