Refactoring for allowing validation:
The current data field is based on DataObject and DataSourcePath. For allowing validation DataSourcePath is no longer needed but it will be useful to use TextContent property directly putting the complete path. This implies the complete change of all xaml where validation is required.
Validation rules shall be present as a list of things.