2025-08-27 08:39:05 +02:00
|
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
|
|
|
|
2025-07-29 19:22:26 +02:00
|
|
|
title: RoomEvent
|
|
|
|
|
description: Room Events have the following fields.
|
2015-12-07 14:53:48 +01:00
|
|
|
allOf:
|
2018-08-27 06:22:14 +02:00
|
|
|
- $ref: sync_room_event.yaml
|
2025-07-29 19:22:26 +02:00
|
|
|
- type: object
|
|
|
|
|
properties:
|
|
|
|
|
room_id:
|
|
|
|
|
description: |-
|
|
|
|
|
The ID of the room associated with this event. Will not be present on events
|
|
|
|
|
that arrive through `/sync`, despite being required everywhere else.
|
|
|
|
|
type: string
|
2026-04-15 03:30:06 +02:00
|
|
|
format: mx-room-id
|
|
|
|
|
pattern: "^!"
|
2025-07-29 19:22:26 +02:00
|
|
|
required:
|
|
|
|
|
- room_id
|