From 4a3895ef4c7a3c7cc10c34df8340594697c3b72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 1 May 2026 08:42:35 +0200 Subject: [PATCH] Clarify MSC URI string formats in m.video 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.video.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/event-schemas/schema/m.room.message$m.video.yaml b/data/event-schemas/schema/m.room.message$m.video.yaml index 6d8c49e8..5ff9c250 100644 --- a/data/event-schemas/schema/m.room.message$m.video.yaml +++ b/data/event-schemas/schema/m.room.message$m.video.yaml @@ -54,6 +54,8 @@ properties: The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to an image thumbnail of the video clip. 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 @@ -76,6 +78,8 @@ properties: Required if the file is unencrypted. The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to the video clip. type: string + format: mx-mxc-uri + pattern: "^mxc:\\/\\/" file: description: |- Required if the file is encrypted. Information on the encrypted