diff --git a/changelogs/client_server/newsfragments/1980.clarification b/changelogs/client_server/newsfragments/1980.clarification new file mode 100644 index 00000000..bdcce777 --- /dev/null +++ b/changelogs/client_server/newsfragments/1980.clarification @@ -0,0 +1 @@ +Clarify formats of string types. diff --git a/data/api/client-server/login.yaml b/data/api/client-server/login.yaml index 385eb33b..28de0be1 100644 --- a/data/api/client-server/login.yaml +++ b/data/api/client-server/login.yaml @@ -172,6 +172,8 @@ paths: properties: user_id: type: string + format: mx-user-id + pattern: "^@" description: The fully-qualified Matrix ID for the account. access_token: type: string @@ -197,6 +199,7 @@ paths: x-addedInMatrixVersion: "1.3" home_server: type: string + format: mx-server-name deprecated: true description: |- The server_name of the homeserver on which the account has