teal-src/util/jsonschema.tl
changeset 12786 8815d3090928
parent 12583 ca6a43fe0231
equal deleted inserted replaced
12785:22066b02887f 12786: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"