2019-01-10 01:02:09 +01:00
|
|
|
---
|
2025-08-27 08:39:05 +02:00
|
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
|
|
|
|
2019-01-10 01:02:09 +01:00
|
|
|
allOf:
|
|
|
|
|
- $ref: core-event-schema/state_event.yaml
|
|
|
|
|
description: 'A state event signifying that a room has been upgraded to a different room version, and that clients should go there.'
|
|
|
|
|
properties:
|
|
|
|
|
content:
|
|
|
|
|
properties:
|
|
|
|
|
body:
|
|
|
|
|
type: string
|
|
|
|
|
description: A server-defined message.
|
|
|
|
|
replacement_room:
|
|
|
|
|
type: string
|
2021-06-08 18:10:41 +02:00
|
|
|
description: The room ID of the new room the client should be visiting.
|
2019-01-10 01:02:09 +01:00
|
|
|
required:
|
|
|
|
|
- replacement_room
|
|
|
|
|
- body
|
|
|
|
|
type: object
|
|
|
|
|
state_key:
|
|
|
|
|
description: A zero-length string.
|
|
|
|
|
pattern: '^$'
|
|
|
|
|
type: string
|
|
|
|
|
type:
|
|
|
|
|
enum:
|
|
|
|
|
- m.room.tombstone
|
|
|
|
|
type: string
|
|
|
|
|
title: Indication that the room has been upgraded.
|
|
|
|
|
type: object
|