code: def validate(schema, data, owner=None):
      
      schema._validate(data=data, owner=owner)
docs: 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.