hyperion.ng/libsrc/leddevice/schemas/schema-piblaster.json

54 lines
1.0 KiB
JSON
Raw Normal View History

{
"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
}