API patch request, validate content in model

Hi, I’ve a model which consist a few fields and also a json field.

The json field is being updated from a patch request sent to my web app.

I know how to validate the json in my api controller, but I need to move the validation to the model.

How can I access the request content of the api call from my model?

Thanks, Raphael