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 May 14, 2024
1 parent 57ee415 commit 15de11c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/v3/document_upload/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"passport",
"national_identity_card",
"identification_number_document",
"service_id_card",
"driving_licence",
"utility_bill",
"bankstatement",
Expand Down
4 changes: 2 additions & 2 deletions config/v3/mt5_new_account/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"address": {
"description": "[Optional] The address of the user. The maximum length of this address field is 128 characters.",
"type": "string",
"pattern": "^[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,128}$"
"pattern": "^(?:[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,128})?$"
},
"city": {
"description": "[Optional] User's city of residence.",
"type": "string",
"pattern": "^\\p{L}[\\p{L}\\s'.-]{0,99}$"
"pattern": "^(?:\\p{L}[\\p{L}\\s'.-]{0,99})?$"
},
"company": {
"description": "[Optional] Name of the client's company. The maximum length of the company name is 64 characters.",
Expand Down

0 comments on commit 15de11c

Please sign in to comment.