/lua-resty-ljsonschema

Pure Lua JSON schema validator for Lua and OpenResty

Primary LanguageLuaMIT LicenseMIT

OpenResty Lua Luacheck SemVer Licence

lua-resty-ljsonschema

This library provides a JSON schema draft 4 validator for OpenResty and Lua 5.2+.

It has been designed to validate incoming data for HTTP APIs so it is decently fast: it works by transforming the given schema into a pure Lua function on-the-fly.

This is an updated version of ljsonschema by @jdesgats.

License and copyright

See LICENSE.md

Documentation

See online documentation

Changelog

See CHANGELOG.md