lua_schema is a library for processing XML and JSON based on XSD grammar.
The API exposed by lua_schema are easy to use within lua code. The library is implemented on top of customized libxml2 and a customized version of xmlua (original).
The code is released under MIT license
git clone /~https://github.com/Tekenlight/lua_schema
luarocks [--local] make
For more details please see documentation
Other links: evlua documentation