{"action":"created","issue":{"url":"https://api.github.com/repos/in-toto/in-toto/issues/48","repository_url":"https://api.github.com/repos/in-toto/in-toto","labels_url":"https://api.github.com/repos/in-toto/in-toto/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/in-toto/in-toto/issues/48/comments","events_url":"https://api.github.com/repos/in-toto/in-toto/issues/48/events","html_url":"https://github.com/in-toto/in-toto/pull/48","id":190529890,"number":48,"title":"13 use validators for the models","user":{"login":"SantiagoTorres","id":3579933,"avatar_url":"https://avatars.githubusercontent.com/u/3579933?v=3","gravatar_id":"","url":"https://api.github.com/users/SantiagoTorres","html_url":"https://github.com/SantiagoTorres","followers_url":"https://api.github.com/users/SantiagoTorres/followers","following_url":"https://api.github.com/users/SantiagoTorres/following{/other_user}","gists_url":"https://api.github.com/users/SantiagoTorres/gists{/gist_id}","starred_url":"https://api.github.com/users/SantiagoTorres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SantiagoTorres/subscriptions","organizations_url":"https://api.github.com/users/SantiagoTorres/orgs","repos_url":"https://api.github.com/users/SantiagoTorres/repos","events_url":"https://api.github.com/users/SantiagoTorres/events{/privacy}","received_events_url":"https://api.github.com/users/SantiagoTorres/received_events","type":"User","site_admin":false},"labels":[{"id":381362158,"url":"https://api.github.com/repos/in-toto/in-toto/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-20T00:20:46Z","updated_at":"2016-11-21T19:04:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/in-toto/in-toto/pulls/48","html_url":"https://github.com/in-toto/in-toto/pull/48","diff_url":"https://github.com/in-toto/in-toto/pull/48.diff","patch_url":"https://github.com/in-toto/in-toto/pull/48.patch"},"body":"This patch series refactors code in the models and adds the validate function to ensure the properties of a model are populated properly. I also added unit tests for these methods.\r\n\r\ncloses #13"},"comment":{"url":"https://api.github.com/repos/in-toto/in-toto/issues/comments/262034423","html_url":"https://github.com/in-toto/in-toto/pull/48#issuecomment-262034423","issue_url":"https://api.github.com/repos/in-toto/in-toto/issues/48","id":262034423,"user":{"login":"lukpueh","id":589324,"avatar_url":"https://avatars.githubusercontent.com/u/589324?v=3","gravatar_id":"","url":"https://api.github.com/users/lukpueh","html_url":"https://github.com/lukpueh","followers_url":"https://api.github.com/users/lukpueh/followers","following_url":"https://api.github.com/users/lukpueh/following{/other_user}","gists_url":"https://api.github.com/users/lukpueh/gists{/gist_id}","starred_url":"https://api.github.com/users/lukpueh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukpueh/subscriptions","organizations_url":"https://api.github.com/users/lukpueh/orgs","repos_url":"https://api.github.com/users/lukpueh/repos","events_url":"https://api.github.com/users/lukpueh/events{/privacy}","received_events_url":"https://api.github.com/users/lukpueh/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T19:04:17Z","updated_at":"2016-11-21T19:04:17Z","body":"Btw. I wished that this PR would also add validation calls throughout the codebase where appropriate. Eg. lines like [`# FIXME: Validate rule format`](https://github.com/in-toto/in-toto/blob/develop/toto/verifylib.py#L324)"}}
{"actor":{"display_login":"lukpueh"}}