2014-04-11 08:22:49 -04:00
|
|
|
module.exports =
|
|
|
|
"bus:connecting":
|
|
|
|
title: "Bus Connecting"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "Published when a Bus starts connecting"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
bus:
|
|
|
|
$ref: "bus"
|
|
|
|
|
|
|
|
"bus:connected":
|
2014-04-13 06:31:12 -04:00
|
|
|
title: "Bus Connected"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "Published when a Bus has connected"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
bus:
|
|
|
|
$ref: "bus"
|
2014-04-11 08:22:49 -04:00
|
|
|
|
|
|
|
"bus:disconnected":
|
2014-04-13 06:31:12 -04:00
|
|
|
title: "Bus Disconnected"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "Published when a Bus has disconnected"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
bus:
|
|
|
|
$ref: "bus"
|
2014-04-11 08:22:49 -04:00
|
|
|
|
|
|
|
"bus:new-message":
|
2014-04-13 09:23:24 -04:00
|
|
|
title: "Message sent"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "A new message was sent"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
message:
|
2014-06-16 13:49:20 -04:00
|
|
|
type: "object"
|
2014-04-13 09:23:24 -04:00
|
|
|
bus:
|
|
|
|
$ref: "bus"
|
2014-04-11 08:22:49 -04:00
|
|
|
|
|
|
|
"bus:player-joined":
|
2014-04-13 09:23:24 -04:00
|
|
|
title: "Player joined"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "A new player has joined"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
player:
|
|
|
|
type: "object"
|
|
|
|
bus:
|
|
|
|
$ref: "bus"
|
2014-04-11 08:22:49 -04:00
|
|
|
|
|
|
|
"bus:player-left":
|
2014-04-13 09:23:24 -04:00
|
|
|
title: "Player left"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "A player has left"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
player:
|
|
|
|
type: "object"
|
|
|
|
bus:
|
|
|
|
$ref: "bus"
|
2014-04-11 08:22:49 -04:00
|
|
|
|
|
|
|
"bus:player-states-changed":
|
2014-04-13 09:23:24 -04:00
|
|
|
title: "Player state changes"
|
|
|
|
$schema: "http://json-schema.org/draft-04/schema#"
|
|
|
|
description: "State of the players has changed"
|
|
|
|
type: "object"
|
|
|
|
properties:
|
|
|
|
player:
|
|
|
|
type: "array"
|
|
|
|
bus:
|
|
|
|
$ref: "bus"
|