Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with $ref to validate array property #63

Closed
apsoto opened this issue Jul 26, 2013 · 3 comments
Closed

Problem with $ref to validate array property #63

apsoto opened this issue Jul 26, 2013 · 3 comments

Comments

@apsoto
Copy link
Contributor

apsoto commented Jul 26, 2013

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?

@hoxworth
Copy link
Contributor

I'll take a look in the next day or so - sorry if I can't get to it sooner!

@hoxworth
Copy link
Contributor

hoxworth commented Aug 2, 2013

I believe this was fixed with #67.

@hoxworth hoxworth closed this as completed Aug 2, 2013
@apsoto
Copy link
Contributor Author

apsoto commented Aug 3, 2013

FYI I actually haven't validated this was fixed by #67 with the set of data I posted in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants