News for hackers. Stuff that matters.
Re:Show HN: PySchemes – A library for validating data struct... by vram22 on Sunday November 05, 2017 @09:23AM (#15629507)
There is also jsonschema:

https://pypi.python.org/pypi/jsonschema

A post showing a simple use of it:

Using JSON Schema with Python to validate JSON data:

https://jugad2.blogspot.in/2015/12/using-json-schema-with-py...

Re:Show HN: PySchemes – A library for validating data struct... by ansgri on Sunday November 05, 2017 @02:24PM (#15631061)
Exactly my thought about json-schema, as I use it extensively in both Python and C++ (excellent library valijson [0]).

Not all Python objects are json-serializable by default, so the ideal solution (for me) would be json-schema with simple syntax for adding custom type validators.

[0] https://github.com/tristanpenman/valijson

Re:Show HN: PySchemes – A library for validating data struct... by vram22 on Sunday November 05, 2017 @05:29PM (#15632098)
Thanks for the info.