You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/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.)
3 years ago
..
core-event-schema Distinguish 'client' from 'federation' events (#3658) 3 years ago
m.accepted_terms.yaml Move raw API and event schemas into /data directory 3 years ago
m.call.answer.yaml Move raw API and event schemas into /data directory 3 years ago
m.call.candidates.yaml Move raw API and event schemas into /data directory 3 years ago
m.call.hangup.yaml Change RST code formatting markup to Markdown 3 years ago
m.call.invite.yaml Move raw API and event schemas into /data directory 3 years ago
m.direct.yaml Change RST code formatting markup to Markdown 3 years ago
m.dummy.yaml Fix links in data 3 years ago
m.forwarded_room_key.yaml Fix links in data 3 years ago
m.fully_read.yaml Move raw API and event schemas into /data directory 3 years ago
m.identity_server.yaml Change RST code formatting markup to Markdown 3 years ago
m.ignored_user_list.yaml Change RST code formatting markup to Markdown 3 years ago
m.key.verification.accept.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.cancel.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.done.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.key.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.m.relates_to.yaml remove extra `type` property (#3482) 3 years ago
m.key.verification.mac.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.ready.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.request.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.start$m.reciprocate.v1.yaml Add spec for verification by QR codes. 3 years ago
m.key.verification.start$m.sas.v1.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.key.verification.start.yaml spec verification in DMs and m.key.verification.ready/done 3 years ago
m.policy.rule.room.yaml Move raw API and event schemas into /data directory 3 years ago
m.policy.rule.server.yaml Move raw API and event schemas into /data directory 3 years ago
m.policy.rule.user.yaml Move raw API and event schemas into /data directory 3 years ago
m.presence.yaml Move raw API and event schemas into /data directory 3 years ago
m.push_rules.yaml Move raw API and event schemas into /data directory 3 years ago
m.receipt.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.avatar.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.canonical_alias.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.create.yaml Add Spaces to the spec (#3610) 3 years ago
m.room.encrypted.yaml Fix links in data 3 years ago
m.room.encryption.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.guest_access.yaml Move raw API and event schemas into /data directory 3 years ago
m.room.history_visibility.yaml Move raw API and event schemas into /data directory 3 years ago
m.room.join_rules.yaml Room versions 8 and 9: Restricted rooms (#3387) 3 years ago
m.room.member.yaml Room versions 8 and 9: Restricted rooms (#3387) 3 years ago
m.room.message$m.audio.yaml Fix links in data 3 years ago
m.room.message$m.emote.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.message$m.file.yaml Fix links in data 3 years ago
m.room.message$m.image.yaml Fix links in data 3 years ago
m.room.message$m.location.yaml Explicitly link to geo URI spec (#3492) 3 years ago
m.room.message$m.notice.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.message$m.server_notice.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.message$m.text.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.message$m.video.yaml Fix links in data 3 years ago
m.room.message.feedback.yaml Fix links in data 3 years ago
m.room.message.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.name.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.pinned_events.yaml Move raw API and event schemas into /data directory 3 years ago
m.room.power_levels.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.redaction.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.server_acl.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.third_party_invite.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.tombstone.yaml Explicitly call replacement_room a room ID 3 years ago
m.room.topic.yaml Change RST code formatting markup to Markdown 3 years ago
m.room_key.withheld.yaml Change RST code formatting markup to Markdown 3 years ago
m.room_key.yaml Fix links in data 3 years ago
m.room_key_request.yaml Fix links in data 3 years ago
m.space.child.yaml Add Spaces to the spec (#3610) 3 years ago
m.space.parent.yaml Add Spaces to the spec (#3610) 3 years ago
m.sticker.yaml Change RST code formatting markup to Markdown 3 years ago
m.tag.yaml Change RST code formatting markup to Markdown 3 years ago
m.typing.yaml Move raw API and event schemas into /data directory 3 years ago