{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/5843","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/5843/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/5843/comments","events_url":"https://api.github.com/repos/composer/composer/issues/5843/events","html_url":"https://github.com/composer/composer/pull/5843","id":187045486,"number":5843,"title":"Enhance the json schema with validation for map objects","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[{"id":237341,"url":"https://api.github.com/repos/composer/composer/labels/Feature","name":"Feature","color":"02e10c","default":false},{"id":262087947,"url":"https://api.github.com/repos/composer/composer/labels/Reviewed","name":"Reviewed","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/composer/composer/milestones/15","html_url":"https://github.com/composer/composer/milestones/1.2","labels_url":"https://api.github.com/repos/composer/composer/milestones/15/labels","id":1737550,"number":15,"title":"1.2","description":"","creator":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":37,"state":"open","created_at":"2016-04-28T22:05:54Z","updated_at":"2016-11-06T16:02:38Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-11-03T12:24:31Z","updated_at":"2016-11-06T16:02:42Z","closed_at":"2016-11-06T16:02:38Z","pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/5843","html_url":"https://github.com/composer/composer/pull/5843","diff_url":"https://github.com/composer/composer/pull/5843.diff","patch_url":"https://github.com/composer/composer/pull/5843.patch"},"body":"``additionalProperties`` does not only accept a boolean, but also a schema object, in which case the value of the additional property must validate this schema (``true`` is equivalent to adding a catch-all schema).\r\n\r\nI added this extra validation for all places using ``additionalProperties`` except 2 of them:\r\n\r\n- ``extra`` because the content is really free-form\r\n- ``repositories`` because the inner content is very complex, and I prefer keeping this in a separate PR (looking at a way to avoid duplicating things in Satis, where we already worked on adding validation for it, and probably submitted to master as it would make bigger changes to the schema)\r\n\r\nRefs #5807"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/258690377","html_url":"https://github.com/composer/composer/pull/5843#issuecomment-258690377","issue_url":"https://api.github.com/repos/composer/composer/issues/5843","id":258690377,"user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T16:02:42Z","updated_at":"2016-11-06T16:02:42Z","body":"Thanks"}}
{"actor":{"display_login":"Seldaek"}}