2013-11-24 16:10:48 +01:00
|
|
|
{
|
2016-08-17 11:46:36 +02:00
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"command": {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"enum" : ["effect"]
|
|
|
|
},
|
|
|
|
"tan" : {
|
|
|
|
"type" : "integer"
|
|
|
|
},
|
|
|
|
"priority": {
|
|
|
|
"type": "integer",
|
2017-01-17 21:53:35 +01:00
|
|
|
"minimum" : 1,
|
|
|
|
"maximum" : 253,
|
2016-08-17 11:46:36 +02:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"duration": {
|
|
|
|
"type": "integer",
|
|
|
|
"required": false
|
|
|
|
},
|
|
|
|
"effect": {
|
|
|
|
"type": "object",
|
|
|
|
"required": true,
|
|
|
|
"properties" :{
|
|
|
|
"name" : {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true
|
|
|
|
},
|
|
|
|
"args" : {
|
|
|
|
"type" : "object",
|
|
|
|
"required" : false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2016-10-30 22:59:45 +01:00
|
|
|
},
|
|
|
|
"pythonScript" : {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : false
|
2016-08-17 11:46:36 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2013-11-24 16:10:48 +01:00
|
|
|
}
|