{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "channel": {
      "properties": {
        "name": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "Get channels for the authenticated user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "channels": {
              "items": {
                "ref": "#channel",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "chat.firehose.getUserChannels",
  "lexicon": 1
}
