dev.skytick.recurrence

skytick.dev

Documentation

A rule that adds a task to a list again and again.

main record

A rule that adds a task to a list again and again.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

endOn string Optional

Local date (YYYY-MM-DD) after which no tasks are added.

maxLength: 100 bytesmaxGraphemes: 10 graphemes
freq string Required

No description available.

Allowed: daily, weekly, monthly, yearly
interval integer Required

Repeat every N days, weeks, months or years.

minimum: 1maximum: 999
lastGeneratedOn string Optional

Local date (YYYY-MM-DD) of the newest occurrence that was already turned into a task.

maxLength: 100 bytesmaxGraphemes: 10 graphemes
list string Required

Record key (rkey) of the list the tasks are added to.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
monthDay integer Optional

Day of the month for monthly rules; absent means the day of startOn. Short months use their last day.

minimum: 1maximum: 31
paused boolean Optional

No description available.

remindHour integer Optional

Local hour (0-23) at which each generated task sends a reminder; absent means no reminder.

minimum: 0maximum: 23
startOn string Required

Local date (YYYY-MM-DD) of the first occurrence.

maxLength: 100 bytesmaxGraphemes: 10 graphemes
text string Required

No description available.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
updatedAt string datetime Optional

An RFC 3339 formatted timestamp.

weekdays array of integer Optional

Weekdays 0-6 (Sun-Sat) for weekly rules; absent means the weekday of startOn.

maxLength: 7 items
View raw schema
{
  "description": "A rule that adds a task to a list again and again.",
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "endOn": {
        "description": "Local date (YYYY-MM-DD) after which no tasks are added.",
        "maxGraphemes": 10,
        "maxLength": 100,
        "type": "string"
      },
      "freq": {
        "enum": [
          "daily",
          "weekly",
          "monthly",
          "yearly"
        ],
        "type": "string"
      },
      "interval": {
        "description": "Repeat every N days, weeks, months or years.",
        "maximum": 999,
        "minimum": 1,
        "type": "integer"
      },
      "lastGeneratedOn": {
        "description": "Local date (YYYY-MM-DD) of the newest occurrence that was already turned into a task.",
        "maxGraphemes": 10,
        "maxLength": 100,
        "type": "string"
      },
      "list": {
        "description": "Record key (rkey) of the list the tasks are added to.",
        "maxGraphemes": 64,
        "maxLength": 640,
        "type": "string"
      },
      "monthDay": {
        "description": "Day of the month for monthly rules; absent means the day of startOn. Short months use their last day.",
        "maximum": 31,
        "minimum": 1,
        "type": "integer"
      },
      "paused": {
        "type": "boolean"
      },
      "remindHour": {
        "description": "Local hour (0-23) at which each generated task sends a reminder; absent means no reminder.",
        "maximum": 23,
        "minimum": 0,
        "type": "integer"
      },
      "startOn": {
        "description": "Local date (YYYY-MM-DD) of the first occurrence.",
        "maxGraphemes": 10,
        "maxLength": 100,
        "type": "string"
      },
      "text": {
        "maxGraphemes": 500,
        "maxLength": 5000,
        "type": "string"
      },
      "updatedAt": {
        "format": "datetime",
        "type": "string"
      },
      "weekdays": {
        "description": "Weekdays 0-6 (Sun-Sat) for weekly rules; absent means the weekday of startOn.",
        "items": {
          "maximum": 6,
          "minimum": 0,
          "type": "integer"
        },
        "maxLength": 7,
        "type": "array"
      }
    },
    "required": [
      "list",
      "text",
      "freq",
      "interval",
      "startOn",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@