2014-08-27 15:24:03 -04:00
|
|
|
c = require 'schemas/schemas'
|
|
|
|
|
2014-04-11 08:22:49 -04:00
|
|
|
module.exports =
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:connecting': c.object {title: 'Bus Connecting', description: 'Published when a Bus starts connecting'},
|
|
|
|
bus: {$ref: 'bus'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:connected': c.object {title: 'Bus Connected', description: 'Published when a Bus has connected'},
|
|
|
|
bus: {$ref: 'bus'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:disconnected': c.object {title: 'Bus Disconnected', description: 'Published when a Bus has disconnected'},
|
|
|
|
bus: {$ref: 'bus'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:new-message': c.object {title: 'Message sent', description: 'A new message was sent'},
|
|
|
|
message: {type: 'object'}
|
|
|
|
bus: {$ref: 'bus'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:player-joined': c.object {title: 'Player joined', description: 'A new player has joined'},
|
|
|
|
player: {type: 'object'}
|
|
|
|
bus: {$ref: 'bus'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:player-left': c.object {title: 'Player left', description: 'A player has left'},
|
|
|
|
player: {type: 'object'}
|
|
|
|
bus: {$ref: 'bus'}
|
2014-04-11 08:22:49 -04:00
|
|
|
|
2014-08-27 15:24:03 -04:00
|
|
|
'bus:player-states-changed': c.object {title: 'Player state changes', description: 'State of the players has changed'},
|
|
|
|
states: c.array {}, {type: 'object'}
|
|
|
|
bus: {$ref: 'bus'}
|