We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c3023 commit aa7233fCopy full SHA for aa7233f
docs/validate.rst
@@ -194,14 +194,14 @@ Draft 4 meta-schema, you could use:
194
from jsonschema import Draft4Validator
195
196
schema = {
197
- "$schema": "http://json-schema.org/schema#"
+ "$schema": "http://json-schema.org/schema#",
198
199
"type": "object",
200
"properties": {
201
"name": {"type": "string"},
202
"email": {"type": "string"},
203
- }
204
- "required": ["email"],
+ },
+ "required": ["email"]
205
}
206
Draft4Validator.check_schema(schema)
207
0 commit comments