Order properties alphabetically

Improves readability.

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
Mazz Mosley 2015-07-30 10:53:41 +01:00
parent 6c7c598546
commit 98c7a7da61
1 changed files with 17 additions and 14 deletions

View File

@ -14,28 +14,15 @@
"type": "object",
"properties": {
"ports": {
"oneOf": [
{"type": "string", "format": "ports"},
{
"type": "array",
"items": {"type": "string"},
"uniqueItems": true,
"format": "ports"
}
]
},
"build": {"type": "string"},
"env_file": {"$ref": "#/definitions/string_or_list"},
"environment": {
"oneOf": [
{"type": "object"},
{"type": "array", "items": {"type": "string"}, "uniqueItems": true}
]
},
"image": {"type": "string"},
"mem_limit": {"type": "number"},
"memswap_limit": {"type": "number"},
"extends": {
"type": "object",
@ -46,6 +33,22 @@
},
"required": ["service"],
"additionalProperties": false
},
"image": {"type": "string"},
"mem_limit": {"type": "number"},
"memswap_limit": {"type": "number"},
"ports": {
"oneOf": [
{"type": "string", "format": "ports"},
{
"type": "array",
"items": {"type": "string"},
"uniqueItems": true,
"format": "ports"
}
]
}
},