{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/notifications-account-funds-below-threshold-notification-content-schema.json",
  "title": "AccountFundsBelowThresholdNotificationContent",
  "description": "AccountFundsBelowThresholdNotificationContent schema from Adyen API",
  "type": "object",
  "properties": {
    "accountCode": {
      "description": "The code of the account with funds under threshold",
      "type": "string"
    },
    "balanceDate": {
      "description": "The date of the funds were found to be below threshold.",
      "$ref": "#/components/schemas/LocalDate"
    },
    "currentFunds": {
      "description": "The current funds in the liable account.",
      "$ref": "#/components/schemas/Amount"
    },
    "fundThreshold": {
      "description": "The configured fund threshold for the liable account",
      "$ref": "#/components/schemas/Amount"
    },
    "merchantAccountCode": {
      "description": "The code of the merchant account.",
      "type": "string"
    }
  },
  "required": [
    "merchantAccountCode",
    "fundThreshold"
  ]
}