social.dracome.library.state

dracome.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A reading-state record for one edition per actor. Duplicate convention: the rkey is a TID minted once at first create and never changes. Several records may exist for one actor and edition (for example from out-of-band writers); consumers SHOULD treat the record with the greatest `updatedAt` (falling back to `createdAt`) as the winner and break ties by the lowest TID, ignoring the others. This is a convention, not an enforced contract: AppViews MUST tolerate a differing winner, and may see a record's catalogTarget change over time.",
      "key": "tid",
      "record": {
        "properties": {
          "catalogSnapshot": {
            "description": "Point-in-time catalog metadata for the tracked work or edition, captured when this record was last written. Refreshed on every update.",
            "ref": "social.dracome.work.defs#catalogSnapshot",
            "type": "ref"
          },
          "catalogTarget": {
            "description": "The work and edition that this reading-state record tracks. Mutable.",
            "ref": "social.dracome.work.defs#catalogTarget",
            "type": "ref"
          },
          "catalogTargetCustomization": {
            "description": "Optional user-confirmed override of catalog totals (page count, chapter count, or audio duration) for this specific target.",
            "ref": "social.dracome.library.defs#catalogTargetCustomization",
            "type": "ref"
          },
          "createdAt": {
            "description": "Canonical UTC instant serialized as ISO 8601 with a trailing Z suffix.",
            "format": "datetime",
            "type": "string"
          },
          "finishedAt": {
            "description": "Canonical UTC instant serialized as ISO 8601 with a trailing Z suffix.",
            "format": "datetime",
            "type": "string"
          },
          "progress": {
            "description": "Optional log of the actor's reading or listening progress over time for this target.",
            "ref": "social.dracome.library.defs#trackingProgress",
            "type": "ref"
          },
          "startedAt": {
            "description": "Canonical UTC instant serialized as ISO 8601 with a trailing Z suffix. This records the first instant the actor entered in_progress for the current reading episode. Returns to in_progress within 14 days preserve the same startedAt.",
            "format": "datetime",
            "type": "string"
          },
          "status": {
            "description": "The actor's current reading-state status for this target, e.g. wishlist, backlog, in_progress, paused, completed, or abandoned.",
            "ref": "social.dracome.library.defs#trackingStatus",
            "type": "ref"
          },
          "updatedAt": {
            "description": "Canonical UTC instant serialized as ISO 8601 with a trailing Z suffix.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "catalogTarget",
          "catalogSnapshot",
          "status",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.dracome.library.state",
  "lexicon": 1
}

Validate Record

Validate a record against social.dracome.library.state

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:66dyrt2bmghwlmdteyizs5l3
CID
bafyreia56zb6w7pzh37nqx436pdjzeu5caugfswa6ejhbos6wbm52wyvsm
Indexed At
2026-10-14 19:42 UTC
AT-URI
at://did:plc:66dyrt2bmghwlmdteyizs5l3/com.atproto.lexicon.schema/social.dracome.library.state

Referenced Schemas (5)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • social.dracome.library.marker recordnot from the namespace authority

    A favorite/tracked marker record for one edition per actor. Duplicate convention: the rkey is a TID minted once at first create and never changes. Several records may exist for one actor and edition (for example from ou…

  • social.dracome.library.defs not from the namespace authority

    How an actor came to own a specific book edition, tracked on a `library.acquisition` record.

  • A reading status change event for a book. Records are append-only and timestamped — each status transition creates a new record rather than mutating an existing one. The current status of a book is derived by taking t…

  • Reading progress for one book, written to the reader's own repo. One record per (reader, publication) by convention: clients list their own repo and update the existing record for a publication rather than create a seco…

  • social.dracome.library.goal recordnot from the namespace authority

    A repeatable consumption-goal record for an actor, targeting a metric over a half-open time period `[periodStart, periodEnd)` (periodStart is inclusive, periodEnd is exclusive). Fulfillment progress against the goal is …

Lexicon Garden

@