mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
Clarify formats of string types for the GET /.well-known/matrix/support endpoint
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
69d7dbf703
commit
cae56bc786
|
|
@ -54,6 +54,8 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
matrix_id:
|
matrix_id:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
description: |-
|
description: |-
|
||||||
A [Matrix User ID](/appendices/#user-identifiers)
|
A [Matrix User ID](/appendices/#user-identifiers)
|
||||||
representing the administrator.
|
representing the administrator.
|
||||||
|
|
@ -66,6 +68,7 @@ paths:
|
||||||
required.
|
required.
|
||||||
email_address:
|
email_address:
|
||||||
type: string
|
type: string
|
||||||
|
format: email
|
||||||
description: |-
|
description: |-
|
||||||
An email address to reach the administrator.
|
An email address to reach the administrator.
|
||||||
|
|
||||||
|
|
@ -95,6 +98,7 @@ paths:
|
||||||
}
|
}
|
||||||
support_page:
|
support_page:
|
||||||
type: string
|
type: string
|
||||||
|
format: uri
|
||||||
description: |-
|
description: |-
|
||||||
The URL of a page to give users help specific to the
|
The URL of a page to give users help specific to the
|
||||||
homeserver, like extra login/registration steps.
|
homeserver, like extra login/registration steps.
|
||||||
|
|
|
||||||
|
|
@ -50,4 +50,7 @@ mx-mxc-uri:
|
||||||
uri:
|
uri:
|
||||||
title: URI
|
title: URI
|
||||||
url: http://tools.ietf.org/html/rfc3986
|
url: http://tools.ietf.org/html/rfc3986
|
||||||
# no regex
|
|
||||||
|
email:
|
||||||
|
title: Email Address
|
||||||
|
url: https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue