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

support relative JSON Pointers #23

Open karenetheridge opened 4 years ago

karenetheridge commented 4 years ago

relative json pointers can might, in draft 2020-XX, appear in $refs. In order to resolve these we need to keep track of the root of the document we're currently traversing, and the path to where we are now, so we can go back up the tree.

I see a new role extending Mojo::JSON::Pointer in my future.

karenetheridge commented 3 years ago

Draft 2020-12 does not extend $refs to allow relative json pointers, so nothing needs to be done at this time.