# pub.leaflet.interactions.replyVisibility

> Published by [leaflet.pub](https://lexicon.garden/identity/did:plc:btxrwcaeyodrap5mnjw2fvmz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.replyVisibility)
- [Documentation](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.replyVisibility/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.replyVisibility/examples)

## Definitions

### `pub.leaflet.interactions.replyVisibility`

**Type**: `record`

Declares which submitted replies are shown on a document. Lives in the document's repo, with a record key matching the document's.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `allowed` | `array` | Yes | The pub.leaflet.interactions.reply records shown on the document. |
| `subject` | `string` (at-uri) | Yes | The document whose replies this record moderates. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Declares which submitted replies are shown on a document. Lives in the document's repo, with a record key matching the document's.",
      "key": "any",
      "record": {
        "properties": {
          "allowed": {
            "description": "The pub.leaflet.interactions.reply records shown on the document.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 500,
            "type": "array"
          },
          "subject": {
            "description": "The document whose replies this record moderates.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "allowed"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "pub.leaflet.interactions.replyVisibility",
  "lexicon": 1
}
```
