{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "chat": {
              "ref": "chat.bsky.notification.defs#chatPreference",
              "type": "ref"
            },
            "chatRequest": {
              "ref": "chat.bsky.notification.defs#chatPreference",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "preferences": {
              "ref": "chat.bsky.notification.defs#preferences",
              "type": "ref"
            }
          },
          "required": [
            "preferences"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "chat.bsky.notification.putPreferences",
  "lexicon": 1
}
