Refactor ports section of fields schema

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-11-26 18:52:14 +00:00 committed by Daniel Nephin
parent e67419065a
commit ab36c9c6cd
1 changed files with 2 additions and 10 deletions

View File

@ -83,17 +83,9 @@
"ports": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"type": ["string", "number"],
"format": "ports"
},
{
"type": "number",
"format": "ports"
}
]
},
"uniqueItems": true
},