diff --git a/event-schemas/schema/m.room.message#m.location b/event-schemas/schema/m.room.message#m.location index ca37856d..14ee97fb 100644 --- a/event-schemas/schema/m.room.message#m.location +++ b/event-schemas/schema/m.room.message#m.location @@ -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