Does anyone have experience with an earn-in?

I’’m looking for information on structuring a partial buy-out then earn-in equity model. While they are not common in smaller deals, I think I found a perfect application, but I’’d love to hear from anyone who has negotiated or experienced this model first hand.