# cv.atmos.club.postV2

> Published by [lexicons.atmos.cv](https://lexicon.garden/identity/did:plc:phscmolkgirxzzjoatkfd5xx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:phscmolkgirxzzjoatkfd5xx/cv.atmos.club.postV2)
- [Documentation](https://lexicon.garden/lexicon/did:plc:phscmolkgirxzzjoatkfd5xx/cv.atmos.club.postV2/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:phscmolkgirxzzjoatkfd5xx/cv.atmos.club.postV2/examples)

## Definitions

### `cv.atmos.club.postV2`

**Type**: `record`

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`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `community` | `string` (did) | Yes | DID of the club account the post was made into. |
| `createdAt` | `string` (datetime) | Yes | When the post was made. |
| `embed` | `union` | No | Images or a link card. Open, so other media can be added later. |
| `facets` | `array` | No | Annotations of the text (mentions, links, tags), byte-offset indexed. |
| `labels` | `union` | No | Self-applied labels, such as a content warning. |
| `langs` | `array` | No | Languages the post is written in. |
| `reply` | `ref` → `#replyRef` | No |  |
| `tags` | `array` | No | Additional hashtags, in addition to any in the text and facets. |
| `text` | `string` | Yes | The post text. Mentions, links and tags are marked by facets. |

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

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `parent` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `root` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw 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
}
```
