Add event as a parent for all event types
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
parent
dd6dfa7635
commit
d94deb6296
4 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue