# pub.leaflet.interactions.commentAuthorModeration

> Declares which comments on a document its author hid. Lives in the document's repo, with a record key matching the document's. A hidden comment is not shown on the document; replies to it still are.

- Kind: record
- Record key: any
- Authority: interactions.leaflet.pub
- Lexicon: 1
- Published by [leaflet.pub](https://lexicon.garden/identity/did:plc:btxrwcaeyodrap5mnjw2fvmz), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.commentAuthorModeration)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.commentAuthorModeration/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:btxrwcaeyodrap5mnjw2fvmz/pub.leaflet.interactions.commentAuthorModeration/analytics)

## Record (`pub.leaflet.interactions.commentAuthorModeration`)

Type: record · key any

### Properties

- `hidden` (array, required): pub.leaflet.comment records never shown on the document.
  - Constraints: maxLength: 500
  - `items` (string · at-uri)
- `subject` (string · at-uri, required): The document whose comments this record moderates.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Declares which comments on a document its author hid. Lives in the document's repo, with a record key matching the document's. A hidden comment is not shown on the document; replies to it still are.",
      "key": "any",
      "record": {
        "properties": {
          "hidden": {
            "description": "pub.leaflet.comment records never shown on the document.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 500,
            "type": "array"
          },
          "subject": {
            "description": "The document whose comments this record moderates.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "hidden"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "pub.leaflet.interactions.commentAuthorModeration",
  "lexicon": 1
}
```
