{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Count the number of unread notifications for the requesting account. Requires auth.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "priority": {
            "type": "boolean"
          },
          "seenAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "so.sprk.notification.getUnreadCount",
  "lexicon": 1
}
