From d0c6f013c3300744583b09f866176dd5122987c8 Mon Sep 17 00:00:00 2001 From: Mitchell Stern Date: Thu, 16 Apr 2020 21:08:17 -0400 Subject: [PATCH] Fix command config portion of project schema (#8057) --- python/ray/projects/schema.json | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/python/ray/projects/schema.json b/python/ray/projects/schema.json index c139167f3..2040835bf 100644 --- a/python/ray/projects/schema.json +++ b/python/ray/projects/schema.json @@ -150,18 +150,15 @@ } }, "config": { + "description": "Configuration options for the command", "type": "object", - "items": { - "description": "Configuration options for the command", - "type": "object", - "properties": { - "tmux": { - "description": "If true, the command will be run inside of tmux", - "type": "boolean" - } - }, - "additionalProperties": false - } + "properties": { + "tmux": { + "description": "If true, the command will be run inside of tmux", + "type": "boolean" + } + }, + "additionalProperties": false } }, "required": [ @@ -171,7 +168,12 @@ "additionalProperties": false } }, - "output_files": {} + "output_files": { + "type": "array", + "items": { + "type": "string" + } + } }, "required": [ "name",