Skip to content

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody committed May 17, 2024
1 parent 06dfbc3 commit c12bca3
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
36 changes: 36 additions & 0 deletions config/v3/kyc_auth_status/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
"verified",
"expired"
]
},
"supported_documents": {
"description": "Supported documents per document_type.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand Down Expand Up @@ -132,6 +139,17 @@
}
}
},
"manual": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"display_name": {
"type": "string"
}
}
}
},
"onfido": {
"type": "object",
"additionalProperties": {
Expand Down Expand Up @@ -175,6 +193,13 @@
"verified",
"expired"
]
},
"supported_documents": {
"description": "Supported documents per document_type.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
Expand Down Expand Up @@ -270,6 +295,17 @@
}
}
},
"manual": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"display_name": {
"type": "string"
}
}
}
},
"onfido": {
"type": "object",
"additionalProperties": {
Expand Down
13 changes: 13 additions & 0 deletions config/v3/mt5_login_list/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
13 changes: 13 additions & 0 deletions config/v3/mt5_new_account/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}
},
Expand Down
13 changes: 13 additions & 0 deletions config/v3/mt5_new_account/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
13 changes: 13 additions & 0 deletions config/v3/transfer_between_accounts/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit c12bca3

Please sign in to comment.