The JSON Schema validator evaluates JSON payloads at runtime by matching them against a referenced JSON schema located either locally or via external URI. If the payload does not comply with the schema, a JsonSchemaValidationException will be raised. Using the validator involves adding a <json:validate-schema> element that references the schema file location. Successful payloads will pass through while non-compliant payloads will trigger the exception.