Skip to content

Commit

Permalink
Merge pull request #18 from mulkieran/master-misc
Browse files Browse the repository at this point in the history
Master misc
  • Loading branch information
aromanovich committed Feb 5, 2016
2 parents fdd4bfb + f31a4e3 commit e772eb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for validation and documentation.

JSL is a Python library that provides a DSL for describing JSON schemas.

Why inventing a DSL?
Why invent a DSL?

* A JSON schema in terms of the Python language is a dictionary. A JSON schema
of a more or less complex data structure is a dictionary which most likely
Expand All @@ -40,6 +40,10 @@ It encourages the decomposition of large schemas into smaller readable pieces
and makes schemas extendable using class inheritance. It enables the autocomplete
feature or IDEs and makes any mistype in a JSON schema keyword cause a RuntimeError.

Since every JSON schema object is itself valid JSON, the ``json`` module in
the Python standard library can be used for printing and serialization of
a generated schema.

.. links
.. _Python implementation: https://python-jsonschema.readthedocs.org/en/latest/
Expand Down

0 comments on commit e772eb4

Please sign in to comment.