docs: def save(self, *args, **kwargs):
          """Perform descriptor validation and save object."""
          if self.descriptor_schema:
              try:
                  validate_schema(self.descriptor, self.descriptor_schema.schema)  # pylint: disable=no-member
                  self.descriptor_dirty = False
              except DirtyError:
                  self.descriptor_dirty = True
          elif self.descriptor and self.descriptor != {}:
              raise ValueError("`descriptor_schema` must be defined if `descriptor` is given")
  
          super().save()