jsonschema
jsonschema copied to clipboard
An implementation of the JSON Schema specification for Python
Given the schema below, the following instance fails with a single error: _{'schema': 'C', 'kind': {'schema': 'D', 'foo': 2}}: {'schema': 'C', 'kind': {'schema': 'D', 'foo': 2}} is not valid under...
I'm not sure if this is a real issue or not, but something that bothered me is that validation errors use `"%r"` as a format string which causes your json...
This seems to be something schema authors often err on. Might as well show them a warning. Of course, they're unlikely to see it given that Python makes warnings invisible,...
*This is some random notes on a new version of the ref resolution API. Feel free to leave comments, although some of the below might be overly terse chicken scratch*...
This would generalize the existing reST integration with the upstream specifications.
http://json-schema.org/latest/json-schema-validation.html#rfc.section.8.3 This looks like it was made optional. I guess it can be off-by-default like format, or, since it's at least finite (maybe?) on by default. Will see later.
I would like to use a schema `base.json` that defines basic properties together with a schema `derived.json` which adds further validation to the base schema. The derived schema needs to...
The relevant test cases here are [these](https://github.com/Julian/jsonschema/blob/master/jsonschema/tests/test_validators.py#L1175-L1185), which are currently marked skipped but should not be (they currently fail). Probably we need to add a `validator_functions_of` argument to `jsonschema.validators.create` that,...