mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
* Make origin in schema-image optional ... like in `color` and `effect` schemes. * use origin if available
46 lines
712 B
JSON
46 lines
712 B
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"command": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["image"]
|
|
},
|
|
"tan" : {
|
|
"type" : "integer"
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"minimum" : 1,
|
|
"maximum" : 253,
|
|
"required": true
|
|
},
|
|
"origin": {
|
|
"type": "string",
|
|
"minLength" : 4,
|
|
"maxLength" : 20,
|
|
"required": false
|
|
},
|
|
"duration": {
|
|
"type": "integer",
|
|
"required": false
|
|
},
|
|
"imagewidth": {
|
|
"type" : "integer",
|
|
"required": true,
|
|
"minimum": 0
|
|
},
|
|
"imageheight": {
|
|
"type" : "integer",
|
|
"required": true,
|
|
"minimum": 0
|
|
},
|
|
"imagedata": {
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|