Tieske / lua-resty-ljsonschema

Pure Lua JSON schema validator for Lua and OpenResty

Home Page:https://tieske.github.io/lua-resty-ljsonschema/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Pure Lua JSON schema validator for Lua and OpenResty

https://tieske.github.io/lua-resty-ljsonschema/

License:MIT License


Languages

Language:Lua 93.6%Language:CSS 4.0%Language:Makefile 2.4%