def validate(self, partial=False, convert=True, app_data=None, **kwargs):
        data = self.convert(self, validate=True, partial=partial, convert=convert,
                            app_data=app_data, **kwargs)

        if convert:
            self._data.update(**data)
Validates the state of the model. If the data is invalid, raises a ``DataError``
dataset/ETHPy150Open schematics/schematics/schematics/models.py/Model.validate