app.studynext.cards

A single flashcard (front/back) with spaced-repetition scheduling state. rkey is the client's card id (see the `id` property below), 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. Note: unlike most other app.studynext.* records this property is named `id`, not `localId`.

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

Record

record · key any

Properties

back

requiredstring
  • maxLength: 15000

createdAt

string · datetime

deckId

requiredstring
  • maxLength: 512

FSRS difficulty 1-10, stringified — AT Protocol's data model has no float type. Old clients ignore this field.

dueDate

requiredstring

Calendar date in YYYY-MM-DD format; not a timestamp.

easeFactor

requiredstring

Spaced-repetition ease factor, stringified — AT Protocol's data model has no float type.

Calendar date in YYYY-MM-DD format; not a timestamp.

flag

integer

Anki cards.flags low 3 bits (0=none, 1-7 colors). Old clients ignore this field.

  • minimum: 0
  • maximum: 7

front

requiredstring
  • maxLength: 15000

id

requiredstring

Matches local FlashCard.id and equals this record's own rkey (see the record-level description above).

  • maxLength: 300

interval

requiredstring

Spaced-repetition interval in days, stringified — AT Protocol's data model has no float type.

lapses

integer

Review failure count. Old clients ignore this field.

  • minimum: 0

lastGrade

string

Most recent grading result (drives the problem-number chip color in 'problem-by-problem' plans). Absent for ungraded cards; old clients ignore this field. Also duplicated in app.studynext.cardMetadata so an old client's whole-record rewrite cannot erase it.

  • knownValues: again | hard | good | easy

Calendar date in YYYY-MM-DD format; not a timestamp.

media

array

Attached media manifest. File bytes live in PDS blobs; front/back reference them by name (<img src>/[sound:]). Old clients ignore this field.

itemsref
Reference

pdsRkey

string · tid

Canonical migrated TID rkey. It points to a create-only copy while the legacy source record remains readable.

For cards owned by a 'problem-by-problem' plan: how many times this item was graded good or better while in review state (round progress toward the plan's targetRounds). Absent for standard cards; old clients ignore this field.

  • minimum: 0

repetitions

requiredinteger
  • minimum: 0

stability

string

FSRS stability in days, stringified — AT Protocol's data model has no float type. Old clients ignore this field.

state

requiredstring
  • knownValues: new | learning | review | relearning

stepIndex

requiredinteger
  • minimum: 0

suspended

boolean

Anki queue=-1 (suspended). Excluded from the study queue. Old clients ignore this field.

syncedAt

string · datetime

ISO timestamp of the last successful push. Used by the pushing client for its own last-write-wins pull-merge decisions.

tags

requiredarray
  • maxLength: 20
itemsstring
  • maxLength: 150

#mediaEntry

object

Properties

blob

requiredblob
  • maxSize: 26214400
  • accept: image/*, audio/*

mimeType

requiredstring
  • maxLength: 100

name

requiredstring
  • maxLength: 200

size

requiredinteger
  • minimum: 0

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Optional metadata sidecar for a flashcard. rkey equals cardId. The sidecar keeps Anki import/review, scheduler, and media metadata separate from the replaceable card record; it remains publicly readable in the user's PDS.

  • A flashcard deck. rkey is the client's deck id (see the `id` property below), 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. Note: unlike most other app.studynext.* records this property is named `id`, not `localId`.

  • FSRS scheduling state for a single card.

  • A publicly shared flashcard deck. The record rkey is the source FlashDeck's stable `id`, creating one share per deck; it does not follow the PDS rkey used by app.studynext.decks. Attached images/audio use blob refs in `media`; card text keeps the original file names.

  • A flashcard for spaced repetition study.