karenetheridge / JSON-Schema-Modern

Validate data against a schema using a JSON Schema
https://metacpan.org/release/JSON-Schema-Modern/
Other
10 stars 1 forks source link

cache specification meta-schemas #9

Closed karenetheridge closed 4 years ago

karenetheridge commented 4 years ago

Cache copies of https://json-schema.org/draft/2019-09/schema and the subschemas it references (i.e. they are already preloaded into the implementation as known schemas).

Not useful to implement until #7. Required if we do not allow loading files at runtime from disk or network, but in any case provides an efficiency improvement.

karenetheridge commented 4 years ago

Since the metaschema contains $recursiveRef and $recursiveAnchor, we need #20 for this to be useful.

karenetheridge commented 4 years ago

Now implemented in version 0.004 (commit f5084fb86e4bc1d2f082e1b831d76c2138b85ddc).