matrix-spec/data/event-schemas/schema/m.room.avatar.yaml
Jonas Platte 00787ae96b
Remove required attribute from m.room.avatar url
It is not actually required in practice.
2022-03-09 17:25:17 +01:00

29 lines
727 B
YAML

---
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/image_info.yaml
description: Metadata about the image referred to in `url`.
url:
description: |-
The URL to the image.
If this isn't set, that means a previous room avatar has been unset.
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