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