# social.respawn.feed.replygate

> Who can comment on a log or list, analogous to app.bsky.feed.threadgate. The record key (rkey) must match the rkey of the gated record. Absence of a replygate record means anyone can comment.

- Kind: record
- Record key: tid
- Authority: feed.respawn.social
- Lexicon: 1
- Published by [respawn.social](https://lexicon.garden/identity/did:plc:hiabolqnnpdnrb5grmdaaepg), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:hiabolqnnpdnrb5grmdaaepg/social.respawn.feed.replygate)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:hiabolqnnpdnrb5grmdaaepg/social.respawn.feed.replygate/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:hiabolqnnpdnrb5grmdaaepg/social.respawn.feed.replygate/analytics)

## Record (`social.respawn.feed.replygate`)

Type: record · key tid

### Properties

- `allow` (array): Rules for who can comment, combined as a union. Absent means anyone; an empty array means no one.
  - Constraints: maxLength: 5
  - `items` (union)
    - One of: `#mentionRule`, `#followerRule`, `#followingRule`
- `createdAt` (string · datetime, required)
- `hiddenComments` (array): AT-URIs of comments the author has hidden.
  - Constraints: maxLength: 50
  - `items` (string · at-uri)
- `subject` (string · at-uri, required): The log or list this replygate applies to.

## #followerRule (`social.respawn.feed.replygate#followerRule`)

Type: object

Allow comments from actors who follow the author.

### Properties


## #followingRule (`social.respawn.feed.replygate#followingRule`)

Type: object

Allow comments from actors the author follows.

### Properties


## #mentionRule (`social.respawn.feed.replygate#mentionRule`)

Type: object

Allow comments from actors mentioned in the gated record's text.

### Properties


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "followerRule": {
      "description": "Allow comments from actors who follow the author.",
      "properties": {},
      "type": "object"
    },
    "followingRule": {
      "description": "Allow comments from actors the author follows.",
      "properties": {},
      "type": "object"
    },
    "main": {
      "description": "Who can comment on a log or list, analogous to app.bsky.feed.threadgate. The record key (rkey) must match the rkey of the gated record. Absence of a replygate record means anyone can comment.",
      "key": "tid",
      "record": {
        "properties": {
          "allow": {
            "description": "Rules for who can comment, combined as a union. Absent means anyone; an empty array means no one.",
            "items": {
              "refs": [
                "#mentionRule",
                "#followerRule",
                "#followingRule"
              ],
              "type": "union"
            },
            "maxLength": 5,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "hiddenComments": {
            "description": "AT-URIs of comments the author has hidden.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "subject": {
            "description": "The log or list this replygate applies to.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "mentionRule": {
      "description": "Allow comments from actors mentioned in the gated record's text.",
      "properties": {},
      "type": "object"
    }
  },
  "id": "social.respawn.feed.replygate",
  "lexicon": 1
}
```
