Skip to content

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Workflow committed Oct 16, 2024
1 parent b93df5e commit 84bedef
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 1 deletion.
8 changes: 8 additions & 0 deletions config/v3/get_settings/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,14 @@
"string"
]
},
"tin_skipped": {
"description": "[Optional] Whether the client has skipped the TIN form. Only applicable for real money account.",
"type": "integer",
"enum": [
0,
1
]
},
"tnc_status": {
"description": "Terms and condition status tells us whether all the accounts of this user has accepted the latest T&C version.",
"type": "object"
Expand Down
1 change: 1 addition & 0 deletions config/v3/new_account_maltainvest/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"source_of_wealth": "Company Ownership",
"tax_identification_number": "111-222-333",
"tax_residence": "de,nl",
"tin_skipped": 0,
"tnc_acceptance": 1,
"trading_experience_financial_instruments": "Less than a year",
"trading_frequency_financial_instruments": "1 - 5 transactions in the past 12 months"
Expand Down
8 changes: 8 additions & 0 deletions config/v3/new_account_maltainvest/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,14 @@
"type": "string",
"pattern": "^[a-z]{0,2}(?:,[a-z]{2})*$"
},
"tin_skipped": {
"description": "[Optional] Whether the client has skipped the TIN form. Only applicable for real money account.",
"type": "integer",
"enum": [
0,
1
]
},
"tnc_acceptance": {
"description": "The tnc acceptance status of the user.",
"type": "integer",
Expand Down
1 change: 1 addition & 0 deletions config/v3/new_account_real/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"secret_question": "Mother's maiden name",
"tax_identification_number": "012142545",
"tax_residence": "ar,sg",
"tin_skipped": 0,
"tnc_acceptance": 1
}
19 changes: 19 additions & 0 deletions config/v3/new_account_real/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}$"
},
"employment_status": {
"description": "Employment Status.",
"type": "string",
"enum": [
"Employed",
"Pensioner",
"Self-Employed",
"Student",
"Unemployed"
]
},
"fatca_declaration": {
"description": "[Optional] Indicates client's self-declaration of FATCA.",
"type": "integer",
Expand Down Expand Up @@ -183,6 +194,14 @@
"type": "string",
"pattern": "^[a-z]{0,2}(?:,[a-z]{2})*$"
},
"tin_skipped": {
"description": "[Optional] Whether the client has skipped the TIN form. Only applicable for real money account.",
"type": "integer",
"enum": [
0,
1
]
},
"tnc_acceptance": {
"description": "The tnc acceptance status of the user.",
"type": "integer",
Expand Down
4 changes: 4 additions & 0 deletions config/v3/residence_list/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
"description": "Mandatory TIN flag",
"type": "boolean"
},
"poi_equivalent": {
"description": "POI equivalent flag",
"type": "boolean"
},
"tin_cleaner": {
"description": "Cleanup regex",
"type": "string"
Expand Down
3 changes: 2 additions & 1 deletion config/v3/set_settings/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"preferred_language": "EN",
"request_professional_status": 1,
"tax_identification_number": "987654321",
"tax_residence": "hk"
"tax_residence": "hk",
"tin_skipped": 0
}
8 changes: 8 additions & 0 deletions config/v3/set_settings/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@
"type": "string",
"pattern": "^[a-z]{0,2}(?:,[a-z]{2})*$"
},
"tin_skipped": {
"description": "[Optional] Whether the client has skipped the TIN form. Only applicable for real money account.",
"type": "integer",
"enum": [
0,
1
]
},
"trading_hub": {
"description": "[Optional] Enable/Disable Trading Hub dashboard",
"type": "integer",
Expand Down

0 comments on commit 84bedef

Please sign in to comment.