space.opendeck.session

A finished study session. Written once; the source of study history and activity stats.

Repository @opendeck.space did:plc:5xoilbawtptc3wha4zplgkwd namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityopendeck.space
Indexed
cid bafyreihg6e4qmyxmlpzzaa7jmr6tjjsexk62z4crnjvwpclwj5fgtnlft4

Checks

Valid
  • unlimited-string defs.main.record.properties.directionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A finished study session. Written once; the source of study history and activity stats.",
      "key": "tid",
      "record": {
        "properties": {
          "activeSeconds": {
            "description": "Time spent on cards, with idle gaps capped.",
            "type": "integer"
          },
          "again": {
            "type": "integer"
          },
          "deck": {
            "description": "Record key (rkey) of the studied deck.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "direction": {
            "description": "Study direction; absent means forward (front to back).",
            "enum": [
              "forward",
              "reverse"
            ],
            "type": "string"
          },
          "easy": {
            "type": "integer"
          },
          "endedAt": {
            "format": "datetime",
            "type": "string"
          },
          "good": {
            "type": "integer"
          },
          "hard": {
            "type": "integer"
          },
          "newCards": {
            "description": "Cards rated for the first time in this direction.",
            "type": "integer"
          },
          "repetitions": {
            "type": "integer"
          },
          "startedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "startedAt",
          "endedAt",
          "activeSeconds",
          "repetitions",
          "again",
          "hard",
          "good",
          "easy",
          "newCards"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "space.opendeck.session",
  "lexicon": 1
}