{"action":"created","issue":{"url":"https://api.github.com/repos/vega/vega-lite/issues/1381","repository_url":"https://api.github.com/repos/vega/vega-lite","labels_url":"https://api.github.com/repos/vega/vega-lite/issues/1381/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega-lite/issues/1381/comments","events_url":"https://api.github.com/repos/vega/vega-lite/issues/1381/events","html_url":"https://github.com/vega/vega-lite/issues/1381","id":156085498,"number":1381,"title":"Modify interface for Data","user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vega/vega-lite/labels/%23-to%20assign","name":"#-to assign","color":"FF6666"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-21T05:36:08Z","updated_at":"2016-05-21T05:36:29Z","closed_at":null,"body":"```\r\nexport interface Data {\r\n  formatType?: DataFormat;\r\n  url?: string;\r\n  /**\r\n   * Pass array of objects instead of a url to a file.\r\n   */\r\n  values?: any[];\r\n}\r\n```\r\n\r\nPractically, we should split this into `type Data = UrlData | InlineData` where `UrlData` contains `url` and `formatType` while `InlineData` contains `values`."},"comment":{"url":"https://api.github.com/repos/vega/vega-lite/issues/comments/220760061","html_url":"https://github.com/vega/vega-lite/issues/1381#issuecomment-220760061","issue_url":"https://api.github.com/repos/vega/vega-lite/issues/1381","id":220760061,"user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T05:36:29Z","updated_at":"2016-05-21T05:36:29Z","body":"This way, we will get more correct JSON schema. "}}
{"actor":{"display_login":"kanitw"}}