app.studynext.task

A single day's study task, generated from a plan or created free-standing. rkey is a sanitized form of the client's task id (non [A-Za-z0-9._:~-] characters replaced with '_'), written via putRecord — this makes a retried push idempotent (a network-timeout retry overwrites the same rkey instead of creating a duplicate) rather than requiring the client to track which pushes already succeeded.

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

Checks

Valid
  • unlimited-string defs.main.record.properties.deadlineNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.startDateNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single day's study task, generated from a plan or created free-standing. rkey is a sanitized form of the client's task id (non [A-Za-z0-9._:~-] characters replaced with '_'), written via putRecord — this makes a retried push idempotent (a network-timeout retry overwrites the same rkey instead of creating a duplicate) rather than requiring the client to track which pushes already succeeded.",
      "key": "any",
      "record": {
        "properties": {
          "accent": {
            "description": "Accent color (hex code).",
            "maxLength": 7,
            "type": "string"
          },
          "amount": {
            "description": "Amount of units this task covers.",
            "type": "integer"
          },
          "deadline": {
            "description": "Calendar date in YYYY-MM-DD format; not a timestamp.",
            "type": "string"
          },
          "deckId": {
            "description": "Associated flashcard deck id, for review tasks.",
            "maxLength": 100,
            "type": "string"
          },
          "estMin": {
            "description": "Estimated minutes to complete.",
            "type": "integer"
          },
          "fromUnit": {
            "type": "integer"
          },
          "isReview": {
            "type": "boolean"
          },
          "localId": {
            "description": "Matches local Task.id. The record's rkey is a sanitized form of this value (see the record-level description above), not this value verbatim.",
            "maxLength": 100,
            "type": "string"
          },
          "material": {
            "description": "Material title snapshot.",
            "maxLength": 600,
            "type": "string"
          },
          "pdsRkey": {
            "description": "Canonical migrated TID rkey. It points to a create-only copy while the legacy source record remains readable.",
            "format": "tid",
            "type": "string"
          },
          "planId": {
            "description": "Source StudyPlan id, if this task was generated from a plan.",
            "maxLength": 100,
            "type": "string"
          },
          "repeatDays": {
            "description": "Days of week this task repeats on (0=Sunday, 6=Saturday).",
            "items": {
              "maximum": 6,
              "minimum": 0,
              "type": "integer"
            },
            "maxLength": 7,
            "type": "array"
          },
          "repeatIntervalDays": {
            "minimum": 1,
            "type": "integer"
          },
          "round": {
            "minimum": 1,
            "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"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "localId",
          "material",
          "title",
          "amount",
          "unit",
          "estMin",
          "status",
          "accent",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.studynext.task",
  "lexicon": 1
}