You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to JSON-Schema, so totally expect it to be something I'm doing wrong, but if anyone can look at this Gist and explain what about the $ref I'm doing wrong? I've got some more complex data and I'm trying to re-use schemas. I've distilled it down to a simple test case and I can't tell if it's incorrect syntax on my end, or it's the validator.
Given this gist, I expect the sample data to report validation errors.
It works as expected if I take the schema ref and embed it directly, but when I use $ref, no errors?
Any ideas?
The text was updated successfully, but these errors were encountered:
Hey There,
New to JSON-Schema, so totally expect it to be something I'm doing wrong, but if anyone can look at this Gist and explain what about the $ref I'm doing wrong? I've got some more complex data and I'm trying to re-use schemas. I've distilled it down to a simple test case and I can't tell if it's incorrect syntax on my end, or it's the validator.
Given this gist, I expect the sample data to report validation errors.
It works as expected if I take the schema ref and embed it directly, but when I use $ref, no errors?
Any ideas?
The text was updated successfully, but these errors were encountered: