Payload Validation
You can configure Mediators to validate the incoming message payload using a Schematron or an XSD file. You can specify Schematron files for each inbound message part and Mediator executes Schematron file validations for those parts.
For more information about validations, see Specifying Validation and Priority Properties, How to Use Semantic Validation, and http://www.schematron.com/
.