2016-08-23 20:07:12 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
2016-12-02 12:07:24 +01:00
|
|
|
"output": {
|
|
|
|
"type": "string",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_PBFiFo_title",
|
2016-12-02 12:07:24 +01:00
|
|
|
"default" : "/dev/pi-blaster",
|
|
|
|
"propertyOrder" : 1
|
|
|
|
},
|
|
|
|
"gpiomap": {
|
|
|
|
"type": "array",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_gpioMap_title",
|
2016-12-02 12:07:24 +01:00
|
|
|
"propertyOrder" : 2,
|
|
|
|
"minimum" : 1,
|
|
|
|
"maximum" : 27,
|
|
|
|
"items" : {
|
|
|
|
"type" : "object",
|
|
|
|
"required" : true,
|
|
|
|
"properties" :
|
|
|
|
{
|
|
|
|
"gpio" :
|
|
|
|
{
|
|
|
|
"type" : "integer",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title" : "edt_dev_spec_gpioBcm_title",
|
2016-12-02 12:07:24 +01:00
|
|
|
"minimum" : 0,
|
|
|
|
"maximum" : 27,
|
|
|
|
"required" : true,
|
|
|
|
"propertyOrder" : 1
|
|
|
|
},
|
|
|
|
"ledindex" :
|
|
|
|
{
|
|
|
|
"type" : "integer",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title" : "edt_dev_spec_ledIndex_title",
|
2016-12-02 12:07:24 +01:00
|
|
|
"minimum" : 0,
|
|
|
|
"required" : true,
|
|
|
|
"propertyOrder" : 2
|
|
|
|
},
|
|
|
|
"ledcolor" :
|
|
|
|
{
|
|
|
|
"type" : "string",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title" : "edt_dev_spec_colorComponent_title",
|
2016-12-02 12:07:24 +01:00
|
|
|
"enum" : ["r","g","b","w"],
|
|
|
|
"required" : true,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"propertyOrder" : 3
|
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|