diff --git a/rockspec/jsonschema-0.9.10-0.rockspec b/rockspec/jsonschema-0.9.10-0.rockspec new file mode 100644 index 0000000..7ec0ceb --- /dev/null +++ b/rockspec/jsonschema-0.9.10-0.rockspec @@ -0,0 +1,32 @@ +package = "jsonschema" +version = "0.9.10-0" +source = { + url = "git://github.com/api7/jsonschema.git", + tag = "v0.9.10", +} + +description = { + summary = "JSON Schema data validator", + detailed = [[ +This module is a data validator that implements JSON Schema draft 4. +Given a JSON schema, it will generate a validator function that can be used +to validate any kind of data (not limited to JSON). + +Based on https://github.com/jdesgats/ljsonschema . +]], + homepage = "https://github.com/api7/jsonschema", + license = "Apache License 2.0", +} + +dependencies = { + "net-url", + "lrexlib-pcre = 2.9.1-1", +} + +build = { + type = "builtin", + modules = { + ["jsonschema"] = "lib/jsonschema.lua", + ["jsonschema.store"] = "lib/jsonschema/store.lua", + } +}