Updated some Bus schemas.

This commit is contained in:
JasperDhaene 2014-04-13 12:31:12 +02:00
parent 9f1ef2bb8d
commit 3915ebc8b3

View file

@ -9,10 +9,22 @@ module.exports =
$ref: "bus"
"bus:connected":
{} # TODO schema
title: "Bus Connected"
$schema: "http://json-schema.org/draft-04/schema#"
description: "Published when a Bus has connected"
type: "object"
properties:
bus:
$ref: "bus"
"bus:disconnected":
{} # TODO schema
title: "Bus Disconnected"
$schema: "http://json-schema.org/draft-04/schema#"
description: "Published when a Bus has disconnected"
type: "object"
properties:
bus:
$ref: "bus"
"bus:new-message":
{} # TODO schema
@ -24,4 +36,4 @@ module.exports =
{} # TODO schema
"bus:player-states-changed":
{} # TODO schema
{} # TODO schema