# cv.atmos.club.postV2

> A post made into a club. Lives in the author's own repo and is public like every record there; apps that do not know this type do not show it, so it does not appear on Bluesky. The author's claim that the post is in the club named by community; the club's own cv.atmos.club.admission record (in the club's repo) is what makes a top-level post part of the club. Treat a top-level post as in the club only while the admission exists and points at this record's current URI and CID. A reply is in the club when its root is a cv.atmos.club.postV2 admitted to the same club as this record's community, and its author is a member of the club; a reply whose community differs from its root's is in no club.

- Kind: record
- Record key: tid
- Authority: club.atmos.cv
- Lexicon: 1
- Published by [lexicons.atmos.cv](https://lexicon.garden/identity/did:plc:phscmolkgirxzzjoatkfd5xx), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:phscmolkgirxzzjoatkfd5xx/cv.atmos.club.postV2)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:phscmolkgirxzzjoatkfd5xx/cv.atmos.club.postV2/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:phscmolkgirxzzjoatkfd5xx/cv.atmos.club.postV2/analytics)

## Record (`cv.atmos.club.postV2`)

Type: record · key tid

### Properties

- `community` (string · did, required): DID of the club account the post was made into.
- `createdAt` (string · datetime, required): When the post was made.
- `embed` (union): Images or a link card. Open, so other media can be added later.
  - One of: `app.bsky.embed.images`, `app.bsky.embed.external`
- `facets` (array): Annotations of the text (mentions, links, tags), byte-offset indexed.
  - Constraints: maxLength: 500
  - `items` (ref)
    - Reference: `app.bsky.richtext.facet`
- `labels` (union): Self-applied labels, such as a content warning.
  - One of: `com.atproto.label.defs#selfLabels`
- `langs` (array): Languages the post is written in.
  - Constraints: maxLength: 3
  - `items` (string · language)
- `reply` (ref)
  - Reference: `#replyRef`
- `tags` (array): Additional hashtags, in addition to any in the text and facets.
  - Constraints: maxLength: 8
  - `items` (string)
    - Constraints: maxLength: 640, maxGraphemes: 64
- `text` (string, required): The post text. Mentions, links and tags are marked by facets.
  - Constraints: maxLength: 30000, maxGraphemes: 3000

## #replyRef (`cv.atmos.club.postV2#replyRef`)

Type: object

### Properties

- `parent` (ref, required)
  - Reference: `com.atproto.repo.strongRef`
- `root` (ref, required)
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A post made into a club. Lives in the author's own repo and is public like every record there; apps that do not know this type do not show it, so it does not appear on Bluesky. The author's claim that the post is in the club named by community; the club's own cv.atmos.club.admission record (in the club's repo) is what makes a top-level post part of the club. Treat a top-level post as in the club only while the admission exists and points at this record's current URI and CID. A reply is in the club when its root is a cv.atmos.club.postV2 admitted to the same club as this record's community, and its author is a member of the club; a reply whose community differs from its root's is in no club.",
      "key": "tid",
      "record": {
        "properties": {
          "community": {
            "description": "DID of the club account the post was made into.",
            "format": "did",
            "type": "string"
          },
          "createdAt": {
            "description": "When the post was made.",
            "format": "datetime",
            "type": "string"
          },
          "embed": {
            "closed": false,
            "description": "Images or a link card. Open, so other media can be added later.",
            "refs": [
              "app.bsky.embed.images",
              "app.bsky.embed.external"
            ],
            "type": "union"
          },
          "facets": {
            "description": "Annotations of the text (mentions, links, tags), byte-offset indexed.",
            "items": {
              "ref": "app.bsky.richtext.facet",
              "type": "ref"
            },
            "maxLength": 500,
            "type": "array"
          },
          "labels": {
            "description": "Self-applied labels, such as a content warning.",
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "langs": {
            "description": "Languages the post is written in.",
            "items": {
              "format": "language",
              "type": "string"
            },
            "maxLength": 3,
            "type": "array"
          },
          "reply": {
            "ref": "#replyRef",
            "type": "ref"
          },
          "tags": {
            "description": "Additional hashtags, in addition to any in the text and facets.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 8,
            "type": "array"
          },
          "text": {
            "description": "The post text. Mentions, links and tags are marked by facets.",
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          }
        },
        "required": [
          "community",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "replyRef": {
      "properties": {
        "parent": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "root": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "root",
        "parent"
      ],
      "type": "object"
    }
  },
  "id": "cv.atmos.club.postV2",
  "lexicon": 1
}
```
