def validate ( schema , data , owner = None ) : schema . _validate ( data = data , owner = owner )
python recursive schema validation
Validate input data with input schema .
def validate(schema, data, owner=None):
    """Validate input data with input schema.

    :param Schema schema: schema able to validate input data.
    :param data: data to validate.
    :param Schema owner: input schema parent schema.
    :raises: Exception if the data is not validated.
    """
    schema._validate(data=data, owner=owner)