Module Values.LendingFieldSource

Holds the normalized key-value pairs returned by AnalyzeDocument, including the document type, detected text, and geometry.

Sourcetype nonrec t = {
  1. type_ : String_.t option;
    (*

    The type of the lending document.

    *)
  2. keyDetection : LendingDetection.t option;
  3. valueDetections : LendingDetectionList.t option;
    (*

    An array of LendingDetection objects.

    *)
}
Sourceval make : ?type_:??? -> ?keyDetection:??? -> ?valueDetections:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Float of Percent.t | `String of String_.t | `Structure of (string * [> `Float of Angle.t | `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `Float of Percent.t | `String of String_.t | `Structure of (string * [> `Float of Angle.t | `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]) list ]) 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