{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get magnet entries published by a specific author.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "entries": {
              "items": {
                "ref": "quest.sableye.magnet.listEntries#entryView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "entries"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "author": {
            "description": "The DID of the author.",
            "format": "did",
            "type": "string"
          },
          "cursor": {
            "description": "Pagination cursor.",
            "type": "string"
          },
          "limit": {
            "default": 25,
            "description": "Maximum number of results.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "author"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "quest.sableye.magnet.getAuthorEntries",
  "lexicon": 1
}
