News for hackers. Stuff that matters.
Re:Show HN: Pydantic – Data validation using Python 3.6 type... by user5994461 on Saturday June 03, 2017 @02:45PM (#14477798)
JSON has a well defined schema system that works across languages. http://json-schema.org/

Python comes with the jsonschema module out of the box.

Re:Show HN: Pydantic – Data validation using Python 3.6 type... by calvins on Saturday June 03, 2017 @02:52PM (#14477840)
What do you mean by 'out of the box'? jsonschema needs to be installed. It's not in the stdlib.
Re:Show HN: Pydantic – Data validation using Python 3.6 type... by StavrosK on Saturday June 03, 2017 @02:48PM (#14477813)
That's rather verbose, though. I prefer the much more functional "schema" library:

https://github.com/keleshev/schema

Re:Show HN: Pydantic – Data validation using Python 3.6 type... by ris on Sunday June 04, 2017 @08:00AM (#14480972)
Thing is, none of these are language agnostic. jsonschema is the only one that makes an attempt at that.

It's a slight pity that the python jsonschema package doesn't support some of the more powerful recent features though.