@classmethod
    def validate_partial(cls, category, data):
        is_valid = True
        error_messages = []

        for field in category.fields.all().filter(status='active'):
            if field.key in data and data.get(field.key) is not None:
                try:
                    field.validate_input(data.get(field.key))
                except InputError, error:
                    is_valid = False
                    error_messages.append(error)

        if not is_valid:
            raise ValidationError(error_messages)
Validates the data against the category field definition. This is a
dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/models.py/Observation.validate_partial