expose array can contain either strings or numbers

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-09-03 11:44:08 +01:00
commit 7326608369
2 changed files with 20 additions and 1 deletions

View file

@ -42,7 +42,11 @@
]
},
"expose": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
"expose": {
"type": "array",
"items": {"type": ["string", "number"]},
"uniqueItems": true
},
"extends": {
"type": "object",