pandastrike/jsck

Error reports aren't useful when a $ref is involved.

Closed this issue · 1 comments

In the case of a $ref, the JSON pointer to the schema+attribute causing the invalidation is incorrect. The path within the $ref-ed schema is rebased onto the path containing the $ref.

Other validators (e.g. tv4) do the same, and I cannot think of a way to represent $ref redirection in the error report. Users who inspect the schema to find the source of trouble will see the $ref and be able to follow it manually.