app.studynext.tasks

A snapshot of the user's tasks relevant to a single calendar date, for cross-device same-day sync. One record per user per date. rkey = the date (YYYY-MM-DD).

Repository @studynext.app did:plc:nstib2qjcu3tyun7cxz4dxcm namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritystudynext.app
Commit rev3n3kcorkbyk2t
Indexed
cid bafyreif2appntx3zb7seddowewvyo3mx65llucorzuu6fmpopnmt6nz7ju

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A snapshot of the user's tasks relevant to a single calendar date, for cross-device same-day sync. One record per user per date. rkey = the date (YYYY-MM-DD).",
      "key": "any",
      "record": {
        "properties": {
          "date": {
            "description": "Snapshot calendar date in YYYY-MM-DD format; equals the rkey for records created by the current writer.",
            "type": "string"
          },
          "items": {
            "items": {
              "ref": "#snapshotItem",
              "type": "ref"
            },
            "maxLength": 500,
            "type": "array"
          },
          "tombstones": {
            "description": "Delete tombstones for plan tasks, carried separately from items so clients that predate this field never apply them. Same item shape as items; deletedAt is always present.",
            "items": {
              "ref": "#taskTombstone",
              "type": "ref"
            },
            "maxLength": 500,
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "date",
          "items",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "snapshotItem": {
      "properties": {
        "accent": {
          "maxLength": 7,
          "type": "string"
        },
        "amount": {
          "type": "integer"
        },
        "deadline": {
          "description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "deckId": {
          "maxLength": 100,
          "type": "string"
        },
        "deletedAt": {
          "format": "datetime",
          "type": "string"
        },
        "doneUnits": {
          "type": "integer"
        },
        "estMin": {
          "type": "integer"
        },
        "fromUnit": {
          "type": "integer"
        },
        "id": {
          "maxLength": 100,
          "type": "string"
        },
        "isReview": {
          "type": "boolean"
        },
        "material": {
          "maxLength": 600,
          "type": "string"
        },
        "planId": {
          "description": "Stable key for the associated plan; omitted for free-standing tasks.",
          "maxLength": 100,
          "type": "string"
        },
        "repeatDays": {
          "items": {
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "maxLength": 7,
          "type": "array"
        },
        "repeatIntervalDays": {
          "type": "integer"
        },
        "round": {
          "type": "integer"
        },
        "startDate": {
          "description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "status": {
          "knownValues": [
            "pending",
            "next",
            "done",
            "skipped"
          ],
          "type": "string"
        },
        "subjectId": {
          "maxLength": 100,
          "type": "string"
        },
        "subjectName": {
          "maxLength": 300,
          "type": "string"
        },
        "title": {
          "maxLength": 600,
          "type": "string"
        },
        "toUnit": {
          "type": "integer"
        },
        "unit": {
          "maxLength": 60,
          "type": "string"
        }
      },
      "required": [
        "status"
      ],
      "type": "object"
    },
    "taskTombstone": {
      "properties": {
        "accent": {
          "maxLength": 7,
          "type": "string"
        },
        "amount": {
          "type": "integer"
        },
        "deadline": {
          "description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "deckId": {
          "maxLength": 100,
          "type": "string"
        },
        "deletedAt": {
          "format": "datetime",
          "type": "string"
        },
        "doneUnits": {
          "type": "integer"
        },
        "estMin": {
          "type": "integer"
        },
        "fromUnit": {
          "type": "integer"
        },
        "id": {
          "maxLength": 100,
          "type": "string"
        },
        "isReview": {
          "type": "boolean"
        },
        "material": {
          "maxLength": 600,
          "type": "string"
        },
        "planId": {
          "maxLength": 100,
          "type": "string"
        },
        "repeatDays": {
          "items": {
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "maxLength": 7,
          "type": "array"
        },
        "repeatIntervalDays": {
          "type": "integer"
        },
        "round": {
          "type": "integer"
        },
        "startDate": {
          "description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "status": {
          "knownValues": [
            "pending",
            "next",
            "done",
            "skipped"
          ],
          "type": "string"
        },
        "subjectId": {
          "maxLength": 100,
          "type": "string"
        },
        "subjectName": {
          "maxLength": 300,
          "type": "string"
        },
        "title": {
          "maxLength": 600,
          "type": "string"
        },
        "toUnit": {
          "type": "integer"
        },
        "unit": {
          "maxLength": 60,
          "type": "string"
        }
      },
      "required": [
        "status",
        "deletedAt"
      ],
      "type": "object"
    }
  },
  "id": "app.studynext.tasks",
  "lexicon": 1
}