app.studynext.settings

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.

Repository @studynext.app did:plc:nstib2qjcu3tyun7cxz4dxcm namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritystudynext.app
Commit rev3n3kcoqz37k2t
Indexed
cid bafyreied7krdem7kyb4qcaqx5cxisfmzti6s4bhbpchjfm5uqmhnshti2q

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "goal": {
      "properties": {
        "color": {
          "maxLength": 20,
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "date": {
          "description": "Goal calendar date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "id": {
          "maxLength": 100,
          "type": "string"
        },
        "name": {
          "maxLength": 200,
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "date"
      ],
      "type": "object"
    },
    "main": {
      "description": "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.",
      "key": "literal:self",
      "record": {
        "properties": {
          "advancedMode": {
            "description": "Advanced mode: shows advanced/experimental features such as drills. Old clients ignore this field.",
            "type": "boolean"
          },
          "aiAutoQuota": {
            "type": "boolean"
          },
          "aiBurnoutWarning": {
            "type": "boolean"
          },
          "aiReviewSchedule": {
            "type": "boolean"
          },
          "analysisWidgetHidden": {
            "items": {
              "maxLength": 50,
              "type": "string"
            },
            "maxLength": 30,
            "type": "array"
          },
          "analysisWidgetOrder": {
            "items": {
              "maxLength": 50,
              "type": "string"
            },
            "maxLength": 30,
            "type": "array"
          },
          "celebratedThemeUnlocks": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "collapsedDeckIds": {
            "description": "Deck ids whose children are folded in the deck list. Old clients ignore this field.",
            "items": {
              "maxLength": 100,
              "type": "string"
            },
            "maxLength": 500,
            "type": "array"
          },
          "fieldUpdatedAt": {
            "description": "Map of field name to ISO timestamp of its last local update. Used for per-field last-write-wins on pull, since the whole record is pushed/pulled as one unit.",
            "type": "unknown"
          },
          "flashcardAutoPlayAudio": {
            "type": "boolean"
          },
          "fontFamily": {
            "knownValues": [
              "default",
              "rounded",
              "zenKaku",
              "serif",
              "yomogi",
              "pop",
              "rock",
              "dot",
              "train",
              "rampart",
              "reggae",
              "kiwiMaru",
              "stick",
              "kaiseiDecol",
              "wdxlLubrifont",
              "zenKurenaido"
            ],
            "type": "string"
          },
          "fsrsRetention": {
            "description": "FSRS desired retention 0.7-0.99, stringified — AT Protocol's data model has no float type. Old clients ignore this field.",
            "type": "string"
          },
          "goalDate": {
            "description": "Legacy/read compatibility only; goal calendar date in YYYY-MM-DD format, not a timestamp. New writers must store this in private settings, not this public record.",
            "type": "string"
          },
          "goalName": {
            "description": "Legacy/read compatibility only; new writers must store this in private settings, not this public record.",
            "maxLength": 200,
            "type": "string"
          },
          "goalSetDate": {
            "description": "Legacy/read compatibility only; date set in YYYY-MM-DD format, not a timestamp. New writers must store this in private settings, not this public record.",
            "type": "string"
          },
          "goals": {
            "description": "Legacy/read compatibility only; new writers must store this in private settings, not this public record.",
            "items": {
              "ref": "#goal",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          },
          "groupBySubject": {
            "type": "boolean"
          },
          "hapticsEnabled": {
            "type": "boolean"
          },
          "homeLayout": {
            "knownValues": [
              "cards",
              "list",
              "minimal"
            ],
            "type": "string"
          },
          "language": {
            "knownValues": [
              "system",
              "ja",
              "en",
              "zh",
              "ko"
            ],
            "type": "string"
          },
          "lastPlansFilter": {
            "knownValues": [
              "active",
              "paused",
              "completed",
              "all"
            ],
            "type": "string"
          },
          "lastPlansTab": {
            "knownValues": [
              "tasks",
              "plans",
              "cards"
            ],
            "type": "string"
          },
          "leechAction": {
            "description": "Leech handling. Old clients ignore this field.",
            "knownValues": [
              "suspend",
              "tag"
            ],
            "type": "string"
          },
          "likeNotificationsEnabled": {
            "type": "boolean"
          },
          "materialColors": {
            "items": {
              "maxLength": 20,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "mockExamSubjects": {
            "items": {
              "ref": "#subject",
              "type": "ref"
            },
            "maxLength": 200,
            "type": "array"
          },
          "mockExamSubjectsShared": {
            "type": "boolean"
          },
          "mockExamSubjectsUpdatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "planListLayout": {
            "knownValues": [
              "standard",
              "list",
              "grid",
              "icons"
            ],
            "type": "string"
          },
          "pomodoroBreakMin": {
            "maximum": 1440,
            "minimum": 1,
            "type": "integer"
          },
          "pomodoroEndSound": {
            "knownValues": [
              "hato1",
              "hato2",
              "door1",
              "entrance",
              "chopstick",
              "silent"
            ],
            "type": "string"
          },
          "pomodoroKeepAwake": {
            "type": "boolean"
          },
          "pomodoroLongBreakMin": {
            "maximum": 1440,
            "minimum": 1,
            "type": "integer"
          },
          "pomodoroVibration": {
            "type": "boolean"
          },
          "pomodoroWorkMin": {
            "maximum": 1440,
            "minimum": 1,
            "type": "integer"
          },
          "postStudyRecordToBluesky": {
            "type": "boolean"
          },
          "progressStyle": {
            "knownValues": [
              "ring",
              "bar",
              "heatmap"
            ],
            "type": "string"
          },
          "pushNotificationsEnabled": {
            "type": "boolean"
          },
          "reminderEnabled": {
            "type": "boolean"
          },
          "reminderTime": {
            "description": "HH:MM, 24-hour.",
            "maxLength": 5,
            "type": "string"
          },
          "reviewAlgorithm": {
            "knownValues": [
              "sm2",
              "fsrs"
            ],
            "type": "string"
          },
          "screenshotMode": {
            "description": "Legacy/read compatibility only; device-local and must never be written to the public record.",
            "type": "boolean"
          },
          "shareStudying": {
            "type": "boolean"
          },
          "studyDayWeights": {
            "description": "Default per-weekday study allocation, scaled to integers (AT Protocol's data model has no float type).",
            "items": {
              "type": "integer"
            },
            "maxLength": 7,
            "minLength": 7,
            "type": "array"
          },
          "studyingOpenTo": {
            "knownValues": [
              "public",
              "friends",
              "private"
            ],
            "type": "string"
          },
          "subjects": {
            "items": {
              "ref": "#subject",
              "type": "ref"
            },
            "maxLength": 200,
            "type": "array"
          },
          "syncTimetable": {
            "type": "boolean"
          },
          "targetSchoolId": {
            "description": "Legacy/read compatibility only; new writers must store this in private settings, not this public record.",
            "maxLength": 100,
            "type": "string"
          },
          "targetSchoolName": {
            "description": "Legacy/read compatibility only; new writers must store this in private settings, not this public record.",
            "maxLength": 200,
            "type": "string"
          },
          "taskResetHour": {
            "maximum": 23,
            "minimum": 0,
            "type": "integer"
          },
          "themeCustomHex": {
            "maxLength": 20,
            "type": "string"
          },
          "themeDarkMode": {
            "type": "boolean"
          },
          "themeMode": {
            "knownValues": [
              "system",
              "light",
              "dark",
              "forest",
              "sakura",
              "ocean",
              "amber",
              "plum",
              "stone",
              "catppuccinMocha",
              "catppuccinLatte",
              "custom",
              "note",
              "neumorphism",
              "neobrutalism",
              "nightSky",
              "pro",
              "spark",
              "photo",
              "legacy"
            ],
            "type": "string"
          },
          "themePhotoAutoContrast": {
            "type": "boolean"
          },
          "themePhotoBlur": {
            "description": "Neo theme photo blur, stringified float (AT Protocol has no float type).",
            "type": "string"
          },
          "themePhotoColor": {
            "knownValues": [
              "system",
              "light",
              "dark",
              "forest",
              "sakura",
              "ocean",
              "amber",
              "plum",
              "stone",
              "catppuccinMocha",
              "catppuccinLatte",
              "custom",
              "note",
              "neumorphism",
              "neobrutalism",
              "nightSky",
              "pro",
              "spark",
              "photo",
              "legacy"
            ],
            "type": "string"
          },
          "themePhotoContrast": {
            "description": "Neo theme photo contrast, stringified float (AT Protocol has no float type).",
            "type": "string"
          },
          "themePhotoImage": {
            "accept": [
              "image/*"
            ],
            "description": "Neo theme background photo blob.",
            "type": "blob"
          },
          "themePhotoImageBrightness": {
            "description": "Neo theme photo image brightness, stringified float (AT Protocol has no float type).",
            "type": "string"
          },
          "themePhotoImageRemoved": {
            "type": "boolean"
          },
          "themePhotoTextBrightness": {
            "description": "Neo theme text brightness, stringified float (AT Protocol has no float type).",
            "type": "string"
          },
          "themePhotoTextColor": {
            "maxLength": 20,
            "type": "string"
          },
          "units": {
            "items": {
              "maxLength": 20,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "weekStartsOn": {
            "description": "0=Sunday, 1=Monday, 6=Saturday.",
            "enum": [
              0,
              1,
              6
            ],
            "type": "integer"
          },
          "weekdayTimeCapMinutes": {
            "items": {
              "maximum": 1440,
              "minimum": 0,
              "type": "integer"
            },
            "maxLength": 7,
            "minLength": 7,
            "type": "array"
          }
        },
        "required": [
          "themeMode",
          "language",
          "pomodoroWorkMin",
          "pomodoroBreakMin",
          "pomodoroLongBreakMin",
          "pomodoroVibration",
          "pomodoroEndSound",
          "reminderEnabled",
          "pushNotificationsEnabled",
          "aiAutoQuota",
          "aiReviewSchedule",
          "aiBurnoutWarning",
          "homeLayout",
          "planListLayout",
          "progressStyle",
          "reminderTime",
          "shareStudying",
          "studyingOpenTo",
          "postStudyRecordToBluesky",
          "likeNotificationsEnabled",
          "analysisWidgetOrder",
          "analysisWidgetHidden",
          "taskResetHour",
          "units",
          "materialColors",
          "subjects",
          "lastPlansTab",
          "lastPlansFilter",
          "groupBySubject",
          "weekStartsOn",
          "fontFamily",
          "fieldUpdatedAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subject": {
      "properties": {
        "color": {
          "maxLength": 20,
          "type": "string"
        },
        "createdAt": {
          "description": "Subject creation date in YYYY-MM-DD format; not a timestamp.",
          "type": "string"
        },
        "id": {
          "maxLength": 100,
          "type": "string"
        },
        "name": {
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "color",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "app.studynext.settings",
  "lexicon": 1
}