This commit is contained in:
parent
5e8947f856
commit
405568c78b
@ -210,6 +210,16 @@ components:
|
|||||||
bindingVersion: 0.1.0
|
bindingVersion: 0.1.0
|
||||||
payload:
|
payload:
|
||||||
$ref: "#/components/schemas/controlPayload"
|
$ref: "#/components/schemas/controlPayload"
|
||||||
|
statusmessage:
|
||||||
|
name: statusmessage
|
||||||
|
title: Status message
|
||||||
|
summary: Status messages sent by devices to any interested parties
|
||||||
|
contentType: application/json
|
||||||
|
bindings:
|
||||||
|
mqtt:
|
||||||
|
bindingVersion: 0.1.0
|
||||||
|
payload:
|
||||||
|
$ref: "#/components/schemas/statusPayload"
|
||||||
|
|
||||||
schemas:
|
schemas:
|
||||||
wavePayload:
|
wavePayload:
|
||||||
@ -253,7 +263,20 @@ components:
|
|||||||
sensorID:
|
sensorID:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
summary: Unique ID used to identify a particular sensor on a device.
|
summary: Unique ID used to identify a particular sensor on a device. (May be wildcard or empty)
|
||||||
command:
|
command:
|
||||||
type: string
|
type: string
|
||||||
enom: ["online", "offline"]
|
enom: ["online", "offline"]
|
||||||
|
statusPayload:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
deviceID:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
summary: Unique ID used to identify a particular device in the system.
|
||||||
|
sensorID:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
summary: Unique ID used to identify a particular sensor on a device. (May be wildcard or empty)
|
||||||
|
status:
|
||||||
|
type: string
|
Loading…
Reference in New Issue
Block a user