payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/12887","repository_url":"https://api.github.com/repos/Yoast/wordpress-seo","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/12887/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/12887/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/12887/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/12887","id":441655166,"node_id":"MDU6SXNzdWU0NDE2NTUxNjY=","number":12887,"title":"Add comments into schema graph","user":{"login":"jono-alderson","id":11629607,"node_id":"MDQ6VXNlcjExNjI5NjA3","avatar_url":"https://avatars3.githubusercontent.com/u/11629607?v=4","gravatar_id":"","url":"https://api.github.com/users/jono-alderson","html_url":"https://github.com/jono-alderson","followers_url":"https://api.github.com/users/jono-alderson/followers","following_url":"https://api.github.com/users/jono-alderson/following{/other_user}","gists_url":"https://api.github.com/users/jono-alderson/gists{/gist_id}","starred_url":"https://api.github.com/users/jono-alderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jono-alderson/subscriptions","organizations_url":"https://api.github.com/users/jono-alderson/orgs","repos_url":"https://api.github.com/users/jono-alderson/repos","events_url":"https://api.github.com/users/jono-alderson/events{/privacy}","received_events_url":"https://api.github.com/users/jono-alderson/received_events","type":"User","site_admin":false},"labels":[{"id":1124877563,"node_id":"MDU6TGFiZWwxMTI0ODc3NTYz","url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/component:%20schema%20(JSON+LD)","name":"component: schema (JSON+LD)","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-08T10:07:41Z","updated_at":"2019-05-10T20:16:52Z","closed_at":null,"author_association":"NONE","body":"When a post has comments, we should stitch these into our graph. This should apply to all posts which have comments enabled (even if there are 0 comments).\r\n\r\nNB: This should include scenarios where WooCommerce (and others) use comments for other purposes, such as reviews. See https://github.com/Yoast/wpseo-woocommerce/issues/365.\r\n\r\n## Structure\r\nProperties should be added to `Article` when used, or, to `WebPage` when the post is not an `Article` type.\r\n- [x] Add a `commentCount` property (integer)\r\n- [ ] If comments exist, add a `comment` property, containing an array of `Comment` nodes.\r\n\r\n## Comment nodes\r\nEach comment node should be output as a distinct, top-level node, containing:\r\n- [ ] `@id` (`{{path}}/#comment-1234`)\r\n- [ ] `about` (referencing the ID of the `WebPage`/`Article`)\r\n- [ ] `text` (the textual content of the comment, stripping HTML tags)\r\n- [ ] `author` (referencing the author node by ID)\r\n\r\n## Author nodes\r\nEach comment author should be output as a distinct, top-level node, containing:\r\n- [ ] `@id` (for public authors, `{{path}}/#comment-author-1234`. For registered/site authors, as per normal behaviour/)\r\n- [ ] `author` (a `person` node for the comment author, with all of the available attributes which are present for that person)\r\n\r\n## Product reviews\r\n- [ ] Fix WooCommerce reviews/comments structure: https://github.com/Yoast/wpseo-woocommerce/issues/365"},"comment":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments/491417291","html_url":"https://github.com/Yoast/wordpress-seo/issues/12887#issuecomment-491417291","issue_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/12887","id":491417291,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MTQxNzI5MQ==","user":{"login":"moorscode","id":2005352,"node_id":"MDQ6VXNlcjIwMDUzNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/2005352?v=4","gravatar_id":"","url":"https://api.github.com/users/moorscode","html_url":"https://github.com/moorscode","followers_url":"https://api.github.com/users/moorscode/followers","following_url":"https://api.github.com/users/moorscode/following{/other_user}","gists_url":"https://api.github.com/users/moorscode/gists{/gist_id}","starred_url":"https://api.github.com/users/moorscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorscode/subscriptions","organizations_url":"https://api.github.com/users/moorscode/orgs","repos_url":"https://api.github.com/users/moorscode/repos","events_url":"https://api.github.com/users/moorscode/events{/privacy}","received_events_url":"https://api.github.com/users/moorscode/received_events","type":"User","site_admin":false},"created_at":"2019-05-10T20:16:52Z","updated_at":"2019-05-10T20:16:52Z","author_association":"MEMBER","body":"`{{path}}/#comment-author-1234`\r\n\r\nI don't this this number should be the (database) ID of the author.\r\n\r\n"}}
other: {"actor":{"display_login":"moorscode"}}