Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify formats of string types.
4 changes: 4 additions & 0 deletions data/api/client-server/support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ paths:
properties:
matrix_id:
type: string
format: mx-user-id
pattern: "^@"
description: |-
A [Matrix User ID](/appendices/#user-identifiers)
representing the administrator.
Expand All @@ -66,6 +68,7 @@ paths:
required.
email_address:
type: string
format: email
description: |-
An email address to reach the administrator.

Expand Down Expand Up @@ -95,6 +98,7 @@ paths:
}
support_page:
type: string
format: uri
description: |-
The URL of a page to give users help specific to the
homeserver, like extra login/registration steps.
Expand Down
4 changes: 4 additions & 0 deletions data/string-formats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ mx-mxc-uri:
uri:
title: URI
url: https://datatracker.ietf.org/doc/html/rfc3986

email:
title: Email Address
url: https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.2