{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2002","labels_url":"https://api.github.com/repos/docker/compose/issues/2002/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/2002/comments","events_url":"https://api.github.com/repos/docker/compose/issues/2002/events","html_url":"https://github.com/docker/compose/issues/2002","id":105243926,"number":2002,"title":"Error message for oneOf validation isn't bubbling up fine enough detail","user":{"login":"mnowster","id":557287,"avatar_url":"https://avatars.githubusercontent.com/u/557287?v=3","gravatar_id":"","url":"https://api.github.com/users/mnowster","html_url":"https://github.com/mnowster","followers_url":"https://api.github.com/users/mnowster/followers","following_url":"https://api.github.com/users/mnowster/following{/other_user}","gists_url":"https://api.github.com/users/mnowster/gists{/gist_id}","starred_url":"https://api.github.com/users/mnowster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnowster/subscriptions","organizations_url":"https://api.github.com/users/mnowster/orgs","repos_url":"https://api.github.com/users/mnowster/repos","events_url":"https://api.github.com/users/mnowster/events{/privacy}","received_events_url":"https://api.github.com/users/mnowster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/area/config","name":"area/config","color":"c7def8"},{"url":"https://api.github.com/repos/docker/compose/labels/kind/enhancement","name":"kind/enhancement","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"mnowster","id":557287,"avatar_url":"https://avatars.githubusercontent.com/u/557287?v=3","gravatar_id":"","url":"https://api.github.com/users/mnowster","html_url":"https://github.com/mnowster","followers_url":"https://api.github.com/users/mnowster/followers","following_url":"https://api.github.com/users/mnowster/following{/other_user}","gists_url":"https://api.github.com/users/mnowster/gists{/gist_id}","starred_url":"https://api.github.com/users/mnowster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnowster/subscriptions","organizations_url":"https://api.github.com/users/mnowster/orgs","repos_url":"https://api.github.com/users/mnowster/repos","events_url":"https://api.github.com/users/mnowster/events{/privacy}","received_events_url":"https://api.github.com/users/mnowster/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker/compose/milestones/9","html_url":"https://github.com/docker/compose/milestones/1.5.0","labels_url":"https://api.github.com/repos/docker/compose/milestones/9/labels","id":1229222,"number":9,"title":"1.5.0","description":"","creator":{"login":"aanand","id":1062,"avatar_url":"https://avatars.githubusercontent.com/u/1062?v=3","gravatar_id":"","url":"https://api.github.com/users/aanand","html_url":"https://github.com/aanand","followers_url":"https://api.github.com/users/aanand/followers","following_url":"https://api.github.com/users/aanand/following{/other_user}","gists_url":"https://api.github.com/users/aanand/gists{/gist_id}","starred_url":"https://api.github.com/users/aanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanand/subscriptions","organizations_url":"https://api.github.com/users/aanand/orgs","repos_url":"https://api.github.com/users/aanand/repos","events_url":"https://api.github.com/users/aanand/events{/privacy}","received_events_url":"https://api.github.com/users/aanand/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":32,"state":"open","created_at":"2015-07-28T11:48:08Z","updated_at":"2015-09-15T14:29:11Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-07T16:29:13Z","updated_at":"2015-09-15T14:29:11Z","closed_at":"2015-09-15T14:29:11Z","body":"(reported by @dnephin)\r\n\r\n### Duplicate strings in command\r\n\r\n```yaml\r\nweb:\r\n    image: alpine:edge\r\n    command: ['sh', 'sh']\r\n```\r\n\r\n`Service 'web' configuration key 'command' contains an invalid type, ...`\r\n\r\nIf I do the same thing with `entrypoint`, I get a better error message `Service 'web' configuration key 'entrypoint' value ['sh', 'sh'] has non-unique element`, but it's still an error"}}