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
parent b85bfce65e
commit d52508e2b1
1 changed files with 2 additions and 10 deletions

View File

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