@Vijay Akula Thanks for reaching out. From the description I understand that you wanted to enable schema validation for your Rest API to validate the incoming JSON request using validate-content policy. There will not be any licensing cost but they will be a performance impact.
Every policy would have a performance impact and in this case it all depends on number of policies you write and size of your schema. It wouldn't be possible to say how much the impact would exactly be but you can monitor the CPU usage in metrics and you can always scale out whenever its required.
To benefit the community find the right answers, please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’.