2016-06-22 12:03:02 +02:00
|
|
|
---
|
2025-08-27 08:39:05 +02:00
|
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
|
|
|
|
2016-06-22 12:03:02 +02:00
|
|
|
allOf:
|
|
|
|
|
- $ref: core-event-schema/state_event.yaml
|
|
|
|
|
description: A picture that is associated with the room. This can be displayed alongside the room information.
|
|
|
|
|
properties:
|
|
|
|
|
content:
|
|
|
|
|
properties:
|
|
|
|
|
info:
|
|
|
|
|
allOf:
|
2024-06-25 16:40:21 +02:00
|
|
|
- $ref: core-event-schema/msgtype_infos/avatar_info.yaml
|
2021-01-27 21:14:31 +01:00
|
|
|
description: Metadata about the image referred to in `url`.
|
2016-06-22 12:03:02 +02:00
|
|
|
url:
|
2022-03-22 14:33:12 +01:00
|
|
|
description: |-
|
|
|
|
|
The URL to the image. If this property is not present, the room has no avatar. This can be useful
|
|
|
|
|
to remove a previous room avatar.
|
2016-06-22 12:03:02 +02:00
|
|
|
type: string
|
|
|
|
|
type: object
|
|
|
|
|
state_key:
|
|
|
|
|
description: A zero-length string.
|
|
|
|
|
pattern: '^$'
|
|
|
|
|
type: string
|
|
|
|
|
type:
|
|
|
|
|
enum:
|
|
|
|
|
- m.room.avatar
|
|
|
|
|
type: string
|
|
|
|
|
title: RoomAvatar
|
|
|
|
|
type: object
|