{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "With seenAt, marks read the unread notifications created at or before seenAt, compared to the millisecond. Without a body or without seenAt, marks every unread notification read.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seenAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Mark notifications of the requesting account as read. Requires auth.",
  "id": "site.mochott.notification.updateSeen",
  "lexicon": 1,
  "revision": 1
}
