Comparison

teal-src/util/jsonschema.tl @ 12782:8815d3090928

util.mathcompat: Module to ease reuse of math.type() Mostly to ensure it is available during tests, as util.startup is not invoked there
author Kim Alvefur <zash@zash.se>
date Thu, 20 Oct 2022 16:50:12 +0200
parent 12579:ca6a43fe0231
comparison
equal deleted inserted replaced
12781:22066b02887f 12782:8815d3090928
5 -- 5 --
6 -- Based on 6 -- Based on
7 -- https://json-schema.org/draft/2020-12/json-schema-core.html 7 -- https://json-schema.org/draft/2020-12/json-schema-core.html
8 -- https://json-schema.org/draft/2020-12/json-schema-validation.html 8 -- https://json-schema.org/draft/2020-12/json-schema-validation.html
9 -- 9 --
10
11 if not math.type then require "util.mathcompat" end
10 12
11 local json = require"util.json" 13 local json = require"util.json"
12 local null = json.null; 14 local null = json.null;
13 15
14 local pointer = require "util.jsonpointer" 16 local pointer = require "util.jsonpointer"