{"action":"created","issue":{"url":"https://api.github.com/repos/json-api/json-api/issues/588","labels_url":"https://api.github.com/repos/json-api/json-api/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/json-api/json-api/issues/588/comments","events_url":"https://api.github.com/repos/json-api/json-api/issues/588/events","html_url":"https://github.com/json-api/json-api/pull/588","id":72425584,"number":588,"title":"reserve attributes in top level of resource object","user":{"login":"tkellen","id":1004324,"avatar_url":"https://avatars.githubusercontent.com/u/1004324?v=3","gravatar_id":"","url":"https://api.github.com/users/tkellen","html_url":"https://github.com/tkellen","followers_url":"https://api.github.com/users/tkellen/followers","following_url":"https://api.github.com/users/tkellen/following{/other_user}","gists_url":"https://api.github.com/users/tkellen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkellen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkellen/subscriptions","organizations_url":"https://api.github.com/users/tkellen/orgs","repos_url":"https://api.github.com/users/tkellen/repos","events_url":"https://api.github.com/users/tkellen/events{/privacy}","received_events_url":"https://api.github.com/users/tkellen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-05-01T12:40:16Z","updated_at":"2015-05-04T18:38:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/json-api/json-api/pulls/588","html_url":"https://github.com/json-api/json-api/pull/588","diff_url":"https://github.com/json-api/json-api/pull/588.diff","patch_url":"https://github.com/json-api/json-api/pull/588.patch"},"body":"This addresses the discussion in #573."},"comment":{"url":"https://api.github.com/repos/json-api/json-api/issues/comments/98808734","html_url":"https://github.com/json-api/json-api/pull/588#issuecomment-98808734","issue_url":"https://api.github.com/repos/json-api/json-api/issues/588","id":98808734,"user":{"login":"dgeb","id":29122,"avatar_url":"https://avatars.githubusercontent.com/u/29122?v=3","gravatar_id":"","url":"https://api.github.com/users/dgeb","html_url":"https://github.com/dgeb","followers_url":"https://api.github.com/users/dgeb/followers","following_url":"https://api.github.com/users/dgeb/following{/other_user}","gists_url":"https://api.github.com/users/dgeb/gists{/gist_id}","starred_url":"https://api.github.com/users/dgeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgeb/subscriptions","organizations_url":"https://api.github.com/users/dgeb/orgs","repos_url":"https://api.github.com/users/dgeb/repos","events_url":"https://api.github.com/users/dgeb/events{/privacy}","received_events_url":"https://api.github.com/users/dgeb/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T18:38:46Z","updated_at":"2015-05-04T18:38:46Z","body":"Since JSON API has a concept of `type`, implementations should adapt to it or choose a different word.\r\n\r\nI believe it would be a source of confusion to allow a resource's top-level `id` or `type` to coexist along with a separate attribute also named `id` or `type`. Similarly, I believe it would be a source of confusion to allow `@id` / `@type` to coexist with `id` / `type`."}}