Merge pull request #302 from gergelypolonkai/event-parent

Add event as a parent for all event types
pull/977/head
Richard van der Hoff 9 years ago
commit 774b516c07

@ -2,6 +2,9 @@
"type": "object", "type": "object",
"title": "Presence Event", "title": "Presence Event",
"description": "Informs the client of a user's presence state change.", "description": "Informs the client of a user's presence state change.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": { "properties": {
"content": { "content": {
"type": "object", "type": "object",

@ -2,6 +2,9 @@
"type": "object", "type": "object",
"title": "Receipt Event", "title": "Receipt Event",
"description": "Informs the client of new receipts.", "description": "Informs the client of new receipts.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": { "properties": {
"content": { "content": {
"type": "object", "type": "object",

@ -2,6 +2,9 @@
"type": "object", "type": "object",
"title": "Tag Event", "title": "Tag Event",
"description": "Informs the client of tags on a room.", "description": "Informs the client of tags on a room.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": { "properties": {
"type": { "type": {
"type": "string", "type": "string",

@ -2,6 +2,9 @@
"type": "object", "type": "object",
"title": "Typing Event", "title": "Typing Event",
"description": "Informs the client of the list of users currently typing.", "description": "Informs the client of the list of users currently typing.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": { "properties": {
"content": { "content": {
"type": "object", "type": "object",

Loading…
Cancel
Save