{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/horizon/issues/138","repository_url":"https://api.github.com/repos/rethinkdb/horizon","labels_url":"https://api.github.com/repos/rethinkdb/horizon/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/horizon/issues/138/comments","events_url":"https://api.github.com/repos/rethinkdb/horizon/issues/138/events","html_url":"https://github.com/rethinkdb/horizon/issues/138","id":135951449,"number":138,"title":"Add server validation of documents","user":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/horizon/labels/server","name":"server","color":"D31996"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/horizon/milestones/2","html_url":"https://github.com/rethinkdb/horizon/milestones/Subsequent","labels_url":"https://api.github.com/repos/rethinkdb/horizon/milestones/2/labels","id":1573261,"number":2,"title":"Subsequent","description":"","creator":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"open_issues":69,"closed_issues":0,"state":"open","created_at":"2016-02-09T19:29:50Z","updated_at":"2016-05-17T10:32:26Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-02-24T04:31:28Z","updated_at":"2016-05-18T21:38:21Z","closed_at":null,"body":"This is to enable a write to go through by validating that the resulting document is valid, but is separate from security rules"},"comment":{"url":"https://api.github.com/repos/rethinkdb/horizon/issues/comments/220166055","html_url":"https://github.com/rethinkdb/horizon/issues/138#issuecomment-220166055","issue_url":"https://api.github.com/repos/rethinkdb/horizon/issues/138","id":220166055,"user":{"login":"kjvalencik","id":2471970,"avatar_url":"https://avatars.githubusercontent.com/u/2471970?v=3","gravatar_id":"","url":"https://api.github.com/users/kjvalencik","html_url":"https://github.com/kjvalencik","followers_url":"https://api.github.com/users/kjvalencik/followers","following_url":"https://api.github.com/users/kjvalencik/following{/other_user}","gists_url":"https://api.github.com/users/kjvalencik/gists{/gist_id}","starred_url":"https://api.github.com/users/kjvalencik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjvalencik/subscriptions","organizations_url":"https://api.github.com/users/kjvalencik/orgs","repos_url":"https://api.github.com/users/kjvalencik/repos","events_url":"https://api.github.com/users/kjvalencik/events{/privacy}","received_events_url":"https://api.github.com/users/kjvalencik/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T21:38:21Z","updated_at":"2016-05-18T21:38:21Z","body":"I agree that inlined js is very awkward. I think a better option would be a JS file to require. Otherwise, if you want syntax highlighting, to add unit tests, etc., then you need to template and build the toml, which is also awkward and feels very wrong."}}