{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List the authors the authenticated user has muted. Reads the index built from the user's own pub.chive.actor.mute records, so the list follows the user between devices rather than living in one browser.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Cursor for the next page, absent when there are no more",
              "type": "string"
            },
            "mutes": {
              "items": {
                "ref": "#mutedAuthor",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "mutes"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor from a previous response",
            "type": "string"
          },
          "limit": {
            "default": 100,
            "description": "Maximum number of mutes to return",
            "maximum": 200,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "mutedAuthor": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "subjectDid": {
          "description": "DID of the muted author",
          "format": "did",
          "type": "string"
        },
        "uri": {
          "description": "AT-URI of the mute record in the muter's repository",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "subjectDid",
        "uri",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.actor.listMutes",
  "lexicon": 1,
  "revision": 1
}
