At this level
app.studynext · 38- app.studynext.adminPermissions record Delegated StudyNext administrator capabilities for the repository owner. Singleton at rkey=self, stored in the StudyNext account's PDS and read by server authorization code. Treat as sensitive authorization state; repository records are publicly readable and this schema does not make the record private.
- app.studynext.apkgShare record 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.
- app.studynext.backup record Legacy public-PDS backup pointer retained only to read existing records. New StudyNext clients store backups in authenticated private AppView storage; do not create new public backup records. Existing public blobs may remain. Legacy rkey is the local date (YYYY-MM-DD) on which the backup was taken.
- app.studynext.cardMetadata record 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.
- app.studynext.cards record 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`.
- app.studynext.comment record A comment posted inside a study room. Stored on the commenter's PDS.
- app.studynext.dailyCompletion record A per-user daily task-completion marker. New records use the local calendar date YYYY-MM-DD as both rkey and date; each date is created once and later completion updates are conditional on the observed record CID. There is no per-date deletion in this sync path.
- app.studynext.deckMetadata record 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.
- app.studynext.decks record 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`.
- app.studynext.event record A study calendar event (exam/test/lesson goal date). 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.
- app.studynext.groupAlertAck record A dismissed/acknowledged follow-up alert snapshot, written into the shared moderation account's (studynext.app) repo by the group-alert-acks ingest endpoint. Also serves as the per-member alert history. rkey is server-assigned (a locally-generated TID).
- app.studynext.groupAlertSettings record Per-group follow-up alert configuration (group-wide disabled signals plus per-member overrides), written into the shared moderation account's (studynext.app) repo by the group-alert-settings ingest endpoint. One record per group. rkey = the group's own rkey (see app.studynext.managedGroup).
- app.studynext.groupApplication record A group registration request awaiting admin review, written into the shared moderation account's (studynext.app) repo by the group-applications ingest endpoint. rkey is server-assigned (a locally-generated TID).
- app.studynext.groupInvite record A pending/answered group invite, written into the shared moderation account's (studynext.app) repo by the group-invites ingest endpoint. The invitee's client polls this to show incoming invite notifications. rkey is a deterministic hash of (groupUri, inviteeDid), so re-inviting after a decline overwrites the old response with a fresh pending one instead of accumulating duplicates.
- app.studynext.groupMember record A confirmed group membership, written into the shared moderation account's (studynext.app) repo by the server when an invite is accepted (or an admin force-adds a member). All clients read this to determine group membership. rkey is a deterministic hash of (groupUri, memberDid), so at most one membership record exists per pair.
- app.studynext.groupTutorNote record Legacy public-PDS tutor-note record retained only to read existing records. New StudyNext clients store notes in authenticated, group-authorized private AppView storage; do not create new public records. Existing public records may remain. Legacy rkey is server-assigned (a locally generated TID).
- app.studynext.invite record An invitation to a study room, stored on the inviting host's PDS. Consumers treat only records younger than seven days as valid; the StudyNext client and AppView enforce this TTL. Expiry does not delete the record. Room access is still checked against the host's PDS. rkey is server-assigned (createRecord without an explicit rkey).
- app.studynext.like record A like on a timeline post (study record or room share). Stored on the liker's PDS.
- app.studynext.managedGroup record An approved paid group (tutoring center, corporate welfare program, etc) registry entry, written into the shared moderation account's (studynext.app) repo via the admin dashboard. Clients cannot write this collection directly. rkey is either a TID or a deterministic hash of a caller-supplied idempotency key, so it is left unconstrained here.
- app.studynext.material record A learning material (textbook, course, etc.) with chapter divisions. 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.
- app.studynext.mockExam record A mock exam review with overall score, target judgement, subjects, sections, and reflection actions. 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.
- app.studynext.moderation record A moderation decision, written into the shared moderation account's (studynext.app) own repo by the admin dashboard. Every client reads these to hide flagged users and to warn a user who has been moderated. rkey is a sanitized form of the subject DID, so re-moderating the same user overwrites the prior reason.
- app.studynext.mute record A muted user, stored on the muter's own PDS for cross-device sync. rkey is a sanitized form of the muted user's DID.
- app.studynext.plan record 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.
- app.studynext.pushSubscription record A push notification subscription (Expo push token or Web Push subscription), written into the owning user's own PDS by that device. Which of expoPushToken / (endpoint, keys) is present depends on `platform`. rkey = a per-install stable device id generated once and persisted locally (not derived from the token/endpoint themselves, since those rotate and contain characters outside the AT Protocol rkey charset). Re-registration upserts the same rkey via putRecord, so a device never accumulates dupl
- app.studynext.reaction record An emoji reaction on a timeline post or room chat comment. Stored on the reactor's PDS. A viewer may add multiple reactions to the same subject as long as each uses a different emoji (client-enforced, not server-validated) — tapping an emoji you've already reacted with toggles it off instead of adding a duplicate.
- app.studynext.record record A 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.report record Legacy report record retained for compatibility with reports previously written to reporters' PDSs. New client reports are submitted to private AppView storage through POST /reports and are not written to this collection. The AppView may continue to display and manage these legacy reports using AppView-side state, without modifying or deleting their source records. The reporter's DID is implicit in the record URI (at://<reporterDid>/app.studynext.report/<rkey>). rkey is server-assigned.
- app.studynext.settings record The user's app settings/preferences. Single record per user, rkey='self'. Pushed as a whole-record overwrite (last-write-wins by `updatedAt`, with per-field timestamps in `fieldUpdatedAt` so an unrelated push from one device doesn't clobber a not-yet-pushed edit from another). A few fields are intentionally device-local and never leave the client: syncPaused, lastTasksDate, lastPulledSettingsUpdatedAt, devTimeOffsetMinutes.
- app.studynext.socialPost record A StudyNext social post. One post per record, normally keyed by a TID. PDS records and blobs are publicly readable; audience is an application-level display hint, not access control.
- app.studynext.socialProfile record A user's StudyNext social profile and optional public activity summary. One record per user at rkey=self. PDS repository records are publicly readable; rankingOptIn is a product preference, not an access-control boundary.
- app.studynext.status record Studying status for a user. Only one record per user (rkey=self).
- app.studynext.studyTeam record Owner-authored study-team configuration stored in the owner's PDS. The record is publicly readable; invitedDids and membership rules are application data, not repository access control.
- app.studynext.task record 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.
- app.studynext.tasks record A 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.teamCheckin record A member-authored daily team check-in stored in the member's PDS. New writes use a TID rkey; pre-TID legacy keys remain readable. PDS records are public; do not place private notes, personally identifying study details, or data without explicit sharing consent here.
- app.studynext.teamMembership record A member's participation and sharing preferences for a study team. One record per membership in the member's PDS; new writes use a TID rkey, while pre-TID legacy keys remain readable. PDS records are public; shareProgress/shareTotals are application-level consent, not access control.
- app.studynext.timetable record Opt-in timetable sync. The primary record uses rkey=self; its preference sidecar uses rkey=prefs in the same collection and contains schemaVersion, prefs, and updatedAt. The syncTimetable preference controls whether the client syncs, not public PDS readability.