# social.respawn.feed.comment

> Published by [respawn.social](https://lexicon.garden/identity/did:plc:hiabolqnnpdnrb5grmdaaepg)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hiabolqnnpdnrb5grmdaaepg/social.respawn.feed.comment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hiabolqnnpdnrb5grmdaaepg/social.respawn.feed.comment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hiabolqnnpdnrb5grmdaaepg/social.respawn.feed.comment/examples)

## Definitions

### `social.respawn.feed.comment`

**Type**: `record`

A comment on a log or list. Stored in the commenter's repo; the subject's author can hide it via their social.respawn.feed.gate record.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes |  |
| `facets` | `array` | No |  |
| `parent` | `ref` → `com.atproto.repo.strongRef` | No | Optional parent comment, for threaded replies. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The root log or list being commented on. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "social.respawn.feed.comment",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "subject",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 30000,
            "maxGraphemes": 3000
          },
          "facets": {
            "type": "array",
            "items": {
              "ref": "social.respawn.richtext.facet",
              "type": "ref"
            }
          },
          "parent": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Optional parent comment, for threaded replies."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The root log or list being commented on."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A comment on a log or list. Stored in the commenter's repo; the subject's author can hide it via their social.respawn.feed.gate record."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
