# blue.backyard.feed.comment

> Published by [backyard.blue](https://lexicon.garden/identity/did:plc:achxuyl54r4cfkkkycp46yhg)

✓ This is the authoritative definition for this NSID.

## Description

A comment on a post, reblog, or another comment. Equivalent to a Tumblr 'note' — a lightweight text response that does not appear in the commenter's own feed.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:achxuyl54r4cfkkkycp46yhg/blue.backyard.feed.comment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:achxuyl54r4cfkkkycp46yhg/blue.backyard.feed.comment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:achxuyl54r4cfkkkycp46yhg/blue.backyard.feed.comment/examples)

## Definitions

### `blue.backyard.feed.comment`

**Type**: `record`

A comment (note) on a Backyard post or reblog.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `root` | `ref` → `com.atproto.repo.strongRef` | Yes | The root post of the thread. Always a blue.backyard.feed.post. |
| `text` | `string` | Yes | The text content of the comment. |
| `facets` | `array` | No | Annotations of text (mentions, URLs, hashtags). |
| `parent` | `ref` → `com.atproto.repo.strongRef` | No | If replying to another comment, the parent comment. If absent, subject is the direct parent. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The direct parent record being commented on (a post, reblog, or another comment). |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "blue.backyard.feed.comment",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "subject",
          "root",
          "createdAt"
        ],
        "properties": {
          "root": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The root post of the thread. Always a blue.backyard.feed.post."
          },
          "text": {
            "type": "string",
            "maxLength": 10000,
            "description": "The text content of the comment.",
            "maxGraphemes": 1000
          },
          "facets": {
            "type": "array",
            "items": {
              "ref": "blue.backyard.richtext.facet",
              "type": "ref"
            },
            "description": "Annotations of text (mentions, URLs, hashtags)."
          },
          "parent": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "If replying to another comment, the parent comment. If absent, subject is the direct parent."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The direct parent record being commented on (a post, reblog, or another comment)."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A comment (note) on a Backyard post or reblog."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A comment on a post, reblog, or another comment. Equivalent to a Tumblr 'note' — a lightweight text response that does not appear in the commenter's own feed."
}
```
