Skip to content

Implement JSON Schema Draft 7 Support #81

@theonewolf

Description

@theonewolf

Description of requested feature
Draft 7 is the latest specification for JSON Schema and libraries such as jsonschema support it out of the box. I have a spec which I'd like to generate a Python class for, but am worried about subtle incompatibilities.

The changes do not seem drastic: https://json-schema.org/draft-07/json-schema-release-notes.html

I think we can scope this project well.

Workaround
Just try Draft 7 schemas with statham out of the box. They may work, especially since a lot of it is backwards compatible ("In terms of validation keywords and outcomes, it is fully backwards-compatible with draft-06.").

Additional context
I think primary differences are in new out of the box formats, as described on the Draft 7 release notes linked above.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions