{"action":"created","comment":{"url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/comments/23825665","id":23825665,"diff_hunk":"@@ -382,7 +375,19 @@ Two supported, feature-equal serialization formats are JSON and YAML:\n                     }\n                   ]\n                 }\n-              ]\n+              ],\n+              \"content\": [\n+                {\n+                  \"element\": \"dataStructure\",\n+                  \"name\": null,\n+                  \"base\": {\n+                    \"typeSpecification\": {\n+                      \"name\": \"<sub-type>\"\n+                    }\n+                  },\n+                  \"sections\": null","path":"README.md","position":257,"original_position":257,"commit_id":"5186a049ae9fcf3e23d612c17f7a4370a52f07af","original_commit_id":"5186a049ae9fcf3e23d612c17f7a4370a52f07af","user":{"login":"pksunkara","id":174703,"avatar_url":"https://avatars.githubusercontent.com/u/174703?v=3","gravatar_id":"","url":"https://api.github.com/users/pksunkara","html_url":"https://github.com/pksunkara","followers_url":"https://api.github.com/users/pksunkara/followers","following_url":"https://api.github.com/users/pksunkara/following{/other_user}","gists_url":"https://api.github.com/users/pksunkara/gists{/gist_id}","starred_url":"https://api.github.com/users/pksunkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksunkara/subscriptions","organizations_url":"https://api.github.com/users/pksunkara/orgs","repos_url":"https://api.github.com/users/pksunkara/repos","events_url":"https://api.github.com/users/pksunkara/events{/privacy}","received_events_url":"https://api.github.com/users/pksunkara/received_events","type":"User","site_admin":false},"body":"ditto","created_at":"2015-01-30T06:07:57Z","updated_at":"2015-01-30T06:07:57Z","html_url":"https://github.com/apiaryio/api-blueprint-ast/pull/25#discussion_r23825665","pull_request_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/comments/23825665"},"html":{"href":"https://github.com/apiaryio/api-blueprint-ast/pull/25#discussion_r23825665"},"pull_request":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25","id":28299852,"html_url":"https://github.com/apiaryio/api-blueprint-ast/pull/25","diff_url":"https://github.com/apiaryio/api-blueprint-ast/pull/25.diff","patch_url":"https://github.com/apiaryio/api-blueprint-ast/pull/25.patch","issue_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/25","number":25,"state":"open","locked":false,"title":"Turn MSON attributes into Elements","user":{"login":"zdne","id":613617,"avatar_url":"https://avatars.githubusercontent.com/u/613617?v=3","gravatar_id":"","url":"https://api.github.com/users/zdne","html_url":"https://github.com/zdne","followers_url":"https://api.github.com/users/zdne/followers","following_url":"https://api.github.com/users/zdne/following{/other_user}","gists_url":"https://api.github.com/users/zdne/gists{/gist_id}","starred_url":"https://api.github.com/users/zdne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdne/subscriptions","organizations_url":"https://api.github.com/users/zdne/orgs","repos_url":"https://api.github.com/users/zdne/repos","events_url":"https://api.github.com/users/zdne/events{/privacy}","received_events_url":"https://api.github.com/users/zdne/received_events","type":"User","site_admin":false},"body":"For @pksunkara to review. Note I wonder whether we shouldn't turn Asset(s) into element already since this is something new we are introducing in this PR and we already know we will change it in the near future. \r\n\r\n---\r\n\r\nThis commit removes “attributes” properties of Resource / Action /\r\nPayload object so they can be used in the future by the Element\r\nstructure.\r\n\r\nThe `Attributes` object is replaced by `Data Structure` object which\r\nwill be eventually defined in MSON AST as an element of `dataStructure`\r\ntype.\r\n\r\nIn addition this commit brings some clarification to deprecation\r\nmessages.\r\n\r\n---\r\n\r\nUpdate: \r\n\r\nThis PR also does not solves the issue of expanding (dereferencing) Named types. Originally we were having `source` and `resolved` properties for this, but they are no longer present in the `Data Structure` object. This will be addressed in the final element (ex-JDOM) spec. Meanwhile I think, in the interim period, we should deal with it outside of this specification (in the Drafter interface). We can discuss this offline. \r\n\r\n","created_at":"2015-01-29T17:52:02Z","updated_at":"2015-01-30T06:07:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49da6ca8c7efb115b08aec3c4455e5df3a709b74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25/commits","review_comments_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25/comments","review_comment_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/comments/{number}","comments_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/25/comments","statuses_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/statuses/5186a049ae9fcf3e23d612c17f7a4370a52f07af","head":{"label":"apiaryio:zdne/attributes-element","ref":"zdne/attributes-element","sha":"5186a049ae9fcf3e23d612c17f7a4370a52f07af","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":16068699,"name":"api-blueprint-ast","full_name":"apiaryio/api-blueprint-ast","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/api-blueprint-ast","description":"API Blueprint AST Serialization Media Types","fork":false,"url":"https://api.github.com/repos/apiaryio/api-blueprint-ast","forks_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/forks","keys_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/teams","hooks_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/events","assignees_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/tags","blobs_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/languages","stargazers_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/subscription","commits_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/comments/{number}","contents_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/merges","archive_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/downloads","issues_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/releases{/id}","created_at":"2014-01-20T11:20:17Z","updated_at":"2015-01-12T03:31:31Z","pushed_at":"2015-01-29T17:49:45Z","git_url":"git://github.com/apiaryio/api-blueprint-ast.git","ssh_url":"git@github.com:apiaryio/api-blueprint-ast.git","clone_url":"https://github.com/apiaryio/api-blueprint-ast.git","svn_url":"https://github.com/apiaryio/api-blueprint-ast","homepage":null,"size":1072,"stargazers_count":14,"watchers_count":14,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":14,"default_branch":"master"}},"base":{"label":"apiaryio:zdne/attributes-description","ref":"zdne/attributes-description","sha":"17345fe742dfe32b84d7b280cb3479c1fac94db3","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":16068699,"name":"api-blueprint-ast","full_name":"apiaryio/api-blueprint-ast","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/api-blueprint-ast","description":"API Blueprint AST Serialization Media Types","fork":false,"url":"https://api.github.com/repos/apiaryio/api-blueprint-ast","forks_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/forks","keys_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/teams","hooks_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/events","assignees_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/tags","blobs_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/languages","stargazers_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/subscription","commits_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/comments/{number}","contents_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/merges","archive_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/downloads","issues_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/api-blueprint-ast/releases{/id}","created_at":"2014-01-20T11:20:17Z","updated_at":"2015-01-12T03:31:31Z","pushed_at":"2015-01-29T17:49:45Z","git_url":"git://github.com/apiaryio/api-blueprint-ast.git","ssh_url":"git@github.com:apiaryio/api-blueprint-ast.git","clone_url":"https://github.com/apiaryio/api-blueprint-ast.git","svn_url":"https://github.com/apiaryio/api-blueprint-ast","homepage":null,"size":1072,"stargazers_count":14,"watchers_count":14,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25"},"html":{"href":"https://github.com/apiaryio/api-blueprint-ast/pull/25"},"issue":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/25"},"comments":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/api-blueprint-ast/statuses/5186a049ae9fcf3e23d612c17f7a4370a52f07af"}}}}