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,
|
2017-03-30 06:20:20 +02:00
|
|
|
"maximum" : 253,
|
2016-08-17 11:46:36 +02:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"duration": {
|
|
|
|
"type": "integer",
|
|
|
|
"required": false
|
|
|
|
},
|
2017-02-28 17:53:41 +01:00
|
|
|
"origin": {
|
|
|
|
"type": "string",
|
2017-03-24 10:17:36 +01:00
|
|
|
"minLength" : 4,
|
|
|
|
"maxLength" : 20,
|
2017-02-28 17:53:41 +01:00
|
|
|
"required": true
|
|
|
|
},
|
2016-08-17 11:46:36 +02:00
|
|
|
"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
|
|
|
}
|