def validate(self, data):
        '''Validates a data dict against this schema.

        Args:
            data (dict): The data to be validated.

        Raises:
            ValidationError: If the data is invalid.
        '''
        try:
            self._validator.validate(data)
        except jsonschema.ValidationError as e:
            six.raise_from(ValidationError.create_from(e), e)
Validates a data dict against this schema.

        Args:
            data (dict): The data to be validated.

        Raises:
            ValidationError: If the data is invalid.