From 96630ce3dd490718f125f74f6f2ee97bd3aeb45e Mon Sep 17 00:00:00 2001 From: Github Workflow Date: Fri, 17 May 2024 06:55:11 +0000 Subject: [PATCH] JSON Schema Update --- config/v3/kyc_auth_status/receive.json | 36 +++++++++++++++++++ config/v3/mt5_login_list/receive.json | 13 +++++++ config/v3/mt5_new_account/receive.json | 13 +++++++ config/v3/mt5_new_account/send.json | 13 +++++++ .../v3/transfer_between_accounts/receive.json | 13 +++++++ 5 files changed, 88 insertions(+) diff --git a/config/v3/kyc_auth_status/receive.json b/config/v3/kyc_auth_status/receive.json index 3621e3c4..8f870cf2 100644 --- a/config/v3/kyc_auth_status/receive.json +++ b/config/v3/kyc_auth_status/receive.json @@ -37,6 +37,13 @@ "verified", "expired" ] + }, + "supported_documents": { + "description": "Supported documents per document_type.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -132,6 +139,17 @@ } } }, + "manual": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + } + } + } + }, "onfido": { "type": "object", "additionalProperties": { @@ -175,6 +193,13 @@ "verified", "expired" ] + }, + "supported_documents": { + "description": "Supported documents per document_type.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -270,6 +295,17 @@ } } }, + "manual": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + } + } + } + }, "onfido": { "type": "object", "additionalProperties": { diff --git a/config/v3/mt5_login_list/receive.json b/config/v3/mt5_login_list/receive.json index bf254711..380d8a79 100644 --- a/config/v3/mt5_login_list/receive.json +++ b/config/v3/mt5_login_list/receive.json @@ -203,6 +203,19 @@ "description": "Name of the owner of the MT5 account.", "type": "string" }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] + }, "rights": { "description": "Rights assigned to the MT5 account.", "type": "object", diff --git a/config/v3/mt5_new_account/receive.json b/config/v3/mt5_new_account/receive.json index c204e42e..6900cdd9 100644 --- a/config/v3/mt5_new_account/receive.json +++ b/config/v3/mt5_new_account/receive.json @@ -64,6 +64,19 @@ "financial_stp", "standard" ] + }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] } } }, diff --git a/config/v3/mt5_new_account/send.json b/config/v3/mt5_new_account/send.json index 46f136ad..1c28cd9e 100644 --- a/config/v3/mt5_new_account/send.json +++ b/config/v3/mt5_new_account/send.json @@ -130,6 +130,19 @@ "maxLength": 50, "sensitive": 1 }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] + }, "server": { "description": "[Optional] Trade server.", "type": [ diff --git a/config/v3/transfer_between_accounts/receive.json b/config/v3/transfer_between_accounts/receive.json index ae881e2b..4398068d 100644 --- a/config/v3/transfer_between_accounts/receive.json +++ b/config/v3/transfer_between_accounts/receive.json @@ -103,6 +103,19 @@ "real\\vanuatu_financial" ] }, + "product": { + "description": "Product name that Deriv offer", + "type": "string", + "enum": [ + "", + "synthetic", + "financial", + "swap_free", + "zero_spread", + "standard", + "stp" + ] + }, "status": { "description": "The status of account.", "type": [