Move m.image thumbnail_url to be inside info to match m.video

pull/977/head
Mark Haines 8 years ago
parent 888e6a9f3b
commit 25b41c7551

@ -23,21 +23,21 @@ properties:
w: w:
description: The width of the image in pixels. description: The width of the image in pixels.
type: integer 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 title: ImageInfo
type: object type: object
msgtype: msgtype:
enum: enum:
- m.image - m.image
type: string 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: url:
description: The URL to the image. description: The URL to the image.
type: string type: string

Loading…
Cancel
Save