matrix-spec/event-schemas/schema/m.room.history_visibility
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

29 lines
674 B
Plaintext

---
allOf:
- $ref: core-event-schema/state_event.yaml
description: This event controls whether a user can see the events that happened in a room from before they joined.
properties:
content:
properties:
history_visibility:
description: Who can see the room history.
enum:
- invited
- joined
- shared
- world_readable
type: string
required:
- history_visibility
type: object
state_key:
description: A zero-length string.
pattern: '^$'
type: string
type:
enum:
- m.room.history_visibility
type: string
title: Controls visibility of history.
type: object