Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
JSON Schema Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nobody committed May 9, 2023
1 parent 9af2663 commit 8e566fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/v3/new_account_maltainvest/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
"address_line_1": {
"description": "Within 70 characters, with no leading whitespaces and may contain letters/numbers and/or any of following characters '.,:;()@#/-",
"type": "string",
"pattern": "^[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,69}$"
"pattern": "^[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,69}$"
},
"address_line_2": {
"description": "[Optional] Within 70 characters.",
"type": "string",
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,70}$"
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,70}$"
},
"address_postcode": {
"description": "[Optional] Within 20 characters and may not contain '+'.",
Expand Down
4 changes: 2 additions & 2 deletions config/v3/new_account_real/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"address_line_1": {
"description": "Within 70 characters, with no leading whitespaces and may contain letters/numbers and/or any of following characters '.,:;()@#/-",
"type": "string",
"pattern": "^[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,69}$"
"pattern": "^[\\p{L}\\p{Nd}'.,:;()\\x{b0}@#/-][\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,69}$"
},
"address_line_2": {
"description": "[Optional] Within 70 characters.",
"type": "string",
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,70}$"
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,70}$"
},
"address_postcode": {
"description": "[Optional] Within 20 characters and may not contain '+'.",
Expand Down
4 changes: 2 additions & 2 deletions config/v3/set_settings/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"address_line_1": {
"description": "[Optional] Note: not applicable for virtual account. Required field for real money account.",
"type": "string",
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{1,70}$"
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{1,70}$"
},
"address_line_2": {
"description": "[Optional] Note: not applicable for virtual account. Optional field for real money account.",
"type": [
"null",
"string"
],
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,70}$"
"pattern": "^[\\p{L}\\p{Nd}\\s'.,:;()\\x{b0}@#/-]{0,70}$"
},
"address_postcode": {
"description": "[Optional] Note: not applicable for virtual account. Optional field for real money account.",
Expand Down

0 comments on commit 8e566fc

Please sign in to comment.