Clarify that 'via' is required as per MSC1772.

This commit is contained in:
Paarth Shah 2023-08-18 00:42:21 -07:00
parent 4abea9a6ca
commit 81a8c15735
No known key found for this signature in database
GPG key ID: 08D39021F6D6A7B8
2 changed files with 4 additions and 4 deletions

View file

@ -9,8 +9,6 @@ properties:
type: array
description: |-
A list of servers to try and join through. See also: [Routing](/appendices/#routing).
When not present or invalid, the child room is not considered to be part of the space.
items:
type: string
order:
@ -34,6 +32,8 @@ properties:
Optional (default `false`) flag to denote whether the child is "suggested" or of interest
to members of the space. This is primarily intended as a rendering hint for clients to
display the room differently, such as eagerly rendering them in the room list.
required:
- via
type: object
state_key:
description: The child room ID being described.

View file

@ -9,8 +9,6 @@ properties:
type: array
description: |-
A list of servers to try and join through. See also: [Routing](/appendices/#routing).
When not present or invalid, the room is not considered to be part of the parent space.
items:
type: string
canonical:
@ -20,6 +18,8 @@ properties:
When multiple `canonical` parents are found, the lowest parent when ordering by room ID
lexicographically by Unicode code-points should be used.
required:
- via
type: object
state_key:
description: The parent room ID.