com.livtet.bookStatus

One status event for one catalog edition: a record is written when the reader sets a status, and again for every later change, so a reread is a second `read` record. The current status is the newest record for the book. Records live in the reader's own repo and name both the edition they are about and the shelf it sits on.

Details · record, key any
Kindrecord
Record keyany
Authoritylivtet.com
Commit rev3n3l6fu22gjlx
Indexed
cid bafyreiawgehi5lrqghv2yxnejfcgl6wqb7nx5qd52pqfgfxbpajx5g6xcq

Checks

Valid
  • unlimited-string defs.contributor.properties.uriNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.metadata.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "contributor": {
      "properties": {
        "name": {
          "maxGraphemes": 300,
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "required": [
        "uri",
        "name"
      ],
      "type": "object"
    },
    "main": {
      "description": "One status event for one catalog edition: a record is written when the reader sets a status, and again for every later change, so a reread is a second `read` record. The current status is the newest record for the book. Records live in the reader's own repo and name both the edition they are about and the shelf it sits on.",
      "key": "any",
      "record": {
        "properties": {
          "book": {
            "description": "The catalog edition, as a strong reference so the index can prove the record it read.",
            "ref": "#strongRef",
            "type": "ref"
          },
          "createdAt": {
            "description": "When the record's *current* status was set. A status change stamps now; it is not a generic record timestamp.",
            "format": "datetime",
            "type": "string"
          },
          "metadata": {
            "ref": "#metadata",
            "type": "ref"
          },
          "shelf": {
            "description": "The `biblio.shelf` record this book sits on. A built-in status shelf keys it by the status name.",
            "format": "at-uri",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "shelf",
          "book",
          "metadata",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "metadata": {
      "properties": {
        "status": {
          "description": "The reading status this shelf stands for.",
          "knownValues": [
            "reading",
            "read",
            "to-read",
            "dnf"
          ],
          "type": "string"
        }
      },
      "required": [
        "status"
      ],
      "type": "object"
    },
    "strongRef": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "contributors": {
          "items": {
            "ref": "#contributor",
            "type": "ref"
          },
          "type": "array"
        },
        "title": {
          "description": "The edition's title as the writer knew it, so a shelf page renders without a catalog read.",
          "maxGraphemes": 300,
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    }
  },
  "id": "com.livtet.bookStatus",
  "lexicon": 1
}