# app.userinput.reply

> Published by [userinput.app](https://lexicon.garden/identity/did:plc:uyixj57k6nmxrdj7pjs2ss5s)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uyixj57k6nmxrdj7pjs2ss5s/app.userinput.reply)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uyixj57k6nmxrdj7pjs2ss5s/app.userinput.reply/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uyixj57k6nmxrdj7pjs2ss5s/app.userinput.reply/examples)

## Definitions

### `app.userinput.reply`

**Type**: `record`

A reply on a discussion. Lives in the author's repo.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes |  |
| `parent` | `ref` → `com.atproto.repo.strongRef` | No | Optional parent reply, for threading. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The discussion being replied to. Indexed by constellation at subject.uri. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "app.userinput.reply",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "body",
          "createdAt"
        ],
        "properties": {
          "body": {
            "type": "string",
            "maxLength": 20000,
            "maxGraphemes": 10000
          },
          "parent": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Optional parent reply, for threading."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The discussion being replied to. Indexed by constellation at subject.uri."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A reply on a discussion. Lives in the author's repo."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
