I have written a custom validator that will check the values of a json property against the field values of the elastic search document POJO it maps to. For example:
<