mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-06-17 05:17:48 +02:00
Clarify URI formats in m.location msgtype
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
f7bbe6ae28
commit
cf8b3b814b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue