From 0e91f020bd996d9b60ffaeb9d192e890a94dc044 Mon Sep 17 00:00:00 2001 From: nobody Date: Thu, 9 Nov 2023 04:05:49 +0000 Subject: [PATCH] JSON Schema Update --- .../v3/transfer_between_accounts/receive.json | 39 +++++++++++++++---- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/config/v3/transfer_between_accounts/receive.json b/config/v3/transfer_between_accounts/receive.json index e55dba97..3cf8b1de 100644 --- a/config/v3/transfer_between_accounts/receive.json +++ b/config/v3/transfer_between_accounts/receive.json @@ -24,17 +24,30 @@ "type": "object", "additionalProperties": false, "properties": { - "account_type": { - "description": "Type of the account. Please note that `binary` is deprecated and replaced by `trading`", + "account_category": { + "description": "Category of the account.", "type": "string", "enum": [ "trading", - "mt5", - "wallet", + "wallet" + ] + }, + "account_type": { + "description": "Type of the account.", + "type": "string", + "enum": [ + "binary", + "crypto", + "ctrader", + "doughflow", "dxtrade", "derivez", - "binary", - "ctrader" + "mt5", + "p2p", + "paymentagent", + "paymentagent_client", + "standard", + "virtual" ] }, "balance": { @@ -74,9 +87,9 @@ "description": "Market type of account.", "type": "string", "enum": [ + "all", "financial", - "synthetic", - "all" + "synthetic" ] }, "mt5_group": { @@ -95,6 +108,16 @@ "examples": [ "poa_failed" ] + }, + "transfers": { + "description": "Type of transfers allowed between the account and the currently authorized account.", + "type": "string", + "enum": [ + "all", + "deposit", + "none", + "withdrawal" + ] } } }