diff --git a/event-schemas/schema/m.presence b/event-schemas/schema/m.presence index 79852ac69..c8ed22918 100644 --- a/event-schemas/schema/m.presence +++ b/event-schemas/schema/m.presence @@ -2,6 +2,9 @@ "type": "object", "title": "Presence Event", "description": "Informs the client of a user's presence state change.", + "allOf": [{ + "$ref": "core-event-schema/event.yaml" + }], "properties": { "content": { "type": "object", diff --git a/event-schemas/schema/m.receipt b/event-schemas/schema/m.receipt index d0f79ac4a..8594dd7c1 100644 --- a/event-schemas/schema/m.receipt +++ b/event-schemas/schema/m.receipt @@ -2,6 +2,9 @@ "type": "object", "title": "Receipt Event", "description": "Informs the client of new receipts.", + "allOf": [{ + "$ref": "core-event-schema/event.yaml" + }], "properties": { "content": { "type": "object", diff --git a/event-schemas/schema/m.tag b/event-schemas/schema/m.tag index 4c5b4fa53..80d3f9dd3 100644 --- a/event-schemas/schema/m.tag +++ b/event-schemas/schema/m.tag @@ -2,6 +2,9 @@ "type": "object", "title": "Tag Event", "description": "Informs the client of tags on a room.", + "allOf": [{ + "$ref": "core-event-schema/event.yaml" + }], "properties": { "type": { "type": "string", diff --git a/event-schemas/schema/m.typing b/event-schemas/schema/m.typing index b712f6ecb..705b3b6c7 100644 --- a/event-schemas/schema/m.typing +++ b/event-schemas/schema/m.typing @@ -2,6 +2,9 @@ "type": "object", "title": "Typing Event", "description": "Informs the client of the list of users currently typing.", + "allOf": [{ + "$ref": "core-event-schema/event.yaml" + }], "properties": { "content": { "type": "object",