<commit_before>{
  "groups": [
    {
      "code": "definition",
      "display": "Definition",
      "cryptoScope": "global",
      "machineScope": "specific",
      "fields": [
        "machineName",
        "machineModel",
        "machineLocation"
      ]
    },
    {
      "code": "setup",
      "display": "Setup",
      "cryptoScope": "global",
      "machineScope": "both",
      "fields": [
        "fiatCurrency",
        "country",
        "machineLanguages",
        "cryptoCurrencies"
      ]
    },
    {
      "code": "cashOut",
      "display": "Cash Out",
      "cryptoScope": "global",
      "machineScope": "both",
      "fields": [
        "cashOutEnabled",
        "topCashOutDenomination",
        "bottomCashOutDenomination",
        "virtualCashOutDenomination",
        "zeroConfLimit"
      ]
    },
    {
      "code": "commissions",
      "display": "Commissions",
      "cryptoScope": "both",
      "machineScope": "both",
      "fields": [
        "cashInCommission",
        "cashOutCommission",
        "cashInFee",
        "minimumTx"
      ]
    },
    {
      "code": "balanceAlerts",
      "display": "Balance Alerts",
      "cryptoScope": "both",
      "machineScope": "both",
      "fields": [
        "cryptoAlertThreshold",
        "cashInAlertThreshold",
        "cashOutCassette1AlertThreshold",
        "cashOutCassette2AlertThreshold"
      ]
    },
    {
      "code": "compliance",
      "display": "Compliance",
      "cryptoScope": "global",
      "machineScope": "both",
      "fields": [
        "cashInTransactionLimit",
        "cashOutTransactionLimit",
        "smsVerificationEnabled",
        "idVerificationEnabled",
        "idVerifier",
        "idVerificationLimit"
      ]
    },
    {
      "code": "walletSettings",
      "display": "Wallet Settings",
      "cryptoScope": "specific",
      "machineScope": "global",
      "fields": [
        "ticker",
        "wallet",
        "exchange",
        "zeroConf"
      ]
    },
    {
      "code": "notifications",
      "display": "Notifications",
      "cryptoScope": "global",
      "machineScope": "global",
      "fields": [
        "notificationsEnabled",
        "notificationsEmailEnabled",
        "notificationsSMSEnabled",
        "sms",
        "email"
      ]
    }
  ],
  "fields": [
    {
      "code": "cashInCommission",
      "displayTop": "Commissions",
      "displayTopCount": 2,
      "displayBottom": "Cash-in",
      "fieldType": "percentage",
      "fieldClass": null,
      "cryptoScope": "both",
      "machineScope": "both",
      "fieldValidation": [
        {
          "code": "required"
        },
        {
          "code": "min",
          "min": 0
        }
      ]
    },
    {
      "code": "cashOutCommission",
      "displayBottom": "Cash-out",
      "displayTopCount": 0,
      "fieldType": "percentage",
      "fieldClass": null,
      "cryptoScope": "both",
      "machineScope": "both",
      "enabledIfAny": [<commit_msg>Add new schema fields for compliance<commit_after>{
  "groups": [
    {
      "code": "definition",
      "display": "Definition",
      "cryptoScope": "global",
      "machineScope": "specific",
      "fields": [
        "machineName",
        "machineModel",
        "machineLocation"
      ]
    },
    {
      "code": "setup",
      "display": "Setup",
      "cryptoScope": "global",
      "machineScope": "both",
      "fields": [
        "fiatCurrency",
        "country",
        "machineLanguages",
        "cryptoCurrencies"
      ]
    },
    {
      "code": "cashOut",
      "display": "Cash Out",
      "cryptoScope": "global",
      "machineScope": "both",
      "fields": [
        "cashOutEnabled",
        "topCashOutDenomination",
        "bottomCashOutDenomination",
        "virtualCashOutDenomination",
        "zeroConfLimit"
      ]
    },
    {
      "code": "commissions",
      "display": "Commissions",
      "cryptoScope": "both",
      "machineScope": "both",
      "fields": [
        "cashInCommission",
        "cashOutCommission",
        "cashInFee",
        "minimumTx"
      ]
    },
    {
      "code": "balanceAlerts",
      "display": "Balance Alerts",
      "cryptoScope": "both",
      "machineScope": "both",
      "fields": [
        "cryptoAlertThreshold",
        "cashInAlertThreshold",
        "cashOutCassette1AlertThreshold",
        "cashOutCassette2AlertThreshold"
      ]
    },
    {
      "code": "compliance",
      "display": "Compliance",
      "cryptoScope": "global",
      "machineScope": "global",
      "fields": [
         "smsVerificationActive",
         "smsVerificationThreshold",
         "idCardDataVerificationActive",
         "idCardDataVerificationThreshold",
         "idCardPhotoVerificationActive",
         "idCardPhotoVerificationThreshold",
         "sanctionsVerificationActive",
         "sanctionsVerificationThreshold",
         "crossRefVerificationActive",
         "crossRefVerificationThreshold",
         "frontCameraVerificationActive",
         "frontCameraVerificationThreshold",
         "hardLimitVerificationActive",
         "hardLimitVerificationThreshold"
      ]
    },
    {
      "code": "walletSettings",
      "display": "Wallet Settings",
      "cryptoScope": "specific",
      "machineScope": "global",
      "fields": [
        "ticker",
        "wallet",
        "exchange",
        "zeroConf"
      ]
    },
    {
      "code": "notifications",
      "display": "Notifications",
      "cryptoScope": "global",
      "machineScope": "global",
      "fields": [
        "notificationsEnabled",
        "notificationsEmailEnabled",
        "notificationsSMSEnabled",
        "sms",
        "email"
      ]
    }
  ],
  "fields": [
    {
      "code": "hardLimitVerificationActive",
      "displayTop": "Hard Limit",
      "displayBottom": "Hard Limit",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "hardLimitVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "hardLimitVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "crossRefVerificationActive",
      "displayTop": "Cross Reference",
      "displayBottom": "Cross Reference",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "crossRefVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "crossRefVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "sanctionsVerificationActive",
      "displayTop": "Sanctions Verification",
      "displayBottom": "Sanctions",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "sanctionsVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "sanctionsVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "frontCameraVerificationActive",
      "displayTop": "Front Facing Camer",
      "displayBottom": "Front Facing Camera",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "frontCameraVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "frontCameraVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "idCardPhotoVerificationActive",
      "displayTop": "ID Card Photo",
      "displayBottom": "ID Photo",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "idCardPhotoVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "idCardPhotoVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "idCardDataVerificationActive",
      "displayTop": "ID Card Verification",
      "displayBottom": "Card",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "idCardDataVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "idCardDataVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "smsVerificationActive",
      "displayTop": "SMS Verification",
      "displayBottom": "SMS",
      "displayTopCount": 2,
      "fieldType": "onOff",
      "fieldClass": null,
      "fieldValidation": [
        {
          "code": "required"
        }
      ]
    },
    {
      "code": "smsVerificationThreshold",
      "displayBottom": "Daily Value Threshold",
      "displayTopCount": 0,
      "fieldType": "integer",
      "fieldClass": "fiat",
      "enabledIfAny": [
        "smsVerificationActive"
      ],
      "fieldValidation": [{"code": "required"}]
    },
    {
      "code": "cashInCommission",
      "displayTop": "Commissions",
      "displayTopCount": 2,
      "displayBottom": "Cash-in",
      "fieldType": "percentage",
      "fieldClass": null,
      "cryptoScope": "both",
      "machineScope": "both",
      "fieldValidation": [
        {
          "code": "required"
        },
        {
          "code": "min",
          "min": 0
        }
      ]
    },
    {
      "code": "cashOutCommission",
      "displayBottom": "Cash-out",
      "displayTopCount": 0,
      "fieldType": "percentage",
      "fieldClass": null,
      "cryptoScope": "both",
      "machineScope": "both",
      "enabledIfAny": [
{'fraction_non_alphanumeric': 0.15694730920682542, 'fraction_numerical': 0.002250140633789612, 'mean_word_length': 2.0856233728666473, 'pattern_counts': {'":': 236, '<': 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': '3055798', 'n_tokens_mistral': 3239, 'n_tokens_neox': 3166, 'n_words': 554}