# net.olamaelcu.livtet.biblio.bookClub.post

> A post in a book club discussion, stored in the author's repo inside the club's space. Threading follows the shared threads draft: every post names the `thread` it belongs to, and a reply also names the post it answers in `replyTo`. A top-level post carries no `replyTo`, which is how a reader tells the opening and the later top-level posts from the answers. Linear readers ignore `replyTo` beyond the root; tree readers rebuild the tree from it. The space, not the record, is the access boundary.

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

## Links

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

## Record (`net.olamaelcu.livtet.biblio.bookClub.post`)

Type: record · key tid

### Properties

- `content` (union): Optional structured body: one HTML document, identified by its `$type` (`net.olamaelcu.livtet.biblio.richText`, carrying an `html` string restricted to `p`, `br`, `ul`, `ol`, `li`, `blockquote`, `strong`, `em`, `u`, `s`, `span[data-spoiler]`, `a` carrying only an absolute http(s) `href` (serialized with `target="_blank"` and a `rel` that removes the referrer), and `livtet-user` carrying only the `did` of the mentioned actor; no other element and no other attribute is read). `textContent` remains the plain-text fallback and the only thing a reader needs; a spoiler run is written there as an ellipsis.
  - One of: 
- `createdAt` (string · datetime, required): Client-declared timestamp when the post was created.
- `langs` (array): Human language of the text, BCP 47 tags.
  - Constraints: maxLength: 3
  - `items` (string · language)
- `replyTo` (string · at-uri): The net.olamaelcu.livtet.biblio.bookClub.post this one answers, in the same thread and space. Absent on a top-level post.
- `spoiler` (boolean): Marks the body as a spoiler. A reader sees a placeholder instead of the text until they choose to reveal it, and the app withholds `textContent` from the rendering data rather than leaving it in the page for a client to hide.
- `textContent` (string, required): The post body, as plain text. Empty is allowed only when the post is a reply marker; a discussion post normally has text.
  - Constraints: maxLength: 1000000, maxGraphemes: 100000
- `thread` (string · at-uri, required): The net.olamaelcu.livtet.biblio.bookClub.thread this post belongs to — the root of the discussion. A plain at-uri rather than a strongRef: grouping compares the uri, so an edited thread keeps one discussion.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A post in a book club discussion, stored in the author's repo inside the club's space. Threading follows the shared threads draft: every post names the `thread` it belongs to, and a reply also names the post it answers in `replyTo`. A top-level post carries no `replyTo`, which is how a reader tells the opening and the later top-level posts from the answers. Linear readers ignore `replyTo` beyond the root; tree readers rebuild the tree from it. The space, not the record, is the access boundary.",
      "key": "tid",
      "record": {
        "properties": {
          "content": {
            "closed": false,
            "description": "Optional structured body: one HTML document, identified by its `$type` (`net.olamaelcu.livtet.biblio.richText`, carrying an `html` string restricted to `p`, `br`, `ul`, `ol`, `li`, `blockquote`, `strong`, `em`, `u`, `s`, `span[data-spoiler]`, `a` carrying only an absolute http(s) `href` (serialized with `target=\"_blank\"` and a `rel` that removes the referrer), and `livtet-user` carrying only the `did` of the mentioned actor; no other element and no other attribute is read). `textContent` remains the plain-text fallback and the only thing a reader needs; a spoiler run is written there as an ellipsis.",
            "refs": [],
            "type": "union"
          },
          "createdAt": {
            "description": "Client-declared timestamp when the post was created.",
            "format": "datetime",
            "type": "string"
          },
          "langs": {
            "description": "Human language of the text, BCP 47 tags.",
            "items": {
              "format": "language",
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          },
          "replyTo": {
            "description": "The net.olamaelcu.livtet.biblio.bookClub.post this one answers, in the same thread and space. Absent on a top-level post.",
            "format": "at-uri",
            "type": "string"
          },
          "spoiler": {
            "description": "Marks the body as a spoiler. A reader sees a placeholder instead of the text until they choose to reveal it, and the app withholds `textContent` from the rendering data rather than leaving it in the page for a client to hide.",
            "type": "boolean"
          },
          "textContent": {
            "description": "The post body, as plain text. Empty is allowed only when the post is a reply marker; a discussion post normally has text.",
            "maxGraphemes": 100000,
            "maxLength": 1000000,
            "type": "string"
          },
          "thread": {
            "description": "The net.olamaelcu.livtet.biblio.bookClub.thread this post belongs to — the root of the discussion. A plain at-uri rather than a strongRef: grouping compares the uri, so an edited thread keeps one discussion.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "thread",
          "textContent",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.olamaelcu.livtet.biblio.bookClub.post",
  "lexicon": 1
}
```
