From cf8b3b814bfe531caed77fcd75bc125b3e848f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 1 May 2026 08:41:14 +0200 Subject: [PATCH] Clarify URI formats in m.location msgtype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- data/event-schemas/schema/m.room.message$m.location.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/event-schemas/schema/m.room.message$m.location.yaml b/data/event-schemas/schema/m.room.message$m.location.yaml index e0977079..bfe986d2 100644 --- a/data/event-schemas/schema/m.room.message$m.location.yaml +++ b/data/event-schemas/schema/m.room.message$m.location.yaml @@ -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