{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/libucl/issues/104","labels_url":"https://api.github.com/repos/vstakhov/libucl/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/libucl/issues/104/comments","events_url":"https://api.github.com/repos/vstakhov/libucl/issues/104/events","html_url":"https://github.com/vstakhov/libucl/issues/104","id":105490130,"number":104,"title":"lua binding for json schema validation","user":{"login":"bjne","id":1392058,"avatar_url":"https://avatars.githubusercontent.com/u/1392058?v=3","gravatar_id":"","url":"https://api.github.com/users/bjne","html_url":"https://github.com/bjne","followers_url":"https://api.github.com/users/bjne/followers","following_url":"https://api.github.com/users/bjne/following{/other_user}","gists_url":"https://api.github.com/users/bjne/gists{/gist_id}","starred_url":"https://api.github.com/users/bjne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjne/subscriptions","organizations_url":"https://api.github.com/users/bjne/orgs","repos_url":"https://api.github.com/users/bjne/repos","events_url":"https://api.github.com/users/bjne/events{/privacy}","received_events_url":"https://api.github.com/users/bjne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T23:46:06Z","updated_at":"2015-09-09T00:17:23Z","closed_at":null,"body":"I would very much like to have access to the json schema validation\r\napi via lua/luajit. Is this going to happen any time soon, and is it possible to sponsor it?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26543790-lua-binding-for-json-schema-validation?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/vstakhov/libucl/issues/comments/138737301","html_url":"https://github.com/vstakhov/libucl/issues/104#issuecomment-138737301","issue_url":"https://api.github.com/repos/vstakhov/libucl/issues/104","id":138737301,"user":{"login":"vstakhov","id":487344,"avatar_url":"https://avatars.githubusercontent.com/u/487344?v=3","gravatar_id":"","url":"https://api.github.com/users/vstakhov","html_url":"https://github.com/vstakhov","followers_url":"https://api.github.com/users/vstakhov/followers","following_url":"https://api.github.com/users/vstakhov/following{/other_user}","gists_url":"https://api.github.com/users/vstakhov/gists{/gist_id}","starred_url":"https://api.github.com/users/vstakhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vstakhov/subscriptions","organizations_url":"https://api.github.com/users/vstakhov/orgs","repos_url":"https://api.github.com/users/vstakhov/repos","events_url":"https://api.github.com/users/vstakhov/events{/privacy}","received_events_url":"https://api.github.com/users/vstakhov/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T00:17:23Z","updated_at":"2015-09-09T00:17:23Z","body":"I've added the initial version of this support invoked as \r\n\r\n```lua\r\nlocal res, err = parser:validate(schema)\r\n\r\nif res then ... else ... end\r\n```\r\n\r\nSchema can be either lua table that represents json schema (it might be even previously loaded) or filename that `libucl` would load, parse and validate the original parser's object against it.\r\n"}}