Schedule Data Type

A schedule.

Properties
name data type description
enabled boolean Indicates whether or not this schedule is enabled.
when string Can be "daily" or "selected_days". If "selected_days", the "selected_days" field should also be set.
selected_days SelectedDays If "when" is "selected_days", this defines on which days the schedule is active.
at Time For once-a-day schedules, this is the time (GMT) at which the schedule should activate.
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

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
  }
}