{
  "lexicon": 1,
  "id": "org.tangled.temp.notification.updateSeen",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Mark a single notification as read or unread.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["id", "read"],
          "properties": {
            "id": {
              "type": "integer",
              "description": "ID of the notification to update."
            },
            "read": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}
