Private reader records
work.sequential.actor.readingProgress
How far a reader has read a chapter or strip, and where to resume.
main
record · key: anyHow 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.
| Property | Type | Description |
|---|---|---|
subjectrequired | at-uri | AT-URI of the work.sequential.chapter or work.sequential.strip record being read. Use the DID form (at://did:...), not a handle. |
progressrequired | integer | The furthest the reader has got, in ten-thousandths of the work (0-10000). 0–10000 |
position | #position | Where the reader left off, for resuming. May be behind progress if they went back. Omitted when they aren't partway through. |
startedAt | datetime | The date and time the reader first opened the work. |
readAt | datetime | 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. |
updatedAtrequired | datetime | The date and time this record was last written. |
#position
objectA place in a chapter or strip.
| Property | Type | Description |
|---|---|---|
indexrequired | integer | Index into the chapter's pages or slices. 0 for a strip. ≥ 0 |
offset | integer | How far into that page or slice, in ten-thousandths of its height (0-10000). 0–10000 |
Raw schema
{
"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"
]
}
}
}