Skip to content

Commit

Permalink
Merge pull request #2342 from matrix-org/travis/spec/fix-1982
Browse files Browse the repository at this point in the history
Clarify what format the `country` is on phone number inputs
  • Loading branch information
turt2live committed Nov 5, 2019
2 parents a85d72a + 284b154 commit a50e828
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/identity/definitions/request_msisdn_validation.yaml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/2342.clarification
@@ -0,0 +1 @@
Clarify the expected phone number format.
3 changes: 3 additions & 0 deletions specification/client_server_api.rst
Expand Up @@ -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
~~~~~

Expand Down

0 comments on commit a50e828

Please sign in to comment.