so.sprk.feed.threadgate

Record defining interaction gating rules for a thread (aka, reply controls). The record key (rkey) of the threadgate record must match the record key of the thread's root post, and that record must be in the same repository.

Repository @sprk.so did:plc:cveom2iroj3mt747sd4qqnr2 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityfeed.sprk.so
Indexed
cid bafyreic22bxt4kljqozmus5uiiuvvge36fpmgyrmawto5qtxnhpw6ev3zi

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "followerRule": {
      "description": "Allow replies from actors who follow you.",
      "properties": {},
      "type": "object"
    },
    "followingRule": {
      "description": "Allow replies from actors you follow.",
      "properties": {},
      "type": "object"
    },
    "main": {
      "description": "Record defining interaction gating rules for a thread (aka, reply controls). The record key (rkey) of the threadgate record must match the record key of the thread's root post, and that record must be in the same repository.",
      "key": "tid",
      "record": {
        "properties": {
          "allow": {
            "description": "List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply.",
            "items": {
              "refs": [
                "#mentionRule",
                "#followerRule",
                "#followingRule"
              ],
              "type": "union"
            },
            "maxLength": 5,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "hiddenReplies": {
            "description": "List of hidden reply URIs.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "post": {
            "description": "Reference (AT-URI) to the post record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "post",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "mentionRule": {
      "description": "Allow replies from actors mentioned in your post.",
      "properties": {},
      "type": "object"
    }
  },
  "id": "so.sprk.feed.threadgate",
  "lexicon": 1
}