{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/taskhold-com/json-schema/taskhold-com-repeat-schema.json",
  "title": "Repeat",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/taskhold-com-openapi.yml#/components/schemas/Repeat",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "summary": {
      "type": "string",
      "description": "e.g. Every Monday at 9:00 am"
    },
    "rule": {
      "type": "object",
      "description": "The schedule in the RepeatInput object form, with timezone"
    },
    "timezone": {
      "type": "string"
    },
    "paused": {
      "type": "boolean"
    },
    "next_run_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Null while paused"
    },
    "last_run_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "last_skipped_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Last run that made no copy because the previous one was still open"
    },
    "last_task_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "project": {
      "type": [
        "object",
        "null"
      ]
    },
    "title": {
      "type": "string"
    },
    "steps": {
      "type": "integer",
      "description": "Steps each copy gets"
    }
  }
}