matrix-spec/event-schemas/schema
Travis Ralston 5eea4a477f Add server notices support
As per [MSC1452](https://github.com/matrix-org/matrix-doc/issues/1452) 

Fixes https://github.com/matrix-org/matrix-doc/issues/1254

Although MSC1452 focuses on just the warnings part of the server notices, the base for notices has not been established in the spec. This commit adds the needed support to be able to handle notices.

No intentional divergences from the proposal are included in this changeset. There are a few additions which are used in practice although not defined in the proposal, such as who is responsible for aesthetics, sending notices, and other misc rules.
2019-05-26 20:52:59 -06:00
..
core-event-schema Avoid duplicates. 2019-02-24 19:43:03 +03:00
m.call.answer Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.call.candidates Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.call.hangup Make all the schema files yaml 2015-12-07 13:56:36 +00:00
m.call.invite Fix a typo in m.call.invite 2019-04-20 21:56:43 +02:00
m.direct Better types for additionalProps 2016-10-14 15:57:52 +01:00
m.forwarded_room_key fixup! document m.forwarded_room_key 2018-08-25 17:26:00 +02:00
m.fully_read Add read markers 2018-08-30 16:21:31 -06:00
m.ignored_user_list Add clarity to the m.ignored_user_list 2018-03-06 10:32:18 -07:00
m.presence Update the m.presence schema to include status_msg 2018-12-10 15:44:01 -07:00
m.push_rules Avoid duplicates. 2019-02-24 19:43:03 +03:00
m.receipt Add event as a parent for all event types 2016-03-16 16:46:16 +01:00
m.room.aliases Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.avatar Make the key orders consistent 2016-11-07 14:54:59 +00:00
m.room.canonical_alias Make null m.room.name behaviour explicit 2016-07-12 13:44:04 +01:00
m.room.create Add room version upgrades 2019-01-09 17:02:09 -07:00
m.room.encrypted Remove unused algorithms for encrypted messages 2018-08-27 15:05:56 -06:00
m.room.encryption require megolm algorithm in m.room.encryption 2018-08-18 11:41:45 +02:00
m.room.guest_access Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.history_visibility Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.join_rules Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.member Update schemas and auth rules to cover the @ state key restriction 2018-08-28 13:06:52 -06:00
m.room.message Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.message#m.audio refactor encrypted file schema as "Extension to m.message" 2018-08-31 12:11:27 -04:00
m.room.message#m.emote Document message formats as-is 2018-07-10 12:52:11 -06:00
m.room.message#m.file add more clarifications 2018-08-31 12:59:57 -04:00
m.room.message#m.image refactor encrypted file schema as "Extension to m.message" 2018-08-31 12:11:27 -04:00
m.room.message#m.location add more clarifications 2018-08-31 12:59:57 -04:00
m.room.message#m.notice Make m.notice description use stricter language 2016-11-30 00:59:51 +01:00
m.room.message#m.server_notice Add server notices support 2019-05-26 20:52:59 -06:00
m.room.message#m.text Document message formats as-is 2018-07-10 12:52:11 -06:00
m.room.message#m.video add more clarifications 2018-08-31 12:59:57 -04:00
m.room.message.feedback Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.name Make null m.room.name behaviour explicit 2016-07-12 13:44:04 +01:00
m.room.pinned_events Add spec for m.room.pinned_events 2017-09-29 11:59:27 -06:00
m.room.power_levels Power levels always have a default of 50 for state_default 2018-09-04 11:43:37 -06:00
m.room.redaction Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.server_acl Fix server ACL schema: The type is a string 2018-08-28 10:34:49 -06:00
m.room.third_party_invite Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room.tombstone Add room version upgrades 2019-01-09 17:02:09 -07:00
m.room.topic Convert event schemas to yaml 2016-06-22 12:01:08 +01:00
m.room_key complete m.room_key documentation 2018-08-18 11:41:45 +02:00
m.room_key_request fixup! document key sharing and m.room_key_request 2018-08-25 17:26:40 +02:00
m.sticker Sticker messages (m.sticker) (#1158) 2018-03-27 10:00:41 +01:00
m.tag Elaborate the structure of m.tag events 2018-08-29 14:47:59 -06:00
m.typing Add event as a parent for all event types 2016-03-16 16:46:16 +01:00