diff --git a/event-schemas/schema/m.presence b/event-schemas/schema/m.presence index 79852ac6..c8ed2291 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 d0f79ac4..8594dd7c 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 4c5b4fa5..80d3f9dd 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 b712f6ec..705b3b6c 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",