mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-02 22:18:38 +01:00
Move m.image thumbnail_url to be inside info to match m.video
This commit is contained in:
parent
888e6a9f3b
commit
25b41c7551
|
|
@ -23,21 +23,21 @@ properties:
|
|||
w:
|
||||
description: The width of the image in pixels.
|
||||
type: integer
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: ImageInfo
|
||||
type: object
|
||||
thumbnail_url:
|
||||
description: The URL to the thumbnail of the image.
|
||||
type: string
|
||||
title: ImageInfo
|
||||
type: object
|
||||
msgtype:
|
||||
enum:
|
||||
- m.image
|
||||
type: string
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: ImageInfo
|
||||
type: object
|
||||
thumbnail_url:
|
||||
description: The URL to the thumbnail of the image.
|
||||
type: string
|
||||
url:
|
||||
description: The URL to the image.
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Reference in a new issue