From 64adfae8ee32a5ec21c9429d73e94bdd97dfcb34 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 29 Apr 2026 15:30:02 +0800 Subject: [PATCH] feat: release v0.9.13 (#103) Changes since v0.9.12: - feat: add skip_validation custom hook for value-level bypass --- rockspec/jsonschema-0.9.13-0.rockspec | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 rockspec/jsonschema-0.9.13-0.rockspec diff --git a/rockspec/jsonschema-0.9.13-0.rockspec b/rockspec/jsonschema-0.9.13-0.rockspec new file mode 100644 index 0000000..0d8868a --- /dev/null +++ b/rockspec/jsonschema-0.9.13-0.rockspec @@ -0,0 +1,32 @@ +package = "jsonschema" +version = "0.9.13-0" +source = { + url = "git+https://github.com/api7/jsonschema.git", + tag = "v0.9.13", +} + +description = { + summary = "JSON Schema data validator", + detailed = [[ +This module is a data validator that implements JSON Schema drafts 4, 6, and 7. +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", + } +}