I am creating a Rest API on spring boot with JSON document validation as below.
{ "title": "AddUserProfile", "type": "o