Introduction to JSON Schema

In a Deep Dive course Part III by Fred Baptiste I was introduced to the JSON Schema module in Python. The instructor also recommended getting a deeper understanding of this subject. Therefore, I completed the following tutorials: o I read the book "Understanding JSON Schema" at https://json-schema.org/understanding-json-schema. o I read the guide to JSON Schema on https://cswr.github.io/JsonSchema. o I read Schema Validation on https://python-jsonschema.readthedocs.io/en/stable/validate/ o Additional topics that I understood and exercised: • When and how to use $schema, $ref, $defs • How to use absolute and relative Pointers • Use a recursive approach in schemas • When to use validate.iter_errors and is its attributes • How to use jsonschema.ErrorTree() • How to validate multiple type at the same time • How to use debugging tools like context and best_match • How to activate format key by importing FormatChecker • Custom format and validator in Python • How to use META_SCHEMA • How to create conditional subschemas • How to use High Order Validators (allOf, anyOf, oneOf) o I also completed the following two tutorials: • “Julian Berman - Introduction to JSON Schema” by Julian Berman on PyCon Sweden. The length of the tutorial is 40:53 total video hours. You can find this tutorial at https://www.youtube.com/watch?v=PC-nVq9i-mA&ab_channel=PyConSweden • “So you think you understand JSON Schema? - Ben Hutton, Postman/JSON Schema” by Ben Hutton on openAPI Initiative. The length of the tutorial is 26:26 total video hours. You can find this tutorial at https://www.youtube.com/watch?v=vMG0NCDifI0&ab_channel=OpenAPIInitiative o Useful links: • Generating JSON Schema from JSON - https://jsonschema.net/ • Hyperjump - JSON Schema Validator at https://json-schema.hyperjump.io/ • JSON Schema Validator and Generator on https://extendsclass.com/json-schema-validator.html • JSON Schema store on https://www.schemastore.org/json/

Our Sidebar

You can put any information here you'd like.

  • Latest Posts
  • Announcements
  • Calendars
  • etc