forked from python-jsonschema/jsonschema
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a hack to access root schema from $ref validator.
Add unit tests for $ref as json-pointer. refs python-jsonschema#23
- Loading branch information
1 parent
4f6bbe6
commit b3979bf
Showing
2 changed files
with
47 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think this is a bug fix for dependencies implementation. My reading of the spec means that "dependencies" property should be ignored when instance is not an object.