obniz
Version:
obniz sdk for javascript
36 lines (34 loc) • 1.14 kB
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"}
"^i2c[0-1]$": {$ref: "/response/i2c"}
"^tcp[0-7]$": {$ref: "/response/tcp" }
"^canbus[0-1]$": {$ref: "/response/canbus" }
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"}
wifi: {$ref: "/response/wifi"}
plugin: {$ref: "/response/plugin"}
storage: {$ref: "/response/storage"}
motion: {$ref: "/response/motion"}
location: {$ref: "/response/location"}