Skip to content
This repository has been archived by the owner on Feb 24, 2019. It is now read-only.

Commit

Permalink
Add new channel events (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Aug 14, 2017
1 parent 5e6b216 commit be3aef0
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,64 @@
"minProperties": 1,
"additionalProperties": false,
"properties": {
"channel_join": {
"type": "object",
"description": "Represents the joining of a multi-plexed websocket channel.",
"required": ["channel", "topic"],
"additionalProperties": false,
"properties": {
"channel": {
"type": "string",
"description": "The name of the channel being joined.",
"minLength": 1,
"maxLength": 256
},
"topic": {
"type": "string",
"description": "The name of the channel topic being joined.",
"minLength": 1,
"maxLength": 256
},
"metadata_json": {
"type": "string",
"description": "A JSON encoded string representing additional metadata. This provides insight without the overhead of creating and indexing fields.",
"minLength": 1,
"maxLength": 8192
}
}
},
"channel_receive": {
"type": "object",
"description": "Represents the receiption of an event on a multi-plexed websocket channel.",
"required": ["channel", "topic", "event"],
"additionalProperties": false,
"properties": {
"channel": {
"type": "string",
"description": "The name of the channel being joined.",
"minLength": 1,
"maxLength": 256
},
"topic": {
"type": "string",
"description": "The name of the channel topic being joined.",
"minLength": 1,
"maxLength": 256
},
"event": {
"type": "string",
"description": "The name of the event being received.",
"minLength": 1,
"maxLength": 256
},
"metadata_json": {
"type": "string",
"description": "A JSON encoded string representing additional metadata. This provides insight without the overhead of creating and indexing fields.",
"minLength": 1,
"maxLength": 8192
}
}
},
"controller_call": {
"type": "object",
"description": "Represents the calling of a controller, typically logged immediately after the request is routed.",
Expand Down Expand Up @@ -442,7 +500,7 @@
},
"metadata_json": {
"type": "string",
"description": "A JSON encoded string representing addition error metadata. This provides insight without the overhead of creating and indexing fields.",
"description": "A JSON encoded string representing additional metadata. This provides insight without the overhead of creating and indexing fields.",
"minLength": 1,
"maxLength": 8192
},
Expand Down

0 comments on commit be3aef0

Please sign in to comment.