Schema for Caesar Event Reminders

From EventReminders.schema.yaml (caesar/EventReminders.schema)

---
$id: https://skeleton.botmd.io/caesar/EventReminders.schema
$schema: http://json-schema.org/draft-07/schema

title: Event Reminders
description: Reminders for an event. This is synced post-save to Kronos and used as a convenient tool to trigger callbacks at a specific time before/after the event.

type: array
minItems: 0
items:
  title: Reminder
  description: Each reminder object corresponds to a `OneOoff` Kronos task schedule.

  type: object
  required: [interval]
  additionalProperties: false

  properties:
    interval:
      title: Interval
      description: Number of seconds before (negative) or after (positive) the event start time.

      type: integer
    #end interval

    callback_data:
      title: Callback Data
      description: Data to pass to the application `on_event_reminder` method.

      type: object
      required: []
      additionalProperties: true
    #end callback_data
  #end properties
#end items

[Main Page] [Schema Documentation] [Examples]