app.studynext.cardMetadata

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.

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

Record

record · key any

Properties

Anki revlog rows retained for APKG round trips. reviewedAt is the Anki Unix timestamp in milliseconds; durationMs is milliseconds; other numeric fields retain Anki's raw revlog values.

itemsref
Reference

cardId

requiredstring

Flashcard id and this record's rkey.

  • maxLength: 100

FSRS difficulty, stringified because AT Protocol has no float type.

flag

integer
  • minimum: 0
  • maximum: 7

lapses

integer
  • minimum: 0

lastGrade

string
  • knownValues: again | hard | good | easy

media

array

Attached media manifest; file bytes are PDS blobs. The card text references media by name.

itemsref
Reference
  • minimum: 0

stability

string

FSRS stability in days, stringified because AT Protocol has no float type.

suspended

boolean

#ankiReviewEntry

object

Properties

durationMs

requiredinteger
  • minimum: 0

ease

requiredinteger
  • minimum: 0
  • maximum: 4

factor

requiredinteger
  • minimum: 0

interval

requiredinteger

previousInterval

requiredinteger

reviewedAt

requiredinteger

type

requiredinteger
  • minimum: 0
  • maximum: 3

#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.

  • 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`.

  • Optional metadata sidecar for a flashcard deck. rkey equals deckId. The sidecar preserves hierarchy, plan ownership, and Anki import metadata separately from the replaceable deck record; it remains publicly readable in the user's PDS.

  • 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 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`.

  • A flashcard for spaced repetition study.