add data validation to template based on volume.json