{
  "lexicon": 1,
  "id": "org.tangled.temp.notification.getPreferences",
  "defs": {
    "main": {
      "type": "query",
      "description": "Get notification preferences for the authenticated user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "ref",
          "ref": "#preferences"
        }
      }
    },
    "preferences": {
      "type": "object",
      "required": [
        "repoStarred",
        "issueCreated",
        "issueCommented",
        "issueClosed",
        "pullCreated",
        "pullCommented",
        "pullMerged",
        "followed",
        "userMentioned",
        "emailNotifications"
      ],
      "properties": {
        "repoStarred": { "type": "boolean" },
        "issueCreated": { "type": "boolean" },
        "issueCommented": { "type": "boolean" },
        "issueClosed": { "type": "boolean" },
        "pullCreated": { "type": "boolean" },
        "pullCommented": { "type": "boolean" },
        "pullMerged": { "type": "boolean" },
        "followed": { "type": "boolean" },
        "userMentioned": { "type": "boolean" },
        "emailNotifications": { "type": "boolean" }
      }
    }
  }
}
