File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,11 @@ The simplest way to validate an instance under a given schema is to use the
1414
1515.. autofunction :: validate
1616
17- To learn more about creating json schema to validate your data, see
18- `Understanding JSON Schema <http://spacetelescope.github.io/understanding-json-schema/ >`_
17+ .. [# ] For information on creating JSON schemas to validate
18+ your data, there is a good introduction to JSON Schema
19+ fundamentals underway at `Understanding JSON Schema
20+ <http://spacetelescope.github.io/understanding-json-schema/> `_
21+
1922
2023 The Validator Interface
2124-----------------------
@@ -184,17 +187,17 @@ implements.
184187
185188.. autoclass :: Draft4Validator
186189
187- For example, if you wanted to validate a schema you created against the Draft 3
188- json schema, you could use:
189190
190- .. code-block :: python
191+ For example, if you wanted to validate a schema you created against the
192+ Draft 4 meta-schema, you could use:
191193
194+ .. code-block :: python
192195
193196 from jsonschema import Draft4Validator
194-
197+
195198 schema = {
196199 " $schema" : " http://json-schema.org/schema#"
197-
200+
198201 " type" : " object" ,
199202 " properties" : {
200203 " name" : {" type" : " string" },
You can’t perform that action at this time.
0 commit comments