Skip to content

Commit 95b4331

Browse files
author
nobody
committed
JSON Schema Update
1 parent 7cc4a7d commit 95b4331

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

config/v3/partner_account_creation/example.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"partner_account_creation": 1,
3-
"account_type": "demo",
43
"address_city": "Melbourne",
54
"address_line_1": "20 Broadway Av",
65
"address_line_2": "East Melbourne VIC",

config/v3/partner_account_creation/send.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@
2020
1
2121
]
2222
},
23-
"account_type": {
24-
"description": "Account type. If set to 'financial', setting 'mt5_account_type' is also required.",
25-
"type": "string",
26-
"enum": [
27-
"demo",
28-
"gaming",
29-
"financial",
30-
"all"
31-
]
32-
},
3323
"address_city": {
3424
"description": "[Optional] Within 100 characters.",
3525
"type": "string",
@@ -74,7 +64,7 @@
7464
"company_name": {
7565
"description": "[Optional] Company name. Only applicable for partners of type company.",
7666
"type": "string",
77-
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{2,50}$",
67+
"pattern": "^(?!.*\\s{2,})[\\p{L}0-9\\s'.-]{2,50}$",
7868
"sensitive": 1
7969
},
8070
"company_registration_no": {
@@ -178,8 +168,7 @@
178168
},
179169
"website": {
180170
"description": "Partner's Website URI/Promotional Platform",
181-
"type": "string",
182-
"pattern": "^[\\w_@./:#&+-]*$"
171+
"type": "string"
183172
},
184173
"loginid": {
185174
"description": "[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token's login id.",

config/v3/partner_account_creation_status/receive.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"type": "object",
1515
"additionalProperties": false,
1616
"required": [
17+
"create_CFD_account",
1718
"create_eu_partner",
18-
"create_mt5_account",
1919
"create_row_partner",
2020
"create_third_party_provider_user",
2121
"link_partner_eu",
2222
"link_partner_row"
2323
],
2424
"properties": {
25-
"create_eu_partner": {
26-
"description": "Status of EU partner account creation",
25+
"create_CFD_account": {
26+
"description": "Status of CFD account creation",
2727
"type": "object",
2828
"additionalProperties": false,
2929
"properties": {
@@ -37,8 +37,8 @@
3737
}
3838
}
3939
},
40-
"create_mt5_account": {
41-
"description": "Status of MT5 account creation",
40+
"create_eu_partner": {
41+
"description": "Status of EU partner account creation",
4242
"type": "object",
4343
"additionalProperties": false,
4444
"properties": {

0 commit comments

Comments
 (0)