Leaf rule that references a registered RulePrimitive or a saved rule by id.

Hierarchy

  • RuleRef

Properties

Properties

args?: JsonValue

Arguments passed to the primitive at compile time. Constrained to JsonValue because a Rule round-trips through JSON persistence. Ignored when the reference resolves to a saved rule.

id: string

The id of a registered RulePrimitive or a saved rule.

type: "ref"

Discriminant for a leaf that references a primitive or saved rule.