App-jsonvalidate
view release on metacpan or search on metacpan
scripts/jsonvalidate view on Meta::CPAN
bailout( <<EOF );
Cannot resolve \$ref "$orig_uri"
Document URI: $doc_uri
Fragment : $fragment
This is probably a fictional/internal \$id (very common and correct!).
The validator will NOT auto-fetch such URIs by default (security + correctness).
This looks like a reference to a remote document with a JSON Pointer fragment.
Such references MUST be retrieved (per JSON Schema spec).
Solutions:
⢠Pass --remote-refs to allow HTTP(S) fetching
⢠Provide the referenced schema via additional --schema arguments
⢠Rewrite the schema to use relative references + --schema-base
EOF
});
# Optional: capture $comment into trace (no-op handler by default)
( run in 2.124 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )