Updated some Bus schemas.
This commit is contained in:
parent
9f1ef2bb8d
commit
3915ebc8b3
1 changed files with 15 additions and 3 deletions
|
@ -9,10 +9,22 @@ module.exports =
|
||||||
$ref: "bus"
|
$ref: "bus"
|
||||||
|
|
||||||
"bus:connected":
|
"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":
|
"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":
|
"bus:new-message":
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
@ -24,4 +36,4 @@ module.exports =
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
|
||||||
"bus:player-states-changed":
|
"bus:player-states-changed":
|
||||||
{} # TODO schema
|
{} # TODO schema
|
||||||
|
|
Reference in a new issue