Skip to content

Commit 18a855b

Browse files
Julianhynek
andcommitted
Better wording.
Co-authored-by: Hynek Schlawack <[email protected]>
1 parent 8046232 commit 18a855b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ They can be used when installing in order to include additional dependencies, e.
105105
106106
$ pip install jsonschema'[format]'
107107
108-
You will also want to read the `format validation documentation <https://python-jsonschema.readthedocs.io/en/latest/validate/#validating-formats>`_.
108+
Be aware that the mere presence of these dependencies – or even the specification of ``format`` checks in a schema – do **not** activate format checks (as per specification).
109+
Please read the `format validation documentation <https://python-jsonschema.readthedocs.io/en/latest/validate/#validating-formats>`_ for details.
109110

110111
.. start cut from PyPI
111112

docs/validate.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ Validating Formats
173173
------------------
174174

175175
JSON Schema defines the :kw:`format` keyword which can be used to check if primitive types (``string``\s, ``number``\s, ``boolean``\s) conform to well-defined formats.
176-
By default, as per the specification, no validation is enforced. Optionally however, validation can be enabled by hooking a `format-checking object <jsonschema.FormatChecker>` into a `Validator`.
176+
By default, as per the specification, no validation is enforced.
177+
Optionally however, validation can be enabled by hooking a `format-checking object <jsonschema.FormatChecker>` into a `Validator`.
177178

178179
.. doctest::
179180

0 commit comments

Comments
 (0)