Skip to content

Commit aa7233f

Browse files
committed
Fix Draft4Validator example code in validate.rst
1 parent e1c3023 commit aa7233f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/validate.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,14 @@ Draft 4 meta-schema, you could use:
194194
from jsonschema import Draft4Validator
195195
196196
schema = {
197-
"$schema": "http://json-schema.org/schema#"
197+
"$schema": "http://json-schema.org/schema#",
198198
199199
"type": "object",
200200
"properties": {
201201
"name": {"type": "string"},
202202
"email": {"type": "string"},
203-
}
204-
"required": ["email"],
203+
},
204+
"required": ["email"]
205205
}
206206
Draft4Validator.check_schema(schema)
207207

0 commit comments

Comments
 (0)