Skip to content
Sequential.work

Private reader records

work.sequential.actor.readingProgress

How far a reader has read a chapter or strip, and where to resume.

main

record · key: any

How far a reader has read a chapter or strip. One record per work: the record key is the subject's AT-URI without 'at://' and with each '/' replaced by ':' (ex: did:plc:abc123:work.sequential.chapter:xyz789). Only stored in the reader's work.sequential.actor.personal space, never in their public repo.

PropertyTypeDescription
subjectrequiredat-uriAT-URI of the work.sequential.chapter or work.sequential.strip record being read. Use the DID form (at://did:...), not a handle.
progressrequiredintegerThe furthest the reader has got, in ten-thousandths of the work (0-10000).
0–10000
position#positionWhere the reader left off, for resuming. May be behind progress if they went back. Omitted when they aren't partway through.
startedAtdatetimeThe date and time the reader first opened the work.
readAtdatetimeThe date and time the reader first finished the work. Set once, and kept when they read it again. The app decides how far counts as finished.
updatedAtrequireddatetimeThe date and time this record was last written.

#position

object

A place in a chapter or strip.

PropertyTypeDescription
indexrequiredintegerIndex into the chapter's pages or slices. 0 for a strip.
≥ 0
offsetintegerHow far into that page or slice, in ten-thousandths of its height (0-10000).
0–10000

Raw schema

work.sequential.actor.readingProgress.json
{
  "lexicon": 1,
  "id": "work.sequential.actor.readingProgress",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "properties": {
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the work.sequential.chapter or work.sequential.strip record being read. Use the DID form (at://did:...), not a handle."
          },
          "progress": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000,
            "description": "The furthest the reader has got, in ten-thousandths of the work (0-10000)."
          },
          "position": {
            "type": "ref",
            "ref": "#position",
            "description": "Where the reader left off, for resuming. May be behind progress if they went back. Omitted when they aren't partway through."
          },
          "startedAt": {
            "type": "string",
            "format": "datetime",
            "description": "The date and time the reader first opened the work."
          },
          "readAt": {
            "type": "string",
            "format": "datetime",
            "description": "The date and time the reader first finished the work. Set once, and kept when they read it again. The app decides how far counts as finished."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "The date and time this record was last written."
          }
        },
        "required": [
          "subject",
          "progress",
          "updatedAt"
        ]
      },
      "description": "How far a reader has read a chapter or strip. One record per work: the record key is the subject's AT-URI without 'at://' and with each '/' replaced by ':' (ex: did:plc:abc123:work.sequential.chapter:xyz789). Only stored in the reader's work.sequential.actor.personal space, never in their public repo."
    },
    "position": {
      "type": "object",
      "properties": {
        "index": {
          "type": "integer",
          "minimum": 0,
          "description": "Index into the chapter's pages or slices. 0 for a strip."
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000,
          "description": "How far into that page or slice, in ten-thousandths of its height (0-10000)."
        }
      },
      "description": "A place in a chapter or strip.",
      "required": [
        "index"
      ]
    }
  }
}