---
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:
          - $ref: core-event-schema/msgtype_infos/avatar_info.yaml
        description: Metadata about the image referred to in `url`.
      url:
        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.
        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
