up
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled

This commit is contained in:
StellaOps Bot
2025-11-27 23:44:42 +02:00
parent ef6e4b2067
commit 3b96b2e3ea
298 changed files with 47516 additions and 1168 deletions

View File

@@ -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);
}
}