in src/Analyzer.JsonRuleEngine/Schemas/AnyOfExpressionDefinition.cs [42:55]
internal override void Validate()
{
if (!(this.AnyOf?.Count() > 0))
{
throw new JsonException("No expressions were specified in the anyOf expression");
}
int nullCount = this.AnyOf.Count(e => e == null);
if (nullCount > 0)
{
throw new JsonException($"Null expressions are not valid. {nullCount} expressions are null in anyOf expression");
}
}