{"action":"created","issue":{"url":"https://api.github.com/repos/quicktype/quicktype/issues/518","repository_url":"https://api.github.com/repos/quicktype/quicktype","labels_url":"https://api.github.com/repos/quicktype/quicktype/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/quicktype/quicktype/issues/518/comments","events_url":"https://api.github.com/repos/quicktype/quicktype/issues/518/events","html_url":"https://github.com/quicktype/quicktype/issues/518","id":296837098,"number":518,"title":"Allow manually setting top-levels for JSON Schema input","user":{"login":"Marwes","id":957312,"avatar_url":"https://avatars3.githubusercontent.com/u/957312?v=4","gravatar_id":"","url":"https://api.github.com/users/Marwes","html_url":"https://github.com/Marwes","followers_url":"https://api.github.com/users/Marwes/followers","following_url":"https://api.github.com/users/Marwes/following{/other_user}","gists_url":"https://api.github.com/users/Marwes/gists{/gist_id}","starred_url":"https://api.github.com/users/Marwes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marwes/subscriptions","organizations_url":"https://api.github.com/users/Marwes/orgs","repos_url":"https://api.github.com/users/Marwes/repos","events_url":"https://api.github.com/users/Marwes/events{/privacy}","received_events_url":"https://api.github.com/users/Marwes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-13T18:18:38Z","updated_at":"2018-02-14T06:46:38Z","closed_at":null,"author_association":"NONE","body":"From https://github.com/Microsoft/vscode-debugadapter-node/blob/master/debugProtocol.json .\r\n\r\nThis schema defines all its types inside `definitions` of the schema which quicktype does not appear to output anything for (perhaps because the types don't appear to be reachable)?\r\n\r\nIs this something that can worked around or that can be improved in quicktype?\r\n\r\n\r\nSmaller reproduction\r\n```\r\n{\r\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\r\n  \"title\": \"VS Code Debug Protocol\",\r\n  \"description\": \"A json schema for the VS Code Debug Protocol\",\r\n  \"type\": \"object\",\r\n  \"definitions\": {\r\n    \"ProtocolMessage\": {\r\n      \"type\": \"object\",\r\n      \"description\": \"Base class of requests, responses, and events.\",\r\n      \"properties\": {\r\n        \"seq\": {\r\n          \"type\": \"integer\",\r\n          \"description\": \"Sequence number.\"\r\n        },\r\n        \"type\": {\r\n          \"type\": \"string\",\r\n          \"description\": \"One of 'request', 'response', or 'event'.\",\r\n          \"_enum\": [\r\n            \"request\",\r\n            \"response\",\r\n            \"event\"\r\n          ]\r\n        }\r\n      },\r\n      \"required\": [\r\n        \"seq\",\r\n        \"type\"\r\n      ]\r\n    }\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/quicktype/quicktype/issues/comments/365512015","html_url":"https://github.com/quicktype/quicktype/issues/518#issuecomment-365512015","issue_url":"https://api.github.com/repos/quicktype/quicktype/issues/518","id":365512015,"user":{"login":"Marwes","id":957312,"avatar_url":"https://avatars3.githubusercontent.com/u/957312?v=4","gravatar_id":"","url":"https://api.github.com/users/Marwes","html_url":"https://github.com/Marwes","followers_url":"https://api.github.com/users/Marwes/followers","following_url":"https://api.github.com/users/Marwes/following{/other_user}","gists_url":"https://api.github.com/users/Marwes/gists{/gist_id}","starred_url":"https://api.github.com/users/Marwes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marwes/subscriptions","organizations_url":"https://api.github.com/users/Marwes/orgs","repos_url":"https://api.github.com/users/Marwes/repos","events_url":"https://api.github.com/users/Marwes/events{/privacy}","received_events_url":"https://api.github.com/users/Marwes/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T06:46:38Z","updated_at":"2018-02-14T06:46:38Z","author_association":"NONE","body":"No idea, might just be a typo I guess."}}
{"actor":{"display_login":"Marwes"}}