Sync composefile v3.2 schema with `docker/cli`

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2017-09-19 18:27:02 +02:00 committed by Joffrey F
parent d48296213b
commit 158a786578
1 changed files with 3 additions and 1 deletions

View File

@ -170,7 +170,8 @@
"type": "array", "type": "array",
"items": { "items": {
"oneOf": [ "oneOf": [
{"type": ["string", "number"], "format": "ports"}, {"type": "number", "format": "ports"},
{"type": "string", "format": "ports"},
{ {
"type": "object", "type": "object",
"properties": { "properties": {
@ -249,6 +250,7 @@
"source": {"type": "string"}, "source": {"type": "string"},
"target": {"type": "string"}, "target": {"type": "string"},
"read_only": {"type": "boolean"}, "read_only": {"type": "boolean"},
"consistency": {"type": "string"},
"bind": { "bind": {
"type": "object", "type": "object",
"properties": { "properties": {