scheme¶
-
class
scheme.json_validator.Validator(schema)¶ Validates if object match the scheme.
-
schema¶ a dictionary that describes the data schema.
-
-
Validator.is_match(object)¶ Checks if given object matches the schema
- Parameters
object – a dictionary with extracted data
- Returns
True if object matches the schema, otherwise false