Module Values.FieldOptionsCaseRuleSource

Rules that control which options are available in a child field based on the selected value in a parent field.

Sourcetype nonrec t = {
  1. parentFieldId : FieldId.t option;
    (*

    The identifier of the parent field that controls options.

    *)
  2. childFieldId : FieldId.t option;
    (*

    The identifier of the child field whose options are controlled.

    *)
  3. parentChildFieldOptionsMappings : ParentChildFieldOptionsMappingList.t;
    (*

    A mapping between a parent field option value and child field option values.

    *)
}
Sourceval context_ : string
Sourceval make : ?parentFieldId:??? -> ?childFieldId:??? -> parentChildFieldOptionsMappings:ParentChildFieldOptionsMappingList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of ParentChildFieldOptionValue.t ] list | `String of ParentChildFieldOptionValue.t ]) list ] list | `String of FieldId.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