Module Values.RuleConditionSource

An object that defines the ruleCondition and the ruleName to use in a matching workflow.

Sourcetype nonrec t = {
  1. ruleName : RuleConditionRuleNameString.t;
    (*

    A name for the matching rule. For example: Rule1

    *)
  2. condition : RuleConditionConditionString.t;
    (*

    A statement that specifies the conditions for a matching rule. If your data is accurate, use an Exact matching function: Exact or ExactManyToMany. If your data has variations in spelling or pronunciation, use a Fuzzy matching function: Cosine, Levenshtein, or Soundex. Use operators if you want to combine (AND), separate (OR), or group matching functions (...). For example: (Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)

    *)
}
Sourceval context_ : string
Sourceval make : ruleName:RuleConditionRuleNameString.t -> condition:RuleConditionConditionString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RuleConditionRuleNameString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t