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
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.
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 Remove 'room_id' field from `m.typing`, `m.receipt` and `m.fully_read` examples and schema (#3679) 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 Remove 'room_id' field from `m.typing`, `m.receipt` and `m.fully_read` examples and schema (#3679) 3 years ago
m.room.avatar.yaml Clarify that the url field in `m.room.avatar` events is not required. #987) 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 Fix membership state table and diagram (#3730) 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.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.name.yaml Remove unenforced size limit on room names (#3669) 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 Correct the default for `invite` in `m.room.power_levels` (#1021) 3 years ago
m.room.redaction.yaml Change RST code formatting markup to Markdown 3 years ago
m.room.server_acl.yaml Fix missed rst->md numbered list syntax for `m.room.server_acl` (#3681) 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 Remove 'room_id' field from `m.typing`, `m.receipt` and `m.fully_read` examples and schema (#3679) 3 years ago