{"action":"opened","number":559,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/559","id":92290027,"html_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/559","diff_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/559.diff","patch_url":"https://github.com/mapbox/mapbox-gl-style-spec/pull/559.patch","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/559","number":559,"state":"open","locked":false,"title":"Don't rely on splitting on periods; explicitly disallow arbitrary keys in transitions","user":{"login":"lbud","id":3170312,"avatar_url":"https://avatars.githubusercontent.com/u/3170312?v=3","gravatar_id":"","url":"https://api.github.com/users/lbud","html_url":"https://github.com/lbud","followers_url":"https://api.github.com/users/lbud/followers","following_url":"https://api.github.com/users/lbud/following{/other_user}","gists_url":"https://api.github.com/users/lbud/gists{/gist_id}","starred_url":"https://api.github.com/users/lbud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbud/subscriptions","organizations_url":"https://api.github.com/users/lbud/orgs","repos_url":"https://api.github.com/users/lbud/repos","events_url":"https://api.github.com/users/lbud/events{/privacy}","received_events_url":"https://api.github.com/users/lbud/received_events","type":"User","site_admin":false},"body":"Alternative to #558.\r\n\r\nWhile it's doubtful anyone _is_ making up arbitrary keys in transitions in a style, I'd still rather not make the spec any _less_ strict — object validation now relies on a boolean option to error on arbitrary keys (so any other properties that go through vanilla object validation can have arbitrary keys).\r\n\r\n@jfirebaugh @lucaswoj ","created_at":"2016-11-04T06:29:54Z","updated_at":"2016-11-04T06:29:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/559/commits","review_comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/559/comments","review_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/559/comments","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/b41bfed6dfc2937f117647b6659fca7565e9f3af","head":{"label":"mapbox:arbitrary-keys","ref":"arbitrary-keys","sha":"b41bfed6dfc2937f117647b6659fca7565e9f3af","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":18402447,"name":"mapbox-gl-style-spec","full_name":"mapbox/mapbox-gl-style-spec","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-style-spec","description":"The Mapbox Style Specification","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/deployments","created_at":"2014-04-03T12:37:39Z","updated_at":"2016-10-31T13:25:18Z","pushed_at":"2016-11-04T06:29:55Z","git_url":"git://github.com/mapbox/mapbox-gl-style-spec.git","ssh_url":"git@github.com:mapbox/mapbox-gl-style-spec.git","clone_url":"https://github.com/mapbox/mapbox-gl-style-spec.git","svn_url":"https://github.com/mapbox/mapbox-gl-style-spec","homepage":"https://www.mapbox.com/mapbox-gl-style-spec/","size":1954,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":100,"forks":25,"open_issues":100,"watchers":67,"default_branch":"mb-pages"}},"base":{"label":"mapbox:mb-pages","ref":"mb-pages","sha":"ff8e72ae7702e68b2e69f6c54a38fa05ceac02e0","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":18402447,"name":"mapbox-gl-style-spec","full_name":"mapbox/mapbox-gl-style-spec","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars.githubusercontent.com/u/600935?v=3","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-style-spec","description":"The Mapbox Style Specification","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/deployments","created_at":"2014-04-03T12:37:39Z","updated_at":"2016-10-31T13:25:18Z","pushed_at":"2016-11-04T06:29:55Z","git_url":"git://github.com/mapbox/mapbox-gl-style-spec.git","ssh_url":"git@github.com:mapbox/mapbox-gl-style-spec.git","clone_url":"https://github.com/mapbox/mapbox-gl-style-spec.git","svn_url":"https://github.com/mapbox/mapbox-gl-style-spec","homepage":"https://www.mapbox.com/mapbox-gl-style-spec/","size":1954,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":100,"forks":25,"open_issues":100,"watchers":67,"default_branch":"mb-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/559"},"html":{"href":"https://github.com/mapbox/mapbox-gl-style-spec/pull/559"},"issue":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/559"},"comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/559/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/559/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/pulls/559/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/statuses/b41bfed6dfc2937f117647b6659fca7565e9f3af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"lbud"}}