Table of Contents

Class ConditionOperatorInfo

Namespace
RuleWright.Serialization
Assembly
RuleWright.Serialization.dll

Discovery metadata for one condition operator: its JSON spelling, domain enum, and the kind of value it takes. Enumerated from ConditionOperators so a rule-builder UI can populate operator pickers and value editors without hard-coding the vocabulary. Authoritative validation still lives in RuleSetValidator; this is a coarser authoring hint.

public sealed class ConditionOperatorInfo
Inheritance
ConditionOperatorInfo
Inherited Members

Properties

AllowsExpressionLeft

Whether the left-hand side may be a computed expression rather than only a field (true for every operator except custom and the quantifiers).

JsonName

The JSON schema spelling used in rule documents (e.g. "Equals").

Operator

The domain enum value.

RequiresElementCondition

Whether the operator quantifies over a collection and therefore requires a nested per-element condition (Any, All, None).

RequiresFunctionName

Whether a function name is required (the custom operator).

RequiresValue

Whether a comparison value is required (true for Scalar/Text/Array).

ValueKind

The kind of comparison value this operator takes.