{
  "failure-create": {
    "record": {
      "status": 200,
      "body": {
        "_id": "6aad57359abb688a56141302",
        "datatype": "schedule",
        "data": {
          "name": "tutorial-recover-status",
          "title": "Tutorial recover a malformed target",
          "type": "simple",
          "status": "done",
          "target": [
            {
              "id": "6aad55fdbef5e1976f5c9199",
              "datatype": "note"
            }
          ],
          "start": {
            "date": "2026-09-18T15:24:36.974Z",
            "action": "update-status",
            "actionArgs": "reviewed"
          },
          "lastRun": "2026-09-18T15:24:37.003Z"
        },
        "author": "learnmu4qn1ha@example.com",
        "name": "tutorial-recover-status",
        "created_by": "learnmu4qn1ha@example.com",
        "state": "draft",
        "pk": "learnmu4qn1ha|schedule",
        "createdate": "2026-09-18T15:22:29.351Z",
        "modifydate": "2026-09-18T15:24:37.031Z",
        "version": 1,
        "sk": "6aad57359abb688a56141302",
        "modified_by": "learnmu4qn1ha@example.com"
      }
    },
    "runs": {
      "status": 200,
      "body": {
        "scheduleId": "6aad57359abb688a56141302",
        "totalRuns": 1,
        "runs": [
          {
            "id": "6aad57b563e53f19a26bbcd0",
            "scheduleId": "6aad57359abb688a56141302",
            "timestamp": "2026-09-18T15:24:37.033Z",
            "status": "success",
            "type": "update",
            "comment": "Schedule started: Tutorial recover a malformed target",
            "meta": {
              "action": "update-status",
              "jobId": "learnmu4qn1ha-6aad57359abb688a56141302-start",
              "nextRun": null
            }
          }
        ]
      }
    }
  },
  "tutorial-paused-check": {
    "record": {
      "status": 200,
      "body": {
        "_id": "6aad57aa9abb688a56141313",
        "datatype": "schedule",
        "data": {
          "name": "tutorial-paused-check",
          "title": "tutorial-paused-check",
          "type": "simple",
          "status": "done",
          "target": [
            {
              "datatype": "note",
              "id": "6aad55fdbef5e1976f5c9199"
            }
          ],
          "start": {
            "date": "2026-09-18T15:25:56.899Z",
            "action": "update-status",
            "actionArgs": "tutorial-paused-check"
          },
          "lastRun": "2026-09-18T15:25:56.906Z"
        },
        "author": "learnmu4qn1ha@example.com",
        "name": "tutorial-paused-check",
        "created_by": "learnmu4qn1ha@example.com",
        "state": "draft",
        "pk": "learnmu4qn1ha|schedule",
        "createdate": "2026-09-18T15:24:26.920Z",
        "modifydate": "2026-09-18T15:25:56.922Z",
        "version": 0,
        "sk": "6aad57aa9abb688a56141313"
      }
    },
    "runs": {
      "status": 200,
      "body": {
        "scheduleId": "6aad57aa9abb688a56141313",
        "totalRuns": 1,
        "runs": [
          {
            "id": "6aad580463e53f19a26bbcd1",
            "scheduleId": "6aad57aa9abb688a56141313",
            "timestamp": "2026-09-18T15:25:56.924Z",
            "status": "success",
            "type": "update",
            "comment": "Schedule started: tutorial-paused-check",
            "meta": {
              "action": "update-status",
              "jobId": "learnmu4qn1ha-6aad57aa9abb688a56141313-start",
              "nextRun": null
            }
          }
        ]
      }
    }
  },
  "tutorial-cancel-check": {
    "record": {
      "status": 404,
      "body": {
        "statusCode": 404,
        "error": "Not Found",
        "path": "/repository/get/schedule/6aad57aa9abb688a56141314",
        "method": "GET",
        "timeStamp": "2026-09-18T15:26:00.619Z"
      }
    },
    "runs": {
      "status": 200,
      "body": {
        "scheduleId": "6aad57aa9abb688a56141314",
        "totalRuns": 0,
        "runs": []
      }
    }
  },
  "target": {
    "status": 200,
    "body": {
      "_id": "6aad55fdbef5e1976f5c9199",
      "datatype": "note",
      "data": {
        "name": "Tutorial schedule status target",
        "title": "Tutorial schedule status target",
        "content": "Harmless training record; no messages, payments or external actions.",
        "status": "tutorial-paused-check"
      },
      "author": "learnmu4qn1ha@example.com",
      "name": "Tutorial schedule status target",
      "created_by": "learnmu4qn1ha@example.com",
      "state": "draft",
      "pk": "learnmu4qn1ha|note",
      "createdate": "2026-09-18T15:17:17.612Z",
      "modifydate": "2026-09-18T15:25:56.911Z",
      "version": 0,
      "sk": "6aad55fdbef5e1976f5c9199"
    }
  },
  "remainingJobs": [
    {
      "id": "learnmu4qn1ha-6aad57aa9abb688a56141314-start",
      "name": "start",
      "data": {
        "orgId": "learnmu4qn1ha",
        "sk": "6aad57aa9abb688a56141314",
        "datatype": "schedule"
      },
      "opts": {
        "delay": 149975,
        "jobId": "learnmu4qn1ha-6aad57aa9abb688a56141314-start",
        "attempts": 3,
        "removeOnComplete": true,
        "timestamp": 1789745066963
      },
      "delay": 149975,
      "timestamp": 1789745066963,
      "state": "delayed",
      "attemptsMade": 0,
      "scheduledFor": "2026-09-18T15:26:56.938Z"
    }
  ]
}
