From 96bb50ff1d235c7b86ef07e207d4c3de737f364b Mon Sep 17 00:00:00 2001 From: leslie Date: Fri, 28 Jan 2022 09:50:11 +0800 Subject: [PATCH] feat: release v0.9.7 --- rockspec/jsonschema-0.9.7-0.rockspec | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 rockspec/jsonschema-0.9.7-0.rockspec diff --git a/rockspec/jsonschema-0.9.7-0.rockspec b/rockspec/jsonschema-0.9.7-0.rockspec new file mode 100644 index 0000000..ea440bd --- /dev/null +++ b/rockspec/jsonschema-0.9.7-0.rockspec @@ -0,0 +1,31 @@ +package = "jsonschema" +version = "0.9.7-0" +source = { + url = "git://github.com/api7/jsonschema.git", + tag = "v0.9.7", +} + +description = { + summary = "JSON Schema data validator", + detailed = [[ +This library provides a jsonschema draft 4, draft 6, draft 7 validator for Lua/LuaJIT. +Given an JSON schema, it will generates a validator function that can be used +to validate any kind of data (not limited to JSON). + +Base on https://github.com/jdesgats/jsonschema . +]], + homepage = "https://github.com/api7/jsonschema", + license = "Apache License 2.0", +} + +dependencies = { + "net-url", +} + +build = { + type = "builtin", + modules = { + ["jsonschema"] = "lib/jsonschema.lua", + ["jsonschema.store"] = "lib/jsonschema/store.lua", + } +}