{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Declares which submitted replies are shown on a document. Lives in the document's repo, with a record key matching the document's.",
      "key": "any",
      "record": {
        "properties": {
          "allowed": {
            "description": "The pub.leaflet.interactions.reply records shown on the document.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 500,
            "type": "array"
          },
          "subject": {
            "description": "The document whose replies this record moderates.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "allowed"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "pub.leaflet.interactions.replyVisibility",
  "lexicon": 1
}
