net.anisota.fieldwork.state

Quest system state for cross-device sync (dismissals, nudge timing, visited routes). Singleton record (rkey: self), overwritten via putRecord. Client-written (no backend signing). Distinct from net.anisota.chronicle.fieldwork (immutable, backend-signed completion records).

Repository @anisota.net did:plc:lcieujcfkv4jx7gehsvok3pr not from the namespace authority
Details · record, key any
Kindrecord
Record keyany
Authorityfieldwork.anisota.net
Indexed

Showing version bafyreiatdiklohynjddmdaerhzu7bv3yvnd2gogjzr3uofackvhynw66oe. Show the latest

cid bafyreiatdiklohynjddmdaerhzu7bv3yvnd2gogjzr3uofackvhynw66oe

Checks

Valid
  • unlimited-string defs.main.record.properties.lastNudgeQuestIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.pinnedQuestIdNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Quest system state for cross-device sync (dismissals, nudge timing, visited routes). Singleton record (rkey: self), overwritten via putRecord. Client-written (no backend signing). Distinct from net.anisota.chronicle.fieldwork (immutable, backend-signed completion records).",
      "key": "any",
      "record": {
        "properties": {
          "counters": {
            "description": "Reserved for future quest progress counters. Object mapping counter ids to values.",
            "type": "unknown"
          },
          "dismissed": {
            "description": "Object mapping dismissed quest ids to the ISO datetime they were dismissed. Dismissed quests are excluded from recommendations and nudges until undismissed.",
            "type": "unknown"
          },
          "lastNudgeAt": {
            "description": "When a quest nudge was last shown (nudges are spaced at least a day apart)",
            "format": "datetime",
            "type": "string"
          },
          "lastNudgeQuestId": {
            "description": "Which quest the most recent nudge was about",
            "type": "string"
          },
          "pinnedQuestId": {
            "description": "Quest the player has pinned to keep in view",
            "type": "string"
          },
          "retroSweepAt": {
            "description": "When the retroactive completion sweep last ran (throttles the sweep to once per day)",
            "format": "datetime",
            "type": "string"
          },
          "retroSweepVersion": {
            "description": "Version of the retroactive sweep that armed retroSweepAt. When it doesn't match the client's current sweep version the throttle is treated as stale and the sweep runs once more, so a throttle armed by an earlier (buggy) sweep can't lock out backfill.",
            "type": "integer"
          },
          "snoozedUntil": {
            "description": "Suppress quest nudges until this time",
            "format": "datetime",
            "type": "string"
          },
          "updatedAt": {
            "description": "When this state snapshot was taken",
            "format": "datetime",
            "type": "string"
          },
          "visitedRoutes": {
            "description": "Object mapping visited app routes (e.g. '/chronicle') to the ISO datetime of the first tracked visit. Drives route-based quest detection.",
            "type": "unknown"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.anisota.fieldwork.state",
  "lexicon": 1
}