Merge pull request #2342 from matrix-org/travis/spec/fix-1982
Clarify what format the `country` is on phone number inputs
This commit is contained in:
commit
a50e828509
3 changed files with 6 additions and 2 deletions
|
@ -30,8 +30,8 @@ properties:
|
|||
country:
|
||||
type: string
|
||||
description: |-
|
||||
The two-letter uppercase ISO country code that the number in
|
||||
``phone_number`` should be parsed as if it were dialled from.
|
||||
The two-letter uppercase ISO-3166-1 alpha-2 country code that the
|
||||
number in ``phone_number`` should be parsed as if it were dialled from.
|
||||
example: "GB"
|
||||
phone_number:
|
||||
type: string
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Clarify the expected phone number format.
|
|
@ -1042,6 +1042,9 @@ wishes to canonicalise the phone number, then it can use the
|
|||
"phone": "<The phone number>"
|
||||
}
|
||||
|
||||
The ``country`` is the two-letter uppercase ISO-3166-1 alpha-2 country code
|
||||
that the number in ``phone`` should be parsed as if it were dialled from.
|
||||
|
||||
Login
|
||||
~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue