app.bsky.feed.postgate

Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.

Details · record, key tid
Kindrecord
Record keytid
Authorityfeed.bsky.app
Indexed
cid bafyreiai5efexyluyptv5tbl6kqbqlnneczqzexcqnxmitmulyjfaftgva

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "disableRule": {
      "description": "Disables embedding of this post.",
      "properties": {},
      "type": "object"
    },
    "main": {
      "description": "Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "detachedEmbeddingUris": {
            "description": "List of AT-URIs embedding this post that the author has detached from.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "embeddingRules": {
            "description": "List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed.",
            "items": {
              "refs": [
                "#disableRule"
              ],
              "type": "union"
            },
            "maxLength": 5,
            "type": "array"
          },
          "post": {
            "description": "Reference (AT-URI) to the post record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "post",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.bsky.feed.postgate",
  "lexicon": 1
}