# app.bivri.feed.comment

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

✓ This is the authoritative definition for this NSID.

## Description

Record containing a comment on an artwork.

## Links

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

## Definitions

### `app.bivri.feed.comment`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `parent` | `ref` → `com.atproto.repo.strongRef` | No | Strong reference to the comment being replied to. Absent on a top-level comment. |
| `content` | `string` | Yes | Comment text. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the artwork the comment is on. |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp of when the comment was posted. |
| `updatedAt` | `string` (datetime) | No | Client-declared timestamp of the last edit to this record. |

## Raw Schema

```json
{
  "id": "app.bivri.feed.comment",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "content",
          "createdAt"
        ],
        "properties": {
          "parent": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Strong reference to the comment being replied to. Absent on a top-level comment."
          },
          "content": {
            "type": "string",
            "maxLength": 10000,
            "description": "Comment text.",
            "maxGraphemes": 1000
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Strong reference to the artwork the comment is on."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp of when the comment was posted."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp of the last edit to this record."
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Record containing a comment on an artwork."
}
```
