Clarify URI formats in m.location msgtype

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-05-01 08:41:14 +02:00
parent f7bbe6ae28
commit cf8b3b814b
No known key found for this signature in database
GPG key ID: F26F4BE20A08255B

View file

@ -13,6 +13,7 @@ properties:
geo_uri: geo_uri:
description: A [geo URI (RFC5870)](https://datatracker.ietf.org/doc/html/rfc5870) representing this location. description: A [geo URI (RFC5870)](https://datatracker.ietf.org/doc/html/rfc5870) representing this location.
type: string type: string
format: uri
msgtype: msgtype:
enum: enum:
- m.location - m.location
@ -25,6 +26,8 @@ properties:
The URL to a thumbnail of the location being represented. The URL to a thumbnail of the location being represented.
Only present if the thumbnail is unencrypted. Only present if the thumbnail is unencrypted.
type: string type: string
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
thumbnail_file: thumbnail_file:
description: |- description: |-
Information on the encrypted thumbnail file, as specified in Information on the encrypted thumbnail file, as specified in