app.studynext.plan
A study plan with goals, scheduling, and progress tracking. rkey is the client's localId (see the `localId` 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.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | studynext.app |
| Commit rev | 3n3kcoqg3s22t |
| Indexed |
Record
record · key anyProperties
Accent color (hex code)
maxLength: 7
ankiDeckId
stringDedicated flashcard deck id for a 'problem-by-problem' plan. Absent for standard plans; legacy clients drop it on rewrite and current clients restore it from the local copy.
maxLength: 100
baselineDoneUnits
integerminimum: 0
baselineRanges
arraymaxLength: 1000
Plan creation date (YYYY-MM-DD)
Current round number
minimum: 1
Daily study quota (units per day)
minimum: 1
deadline
stringTarget completion date (YYYY-MM-DD)
Difficulty level
knownValues: easy | normal | hard
Units already completed
minimum: 0
dynamicDeadline
stringAuto-calculated deadline date (YYYY-MM-DD), based on pace
Expected minutes required per unit
expectedSecPerUnit
integerExpected seconds per unit; optional for legacy records. expectedMinPerUnit remains the rounded minutes projection (minimum 1).
minimum: 1
generateReviewTasks
booleanWhether review tasks are auto-generated for this plan (default: true). Only written when explicitly false.
isbn
stringISBN of the tracked book. The cover image itself is never stored here; it is resolved on-device from this ISBN.
maxLength: 20
isbnRemoved
booleanitemSpec
refProblem specification for a 'problem-by-problem' plan (generation source of truth). Absent for standard plans.
Matches local StudyPlan.id and equals this record's own rkey (see the record-level description above).
maxLength: 100
materialId
stringAssociated material ID if any
maxLength: 100
maxDailyReviewUnits
integerminimum: 1
maxDailyReviewUnitsRemoved
boolean復習上限を明示的に解除した印。旧版端末のフィールド省略と区別する。
pdsRkey
string · tidCanonical migrated TID rkey. It points to a create-only copy while the legacy source record remains readable.
problemTaskSkipDates
arrayDates (YYYY-MM-DD) on which the synthesized daily task of a 'problem-by-problem' plan was skipped. Absent for standard plans; legacy clients drop it on rewrite and current clients restore it from the local copy.
maxLength: 400
recordOnly
booleanWhether this plan is a pure logging material without generated tasks
reviewCount
integerminimum: 1maximum: 5
reviewIntervalDays
integerminimum: 1
reviewLoadBalancing
booleanUse review-aware daily study allocation. Absent for legacy plans.
Short title or abbreviation
maxLength: 150
sortOrder
integerstartUnit
integerStarting unit number; zero is allowed for a not-yet-started plan
minimum: 0
Current plan status
knownValues: active | paused | completed
studyDayWeights
arrayminLength: 7maxLength: 7
minimum: 0
Days of week to study (0=Sunday, 6=Saturday)
maxLength: 7
minimum: 0maximum: 6
studyIntervalDays
integerminimum: 1
subjectId
stringAssociated subject ID if any
maxLength: 100
subjectIdRemoved
boolean科目の明示的な解除印。フィールド欠落の旧版レコードと区別する。
subjectName
stringSubject name snapshot
maxLength: 300
Target number of review rounds
minimum: 1
thumbnail
blobmaxSize: 1000000accept: image/*
Plan title
maxLength: 600
Total number of units to complete
minimum: 1
Unit name (e.g., '章', 'pages')
maxLength: 60
Last update timestamp
#baselineRange
object#itemSegment
objectOne chapter segment of a 'problem-by-problem' plan's item spec. Item identity is the (segment, number) pair, so numbering may restart per segment.
Properties
Last item number in this segment (inclusive)
minimum: 0
excluded
arrayItem numbers excluded from generation
maxLength: 100000
minimum: 0
Segment label, e.g. a chapter name. May be empty.
maxLength: 300
First item number in this segment
minimum: 0
#itemSpec
objectProblem specification of a 'problem-by-problem' plan: unit label plus chapter segments.
Properties
minLength: 1maxLength: 200
Item unit label, e.g. '問' or 'ページ'
maxLength: 60
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.studynext.task
recordA 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.
-
app.studynext.record
recordA single study session record. New records use localId as the rkey and are written via putRecord, making retries idempotent. During migration, a record may use a distinct PDS rkey while retaining its stable localId; the client tracks that rkey separately as pdsRkey. The AT Protocol record envelope's $type is app.studynext.record.
-
app.studynext.tasks
recordA 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).
-
app.studynext.decks
recordA 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`.
-
app.studynext.cards
recordA 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`.