Logo

ExtractedData Data Type

Contains the extraction result for a single field. There are usually multiple candidates which are provided as a list of DataCell.

Properties
name data type constraints description
confidence number required float Gets the confidence of the result. This corrosponds to the confidence of the first data cell.
fieldId number required int Id of the field this result refers to.
identifier string   Name of the field.
data array of DataCell   Sorted list of candidates, best one first.

Example

{
  "confidence" : 12345.0,
  "fieldId" : 12345,
  "identifier" : "...",
  "data" : [ {
    "content" : "...",
    "wordIndex" : 12345,
    "boundingBox" : {
      "left" : 12345,
      "top" : 12345,
      "right" : 12345,
      "bottom" : 12345
    },
    "confidence" : 12345.0,
    "page" : 12345
  }, {
    "content" : "...",
    "wordIndex" : 12345,
    "boundingBox" : {
      "left" : 12345,
      "top" : 12345,
      "right" : 12345,
      "bottom" : 12345
    },
    "confidence" : 12345.0,
    "page" : 12345
  } ]
}