docs: fix example for additionalProperties keyword

master
Evgeny Poberezkin 2017-05-03 21:59:23 +01:00
parent 78fffde293
commit 6f0ff642cc
1 changed files with 8 additions and 4 deletions

View File

@ -531,11 +531,15 @@ __Examples__
},
"additionalProperties": false,
"anyOf": [
"properties": {
"bar": { "type": "number" }
{
"properties": {
"bar": { "type": "number" }
}
},
"properties": {
"baz": { "type": "number" }
{
"properties": {
"baz": { "type": "number" }
}
}
]
}