Please see https://gist.github.com/evdb/5196782 for test script and the output I'm getting.
Problem is that the inner schema validation does not occur if it is included using $ref, but is if embedded directly.
The error is Unknown schema reference: http://json-schema.org/draft-03/schema# but that schema is found using env.findSchema("http://json-schema.org/draft-03/schema#");...
Apologies for not using the same test framework as you, this is extracted and simplified from my code. Apologies also if I'm doing something obviously wrong.
Please see https://gist.github.com/evdb/5196782 for test script and the output I'm getting.
Problem is that the
innerschema validation does not occur if it is included using$ref, but is if embedded directly.The error is
Unknown schema reference: http://json-schema.org/draft-03/schema#but that schema is found usingenv.findSchema("http://json-schema.org/draft-03/schema#");...Apologies for not using the same test framework as you, this is extracted and simplified from my code. Apologies also if I'm doing something obviously wrong.