XML Schema or Relax NG schema also allows you to embed Schematron rules.
For Schematron validations you can also select the validation phase.
The connector exposes this metadata in the schema to help you understand how elements in your flow map to each other while building you app, but incoming requests to your deployed service aren’t evaluated by the connector – to do that, you need the JSON Schema Validator.
The element in the example above will look for a JSON in the payload and will validate it against the given schema.
JSON Schema is a standard (currently in draft) which provides a coherent schema by which to validate a JSON "item" against.
When creating a functional Test Case in soap UI, a very common scenario is that you want to call some SOAP/WSDL service and validate the response to check that the correct result is returned.The JSON Schema validator evaluates JSON payloads at runtime and verifies that they match a referenced JSON schema.You can match against schemas that exist in a local file or in an external URI.If the validation fails, an exception is raised with feedback about what went wrong and a reference to the original invalid payload.The JSON Schema Validator supports schema drafts of version 4 and older.As such, tv4 implements "ban unknown properties" mode), enabled by a fourth-argument flag: var schema = ; var data1 = [true, false]; var data2 = [true, 123]; alert("data 1: " tv4.validate(data1, schema)); // true alert("data 2: " tv4.validate(data2, schema)); // false alert("data 2 error: " JSON.stringify(tv4.error, null, 4)); tv4Schema(" ); var schema = ; var data1 = [true, false, true]; var data2 = [1, 2, 3]; alert("data 1: " tv4.validate(data1, schema)); // true alert("data 2: " tv4.validate(data2, schema)); // false It will run a build and display one Spec-style report for the and two Dot-style reports for both the plain and minified browser tests (via phantom JS).