{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List items and subscriptions for the authenticated user. Always returns items given by the user and subscriptions the user has created.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Pagination cursor for next page",
              "maxLength": 512,
              "type": "string"
            },
            "items": {
              "items": {
                "refs": [
                  "com.atiproto.item#view",
                  "com.atiproto.subscription#view"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor",
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Results per page (1-100)",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.atiproto.payment.list",
  "lexicon": 1
}
