Make origin in schema-image optional (#610)

* Make origin in schema-image optional

... like in `color` and `effect` schemes.

* use origin if available
This commit is contained in:
Andreas Ganske
2019-08-19 20:25:16 +02:00
committed by brindosch
parent beb9454a1f
commit fe12b36fce
2 changed files with 7 additions and 4 deletions

View File

@@ -18,7 +18,9 @@
},
"origin": {
"type": "string",
"required": true
"minLength" : 4,
"maxLength" : 20,
"required": false
},
"duration": {
"type": "integer",