Skip to main content

JSON / JSON Schema

  • JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.
  • JSON Schema is a vocabulary that allows you to annotate and validate JSON documents.

Specification​

Specification can be found on the website as well as GitHub.

Validation​

A list of tools, packages, and web applications for validation can be found here.

Conversion​

warning

Always check the output schema, and make additional annotation such as specifying required fields and valid choices.

JSON → JSON Schema​

JSON Schema → Pydantic​

JSON → Pydantic​

Form​