{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Videos sent to the viewer, or by them, newest first. Viewer-specific and never cached.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "sends": {
              "items": {
                "ref": "com.getorbyt.send.defs#sendView",
                "type": "ref"
              },
              "maxLength": 50,
              "type": "array"
            }
          },
          "required": [
            "sends"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "box": {
            "default": "received",
            "knownValues": [
              "received",
              "sent"
            ],
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 25,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "Only sends of this post, as a post opened from Activity asks for who sent it.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.getorbyt.send.list",
  "lexicon": 1
}
