<commit_before>{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ModmailConfig",
  "type": "object",
  "definitions": {
    "stringArray": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "multilineString": {
      "allOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        {
          "$comment": "See definition of multilineString in cfg.js",
          "multilineString": true
        }
      ]
    },
    "customBoolean": {
      "allOf": [
        {
          "type": ["boolean", "string"]
        },
        {
          "$comment": "See definition of coerceBoolean in cfg.js",
          "coerceBoolean": true
        }
      ]
    }
  },
  "properties": {
    "token": {
      "type": "string"
    },
    "mainServerId": {
      "$ref": "#/definitions/stringArray"
    },
    "inboxServerId": {
      "type": "string"
    },
    "logChannelId": {
      "type": "string"
    },

    "mainGuildId": {
      "$comment": "Alias for mainServerId",
      "$ref": "#/definitions/stringArray"
    },
    "mailGuildId": {
      "$comment": "Alias for inboxServerId",
      "type": "string"
    },

    "prefix": {
      "type": "string",
      "default": "!"
    },
    "snippetPrefix": {
      "type": "string",
      "default": "!!"
    },
    "snippetPrefixAnon": {
      "type": "string",
      "default": "!!!"
    },
    "status": {
      "type": "string",
      "default": "Message me for help!"
    },
    "statusType": {
      "type": "string",
      "enum": ["playing", "watching", "listening"],
      "default": "playing"
    },
    "statusUrl": {
      "type": "string",
      "default": ""
    },
    "responseMessage": {
      "$ref": "#/definitions/multilineString",
      "default": "Thank you for your message! Our mod team will reply to you here as soon as possible."
    },
    "closeMessage": {
      "$ref": "#/definitions/multilineString"
    },
    "allowUserClose": {
      "$ref": "#/definitions/customBoolean",
      "default": false
    },

    "newThreadCategoryId": {
      "type": "string"
    },
    "mentionRole": {
      "type": "string",
      "default": "none"
    },
    "pingOnBotMention": {<commit_msg>Allow the mentionRole setting to accept more than one value (#554)<commit_after>{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ModmailConfig",
  "type": "object",
  "definitions": {
    "stringArray": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "multilineString": {
      "allOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        {
          "$comment": "See definition of multilineString in cfg.js",
          "multilineString": true
        }
      ]
    },
    "customBoolean": {
      "allOf": [
        {
          "type": ["boolean", "string"]
        },
        {
          "$comment": "See definition of coerceBoolean in cfg.js",
          "coerceBoolean": true
        }
      ]
    }
  },
  "properties": {
    "token": {
      "type": "string"
    },
    "mainServerId": {
      "$ref": "#/definitions/stringArray"
    },
    "inboxServerId": {
      "type": "string"
    },
    "logChannelId": {
      "type": "string"
    },

    "mainGuildId": {
      "$comment": "Alias for mainServerId",
      "$ref": "#/definitions/stringArray"
    },
    "mailGuildId": {
      "$comment": "Alias for inboxServerId",
      "type": "string"
    },

    "prefix": {
      "type": "string",
      "default": "!"
    },
    "snippetPrefix": {
      "type": "string",
      "default": "!!"
    },
    "snippetPrefixAnon": {
      "type": "string",
      "default": "!!!"
    },
    "status": {
      "type": "string",
      "default": "Message me for help!"
    },
    "statusType": {
      "type": "string",
      "enum": ["playing", "watching", "listening"],
      "default": "playing"
    },
    "statusUrl": {
      "type": "string",
      "default": ""
    },
    "responseMessage": {
      "$ref": "#/definitions/multilineString",
      "default": "Thank you for your message! Our mod team will reply to you here as soon as possible."
    },
    "closeMessage": {
      "$ref": "#/definitions/multilineString"
    },
    "allowUserClose": {
      "$ref": "#/definitions/customBoolean",
      "default": false
    },

    "newThreadCategoryId": {
      "type": "string"
    },
    "mentionRole": {
      "$ref": "#/definitions/stringArray",
      "default": "none"
    },
    "pingOnBotMention": {
{'fraction_non_alphanumeric': 0.18944991789819376, 'fraction_numerical': 0.0014367816091954023, 'mean_word_length': 1.7147632311977716, 'pattern_counts': {'":': 140, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5969215', 'n_tokens_mistral': 1576, 'n_tokens_neox': 1560, 'n_words': 300}