{"action":"created","issue":{"url":"https://api.github.com/repos/dryrb/dry-validation/issues/37","labels_url":"https://api.github.com/repos/dryrb/dry-validation/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/dryrb/dry-validation/issues/37/comments","events_url":"https://api.github.com/repos/dryrb/dry-validation/issues/37/events","html_url":"https://github.com/dryrb/dry-validation/issues/37","id":122122111,"number":37,"title":"Collection aggregation validation","user":{"login":"dnd","id":37888,"avatar_url":"https://avatars.githubusercontent.com/u/37888?v=3","gravatar_id":"","url":"https://api.github.com/users/dnd","html_url":"https://github.com/dnd","followers_url":"https://api.github.com/users/dnd/followers","following_url":"https://api.github.com/users/dnd/following{/other_user}","gists_url":"https://api.github.com/users/dnd/gists{/gist_id}","starred_url":"https://api.github.com/users/dnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnd/subscriptions","organizations_url":"https://api.github.com/users/dnd/orgs","repos_url":"https://api.github.com/users/dnd/repos","events_url":"https://api.github.com/users/dnd/events{/privacy}","received_events_url":"https://api.github.com/users/dnd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-14T20:16:36Z","updated_at":"2015-12-14T20:21:55Z","closed_at":null,"body":"What's the recommended way(if possible) to validate aggregate values on a collection? Say I want the sum of all amounts in a nested collection to equal a value of the main object, or there should be at least n items in the collection with property y."},"comment":{"url":"https://api.github.com/repos/dryrb/dry-validation/issues/comments/164548347","html_url":"https://github.com/dryrb/dry-validation/issues/37#issuecomment-164548347","issue_url":"https://api.github.com/repos/dryrb/dry-validation/issues/37","id":164548347,"user":{"login":"solnic","id":1066,"avatar_url":"https://avatars.githubusercontent.com/u/1066?v=3","gravatar_id":"","url":"https://api.github.com/users/solnic","html_url":"https://github.com/solnic","followers_url":"https://api.github.com/users/solnic/followers","following_url":"https://api.github.com/users/solnic/following{/other_user}","gists_url":"https://api.github.com/users/solnic/gists{/gist_id}","starred_url":"https://api.github.com/users/solnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solnic/subscriptions","organizations_url":"https://api.github.com/users/solnic/orgs","repos_url":"https://api.github.com/users/solnic/repos","events_url":"https://api.github.com/users/solnic/events{/privacy}","received_events_url":"https://api.github.com/users/solnic/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T20:21:55Z","updated_at":"2015-12-14T20:21:55Z","body":"Depends. Please provide a specific use case, if possible :)"}}