up
This commit is contained in:
@@ -17,7 +17,7 @@ public sealed class RiskProfileValidator
|
||||
_schema = schema ?? throw new ArgumentNullException(nameof(schema));
|
||||
}
|
||||
|
||||
public ValidationResults Validate(string json)
|
||||
public EvaluationResults Validate(string json)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(json))
|
||||
{
|
||||
@@ -25,6 +25,6 @@ public sealed class RiskProfileValidator
|
||||
}
|
||||
|
||||
using var document = JsonDocument.Parse(json);
|
||||
return _schema.Validate(document.RootElement);
|
||||
return _schema.Evaluate(document.RootElement);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user