# app.didpic.feed.comment

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.feed.comment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.feed.comment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.feed.comment/examples)

## Definitions

### `app.didpic.feed.comment`

**Type**: `record`

A comment on a post.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes |  |
| `facets` | `array` | No |  |
| `parent` | `ref` → `com.atproto.repo.strongRef` | No | The comment being replied to. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The post being commented on. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "app.didpic.feed.comment",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "text",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "maxGraphemes": 1000
          },
          "facets": {
            "type": "array",
            "items": {
              "ref": "app.didpic.richtext.facet",
              "type": "ref"
            }
          },
          "parent": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The comment being replied to."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The post being commented on."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A comment on a post."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
