summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian+git@GrayVines.com>2012-02-19 20:16:58 -0500
committerJulian Berman <Julian+git@GrayVines.com>2012-02-19 20:16:58 -0500
commitf84bc39658d0464fc36d3d2cc97a0c4ab4bf0f25 (patch)
treefe0243451440ec70327a7efaaba08ddaf7fd4ab8
parent425243d0162b7f019e70ab1ccf0638cc62ee2627 (diff)
downloadjsonschema-f84bc39658d0464fc36d3d2cc97a0c4ab4bf0f25.tar.gz
Fixed a typo and elaborated a tiny bit.
-rw-r--r--README.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index cd786fd..658071d 100644
--- a/README.rst
+++ b/README.rst
@@ -70,7 +70,9 @@ preparations for draft 04 underway. The current plan is likely to have
the validators in this module take a ``version`` argument, which will allow
support for future versions. Whether draft 03 will remain the default version
used or not is undecided, so to be safe, *explicitly* declare which version of
-the schema you will be validating with.
+the schema you will be validating with. You can do so by passing
+``version=jsonschema.DRAFT_3`` into ``jsonschema.Validator`` (and similarly
+``validate``).
A Quick Word on uniqueItems
@@ -78,7 +80,7 @@ A Quick Word on uniqueItems
Validating schemas with the ``uniqueItems`` property can leave you open to
algorithmic complexity attacks. This may change in the future. For now,
-``jsonschema`` will warn you if you use ``uniqueitems`` without using the
+``jsonschema`` will warn you if you use ``uniqueItems`` without using the
`Securetypes <http://github.com/ludios/Securetypes>`_ module, but will proceed
anyhow if it couldn't be imported.