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

This commit is contained in:
Mark Haines 2016-11-04 14:59:39 +00:00
parent 14d05464ee
commit 1b661b64dc

View file

@ -15,14 +15,18 @@ properties:
enum:
- m.location
type: string
thumbnail_info:
allOf:
- $ref: core-event-schema/msgtype_infos/image_info.yaml
title: ImageInfo
info:
type: object
thumbnail_url:
description: The URL to a thumbnail of the location being represented.
type: string
properties:
thumbnail_info:
allOf:
- $ref: core-event-schema/msgtype_infos/image_info.yaml
title: ImageInfo
type: object
thumbnail_url:
description: The URL to a thumbnail of the location being represented.
type: string
title: LocationInfo
required:
- msgtype
- body