{"comment":{"url":"https://api.github.com/repos/SumOfUs/Champaign/comments/12084784","html_url":"https://github.com/SumOfUs/Champaign/commit/3703497c9998c6791c39ba6af55b6c497bdb614d#commitcomment-12084784","id":12084784,"user":{"login":"osahyoun","id":12949,"avatar_url":"https://avatars.githubusercontent.com/u/12949?v=3","gravatar_id":"","url":"https://api.github.com/users/osahyoun","html_url":"https://github.com/osahyoun","followers_url":"https://api.github.com/users/osahyoun/followers","following_url":"https://api.github.com/users/osahyoun/following{/other_user}","gists_url":"https://api.github.com/users/osahyoun/gists{/gist_id}","starred_url":"https://api.github.com/users/osahyoun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osahyoun/subscriptions","organizations_url":"https://api.github.com/users/osahyoun/orgs","repos_url":"https://api.github.com/users/osahyoun/repos","events_url":"https://api.github.com/users/osahyoun/events{/privacy}","received_events_url":"https://api.github.com/users/osahyoun/received_events","type":"User","site_admin":false},"position":8,"line":15,"path":"app/models/widget.rb","commit_id":"3703497c9998c6791c39ba6af55b6c497bdb614d","created_at":"2015-07-09T13:41:28Z","updated_at":"2015-07-09T13:41:28Z","body":"You could cache the value:\r\n```ruby\r\ndef self.load_schema\r\n  @schema_properties ||= JSON.parse(File.read(self.json_schema))['properties']\r\nend\r\n```"}}