Currently, this library seems to be built on draft-04.
|
# API to set which schema validator draft to use |
|
def set_json_validator_version(v=jsonschema.Draft4Validator): |
|
''' Currently, our subtype checking supports json schema draft 4 only, |
|
so VALIDATOR should not changed. |
|
We prodive the method for future support of other json schema versions. ''' |
|
|
|
this.VALIDATOR = v |
It would be great if it supports newer draft versions.
Currently, this library seems to be built on draft-04.
jsonsubschema/jsonsubschema/config.py
Lines 16 to 22 in f6dbeb7
It would be great if it supports newer draft versions.