diff --git a/en/docs/reference/mediators/validate-mediator.md b/en/docs/reference/mediators/validate-mediator.md
index 8e4ac82ee..1731d1262 100644
--- a/en/docs/reference/mediators/validate-mediator.md
+++ b/en/docs/reference/mediators/validate-mediator.md
@@ -1,39 +1,21 @@
# Validate Mediator
-You can use the Validate mediator to validate XML and JSON messages.
+You can use the Validate mediator to validate XML and JSON messages against a specified XML or JSON schema.
-## Validating XML messages
-
-The Validate mediator validates XML messages against a specified schema.
-You can specify an XPath to extract and validate a specific part of the
-message. Otherwise, the mediator validates the first child of the SOAP
-body of the current message.
-
-!!! Tip
- A [Fault mediator]({{base_path}}/reference/mediators/fault-mediator) should be added as a child to the Validate mediator in order specify the fault sequence to be followed if the validation fails.
-
-### Syntax
+## Syntax
``` java
- The XPath expression to extract the XML that needs to be validated. The Validate mediator validates the evaluation of this expression against the schema specified in the Schema keys defined for Validate Mediator table. If this is not specified, the validation is performed against the first child of the SOAP body of the current message. The expression to extract the XML or JSON payload that needs to be validated. The Validate mediator validates the evaluation of this expression against the schema specified in the schema.
+ Note If this is not specified,
+ This check box is enabled by default to ensure that schemas retrieved from the registry for one service/REST API are cached for future use. Be sure to disable this check box if you are using the Validate mediator inside a Template. Since multiple proxy services/REST APIs will be accessing one template, schemas that are cached for one service can interrupt another service that uses the same template. Be sure to disable this check box if you are using the validate mediator inside a Template. Since multiple proxy services/REST APIs will be accessing one template, schemas that are cached for one service can interrupt another service that uses the same template. The key for the schema location. It can be specified using one of the following methods. Click Add Key to add a new schema key. Click Delete in the relevant row to delete a schema key. You can click NameSpaces to add namespaces if you are providing an expression. Then the Namespace Editor panel would appear where you can provide any number of namespace prefixes and URLs used in the XPath expression.
@@ -46,75 +28,97 @@ follows.
+
+The other configuration can be divided into the following sections.
+
+### Schemas
+
+This section is used to specify the key to access the schema based on which validation is carried out. The parameters available in this section are as
+follows.
+
+
Source
+
+ json-eval($.msg)
-
+
+Enable Cache Schema
+Enable Schema Caching
+
+
-#### Features
+### Features
This section is used to specify which features of the Validate mediator
-should be enabled and which should be disabled. The parameters available
+should be enabled and which should be disabled. A feature can be used to control schema validation behavior. The parameters available
in this section are as follows.
!!! Info
- Only the [FEATURE_SECURE_PROCESSING](http://java.sun.com/javase/6/docs/api/constant-values.html#javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING) feature is currently supported by the validator.
+ Only the [FEATURE_SECURE_PROCESSING](https://docs.oracle.com/en/java/javase/17/docs/api/java.xml/javax/xml/XMLConstants.html#FEATURE_SECURE_PROCESSING) feature is currently supported by the validator.
-| Parameter Name | Description |
-|------------------|----------------------------------------------------------------------------------|
-| **Feature Name** | The name of the feature. |
-| **Value** | Click **True** to enable the feature, or click **False** to disable the feature. |
-| **Action** | Click **Delete** in the relevant row to delete a feature. |
+| Parameter Name | Description |
+|---------------------|--------------------------------------------|
+| **Feature Name** | The name of the feature. |
+| **Feature Enabled** | Select the checkbox to enable the feature. |
-#### Resources
+### Resources
A resource in the Validate mediator configuration enables you to import
a schema referenced within another schema. In order to access such a
schema via a resource, the parent schema should be saved as a resource
-in the Registry. The parameters available in this section are as
+in the Registry. The parameters available in this section are as
follows.
| Parameter Name | Description |
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **Location** | The location of the schema to be imported. The value entered here should be equal to the value of the ` schema location ` attribute within the relevant ` < xsd:import > ` element in the parent schema. |
-| **Key** | The key to access the parent schema saved in the Registry. Click either **Configuration Registry** or **Governance Registry** as relevant to select the key from the resource tree. |
+| **Location** | The location of the schema to be imported. The value entered here should be equal to the value of the `schema location` attribute within the relevant `
+
+
+
Parameter Name
+Description
+
-
Schema keys defined for Validate Mediator table
+Schema
-
-
Parameter Name | -Description | -
---|---|
Source | -The JSONPath expression to extract the JSON element that needs to be validated. The Validate mediator validates the evaluation of this expression against the schema specified in the Schema keys defined for Validate Mediator table. If this is not specified, the validation is performed against the whole body of the current message. -
-E.g: json-eval($.msg)
- |
-
Enable Cache Schema | -
- This check box is enabled by default to ensure that schemas retrieved from the registry for one service/REST API are cached for future use. -Using Templates? -Be sure to disable this check box if you are using the Validate mediator inside a Template . Since multiple proxy services/REST APIs will be accessing one template, schemas that are cached for one service can interrupt another service that uses the same template. - |
-
Schema keys defined for Validate Mediator | -The key for the schema location. It can be specified using one of the following methods. -
Click Add Key to add a new schema key. Click Delete in the relevant row to delete a schema key. |
-