{"action":"created","comment":{"url":"https://api.github.com/repos/apiaryio/mson/pulls/comments/36618126","id":36618126,"diff_hunk":"@@ -0,0 +1,66 @@\n+# MSON Tutorial\n+\n+MSON is short for Markdown Syntax for Object Notation, and it's a way to represent data structures in a human readable plain text form. This tutorial will take you though the basics of MSON and how you can use MSON to describe a data structure.\n+\n+> **NOTE:** **Additional MSON Resources**\n+>\n+> + [MSON Specification](https://github.com/apiaryio/mson/blob/master/MSON%20Specification.md)\n+> + [Examples](https://github.com/apiaryio/mson#notational-conventions)\n+\n+## Data structures in MSON\n+\n+To get started, we're going to create a data structure in MSON to represent a Person.\n+\n+A data structure to store a Person could be represented in MSON using the following:\n+\n+```apib\n+# Person (object)","path":"Tutorial.md","position":17,"original_position":17,"commit_id":"f7eb7b4819a0ee018f3fef2545371b55071956a0","original_commit_id":"3d34c7a8c7a5b16e62756aa85920ba84e3c94a83","user":{"login":"danielgtaylor","id":106826,"avatar_url":"https://avatars.githubusercontent.com/u/106826?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgtaylor","html_url":"https://github.com/danielgtaylor","followers_url":"https://api.github.com/users/danielgtaylor/followers","following_url":"https://api.github.com/users/danielgtaylor/following{/other_user}","gists_url":"https://api.github.com/users/danielgtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgtaylor/subscriptions","organizations_url":"https://api.github.com/users/danielgtaylor/orgs","repos_url":"https://api.github.com/users/danielgtaylor/repos","events_url":"https://api.github.com/users/danielgtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/danielgtaylor/received_events","type":"User","site_admin":false},"body":"Maybe it's a bug, but this works for me:\r\n\r\n```apib\r\n+ Attributes\r\n    + foo\r\n        + bar\r\n            + baz: abc, def\r\n```\r\n\r\nOutput from Drafter.js:\r\n\r\n```json\r\n{\r\n  \"foo\": {\r\n    \"bar\": {\r\n      \"baz\": [\"abc\", \"def\"]\r\n    }\r\n  }\r\n}\r\n```","created_at":"2015-08-10T10:23:31Z","updated_at":"2015-08-10T10:23:31Z","html_url":"https://github.com/apiaryio/mson/pull/34#discussion_r36618126","pull_request_url":"https://api.github.com/repos/apiaryio/mson/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/apiaryio/mson/pulls/comments/36618126"},"html":{"href":"https://github.com/apiaryio/mson/pull/34#discussion_r36618126"},"pull_request":{"href":"https://api.github.com/repos/apiaryio/mson/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/apiaryio/mson/pulls/34","id":41978488,"html_url":"https://github.com/apiaryio/mson/pull/34","diff_url":"https://github.com/apiaryio/mson/pull/34.diff","patch_url":"https://github.com/apiaryio/mson/pull/34.patch","issue_url":"https://api.github.com/repos/apiaryio/mson/issues/34","number":34,"state":"open","locked":false,"title":"Add a tutorial for getting started with MSON","user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-09T22:41:20Z","updated_at":"2015-08-10T10:23:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d162379725d398f3531142bbf2ea9212f47beb65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/mson/pulls/34/commits","review_comments_url":"https://api.github.com/repos/apiaryio/mson/pulls/34/comments","review_comment_url":"https://api.github.com/repos/apiaryio/mson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apiaryio/mson/issues/34/comments","statuses_url":"https://api.github.com/repos/apiaryio/mson/statuses/f7eb7b4819a0ee018f3fef2545371b55071956a0","head":{"label":"apiaryio:kylef/tutorial","ref":"kylef/tutorial","sha":"f7eb7b4819a0ee018f3fef2545371b55071956a0","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":18439299,"name":"mson","full_name":"apiaryio/mson","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/mson","description":"Markdown Syntax for Object Notation","fork":false,"url":"https://api.github.com/repos/apiaryio/mson","forks_url":"https://api.github.com/repos/apiaryio/mson/forks","keys_url":"https://api.github.com/repos/apiaryio/mson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/mson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/mson/teams","hooks_url":"https://api.github.com/repos/apiaryio/mson/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/mson/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/mson/events","assignees_url":"https://api.github.com/repos/apiaryio/mson/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/mson/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/mson/tags","blobs_url":"https://api.github.com/repos/apiaryio/mson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/mson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/mson/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/mson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/mson/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/mson/languages","stargazers_url":"https://api.github.com/repos/apiaryio/mson/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/mson/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/mson/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/mson/subscription","commits_url":"https://api.github.com/repos/apiaryio/mson/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/mson/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/mson/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/mson/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/mson/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/mson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/mson/merges","archive_url":"https://api.github.com/repos/apiaryio/mson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/mson/downloads","issues_url":"https://api.github.com/repos/apiaryio/mson/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/mson/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/mson/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/mson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/mson/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/mson/releases{/id}","created_at":"2014-04-04T13:11:23Z","updated_at":"2015-08-10T03:52:14Z","pushed_at":"2015-08-10T10:12:51Z","git_url":"git://github.com/apiaryio/mson.git","ssh_url":"git@github.com:apiaryio/mson.git","clone_url":"https://github.com/apiaryio/mson.git","svn_url":"https://github.com/apiaryio/mson","homepage":null,"size":902,"stargazers_count":217,"watchers_count":217,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":12,"forks":15,"open_issues":12,"watchers":217,"default_branch":"master"}},"base":{"label":"apiaryio:master","ref":"master","sha":"00c2ec7bb35cef3bfdcec70a31efa628d3312ffe","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":18439299,"name":"mson","full_name":"apiaryio/mson","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/mson","description":"Markdown Syntax for Object Notation","fork":false,"url":"https://api.github.com/repos/apiaryio/mson","forks_url":"https://api.github.com/repos/apiaryio/mson/forks","keys_url":"https://api.github.com/repos/apiaryio/mson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/mson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/mson/teams","hooks_url":"https://api.github.com/repos/apiaryio/mson/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/mson/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/mson/events","assignees_url":"https://api.github.com/repos/apiaryio/mson/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/mson/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/mson/tags","blobs_url":"https://api.github.com/repos/apiaryio/mson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/mson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/mson/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/mson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/mson/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/mson/languages","stargazers_url":"https://api.github.com/repos/apiaryio/mson/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/mson/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/mson/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/mson/subscription","commits_url":"https://api.github.com/repos/apiaryio/mson/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/mson/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/mson/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/mson/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/mson/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/mson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/mson/merges","archive_url":"https://api.github.com/repos/apiaryio/mson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/mson/downloads","issues_url":"https://api.github.com/repos/apiaryio/mson/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/mson/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/mson/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/mson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/mson/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/mson/releases{/id}","created_at":"2014-04-04T13:11:23Z","updated_at":"2015-08-10T03:52:14Z","pushed_at":"2015-08-10T10:12:51Z","git_url":"git://github.com/apiaryio/mson.git","ssh_url":"git@github.com:apiaryio/mson.git","clone_url":"https://github.com/apiaryio/mson.git","svn_url":"https://github.com/apiaryio/mson","homepage":null,"size":902,"stargazers_count":217,"watchers_count":217,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":12,"forks":15,"open_issues":12,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apiaryio/mson/pulls/34"},"html":{"href":"https://github.com/apiaryio/mson/pull/34"},"issue":{"href":"https://api.github.com/repos/apiaryio/mson/issues/34"},"comments":{"href":"https://api.github.com/repos/apiaryio/mson/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/mson/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/mson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/mson/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/mson/statuses/f7eb7b4819a0ee018f3fef2545371b55071956a0"}}}}