matrix-spec/data/event-schemas/examples
Andrew Morgan 8a5955e98f Remove 'room_id' field from m.typing, m.receipt and m.fully_read examples and schema (#3679)
The spec had an erroneous `room_id` field in a m.typing EDU entry of /sync, `m.read` receipts in `/sync`, and `m.fully_read` room account data objects in the spec. None of these are necessary nor used in practice.

Checking part of the ecosystem for whether clients look for, or homeservers include, these room_id fields, I found that:

    Element does not require them, nor does Synapse include them.
    Ruma does not include them.
    Dendrite does not include them.
    nheko/mtxclient does not look for them.

This change removes room_id from the example and OpenAPI schema in each case mentioned above. It only affects the Client-Server spec - the Server-Server spec text remains unchanged.

The field was initially introduced in 0f28f83.
2022-05-09 01:28:17 -06:00
..
core Remove 'room_id' field from m.typing, m.receipt and m.fully_read examples and schema (#3679) 2022-05-09 01:28:17 -06:00
invite_room_state.json Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
knock_room_state.json Add knocking to the spec 2021-08-27 19:17:12 +01: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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.dummy.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.forwarded_room_key.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.fully_read.yaml Remove 'room_id' field from m.typing, m.receipt and m.fully_read examples and schema (#3679) 2022-05-09 01:28:17 -06:00
m.identity_server.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.ignored_user_list.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.key.verification.accept.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.key.verification.cancel.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.key.verification.mac.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.key.verification.start$m.sas.v1.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.key.verification.start.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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 Fix example MXC URI for m.presence 2021-08-27 19:17:09 +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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.avatar.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.canonical_alias.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.create.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.encrypted$megolm.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.encrypted$olm.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.encryption.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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$restricted.yaml Room versions 8 and 9: Restricted rooms (#3387) 2022-01-18 09:55:34 -07:00
m.room.join_rules.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.member$invite_room_state.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.member$join_authorised_via_users_server.yaml Room versions 8 and 9: Restricted rooms (#3387) 2022-01-18 09:55:34 -07:00
m.room.member$knock_room_state.yaml Add knocking to the spec 2021-08-27 19:17:12 +01:00
m.room.member$third_party_invite.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.member.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.audio.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.emote.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.file.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.image.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.location.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.notice.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.server_notice.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.text.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.message$m.video.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.name.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.redaction.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.server_acl.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.third_party_invite.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.tombstone.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room.topic.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room_key.withheld.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room_key.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room_key_request$cancel_request.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.room_key_request$request.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +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 Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.tag.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
m.typing.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00