This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 55 "address_line_2" : " East Melbourne VIC" ,
66 "address_postcode" : " 3002" ,
77 "address_state" : " Victoria" ,
8+ "calling_country_code" : " 61" ,
89 "currency" : " USD" ,
910 "date_of_birth" : " 1980-01-31" ,
1011 "first_name" : " Peter" ,
1112 "last_name" : " Pan" ,
1213 "partner_type" : " individual" ,
13- "phone" : " + 10023456789" ,
14+ "phone" : " 10023456789" ,
1415 "provider" : " myaffiliate" ,
1516 "residence" : " au" ,
1617 "salutation" : " Mr" ,
Original file line number Diff line number Diff line change 5858 "pattern" : " ^[\\ p{L}\\ p{Nd}\\ s'.,-]{0,100}$"
5959 },
6060 "calling_country_code" : {
61- "description" : " [Optional] The phone's calling country code." ,
61+ "description" : " [Optional] The phone's calling country code. Don't include the `+` sign. Up to 4 digits. " ,
6262 "type" : [
6363 " null" ,
6464 " string"
6565 ],
66+ "pattern" : " ^\\ d{1,4}$" ,
6667 "sensitive" : 1
6768 },
6869 "citizen" : {
146147 ]
147148 },
148149 "phone" : {
149- "description" : " [Optional] Starting with `+` followed by 8-35 digits, allowing hyphens or space." ,
150- "type" : " string" ,
151- "pattern" : " ^\\ +((-|\\ s)*[0-9]){8,35}$" ,
150+ "description" : " [Optional] The phone's national format in 8-35 digits, don't include the `+` sign nor the calling country code." ,
151+ "type" : [
152+ " null" ,
153+ " string"
154+ ],
155+ "pattern" : " ^(\\ +)?([-\\ s]*\\ d){8,35}$" ,
152156 "sensitive" : 1
153157 },
154158 "provider" : {
Original file line number Diff line number Diff line change 99 "payment_agent_name" : " Joe Joy" ,
1010 "phone_numbers" : [
1111 {
12- "phone_number" : " +923-22-23-13 "
12+ "phone_number" : " 923222313 "
1313 }
1414 ],
1515 "supported_payment_methods" : [
Original file line number Diff line number Diff line change 8080 "phone_number" : {
8181 "description" : " A phone number" ,
8282 "type" : " string" ,
83- "pattern" : " ^\\ +[\\ -\\ 0-9]{8,40}$"
83+ "pattern" : " ^( \\ +)? [\\ -\\ 0-9]{8,40}$"
8484 }
8585 }
8686 }
You can’t perform that action at this time.
0 commit comments