obniz
Version:
obniz sdk for javascript
29 lines (27 loc) • 967 B
YAML
## YAML Template.
---
$schema: http://json-schema.org/draft-04/schema#
id: "/response"
type : array
minItems: 1
items :
type: object
additionalProperties: false
patternProperties:
"^io[0-9]$" : {$ref : "/response/io"}
"^io1[0-1]$" : {$ref : "/response/io"}
"^ad[0-9]$" : {$ref : "/response/ad"}
"^ad1[0-1]$" : {$ref : "/response/ad"}
"^uart[0-1]$" : {$ref : "/response/uart"}
"^spi[0-1]$" : {$ref : "/response/spi"}
"^i2c0$" : {$ref : "/response/i2c"}
properties:
io: {$ref : "/response/ioAnimation" }
switch : {$ref : "/response/switch"}
ble : {$ref : "/response/ble"}
measure : {$ref : "/response/measure"}
message : {$ref : "/response/message"}
logic_analyzer : {$ref : "/response/logicAnalyzer"}
system : {$ref : "/response/system"}
debug : {$ref : "/response/debug"}
ws : {$ref : "/response/ws"}