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 7, 2024
1 parent 740bef2 commit adbd43e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions config/v3/new_account_maltainvest/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@
]
},
"first_name": {
"description": "Within 2-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"description": "Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"type": "string",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{2,50}$",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{1,50}$",
"sensitive": 1
},
"income_source": {
Expand All @@ -219,9 +219,9 @@
]
},
"last_name": {
"description": "Within 2-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"description": "Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"type": "string",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{2,50}$",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{1,50}$",
"sensitive": 1
},
"leverage_impact_trading": {
Expand Down
8 changes: 4 additions & 4 deletions config/v3/new_account_real/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@
]
},
"first_name": {
"description": "Within 2-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"description": "Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"type": "string",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{2,50}$",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{1,50}$",
"sensitive": 1
},
"last_name": {
"description": "Within 2-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"description": "Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.",
"type": "string",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{2,50}$",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{1,50}$",
"sensitive": 1
},
"non_pep_declaration": {
Expand Down
8 changes: 4 additions & 4 deletions config/v3/set_settings/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@
}
},
"first_name": {
"description": "[Optional] Within 2-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes (can only be changed on unauthenticated svg accounts).",
"description": "[Optional] Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes (can only be changed on unauthenticated svg accounts).",
"type": "string",
"pattern": "^[\\p{L}\\s'.-]{2,50}$",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{1,50}$",
"sensitive": 1
},
"last_name": {
"description": "[Optional] Within 2-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes (can only be changed on unauthenticated svg accounts).",
"description": "[Optional] Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes (can only be changed on unauthenticated svg accounts).",
"type": "string",
"pattern": "^[\\p{L}\\s'.-]{2,50}$",
"pattern": "^(?!.*\\s{2,})[\\p{L}\\s'.-]{1,50}$",
"sensitive": 1
},
"non_pep_declaration": {
Expand Down

0 comments on commit adbd43e

Please sign in to comment.