From aeee3d83a0444e904964efca8ce78918dd0a1fca Mon Sep 17 00:00:00 2001 From: user Date: Tue, 21 Nov 2023 09:47:50 +0000 Subject: [PATCH] JSON Schema Update --- _data/v3.yml | 2 + config/v3/active_symbols/send.json | 8 +- config/v3/api_token/send.json | 8 +- config/v3/app_delete/send.json | 8 +- config/v3/app_get/send.json | 8 +- config/v3/app_list/send.json | 8 +- config/v3/app_markup_details/send.json | 8 +- config/v3/app_markup_statistics/send.json | 8 +- config/v3/app_register/send.json | 8 +- config/v3/app_update/send.json | 8 +- config/v3/asset_index/send.json | 8 +- config/v3/authorize/send.json | 13 ++- config/v3/balance/send.json | 8 +- config/v3/buy/send.json | 8 +- .../send.json | 8 +- config/v3/cancel/send.json | 8 +- config/v3/cashier/send.json | 8 +- config/v3/contract_update/send.json | 8 +- config/v3/contract_update_history/send.json | 8 +- config/v3/contracts_for/send.json | 8 +- config/v3/copy_start/send.json | 8 +- config/v3/copy_stop/send.json | 8 +- config/v3/copytrading_list/send.json | 8 +- config/v3/copytrading_statistics/send.json | 3 +- config/v3/crypto_config/send.json | 8 +- config/v3/crypto_estimations/example.json | 4 + config/v3/crypto_estimations/receive.json | 87 +++++++++++++++++++ config/v3/crypto_estimations/send.json | 46 ++++++++++ config/v3/document_upload/send.json | 8 +- config/v3/economic_calendar/send.json | 3 +- config/v3/exchange_rates/send.json | 8 +- config/v3/forget/send.json | 3 +- config/v3/forget_all/send.json | 6 +- config/v3/get_account_status/send.json | 8 +- config/v3/get_financial_assessment/send.json | 8 +- config/v3/get_limits/send.json | 8 +- config/v3/get_self_exclusion/send.json | 8 +- config/v3/get_settings/send.json | 8 +- .../send.json | 8 +- config/v3/kyc_auth_status/send.json | 8 +- config/v3/landing_company/receive.json | 8 +- config/v3/landing_company/send.json | 5 +- config/v3/landing_company_details/send.json | 3 +- config/v3/login_history/send.json | 8 +- config/v3/logout/send.json | 8 +- config/v3/mt5_deposit/send.json | 3 +- config/v3/mt5_get_settings/send.json | 3 +- config/v3/mt5_login_list/send.json | 3 +- config/v3/mt5_new_account/send.json | 7 +- config/v3/mt5_password_change/send.json | 3 +- config/v3/mt5_password_check/send.json | 3 +- config/v3/mt5_password_reset/send.json | 3 +- config/v3/mt5_withdrawal/send.json | 3 +- config/v3/new_account_maltainvest/send.json | 8 +- config/v3/new_account_real/send.json | 8 +- config/v3/new_account_virtual/send.json | 8 +- config/v3/oauth_apps/send.json | 8 +- config/v3/order.pl | 37 -------- config/v3/p2p_advert_create/receive.json | 13 +++ config/v3/p2p_advert_create/send.json | 15 +++- config/v3/p2p_advert_info/receive.json | 12 +++ config/v3/p2p_advert_info/send.json | 3 +- config/v3/p2p_advert_list/receive.json | 13 +++ config/v3/p2p_advert_list/send.json | 3 +- config/v3/p2p_advert_update/receive.json | 12 +++ config/v3/p2p_advert_update/send.json | 15 +++- config/v3/p2p_advertiser_adverts/receive.json | 13 +++ config/v3/p2p_advertiser_adverts/send.json | 3 +- config/v3/p2p_advertiser_create/send.json | 3 +- config/v3/p2p_advertiser_info/send.json | 3 +- config/v3/p2p_advertiser_list/send.json | 3 +- .../p2p_advertiser_payment_methods/send.json | 3 +- config/v3/p2p_advertiser_relations/send.json | 3 +- config/v3/p2p_advertiser_update/send.json | 3 +- config/v3/p2p_chat_create/send.json | 3 +- config/v3/p2p_order_cancel/send.json | 3 +- config/v3/p2p_order_confirm/send.json | 3 +- config/v3/p2p_order_create/send.json | 3 +- config/v3/p2p_order_dispute/send.json | 3 +- config/v3/p2p_order_info/send.json | 3 +- config/v3/p2p_order_list/send.json | 3 +- config/v3/p2p_order_review/send.json | 3 +- config/v3/p2p_payment_methods/send.json | 3 +- config/v3/p2p_ping/send.json | 3 +- config/v3/p2p_settings/send.json | 3 +- config/v3/payment_methods/send.json | 8 +- config/v3/paymentagent_create/send.json | 3 +- config/v3/paymentagent_details/send.json | 3 +- config/v3/paymentagent_list/send.json | 3 +- config/v3/paymentagent_transfer/send.json | 3 +- config/v3/paymentagent_withdraw/send.json | 3 +- .../send.json | 3 +- config/v3/payout_currencies/send.json | 8 +- config/v3/ping/send.json | 3 +- config/v3/portfolio/send.json | 8 +- config/v3/profit_table/send.json | 8 +- config/v3/proposal/send.json | 8 +- config/v3/proposal_open_contract/receive.json | 14 +++ config/v3/proposal_open_contract/send.json | 8 +- config/v3/reality_check/send.json | 8 +- config/v3/residence_list/send.json | 3 +- config/v3/revoke_oauth_app/send.json | 8 +- config/v3/sell/send.json | 8 +- .../send.json | 8 +- config/v3/sell_expired/send.json | 8 +- config/v3/set_account_currency/send.json | 8 +- config/v3/set_financial_assessment/send.json | 8 +- config/v3/set_self_exclusion/send.json | 8 +- config/v3/set_settings/send.json | 8 +- config/v3/statement/send.json | 8 +- config/v3/states_list/send.json | 3 +- config/v3/ticks/send.json | 3 +- config/v3/ticks_history/send.json | 3 +- config/v3/time/send.json | 3 +- config/v3/tnc_approval/send.json | 8 +- config/v3/topup_virtual/send.json | 8 +- config/v3/trading_durations/send.json | 8 +- .../send.json | 3 +- .../trading_platform_password_reset/send.json | 3 +- config/v3/trading_servers/send.json | 8 +- config/v3/trading_times/send.json | 3 +- config/v3/transaction/send.json | 8 +- .../v3/transfer_between_accounts/receive.json | 39 +++++++-- config/v3/transfer_between_accounts/send.json | 8 +- config/v3/unsubscribe_email/send.json | 3 +- config/v3/verify_email/send.json | 8 +- config/v3/verify_email_cellxpert/send.json | 8 +- config/v3/website_status/send.json | 3 +- 128 files changed, 712 insertions(+), 281 deletions(-) create mode 100644 config/v3/crypto_estimations/example.json create mode 100644 config/v3/crypto_estimations/receive.json create mode 100644 config/v3/crypto_estimations/send.json delete mode 100644 config/v3/order.pl diff --git a/_data/v3.yml b/_data/v3.yml index 400990ba..2f17517d 100644 --- a/_data/v3.yml +++ b/_data/v3.yml @@ -49,6 +49,8 @@ groups: title: 'Copy Trading: Statistics' - name: crypto_config title: Cryptocurrency configurations + - name: crypto_estimations + title: Cryptocurrency Estimations - name: document_upload title: Document Upload - name: economic_calendar diff --git a/config/v3/active_symbols/send.json b/config/v3/active_symbols/send.json index a9a1e425..173f3354 100644 --- a/config/v3/active_symbols/send.json +++ b/config/v3/active_symbols/send.json @@ -52,10 +52,14 @@ "basic" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/api_token/send.json b/config/v3/api_token/send.json index e964fdcd..3e7a0948 100644 --- a/config/v3/api_token/send.json +++ b/config/v3/api_token/send.json @@ -53,10 +53,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_delete/send.json b/config/v3/app_delete/send.json index faf7bfee..b697f890 100644 --- a/config/v3/app_delete/send.json +++ b/config/v3/app_delete/send.json @@ -16,10 +16,14 @@ "description": "Application app_id", "type": "integer" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_get/send.json b/config/v3/app_get/send.json index 9d0fea1c..9fa9584a 100644 --- a/config/v3/app_get/send.json +++ b/config/v3/app_get/send.json @@ -16,10 +16,14 @@ "description": "Application app_id", "type": "integer" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_list/send.json b/config/v3/app_list/send.json index a543d59c..b4ec1d8b 100644 --- a/config/v3/app_list/send.json +++ b/config/v3/app_list/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_markup_details/send.json b/config/v3/app_markup_details/send.json index 2d9b279f..d9f2ccda 100644 --- a/config/v3/app_markup_details/send.json +++ b/config/v3/app_markup_details/send.json @@ -84,10 +84,14 @@ "minItems": 0, "uniqueItems": true }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_markup_statistics/send.json b/config/v3/app_markup_statistics/send.json index d436aa42..78aa9fd2 100644 --- a/config/v3/app_markup_statistics/send.json +++ b/config/v3/app_markup_statistics/send.json @@ -31,10 +31,14 @@ "type": "string", "pattern": "^([0-9]{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01]) ([01]?[0-9]|2[0-3]):([0-5]?[0-9]):([0-5]?[0-9])|[0-9]{1,10})$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_register/send.json b/config/v3/app_register/send.json index ca125603..591d3252 100644 --- a/config/v3/app_register/send.json +++ b/config/v3/app_register/send.json @@ -77,10 +77,14 @@ "type": "string", "pattern": "^[a-z][a-z0-9.+\\-]*://[0-9a-zA-Z\\.-]+[\\%\\/\\w \\.-]*$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/app_update/send.json b/config/v3/app_update/send.json index 686e6d13..f47a6d45 100644 --- a/config/v3/app_update/send.json +++ b/config/v3/app_update/send.json @@ -74,10 +74,14 @@ "type": "string", "pattern": "^[a-z][a-z0-9.+\\-]*://[0-9a-zA-Z\\.-]+[\\%\\/\\w \\.-]*$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/asset_index/send.json b/config/v3/asset_index/send.json index b380c2ae..caafe257 100644 --- a/config/v3/asset_index/send.json +++ b/config/v3/asset_index/send.json @@ -44,10 +44,14 @@ "champion-virtual" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/authorize/send.json b/config/v3/authorize/send.json index 4091e5c8..e464cc1b 100644 --- a/config/v3/authorize/send.json +++ b/config/v3/authorize/send.json @@ -24,10 +24,19 @@ 0 ] }, + "tokens": { + "description": "Additional Authentication tokens of authorized user that may be used in this session. Upto 10 tokens.", + "type": "array", + "items": { + "type": "string", + "pattern": "^[\\w\\-]{1,128}$" + }, + "maxItems": 10, + "sensitive": 1 + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/balance/send.json b/config/v3/balance/send.json index ea1b4770..4efbe949 100644 --- a/config/v3/balance/send.json +++ b/config/v3/balance/send.json @@ -34,10 +34,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/buy/send.json b/config/v3/buy/send.json index 370f7abf..b3da2fdb 100644 --- a/config/v3/buy/send.json +++ b/config/v3/buy/send.json @@ -208,10 +208,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/buy_contract_for_multiple_accounts/send.json b/config/v3/buy_contract_for_multiple_accounts/send.json index ce9e7e12..c8e78659 100644 --- a/config/v3/buy_contract_for_multiple_accounts/send.json +++ b/config/v3/buy_contract_for_multiple_accounts/send.json @@ -164,10 +164,14 @@ }, "sensitive": 1 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/cancel/send.json b/config/v3/cancel/send.json index c28ec834..47cf464d 100644 --- a/config/v3/cancel/send.json +++ b/config/v3/cancel/send.json @@ -16,10 +16,14 @@ "description": "Value should be the `contract_id` which received from the `portfolio` call.", "type": "integer" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/cashier/send.json b/config/v3/cashier/send.json index 3842a7d3..da2cb038 100644 --- a/config/v3/cashier/send.json +++ b/config/v3/cashier/send.json @@ -62,10 +62,14 @@ "type": "string", "pattern": "^\\w{8,128}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/contract_update/send.json b/config/v3/contract_update/send.json index 36916a89..97dd8268 100644 --- a/config/v3/contract_update/send.json +++ b/config/v3/contract_update/send.json @@ -46,10 +46,14 @@ } } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/contract_update_history/send.json b/config/v3/contract_update_history/send.json index 234808f5..13781233 100644 --- a/config/v3/contract_update_history/send.json +++ b/config/v3/contract_update_history/send.json @@ -31,10 +31,14 @@ "maximum": 999, "minimum": 1 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/contracts_for/send.json b/config/v3/contracts_for/send.json index ffdcf764..f82abd7e 100644 --- a/config/v3/contracts_for/send.json +++ b/config/v3/contracts_for/send.json @@ -57,10 +57,14 @@ "basic" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/copy_start/send.json b/config/v3/copy_start/send.json index 49323ac8..2f4891b6 100644 --- a/config/v3/copy_start/send.json +++ b/config/v3/copy_start/send.json @@ -58,10 +58,14 @@ } ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/copy_stop/send.json b/config/v3/copy_stop/send.json index b231c029..f1445526 100644 --- a/config/v3/copy_stop/send.json +++ b/config/v3/copy_stop/send.json @@ -18,10 +18,14 @@ "pattern": "^[\\w\\s-]{15,32}$", "sensitive": 1 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/copytrading_list/send.json b/config/v3/copytrading_list/send.json index 4126f6cd..9441da2d 100644 --- a/config/v3/copytrading_list/send.json +++ b/config/v3/copytrading_list/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/copytrading_statistics/send.json b/config/v3/copytrading_statistics/send.json index 791f2e40..fe79d85a 100644 --- a/config/v3/copytrading_statistics/send.json +++ b/config/v3/copytrading_statistics/send.json @@ -24,8 +24,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/crypto_config/send.json b/config/v3/crypto_config/send.json index a5570b07..023565ff 100644 --- a/config/v3/crypto_config/send.json +++ b/config/v3/crypto_config/send.json @@ -21,10 +21,14 @@ "type": "string", "pattern": "^[a-zA-Z0-9]{2,20}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/crypto_estimations/example.json b/config/v3/crypto_estimations/example.json new file mode 100644 index 00000000..74d0dcda --- /dev/null +++ b/config/v3/crypto_estimations/example.json @@ -0,0 +1,4 @@ +{ + "crypto_estimations": 1, + "currency_code": "BTC" +} diff --git a/config/v3/crypto_estimations/receive.json b/config/v3/crypto_estimations/receive.json new file mode 100644 index 00000000..e3dcdbc0 --- /dev/null +++ b/config/v3/crypto_estimations/receive.json @@ -0,0 +1,87 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Cryptocurrency Estimations (response)", + "description": "Latest cryptocurrency estimations.", + "type": "object", + "required": [ + "echo_req", + "msg_type" + ], + "properties": { + "crypto_estimations": { + "title": "crypto_estimations", + "description": "Cryptocurrency estimations. E.g. Withdrawal fee estimations.", + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]{2,20}$": { + "description": "Cryptocurrency code", + "type": "object", + "additionalProperties": false, + "minProperties": 0, + "properties": { + "withdrawal_fee": { + "description": "Estimated fee for crypto withdrawal calculated based on the current network conditions.", + "type": "object", + "additionalProperties": false, + "properties": { + "expiry_time": { + "description": "Expiry time for the estimated fee in epoch.", + "type": "integer", + "examples": [ + 1589380800 + ] + }, + "unique_id": { + "description": "Unique identifier for the estimated fee which allows locking the fee for a client.", + "type": "string", + "examples": [ + "c84a793b-8a87-7999-ce10-9b22f7ceead3" + ] + }, + "value": { + "description": "Value of current estimated fee.", + "type": "number", + "examples": 0.0005 + } + } + } + } + } + } + }, + "subscription": { + "title": "Subscription information", + "description": "For subscription requests only.", + "type": "object", + "additionalProperties": false, + "required": [ + "id" + ], + "properties": { + "id": { + "description": "A per-connection unique identifier. Can be passed to the `forget` API call to unsubscribe.", + "type": "string", + "examples": [ + "c84a793b-8a87-7999-ce10-9b22f7ceead3" + ] + } + } + }, + "echo_req": { + "description": "Echo of the request made.", + "type": "object" + }, + "msg_type": { + "description": "Action name of the request made.", + "type": "string", + "enum": [ + "crypto_estimations" + ] + }, + "req_id": { + "description": "Optional field sent in request to map to response, present only when request contains `req_id`.", + "type": "integer" + } + } +} diff --git a/config/v3/crypto_estimations/send.json b/config/v3/crypto_estimations/send.json new file mode 100644 index 00000000..87e0c11e --- /dev/null +++ b/config/v3/crypto_estimations/send.json @@ -0,0 +1,46 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Cryptocurrency Estimations (request)", + "description": "Get the current estimations for cryptocurrencies. E.g. Withdrawal fee.", + "type": "object", + "auth_required": 0, + "additionalProperties": false, + "required": [ + "crypto_estimations", + "currency_code" + ], + "properties": { + "crypto_estimations": { + "description": "Must be `1`", + "type": "integer", + "enum": [ + 1 + ] + }, + "currency_code": { + "description": "Cryptocurrency code for which fee estimation is provided.", + "type": "string", + "pattern": "^[a-zA-Z0-9]{2,20}$" + }, + "subscribe": { + "description": "[Optional] If set to 1, will send updates whenever there is an update to crypto estimations.", + "type": "integer", + "enum": [ + 1 + ] + }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, + "passthrough": { + "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", + "type": "object" + }, + "req_id": { + "description": "[Optional] Used to map request to response.", + "type": "integer" + } + } +} diff --git a/config/v3/document_upload/send.json b/config/v3/document_upload/send.json index b7ddf748..487cd74f 100644 --- a/config/v3/document_upload/send.json +++ b/config/v3/document_upload/send.json @@ -140,10 +140,14 @@ } } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/economic_calendar/send.json b/config/v3/economic_calendar/send.json index 718c1edf..adcf15fc 100644 --- a/config/v3/economic_calendar/send.json +++ b/config/v3/economic_calendar/send.json @@ -35,8 +35,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/exchange_rates/send.json b/config/v3/exchange_rates/send.json index a87af466..68395970 100644 --- a/config/v3/exchange_rates/send.json +++ b/config/v3/exchange_rates/send.json @@ -34,10 +34,14 @@ "type": "string", "pattern": "^[a-zA-Z0-9]{2,20}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/forget/send.json b/config/v3/forget/send.json index 213c5d25..d15851c6 100644 --- a/config/v3/forget/send.json +++ b/config/v3/forget/send.json @@ -16,8 +16,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/forget_all/send.json b/config/v3/forget_all/send.json index bbbbbc98..6a90282e 100644 --- a/config/v3/forget_all/send.json +++ b/config/v3/forget_all/send.json @@ -25,8 +25,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", @@ -50,7 +49,8 @@ "transaction", "trading_platform_asset_listing", "website_status", - "p2p_settings" + "p2p_settings", + "crypto_estimations" ] } } diff --git a/config/v3/get_account_status/send.json b/config/v3/get_account_status/send.json index 6e7daaa4..5e8837d3 100644 --- a/config/v3/get_account_status/send.json +++ b/config/v3/get_account_status/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/get_financial_assessment/send.json b/config/v3/get_financial_assessment/send.json index dd187f6c..b7575dbe 100644 --- a/config/v3/get_financial_assessment/send.json +++ b/config/v3/get_financial_assessment/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/get_limits/send.json b/config/v3/get_limits/send.json index 709e8436..6d84a071 100644 --- a/config/v3/get_limits/send.json +++ b/config/v3/get_limits/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/get_self_exclusion/send.json b/config/v3/get_self_exclusion/send.json index d25724a7..098ded98 100644 --- a/config/v3/get_self_exclusion/send.json +++ b/config/v3/get_self_exclusion/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/get_settings/send.json b/config/v3/get_settings/send.json index 4db572ba..1646a557 100644 --- a/config/v3/get_settings/send.json +++ b/config/v3/get_settings/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/identity_verification_document_add/send.json b/config/v3/identity_verification_document_add/send.json index 6df313cf..545892a9 100644 --- a/config/v3/identity_verification_document_add/send.json +++ b/config/v3/identity_verification_document_add/send.json @@ -39,10 +39,14 @@ "type": "string", "pattern": "^[a-z]{2}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/kyc_auth_status/send.json b/config/v3/kyc_auth_status/send.json index 916e8bce..77948438 100644 --- a/config/v3/kyc_auth_status/send.json +++ b/config/v3/kyc_auth_status/send.json @@ -41,10 +41,14 @@ ] } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/landing_company/receive.json b/config/v3/landing_company/receive.json index 592b82d1..23090582 100644 --- a/config/v3/landing_company/receive.json +++ b/config/v3/landing_company/receive.json @@ -423,7 +423,7 @@ } }, "dxtrade_gaming_company": { - "description": "Available Deriv X gaming account types (Synthetic Indices).", + "description": "Available Deriv X derived account types (Synthetic Indices).", "type": "object", "additionalProperties": false, "properties": { @@ -767,7 +767,7 @@ "type": "string" }, "gaming_company": { - "description": "Landing Company for gaming contracts (Synthetic Indices)", + "description": "Landing Company for derived contracts (Synthetic Indices)", "type": [ "null", "object" @@ -1483,7 +1483,7 @@ } }, "mt_gaming_company": { - "description": "Landing Company for MT5 standard gaming contracts (Synthetic Indices), currently has Financial as subtype.", + "description": "Landing Company for MT5 standard derived contracts (Synthetic Indices), currently has Financial as subtype.", "type": [ "null", "object" @@ -1491,7 +1491,7 @@ "additionalProperties": false, "properties": { "financial": { - "description": "Landing Company for MT5 gaming contracts (Synthetic Indices)", + "description": "Landing Company for MT5 derived contracts (Synthetic Indices)", "type": [ "null", "object" diff --git a/config/v3/landing_company/send.json b/config/v3/landing_company/send.json index 47248985..bc5fc72e 100644 --- a/config/v3/landing_company/send.json +++ b/config/v3/landing_company/send.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-04/schema#", "title": "Landing Company (request)", - "description": "The company has a number of licensed subsidiaries in various jurisdictions, which are called Landing Companies. This call will return the appropriate Landing Company for clients of a given country. The landing company may differ for Gaming contracts (Synthetic Indices) and Financial contracts (Forex, Stock Indices, Commodities).", + "description": "The company has a number of licensed subsidiaries in various jurisdictions, which are called Landing Companies. This call will return the appropriate Landing Company for clients of a given country. The landing company may differ for derived contracts (Synthetic Indices) and Financial contracts (Forex, Stock Indices, Commodities).", "type": "object", "auth_required": 0, "additionalProperties": false, @@ -17,8 +17,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/landing_company_details/send.json b/config/v3/landing_company_details/send.json index 676b53b4..bc332870 100644 --- a/config/v3/landing_company_details/send.json +++ b/config/v3/landing_company_details/send.json @@ -34,8 +34,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/login_history/send.json b/config/v3/login_history/send.json index c97ab482..fbf2382b 100644 --- a/config/v3/login_history/send.json +++ b/config/v3/login_history/send.json @@ -26,10 +26,14 @@ "maximum": 50, "minimum": 0 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/logout/send.json b/config/v3/logout/send.json index c5a67af9..8e547363 100644 --- a/config/v3/logout/send.json +++ b/config/v3/logout/send.json @@ -16,10 +16,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_deposit/send.json b/config/v3/mt5_deposit/send.json index 7c55abfb..0692b4da 100644 --- a/config/v3/mt5_deposit/send.json +++ b/config/v3/mt5_deposit/send.json @@ -36,8 +36,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_get_settings/send.json b/config/v3/mt5_get_settings/send.json index f9498f2a..15b874e8 100644 --- a/config/v3/mt5_get_settings/send.json +++ b/config/v3/mt5_get_settings/send.json @@ -27,8 +27,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_login_list/send.json b/config/v3/mt5_login_list/send.json index e5fed890..880ffd1a 100644 --- a/config/v3/mt5_login_list/send.json +++ b/config/v3/mt5_login_list/send.json @@ -21,8 +21,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_new_account/send.json b/config/v3/mt5_new_account/send.json index 049f53b2..201b8a6a 100644 --- a/config/v3/mt5_new_account/send.json +++ b/config/v3/mt5_new_account/send.json @@ -90,6 +90,10 @@ "pattern": "^(?=.*[a-z])(?=.*[0-9])(?=.*[A-Z])[ -~]{8,25}$", "sensitive": 1 }, + "migrate": { + "description": "[Optional] Indicates whether the user would like to migrate his account to other jurisdiction.", + "type": "boolean" + }, "mt5_account_category": { "description": "[Optional] To choose whether account is conventional or swap_free. Unavailable for financial_stp MT5_account_type", "type": "string", @@ -160,8 +164,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_password_change/send.json b/config/v3/mt5_password_change/send.json index e56dd6a9..64720ecb 100644 --- a/config/v3/mt5_password_change/send.json +++ b/config/v3/mt5_password_change/send.json @@ -50,8 +50,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_password_check/send.json b/config/v3/mt5_password_check/send.json index 2649c0f9..a2215f30 100644 --- a/config/v3/mt5_password_check/send.json +++ b/config/v3/mt5_password_check/send.json @@ -43,8 +43,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_password_reset/send.json b/config/v3/mt5_password_reset/send.json index 3053fb53..a3510102 100644 --- a/config/v3/mt5_password_reset/send.json +++ b/config/v3/mt5_password_reset/send.json @@ -49,8 +49,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/mt5_withdrawal/send.json b/config/v3/mt5_withdrawal/send.json index 4ef180e1..1e3fb58d 100644 --- a/config/v3/mt5_withdrawal/send.json +++ b/config/v3/mt5_withdrawal/send.json @@ -38,8 +38,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/new_account_maltainvest/send.json b/config/v3/new_account_maltainvest/send.json index 618620a1..cc4843d5 100644 --- a/config/v3/new_account_maltainvest/send.json +++ b/config/v3/new_account_maltainvest/send.json @@ -397,10 +397,14 @@ "40 transactions or more in the past 12 months" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/new_account_real/send.json b/config/v3/new_account_real/send.json index cc9077f0..04516908 100644 --- a/config/v3/new_account_real/send.json +++ b/config/v3/new_account_real/send.json @@ -175,10 +175,14 @@ "type": "string", "pattern": "^[a-z]{0,2}(?:,[a-z]{2})*$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/new_account_virtual/send.json b/config/v3/new_account_virtual/send.json index 094c1525..700081fc 100644 --- a/config/v3/new_account_virtual/send.json +++ b/config/v3/new_account_virtual/send.json @@ -216,10 +216,14 @@ "type": "string", "pattern": "^\\w{8,128}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/oauth_apps/send.json b/config/v3/oauth_apps/send.json index 56ba2b1f..fe468d84 100644 --- a/config/v3/oauth_apps/send.json +++ b/config/v3/oauth_apps/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/order.pl b/config/v3/order.pl deleted file mode 100644 index ad1943cd..00000000 --- a/config/v3/order.pl +++ /dev/null @@ -1,37 +0,0 @@ -use Data::Dumper; -my $order = { - other => { - '$schema' => 1, - title => 2, - description => 3, - beta => 4, - deprecated => 4, - hidden => 5, - type => 6, - auth_required => 7, - auth_scopes => 8, - pattern => 9, - default => 10, - enum => 11, - examples => 12, - additionalProperties => 13, - minProperties => 14, - required => 15, - properties => 16, - passthrough => 101, - req_id => 102, - }, - properties => { - subscription => 101, - passthrough => 103, - echo_req => 104, - msg_type => 105, - req_id => 106, - }, -}; - -my $order_send = $order; -$order_send->{properties}{loginid} = 102; - - -print(Data::Dumper::Dumper($order_send)); diff --git a/config/v3/p2p_advert_create/receive.json b/config/v3/p2p_advert_create/receive.json index deec48a9..92924d50 100644 --- a/config/v3/p2p_advert_create/receive.json +++ b/config/v3/p2p_advert_create/receive.json @@ -38,6 +38,7 @@ "min_order_amount_display", "min_order_amount_limit", "min_order_amount_limit_display", + "order_expiry_period", "payment_method", "price", "price_display", @@ -271,6 +272,18 @@ "description": "Minimum order amount at this time, in `account_currency`, formatted to appropriate decimal places.", "type": "string" }, + "order_expiry_period": { + "description": "Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "Payment instructions. Only applicable for 'sell adverts'.", "type": "string", diff --git a/config/v3/p2p_advert_create/send.json b/config/v3/p2p_advert_create/send.json index 6b198259..d552efbb 100644 --- a/config/v3/p2p_advert_create/send.json +++ b/config/v3/p2p_advert_create/send.json @@ -71,6 +71,18 @@ "exclusiveMinimum": true, "minimum": 0 }, + "order_expiry_period": { + "description": "[Optional] Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "[Optional] Payment instructions.", "type": "string", @@ -121,8 +133,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advert_info/receive.json b/config/v3/p2p_advert_info/receive.json index e4571e0c..d86036e3 100644 --- a/config/v3/p2p_advert_info/receive.json +++ b/config/v3/p2p_advert_info/receive.json @@ -275,6 +275,18 @@ "description": "Minimum order amount at this time, in `account_currency`, formatted to appropriate decimal places.", "type": "string" }, + "order_expiry_period": { + "description": "Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "Payment instructions. Only applicable for 'sell adverts'.", "type": "string", diff --git a/config/v3/p2p_advert_info/send.json b/config/v3/p2p_advert_info/send.json index 1788f142..b92c7cda 100644 --- a/config/v3/p2p_advert_info/send.json +++ b/config/v3/p2p_advert_info/send.json @@ -42,8 +42,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advert_list/receive.json b/config/v3/p2p_advert_list/receive.json index fa82bdb4..291b08ce 100644 --- a/config/v3/p2p_advert_list/receive.json +++ b/config/v3/p2p_advert_list/receive.json @@ -41,6 +41,7 @@ "max_order_amount_limit_display", "min_order_amount_limit", "min_order_amount_limit_display", + "order_expiry_period", "payment_method", "price", "price_display", @@ -303,6 +304,18 @@ "description": "Minimum order amount at this time, in `account_currency`, formatted to appropriate decimal places.", "type": "string" }, + "order_expiry_period": { + "description": "Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "Payment instructions. Only applicable for 'sell adverts'.", "type": "string", diff --git a/config/v3/p2p_advert_list/send.json b/config/v3/p2p_advert_list/send.json index 1dc5b84f..f4a6f591 100644 --- a/config/v3/p2p_advert_list/send.json +++ b/config/v3/p2p_advert_list/send.json @@ -104,8 +104,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advert_update/receive.json b/config/v3/p2p_advert_update/receive.json index fd916ca8..51400c24 100644 --- a/config/v3/p2p_advert_update/receive.json +++ b/config/v3/p2p_advert_update/receive.json @@ -250,6 +250,18 @@ "description": "Minimum order amount at this time, in `account_currency`, formatted to appropriate decimal places.", "type": "string" }, + "order_expiry_period": { + "description": "Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "Payment instructions. Only applicable for 'sell adverts'.", "type": "string", diff --git a/config/v3/p2p_advert_update/send.json b/config/v3/p2p_advert_update/send.json index dc8ef038..7cf84568 100644 --- a/config/v3/p2p_advert_update/send.json +++ b/config/v3/p2p_advert_update/send.json @@ -73,6 +73,18 @@ "exclusiveMinimum": true, "minimum": 0 }, + "order_expiry_period": { + "description": "[Optional] Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "[Optional] Payment instructions.", "type": "string", @@ -115,8 +127,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_adverts/receive.json b/config/v3/p2p_advertiser_adverts/receive.json index 45c55bba..05dd2b8e 100644 --- a/config/v3/p2p_advertiser_adverts/receive.json +++ b/config/v3/p2p_advertiser_adverts/receive.json @@ -49,6 +49,7 @@ "min_order_amount_display", "min_order_amount_limit", "min_order_amount_limit_display", + "order_expiry_period", "payment_info", "payment_method", "price", @@ -287,6 +288,18 @@ "description": "Minimum order amount at this time, in `account_currency`, formatted to appropriate decimal places.", "type": "string" }, + "order_expiry_period": { + "description": "Expiry period (seconds) for order created against this ad.", + "type": "integer", + "enum": [ + 900, + 1800, + 2700, + 3600, + 5400, + 7200 + ] + }, "payment_info": { "description": "Payment instructions. Only applicable for 'sell adverts'.", "type": "string", diff --git a/config/v3/p2p_advertiser_adverts/send.json b/config/v3/p2p_advertiser_adverts/send.json index e26b0f79..20aae8d8 100644 --- a/config/v3/p2p_advertiser_adverts/send.json +++ b/config/v3/p2p_advertiser_adverts/send.json @@ -32,8 +32,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_create/send.json b/config/v3/p2p_advertiser_create/send.json index f8f85bb5..6a9adaa9 100644 --- a/config/v3/p2p_advertiser_create/send.json +++ b/config/v3/p2p_advertiser_create/send.json @@ -53,8 +53,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_info/send.json b/config/v3/p2p_advertiser_info/send.json index 778fa269..faed809b 100644 --- a/config/v3/p2p_advertiser_info/send.json +++ b/config/v3/p2p_advertiser_info/send.json @@ -33,8 +33,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_list/send.json b/config/v3/p2p_advertiser_list/send.json index 52e8cd6d..f60fbe53 100644 --- a/config/v3/p2p_advertiser_list/send.json +++ b/config/v3/p2p_advertiser_list/send.json @@ -62,8 +62,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_payment_methods/send.json b/config/v3/p2p_advertiser_payment_methods/send.json index d30826d0..52fcfef9 100644 --- a/config/v3/p2p_advertiser_payment_methods/send.json +++ b/config/v3/p2p_advertiser_payment_methods/send.json @@ -84,8 +84,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_relations/send.json b/config/v3/p2p_advertiser_relations/send.json index 3c160df6..57787b67 100644 --- a/config/v3/p2p_advertiser_relations/send.json +++ b/config/v3/p2p_advertiser_relations/send.json @@ -57,8 +57,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_advertiser_update/send.json b/config/v3/p2p_advertiser_update/send.json index a57dbcbd..4e2518ff 100644 --- a/config/v3/p2p_advertiser_update/send.json +++ b/config/v3/p2p_advertiser_update/send.json @@ -62,8 +62,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_chat_create/send.json b/config/v3/p2p_chat_create/send.json index f4bdd0a5..d12f9aff 100644 --- a/config/v3/p2p_chat_create/send.json +++ b/config/v3/p2p_chat_create/send.json @@ -27,8 +27,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_cancel/send.json b/config/v3/p2p_order_cancel/send.json index c8f9838f..6f839cd9 100644 --- a/config/v3/p2p_order_cancel/send.json +++ b/config/v3/p2p_order_cancel/send.json @@ -27,8 +27,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_confirm/send.json b/config/v3/p2p_order_confirm/send.json index 17f542de..227b8194 100644 --- a/config/v3/p2p_order_confirm/send.json +++ b/config/v3/p2p_order_confirm/send.json @@ -40,8 +40,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_create/send.json b/config/v3/p2p_order_create/send.json index 4b334f7b..6a01bb94 100644 --- a/config/v3/p2p_order_create/send.json +++ b/config/v3/p2p_order_create/send.json @@ -63,8 +63,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_dispute/send.json b/config/v3/p2p_order_dispute/send.json index d08ace1b..8648475d 100644 --- a/config/v3/p2p_order_dispute/send.json +++ b/config/v3/p2p_order_dispute/send.json @@ -39,8 +39,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_info/send.json b/config/v3/p2p_order_info/send.json index 1caf3eaf..dc3c1f67 100644 --- a/config/v3/p2p_order_info/send.json +++ b/config/v3/p2p_order_info/send.json @@ -34,8 +34,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_list/send.json b/config/v3/p2p_order_list/send.json index 4a50c482..342d4482 100644 --- a/config/v3/p2p_order_list/send.json +++ b/config/v3/p2p_order_list/send.json @@ -62,8 +62,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_order_review/send.json b/config/v3/p2p_order_review/send.json index b0d2355e..d4a16114 100644 --- a/config/v3/p2p_order_review/send.json +++ b/config/v3/p2p_order_review/send.json @@ -46,8 +46,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_payment_methods/send.json b/config/v3/p2p_payment_methods/send.json index 3d170752..fd15fd02 100644 --- a/config/v3/p2p_payment_methods/send.json +++ b/config/v3/p2p_payment_methods/send.json @@ -21,8 +21,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_ping/send.json b/config/v3/p2p_ping/send.json index d6fb813f..59278a7c 100644 --- a/config/v3/p2p_ping/send.json +++ b/config/v3/p2p_ping/send.json @@ -21,8 +21,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/p2p_settings/send.json b/config/v3/p2p_settings/send.json index 27f5c466..289c5d30 100644 --- a/config/v3/p2p_settings/send.json +++ b/config/v3/p2p_settings/send.json @@ -28,8 +28,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/payment_methods/send.json b/config/v3/payment_methods/send.json index ff713302..b8af333f 100644 --- a/config/v3/payment_methods/send.json +++ b/config/v3/payment_methods/send.json @@ -21,10 +21,14 @@ "type": "string", "pattern": "^[a-z]{0,2}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/paymentagent_create/send.json b/config/v3/paymentagent_create/send.json index ac2283a6..19e24ea9 100644 --- a/config/v3/paymentagent_create/send.json +++ b/config/v3/paymentagent_create/send.json @@ -123,8 +123,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/paymentagent_details/send.json b/config/v3/paymentagent_details/send.json index 81a831e1..1b8eac6c 100644 --- a/config/v3/paymentagent_details/send.json +++ b/config/v3/paymentagent_details/send.json @@ -21,8 +21,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/paymentagent_list/send.json b/config/v3/paymentagent_list/send.json index b49aa7f3..8b4ef3f4 100644 --- a/config/v3/paymentagent_list/send.json +++ b/config/v3/paymentagent_list/send.json @@ -22,8 +22,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/paymentagent_transfer/send.json b/config/v3/paymentagent_transfer/send.json index 139f77e9..4bf8def1 100644 --- a/config/v3/paymentagent_transfer/send.json +++ b/config/v3/paymentagent_transfer/send.json @@ -51,8 +51,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/paymentagent_withdraw/send.json b/config/v3/paymentagent_withdraw/send.json index ea407351..63ee88f2 100644 --- a/config/v3/paymentagent_withdraw/send.json +++ b/config/v3/paymentagent_withdraw/send.json @@ -57,8 +57,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/paymentagent_withdraw_justification/send.json b/config/v3/paymentagent_withdraw_justification/send.json index 9aebcec4..528084a2 100644 --- a/config/v3/paymentagent_withdraw_justification/send.json +++ b/config/v3/paymentagent_withdraw_justification/send.json @@ -27,8 +27,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/payout_currencies/send.json b/config/v3/payout_currencies/send.json index 49414ee3..7d58b5fb 100644 --- a/config/v3/payout_currencies/send.json +++ b/config/v3/payout_currencies/send.json @@ -16,10 +16,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/ping/send.json b/config/v3/ping/send.json index fba6e146..f18e093c 100644 --- a/config/v3/ping/send.json +++ b/config/v3/ping/send.json @@ -18,8 +18,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/portfolio/send.json b/config/v3/portfolio/send.json index 8ab185bb..66e490be 100644 --- a/config/v3/portfolio/send.json +++ b/config/v3/portfolio/send.json @@ -67,10 +67,14 @@ "uniqueItems": true } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/profit_table/send.json b/config/v3/profit_table/send.json index 21cf948d..cbc22e7c 100644 --- a/config/v3/profit_table/send.json +++ b/config/v3/profit_table/send.json @@ -107,10 +107,14 @@ "DESC" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/proposal/send.json b/config/v3/proposal/send.json index c5a6f604..898542ba 100644 --- a/config/v3/proposal/send.json +++ b/config/v3/proposal/send.json @@ -187,10 +187,14 @@ "description": "[Optional] Required only for multi-barrier trading. Defines the epoch value of the trading period start time.", "type": "integer" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/proposal_open_contract/receive.json b/config/v3/proposal_open_contract/receive.json index b0c45910..124b67e2 100644 --- a/config/v3/proposal_open_contract/receive.json +++ b/config/v3/proposal_open_contract/receive.json @@ -600,6 +600,20 @@ 1446629000 ] }, + "selected_spot": { + "description": "Spot value at the selected tick for the contract.", + "type": "number", + "examples": [ + 86.63 + ] + }, + "selected_tick": { + "description": "[Only for highlowticks trades i.e. TICKHIGH and TICKLOW] Selected tick for the contract.", + "type": "integer", + "examples": [ + 3 + ] + }, "sell_price": { "description": "Price at which contract was sold, only available when contract has been sold.", "type": "number" diff --git a/config/v3/proposal_open_contract/send.json b/config/v3/proposal_open_contract/send.json index a3bfe296..9c50c5cd 100644 --- a/config/v3/proposal_open_contract/send.json +++ b/config/v3/proposal_open_contract/send.json @@ -31,10 +31,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/reality_check/send.json b/config/v3/reality_check/send.json index 38ba9a08..1825f0b7 100644 --- a/config/v3/reality_check/send.json +++ b/config/v3/reality_check/send.json @@ -20,10 +20,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/residence_list/send.json b/config/v3/residence_list/send.json index e44f5358..ea07e335 100644 --- a/config/v3/residence_list/send.json +++ b/config/v3/residence_list/send.json @@ -18,8 +18,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/revoke_oauth_app/send.json b/config/v3/revoke_oauth_app/send.json index 4e034f0e..2033ee13 100644 --- a/config/v3/revoke_oauth_app/send.json +++ b/config/v3/revoke_oauth_app/send.json @@ -16,10 +16,14 @@ "description": "The application ID to revoke.", "type": "integer" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/sell/send.json b/config/v3/sell/send.json index c561e251..754f591c 100644 --- a/config/v3/sell/send.json +++ b/config/v3/sell/send.json @@ -21,10 +21,14 @@ "description": "Minimum price at which to sell the contract, or `0` for 'sell at market'.", "type": "number" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/sell_contract_for_multiple_accounts/send.json b/config/v3/sell_contract_for_multiple_accounts/send.json index 7c6ada2a..0179b22f 100644 --- a/config/v3/sell_contract_for_multiple_accounts/send.json +++ b/config/v3/sell_contract_for_multiple_accounts/send.json @@ -40,10 +40,14 @@ }, "sensitive": 1 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/sell_expired/send.json b/config/v3/sell_expired/send.json index 32bf3c48..ea74ac85 100644 --- a/config/v3/sell_expired/send.json +++ b/config/v3/sell_expired/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/set_account_currency/send.json b/config/v3/set_account_currency/send.json index ba47cf50..43e7a58e 100644 --- a/config/v3/set_account_currency/send.json +++ b/config/v3/set_account_currency/send.json @@ -17,10 +17,14 @@ "type": "string", "pattern": "^[a-zA-Z0-9]{2,20}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/set_financial_assessment/send.json b/config/v3/set_financial_assessment/send.json index 10584407..404303fe 100644 --- a/config/v3/set_financial_assessment/send.json +++ b/config/v3/set_financial_assessment/send.json @@ -549,10 +549,14 @@ } } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/set_self_exclusion/send.json b/config/v3/set_self_exclusion/send.json index 456df778..0bf84b8c 100644 --- a/config/v3/set_self_exclusion/send.json +++ b/config/v3/set_self_exclusion/send.json @@ -123,10 +123,14 @@ "maximum": 9999999999, "minimum": 0 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/set_settings/send.json b/config/v3/set_settings/send.json index 478a57c5..d37b277d 100644 --- a/config/v3/set_settings/send.json +++ b/config/v3/set_settings/send.json @@ -225,10 +225,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/statement/send.json b/config/v3/statement/send.json index 2711af06..7999e446 100644 --- a/config/v3/statement/send.json +++ b/config/v3/statement/send.json @@ -66,10 +66,14 @@ "type": "integer", "minimum": 0 }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/states_list/send.json b/config/v3/states_list/send.json index 1973d36e..61c30721 100644 --- a/config/v3/states_list/send.json +++ b/config/v3/states_list/send.json @@ -17,8 +17,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/ticks/send.json b/config/v3/ticks/send.json index 6a324ef1..e6003ce4 100644 --- a/config/v3/ticks/send.json +++ b/config/v3/ticks/send.json @@ -34,8 +34,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/ticks_history/send.json b/config/v3/ticks_history/send.json index 3402ab50..bdcfca3e 100644 --- a/config/v3/ticks_history/send.json +++ b/config/v3/ticks_history/send.json @@ -74,8 +74,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/time/send.json b/config/v3/time/send.json index 4a3feb63..5eaf26ab 100644 --- a/config/v3/time/send.json +++ b/config/v3/time/send.json @@ -18,8 +18,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/tnc_approval/send.json b/config/v3/tnc_approval/send.json index 80d90f64..12afa27a 100644 --- a/config/v3/tnc_approval/send.json +++ b/config/v3/tnc_approval/send.json @@ -33,10 +33,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/topup_virtual/send.json b/config/v3/topup_virtual/send.json index ce3bc974..57590a06 100644 --- a/config/v3/topup_virtual/send.json +++ b/config/v3/topup_virtual/send.json @@ -19,10 +19,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/trading_durations/send.json b/config/v3/trading_durations/send.json index 0a7017b1..d6287789 100644 --- a/config/v3/trading_durations/send.json +++ b/config/v3/trading_durations/send.json @@ -44,10 +44,14 @@ "champion-virtual" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/trading_platform_investor_password_reset/send.json b/config/v3/trading_platform_investor_password_reset/send.json index bebda2af..9263a234 100644 --- a/config/v3/trading_platform_investor_password_reset/send.json +++ b/config/v3/trading_platform_investor_password_reset/send.json @@ -47,8 +47,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/trading_platform_password_reset/send.json b/config/v3/trading_platform_password_reset/send.json index a96b0c7a..e65eb4b7 100644 --- a/config/v3/trading_platform_password_reset/send.json +++ b/config/v3/trading_platform_password_reset/send.json @@ -43,8 +43,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/trading_servers/send.json b/config/v3/trading_servers/send.json index a4ddfdad..ac45b330 100644 --- a/config/v3/trading_servers/send.json +++ b/config/v3/trading_servers/send.json @@ -57,10 +57,14 @@ "dxtrade" ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/trading_times/send.json b/config/v3/trading_times/send.json index af15ca7a..edf43da6 100644 --- a/config/v3/trading_times/send.json +++ b/config/v3/trading_times/send.json @@ -16,8 +16,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/transaction/send.json b/config/v3/transaction/send.json index 432b8836..82abd44e 100644 --- a/config/v3/transaction/send.json +++ b/config/v3/transaction/send.json @@ -28,10 +28,14 @@ 1 ] }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", 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" + ] } } } diff --git a/config/v3/transfer_between_accounts/send.json b/config/v3/transfer_between_accounts/send.json index 6dac20ab..db3de379 100644 --- a/config/v3/transfer_between_accounts/send.json +++ b/config/v3/transfer_between_accounts/send.json @@ -48,10 +48,14 @@ "type": "string", "pattern": "^[a-zA-Z0-9]{2,20}$" }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/unsubscribe_email/send.json b/config/v3/unsubscribe_email/send.json index baabdf9e..9e29a287 100644 --- a/config/v3/unsubscribe_email/send.json +++ b/config/v3/unsubscribe_email/send.json @@ -28,8 +28,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/verify_email/send.json b/config/v3/verify_email/send.json index cf57c3e0..e6509145 100644 --- a/config/v3/verify_email/send.json +++ b/config/v3/verify_email/send.json @@ -227,10 +227,14 @@ } } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/verify_email_cellxpert/send.json b/config/v3/verify_email_cellxpert/send.json index c6667a2f..b9c81665 100644 --- a/config/v3/verify_email_cellxpert/send.json +++ b/config/v3/verify_email_cellxpert/send.json @@ -223,10 +223,14 @@ } } }, + "loginid": { + "description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.", + "type": "string", + "pattern": "^[A-Za-z]+[0-9]+$" + }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.", diff --git a/config/v3/website_status/send.json b/config/v3/website_status/send.json index 6e73446f..1b9747d4 100644 --- a/config/v3/website_status/send.json +++ b/config/v3/website_status/send.json @@ -26,8 +26,7 @@ }, "passthrough": { "description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field. Maximum size is 3500 bytes.", - "type": "object", - "maxSize": 3500 + "type": "object" }, "req_id": { "description": "[Optional] Used to map request to response.",