# tools.kryphocron.feed.threadgate

> Thread-level interaction policy. Field schema compatible with app.bsky.feed.threadgate. For private-tier threads, allow-rules are additional constraints on top of audience-list membership.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:femlcrrqw5ja23dlsqc6qtgy/tools.kryphocron.feed.threadgate)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:femlcrrqw5ja23dlsqc6qtgy/tools.kryphocron.feed.threadgate/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:femlcrrqw5ja23dlsqc6qtgy/tools.kryphocron.feed.threadgate/analytics)

## Record (`tools.kryphocron.feed.threadgate`)

Type: record · key tid

### Properties

- `allow` (array): Who can reply.
  - Constraints: maxLength: 5
  - `items` (union)
    - One of: `#mentionRule`, `#followingRule`, `#listRule`
- `createdAt` (string · datetime, required)
- `post` (ref, required): The root post the threadgate applies to.
  - Reference: `tools.kryphocron.feed.postPublic#strongRef`

## #followingRule (`tools.kryphocron.feed.threadgate#followingRule`)

Type: object

Allow replies from users the post's author follows.

### Properties


## #listRule (`tools.kryphocron.feed.threadgate#listRule`)

Type: object

Allow replies from members of a specific list.

### Properties

- `list` (string · at-uri, required)

## #mentionRule (`tools.kryphocron.feed.threadgate#mentionRule`)

Type: object

Allow replies from users mentioned in the post.

### Properties


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "followingRule": {
      "description": "Allow replies from users the post's author follows.",
      "properties": {},
      "type": "object"
    },
    "listRule": {
      "description": "Allow replies from members of a specific list.",
      "properties": {
        "list": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "list"
      ],
      "type": "object"
    },
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "allow": {
            "description": "Who can reply.",
            "items": {
              "refs": [
                "#mentionRule",
                "#followingRule",
                "#listRule"
              ],
              "type": "union"
            },
            "maxLength": 5,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "post": {
            "description": "The root post the threadgate applies to.",
            "ref": "tools.kryphocron.feed.postPublic#strongRef",
            "type": "ref"
          }
        },
        "required": [
          "post",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "mentionRule": {
      "description": "Allow replies from users mentioned in the post.",
      "properties": {},
      "type": "object"
    }
  },
  "description": "Thread-level interaction policy. Field schema compatible with app.bsky.feed.threadgate. For private-tier threads, allow-rules are additional constraints on top of audience-list membership.",
  "id": "tools.kryphocron.feed.threadgate",
  "lexicon": 1
}
```
