Module Values.AutomatedReasoningPolicyAddVariableAnnotationSource

An annotation for adding a new variable to an Automated Reasoning policy, which can be used in rule expressions.

Sourcetype nonrec t = {
  1. name : AutomatedReasoningPolicyDefinitionVariableName.t;
    (*

    The name of the new variable. This name will be used to reference the variable in rule expressions.

    *)
  2. type_ : AutomatedReasoningPolicyDefinitionTypeName.t;
    (*

    The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.

    *)
  3. description : AutomatedReasoningPolicyDefinitionVariableDescription.t;
    (*

    A description of what the variable represents and how it should be used in rules.

    *)
}
Sourceval context_ : string
Sourceval to_value : t -> [> `Structure of (string * [> `String of AutomatedReasoningPolicyDefinitionVariableName.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