matrix-doc/data/event-schemas/schema
Richard van der Hoff 36b02edfc2
Distinguish 'client' from 'federation' events (#3658)
Fixes #3305 
Fixes #3380
 
The idea here is to better distinguish between a 'raw' event (as we send over the wire), and the 
'serialised' format, as sent in responses to the C-S api and in `PUT /_matrix/app/v1/transactions/{txnId}`.

It's made more complicated by the fact that there are _two_ serialisation formats, one used by `/sync`
and `/notifications`, and one by everything else (the difference being whether `room_id` is included).

In an ideal world, we wouldn't repeat `SerialisedEvent` every time it's used, and instead just link to the
first reference, but that's a job for another day.

Another job for another day is to get rid of things like `sync_state_event.yaml` (which is now used
only in one place, so should be inlined.)
2022-02-01 15:05:08 +00:00
..
core-event-schema Distinguish 'client' from 'federation' events (#3658) 2022-02-01 15:05:08 +00:00
m.accepted_terms.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.call.answer.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.call.candidates.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.call.hangup.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.call.invite.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.direct.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.dummy.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.forwarded_room_key.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.fully_read.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.identity_server.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.ignored_user_list.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.key.verification.accept.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.cancel.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.done.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.key.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.m.relates_to.yaml remove extra `type` property (#3482) 2021-11-10 13:46:24 -05:00
m.key.verification.mac.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.ready.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.request.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.start$m.reciprocate.v1.yaml Add spec for verification by QR codes. 2021-08-27 19:17:11 +01:00
m.key.verification.start$m.sas.v1.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.key.verification.start.yaml spec verification in DMs and m.key.verification.ready/done 2021-08-27 19:17:11 +01:00
m.policy.rule.room.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.policy.rule.server.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.policy.rule.user.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.presence.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.push_rules.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.receipt.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.avatar.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.canonical_alias.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.create.yaml Add Spaces to the spec (#3610) 2022-01-17 10:03:14 -07:00
m.room.encrypted.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room.encryption.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.guest_access.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.history_visibility.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.join_rules.yaml Room versions 8 and 9: Restricted rooms (#3387) 2022-01-18 09:55:34 -07:00
m.room.member.yaml Room versions 8 and 9: Restricted rooms (#3387) 2022-01-18 09:55:34 -07:00
m.room.message$m.audio.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room.message$m.emote.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.message$m.file.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room.message$m.image.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room.message$m.location.yaml Explicitly link to geo URI spec (#3492) 2021-11-15 15:58:39 -07:00
m.room.message$m.notice.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.message$m.server_notice.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.message$m.text.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.message$m.video.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room.message.feedback.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room.message.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.name.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.pinned_events.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.power_levels.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.redaction.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.server_acl.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.third_party_invite.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room.tombstone.yaml Explicitly call replacement_room a room ID 2021-08-27 19:17:14 +01:00
m.room.topic.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room_key.withheld.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.room_key.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.room_key_request.yaml Fix links in data 2021-08-27 19:16:42 +01:00
m.space.child.yaml Add Spaces to the spec (#3610) 2022-01-17 10:03:14 -07:00
m.space.parent.yaml Add Spaces to the spec (#3610) 2022-01-17 10:03:14 -07:00
m.sticker.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.tag.yaml Change RST code formatting markup to Markdown 2021-08-27 19:16:42 +01:00
m.typing.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00