docs-matrix-spec/event-schemas/schema/m.room.guest_access
Richard van der Hoff 5b12e2cfef Convert event schemas to yaml
We've decided to make the event schemas YAML, so we might as well take
advantage of it.

(This conversion was done mostly automatically, except for:
 - s/null/"null"/ in m.room.member
 - reformat description in m.room.power_levels
2016-06-22 12:01:08 +01:00

26 lines
716 B
Text

---
allOf:
- $ref: core-event-schema/state_event.yaml
description: 'This event controls whether guest users are allowed to join rooms. If this event is absent, servers should act as if it is present and has the guest_access value "forbidden".'
properties:
content:
properties:
guest_access:
description: Whether guests can join the room.
enum:
- can_join
- forbidden
type: string
required:
- guest_access
type: object
state_key:
description: A zero-length string.
pattern: '^$'
type: string
type:
enum:
- m.room.guest_access
type: string
title: Controls whether guest users are allowed to join rooms.
type: object