Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add schema validation #165

Closed
Tracked by #150
CunliangGeng opened this issue Jul 20, 2023 · 0 comments · Fixed by #167
Closed
Tracked by #150

Add schema validation #165

CunliangGeng opened this issue Jul 20, 2023 · 0 comments · Fixed by #167

Comments

@CunliangGeng
Copy link
Member

CunliangGeng commented Jul 20, 2023

Adding json schema to enable json data validation, which helps to ensure the integrity and quality of internal and external data.

JSON data validation libraries:

  • Use jsonschema library to conduct data validation. It can directly validate json data against json schema.
  • pydantic is also a very good data validation library, however it cannot validate json data against plain json schema and user must create models (python classes) from json schema to validate json data.

Resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant