# net.olamaelcu.livtet.biblio.readingProgress

> Where a reader is in one catalog edition, in the copy they are holding. One record per (edition, format): the rkey is the edition's rkey and the format's slug, so a save rewrites the same record rather than appending an event per tap. `createdAt` is when the position was first published and `updatedAt` when it last moved. A record is written by Livtet in the reader's own repo and indexed by the catalog.

- Kind: record
- Record key: any
- Authority: biblio.livtet.olamaelcu.net
- Lexicon: 1
- Published by [biblio.livtet.olamaelcu.net](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.readingProgress)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.readingProgress/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.readingProgress/analytics)

## Record (`net.olamaelcu.livtet.biblio.readingProgress`)

Type: record · key any

### Properties

- `book` (string · at-uri, required): The catalog edition being read.
- `createdAt` (string · datetime, required): When this position was first published.
- `format` (string, required): The reader's format name as the app's seeded formats table spells it (`Hardcover`, `ePub`, `Audiobook`). It is the reader's own copy, not the edition's merged medium: two readers of one edition can report a print and an audio position against it.
  - Constraints: minLength: 1, maxGraphemes: 40
- `identifier` (ref): The product identifier this position's `total` came from; absent when the total came from the edition record.
  - Reference: `#identifier`
- `position` (ref, required)
  - Reference: `#position`
- `updatedAt` (string · datetime, required): When the reader last moved to this position.

## #identifier (`net.olamaelcu.livtet.biblio.readingProgress#identifier`)

Type: object

The catalog identifier a total belongs to, such as the print ISBN-13 whose page count `position.total` holds. The edition record's own page count and duration are separate rank winners over these claims, so without this a consumer cannot tell which product a total describes.

### Properties

- `issuer` (string, required): The identifier's issuing scheme, as the catalog spells it (`isbn13`, `isbn10`, `asin`).
- `value` (string, required): The identifier value as issued.

## #position (`net.olamaelcu.livtet.biblio.readingProgress#position`)

Type: object

The position, on the unit's own scale. `per_mille` is tenths of a percent (0–1000); `page` and `virtual_page` are counts; `timestamp` is seconds; `chapter` is the whole chapter number, with any fraction in `locator`; `cfi` is not a scale, so the CFI rides in `locator` and `value` is 0.

### Properties

- `locator` (string): The precise position the integer rounds off: an EPUB CFI, a printed page label, or a clock time.
  - Constraints: maxLength: 512
- `total` (integer): The whole in the same unit: a page count (`identifier`'s claim), a chapter count (the edition's), or a duration in seconds (the audio claim's). Absent when no extent is known.
  - Constraints: minimum: 1
- `unit` (string, required)
  - Constraints: knownValues: per_mille | page | virtual_page | timestamp | chapter | cfi
- `value` (integer, required): The position in `unit`. Only `per_mille` has a fixed range (0–1000).
  - Constraints: minimum: 0

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "identifier": {
      "description": "The catalog identifier a total belongs to, such as the print ISBN-13 whose page count `position.total` holds. The edition record's own page count and duration are separate rank winners over these claims, so without this a consumer cannot tell which product a total describes.",
      "properties": {
        "issuer": {
          "description": "The identifier's issuing scheme, as the catalog spells it (`isbn13`, `isbn10`, `asin`).",
          "type": "string"
        },
        "value": {
          "description": "The identifier value as issued.",
          "type": "string"
        }
      },
      "required": [
        "issuer",
        "value"
      ],
      "type": "object"
    },
    "main": {
      "description": "Where a reader is in one catalog edition, in the copy they are holding. One record per (edition, format): the rkey is the edition's rkey and the format's slug, so a save rewrites the same record rather than appending an event per tap. `createdAt` is when the position was first published and `updatedAt` when it last moved. A record is written by Livtet in the reader's own repo and indexed by the catalog.",
      "key": "any",
      "record": {
        "properties": {
          "book": {
            "description": "The catalog edition being read.",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "description": "When this position was first published.",
            "format": "datetime",
            "type": "string"
          },
          "format": {
            "description": "The reader's format name as the app's seeded formats table spells it (`Hardcover`, `ePub`, `Audiobook`). It is the reader's own copy, not the edition's merged medium: two readers of one edition can report a print and an audio position against it.",
            "maxGraphemes": 40,
            "minLength": 1,
            "type": "string"
          },
          "identifier": {
            "description": "The product identifier this position's `total` came from; absent when the total came from the edition record.",
            "ref": "#identifier",
            "type": "ref"
          },
          "position": {
            "ref": "#position",
            "type": "ref"
          },
          "updatedAt": {
            "description": "When the reader last moved to this position.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "book",
          "format",
          "position",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "position": {
      "description": "The position, on the unit's own scale. `per_mille` is tenths of a percent (0–1000); `page` and `virtual_page` are counts; `timestamp` is seconds; `chapter` is the whole chapter number, with any fraction in `locator`; `cfi` is not a scale, so the CFI rides in `locator` and `value` is 0.",
      "properties": {
        "locator": {
          "description": "The precise position the integer rounds off: an EPUB CFI, a printed page label, or a clock time.",
          "maxLength": 512,
          "type": "string"
        },
        "total": {
          "description": "The whole in the same unit: a page count (`identifier`'s claim), a chapter count (the edition's), or a duration in seconds (the audio claim's). Absent when no extent is known.",
          "minimum": 1,
          "type": "integer"
        },
        "unit": {
          "knownValues": [
            "per_mille",
            "page",
            "virtual_page",
            "timestamp",
            "chapter",
            "cfi"
          ],
          "type": "string"
        },
        "value": {
          "description": "The position in `unit`. Only `per_mille` has a fixed range (0–1000).",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "unit",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "net.olamaelcu.livtet.biblio.readingProgress",
  "lexicon": 1
}
```
