hyperion.ng/libsrc/leddevice/schemas/schema-piblaster.json
brindosch 8d55154164 Transit translation system (#309)
* update schemas

* update schemas

* update schemas

* schema update

* update translation

* upd
2016-12-04 19:32:23 +01:00

54 lines
1.0 KiB
JSON

{
"type":"object",
"required":true,
"properties":{
"output": {
"type": "string",
"title":"edt_dev_spec_PBFiFo_title",
"default" : "/dev/pi-blaster",
"propertyOrder" : 1
},
"gpiomap": {
"type": "array",
"title":"edt_dev_spec_gpioMap_title",
"propertyOrder" : 2,
"minimum" : 1,
"maximum" : 27,
"items" : {
"type" : "object",
"required" : true,
"properties" :
{
"gpio" :
{
"type" : "integer",
"title" : "edt_dev_spec_gpioBcm_title",
"minimum" : 0,
"maximum" : 27,
"required" : true,
"propertyOrder" : 1
},
"ledindex" :
{
"type" : "integer",
"title" : "edt_dev_spec_ledIndex_title",
"minimum" : 0,
"required" : true,
"propertyOrder" : 2
},
"ledcolor" :
{
"type" : "string",
"title" : "edt_dev_spec_colorComponent_title",
"enum" : ["r","g","b","w"],
"required" : true,
"propertyOrder" : 3
}
}
},
"propertyOrder" : 3
}
},
"additionalProperties": true
}