{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires the caller's service token. Only the caller's own.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Where the previous page ended.",
              "type": "string"
            },
            "requests": {
              "items": {
                "ref": "#request",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "requests"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Where the previous page ended.",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "request": {
      "properties": {
        "authors": {
          "maxLength": 1000,
          "type": "string"
        },
        "book": {
          "description": "The key of the page the request was made on.",
          "maxLength": 128,
          "type": "string"
        },
        "cover": {
          "format": "uri",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "deliveredAt": {
          "description": "When the format arrived and the caller was told.",
          "format": "datetime",
          "type": "string"
        },
        "format": {
          "knownValues": [
            "ebook",
            "audiobook"
          ],
          "type": "string"
        },
        "title": {
          "maxLength": 1000,
          "type": "string"
        }
      },
      "required": [
        "book",
        "format",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "description": "The caller's Notify me requests, newest first, for My Requests.",
  "id": "ink.resenha.shop.listRequests",
  "lexicon": 1
}
