{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/2","id":51425004,"html_url":"https://github.com/mreinstein/alexa-utterances/pull/2","diff_url":"https://github.com/mreinstein/alexa-utterances/pull/2.diff","patch_url":"https://github.com/mreinstein/alexa-utterances/pull/2.patch","issue_url":"https://api.github.com/repos/mreinstein/alexa-utterances/issues/2","number":2,"state":"closed","locked":false,"title":"switch from curly braces to parens for groupers","user":{"login":"rickwargo","id":430137,"avatar_url":"https://avatars.githubusercontent.com/u/430137?v=3","gravatar_id":"","url":"https://api.github.com/users/rickwargo","html_url":"https://github.com/rickwargo","followers_url":"https://api.github.com/users/rickwargo/followers","following_url":"https://api.github.com/users/rickwargo/following{/other_user}","gists_url":"https://api.github.com/users/rickwargo/gists{/gist_id}","starred_url":"https://api.github.com/users/rickwargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickwargo/subscriptions","organizations_url":"https://api.github.com/users/rickwargo/orgs","repos_url":"https://api.github.com/users/rickwargo/repos","events_url":"https://api.github.com/users/rickwargo/events{/privacy}","received_events_url":"https://api.github.com/users/rickwargo/received_events","type":"User","site_admin":false},"body":"To support custom slot types for [alexa-app](https://github.com/matt-kruse/alexa-app), I had to switch your convention of using curly braces to wrap groups to parens. The curly brace construct is used to represent a custom slot type. I know this will affect all of your code, but I think going forward it makes it easier to embrace the custom slot types.\r\n\r\nAn example of a schema that makes use of this new construct follows; note the utterances:\r\n\r\n    {\r\n        \"slots\": {\r\n            \"Level\": \"LIST_OF_LEVELS\"\r\n        },\r\n        \"slot_types\": [\r\n            {\r\n                \"name\":\"Level\",\r\n                \"values\":[\"beginner\",\"easy\",\"normal\",\"medium\",\"average\",\"standard\",\"advanced\",\"challenging\",\"hard\",\"difficult\"]\r\n            }\r\n        ],\r\n        \"utterances\": [\r\n            \"(change|switch) (level to|to level|to) {Level} (|problems|questions|challenges)\",\r\n            \"new level {Level}\"\r\n        ]\r\n    }","created_at":"2015-11-21T00:10:12Z","updated_at":"2016-05-18T19:53:26Z","closed_at":"2016-05-18T19:53:26Z","merged_at":null,"merge_commit_sha":"f8a1d839f6c303bd94e5d901eb48be43f00f18dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mreinstein/alexa-utterances/issues/2/comments","statuses_url":"https://api.github.com/repos/mreinstein/alexa-utterances/statuses/43fbe74c69205ede8cd2663bd13cfb7a734cbe53","head":{"label":"rickwargo:change-from-curly-braces-to-parens","ref":"change-from-curly-braces-to-parens","sha":"43fbe74c69205ede8cd2663bd13cfb7a734cbe53","user":{"login":"rickwargo","id":430137,"avatar_url":"https://avatars.githubusercontent.com/u/430137?v=3","gravatar_id":"","url":"https://api.github.com/users/rickwargo","html_url":"https://github.com/rickwargo","followers_url":"https://api.github.com/users/rickwargo/followers","following_url":"https://api.github.com/users/rickwargo/following{/other_user}","gists_url":"https://api.github.com/users/rickwargo/gists{/gist_id}","starred_url":"https://api.github.com/users/rickwargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickwargo/subscriptions","organizations_url":"https://api.github.com/users/rickwargo/orgs","repos_url":"https://api.github.com/users/rickwargo/repos","events_url":"https://api.github.com/users/rickwargo/events{/privacy}","received_events_url":"https://api.github.com/users/rickwargo/received_events","type":"User","site_admin":false},"repo":{"id":46593378,"name":"alexa-utterances","full_name":"rickwargo/alexa-utterances","owner":{"login":"rickwargo","id":430137,"avatar_url":"https://avatars.githubusercontent.com/u/430137?v=3","gravatar_id":"","url":"https://api.github.com/users/rickwargo","html_url":"https://github.com/rickwargo","followers_url":"https://api.github.com/users/rickwargo/followers","following_url":"https://api.github.com/users/rickwargo/following{/other_user}","gists_url":"https://api.github.com/users/rickwargo/gists{/gist_id}","starred_url":"https://api.github.com/users/rickwargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickwargo/subscriptions","organizations_url":"https://api.github.com/users/rickwargo/orgs","repos_url":"https://api.github.com/users/rickwargo/repos","events_url":"https://api.github.com/users/rickwargo/events{/privacy}","received_events_url":"https://api.github.com/users/rickwargo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rickwargo/alexa-utterances","description":"generate expanded utterances for Amazon Alexa from a template string ","fork":true,"url":"https://api.github.com/repos/rickwargo/alexa-utterances","forks_url":"https://api.github.com/repos/rickwargo/alexa-utterances/forks","keys_url":"https://api.github.com/repos/rickwargo/alexa-utterances/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rickwargo/alexa-utterances/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rickwargo/alexa-utterances/teams","hooks_url":"https://api.github.com/repos/rickwargo/alexa-utterances/hooks","issue_events_url":"https://api.github.com/repos/rickwargo/alexa-utterances/issues/events{/number}","events_url":"https://api.github.com/repos/rickwargo/alexa-utterances/events","assignees_url":"https://api.github.com/repos/rickwargo/alexa-utterances/assignees{/user}","branches_url":"https://api.github.com/repos/rickwargo/alexa-utterances/branches{/branch}","tags_url":"https://api.github.com/repos/rickwargo/alexa-utterances/tags","blobs_url":"https://api.github.com/repos/rickwargo/alexa-utterances/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rickwargo/alexa-utterances/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rickwargo/alexa-utterances/git/refs{/sha}","trees_url":"https://api.github.com/repos/rickwargo/alexa-utterances/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rickwargo/alexa-utterances/statuses/{sha}","languages_url":"https://api.github.com/repos/rickwargo/alexa-utterances/languages","stargazers_url":"https://api.github.com/repos/rickwargo/alexa-utterances/stargazers","contributors_url":"https://api.github.com/repos/rickwargo/alexa-utterances/contributors","subscribers_url":"https://api.github.com/repos/rickwargo/alexa-utterances/subscribers","subscription_url":"https://api.github.com/repos/rickwargo/alexa-utterances/subscription","commits_url":"https://api.github.com/repos/rickwargo/alexa-utterances/commits{/sha}","git_commits_url":"https://api.github.com/repos/rickwargo/alexa-utterances/git/commits{/sha}","comments_url":"https://api.github.com/repos/rickwargo/alexa-utterances/comments{/number}","issue_comment_url":"https://api.github.com/repos/rickwargo/alexa-utterances/issues/comments{/number}","contents_url":"https://api.github.com/repos/rickwargo/alexa-utterances/contents/{+path}","compare_url":"https://api.github.com/repos/rickwargo/alexa-utterances/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rickwargo/alexa-utterances/merges","archive_url":"https://api.github.com/repos/rickwargo/alexa-utterances/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rickwargo/alexa-utterances/downloads","issues_url":"https://api.github.com/repos/rickwargo/alexa-utterances/issues{/number}","pulls_url":"https://api.github.com/repos/rickwargo/alexa-utterances/pulls{/number}","milestones_url":"https://api.github.com/repos/rickwargo/alexa-utterances/milestones{/number}","notifications_url":"https://api.github.com/repos/rickwargo/alexa-utterances/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rickwargo/alexa-utterances/labels{/name}","releases_url":"https://api.github.com/repos/rickwargo/alexa-utterances/releases{/id}","deployments_url":"https://api.github.com/repos/rickwargo/alexa-utterances/deployments","created_at":"2015-11-20T23:56:36Z","updated_at":"2016-05-17T23:50:23Z","pushed_at":"2016-05-18T01:24:21Z","git_url":"git://github.com/rickwargo/alexa-utterances.git","ssh_url":"git@github.com:rickwargo/alexa-utterances.git","clone_url":"https://github.com/rickwargo/alexa-utterances.git","svn_url":"https://github.com/rickwargo/alexa-utterances","homepage":"","size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mreinstein:master","ref":"master","sha":"e36ad2dab982797e6070b1d64cf7632a133b7601","user":{"login":"mreinstein","id":718067,"avatar_url":"https://avatars.githubusercontent.com/u/718067?v=3","gravatar_id":"","url":"https://api.github.com/users/mreinstein","html_url":"https://github.com/mreinstein","followers_url":"https://api.github.com/users/mreinstein/followers","following_url":"https://api.github.com/users/mreinstein/following{/other_user}","gists_url":"https://api.github.com/users/mreinstein/gists{/gist_id}","starred_url":"https://api.github.com/users/mreinstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreinstein/subscriptions","organizations_url":"https://api.github.com/users/mreinstein/orgs","repos_url":"https://api.github.com/users/mreinstein/repos","events_url":"https://api.github.com/users/mreinstein/events{/privacy}","received_events_url":"https://api.github.com/users/mreinstein/received_events","type":"User","site_admin":false},"repo":{"id":44696712,"name":"alexa-utterances","full_name":"mreinstein/alexa-utterances","owner":{"login":"mreinstein","id":718067,"avatar_url":"https://avatars.githubusercontent.com/u/718067?v=3","gravatar_id":"","url":"https://api.github.com/users/mreinstein","html_url":"https://github.com/mreinstein","followers_url":"https://api.github.com/users/mreinstein/followers","following_url":"https://api.github.com/users/mreinstein/following{/other_user}","gists_url":"https://api.github.com/users/mreinstein/gists{/gist_id}","starred_url":"https://api.github.com/users/mreinstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreinstein/subscriptions","organizations_url":"https://api.github.com/users/mreinstein/orgs","repos_url":"https://api.github.com/users/mreinstein/repos","events_url":"https://api.github.com/users/mreinstein/events{/privacy}","received_events_url":"https://api.github.com/users/mreinstein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mreinstein/alexa-utterances","description":"generate expanded utterances for Amazon Alexa from a template string ","fork":false,"url":"https://api.github.com/repos/mreinstein/alexa-utterances","forks_url":"https://api.github.com/repos/mreinstein/alexa-utterances/forks","keys_url":"https://api.github.com/repos/mreinstein/alexa-utterances/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mreinstein/alexa-utterances/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mreinstein/alexa-utterances/teams","hooks_url":"https://api.github.com/repos/mreinstein/alexa-utterances/hooks","issue_events_url":"https://api.github.com/repos/mreinstein/alexa-utterances/issues/events{/number}","events_url":"https://api.github.com/repos/mreinstein/alexa-utterances/events","assignees_url":"https://api.github.com/repos/mreinstein/alexa-utterances/assignees{/user}","branches_url":"https://api.github.com/repos/mreinstein/alexa-utterances/branches{/branch}","tags_url":"https://api.github.com/repos/mreinstein/alexa-utterances/tags","blobs_url":"https://api.github.com/repos/mreinstein/alexa-utterances/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mreinstein/alexa-utterances/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mreinstein/alexa-utterances/git/refs{/sha}","trees_url":"https://api.github.com/repos/mreinstein/alexa-utterances/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mreinstein/alexa-utterances/statuses/{sha}","languages_url":"https://api.github.com/repos/mreinstein/alexa-utterances/languages","stargazers_url":"https://api.github.com/repos/mreinstein/alexa-utterances/stargazers","contributors_url":"https://api.github.com/repos/mreinstein/alexa-utterances/contributors","subscribers_url":"https://api.github.com/repos/mreinstein/alexa-utterances/subscribers","subscription_url":"https://api.github.com/repos/mreinstein/alexa-utterances/subscription","commits_url":"https://api.github.com/repos/mreinstein/alexa-utterances/commits{/sha}","git_commits_url":"https://api.github.com/repos/mreinstein/alexa-utterances/git/commits{/sha}","comments_url":"https://api.github.com/repos/mreinstein/alexa-utterances/comments{/number}","issue_comment_url":"https://api.github.com/repos/mreinstein/alexa-utterances/issues/comments{/number}","contents_url":"https://api.github.com/repos/mreinstein/alexa-utterances/contents/{+path}","compare_url":"https://api.github.com/repos/mreinstein/alexa-utterances/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mreinstein/alexa-utterances/merges","archive_url":"https://api.github.com/repos/mreinstein/alexa-utterances/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mreinstein/alexa-utterances/downloads","issues_url":"https://api.github.com/repos/mreinstein/alexa-utterances/issues{/number}","pulls_url":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls{/number}","milestones_url":"https://api.github.com/repos/mreinstein/alexa-utterances/milestones{/number}","notifications_url":"https://api.github.com/repos/mreinstein/alexa-utterances/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mreinstein/alexa-utterances/labels{/name}","releases_url":"https://api.github.com/repos/mreinstein/alexa-utterances/releases{/id}","deployments_url":"https://api.github.com/repos/mreinstein/alexa-utterances/deployments","created_at":"2015-10-21T18:39:23Z","updated_at":"2016-05-17T17:16:58Z","pushed_at":"2016-05-18T19:45:27Z","git_url":"git://github.com/mreinstein/alexa-utterances.git","ssh_url":"git@github.com:mreinstein/alexa-utterances.git","clone_url":"https://github.com/mreinstein/alexa-utterances.git","svn_url":"https://github.com/mreinstein/alexa-utterances","homepage":"","size":22,"stargazers_count":25,"watchers_count":25,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/2"},"html":{"href":"https://github.com/mreinstein/alexa-utterances/pull/2"},"issue":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/issues/2"},"comments":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mreinstein/alexa-utterances/statuses/43fbe74c69205ede8cd2663bd13cfb7a734cbe53"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":18,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}