ExtractDocument
public struct ExtractDocument : Decodable
ExtractDocument contains single document result returned by the returned by the `FormXAPIClient.extract(data:completion:)
-
the predicted document type
Declaration
Swift
public let type: String? -
the confidence score of the predicated document type
Declaration
Swift
public let typeConfidence: Double? -
The document data
Declaration
Swift
public let data: [String : FormXData?] -
Contains four percent values represents [left, top, right, bottom] individually
Declaration
Swift
public let boundingBox: [Double]? -
The extractor id
Declaration
Swift
public let extractorId: String -
The document meta data
Declaration
Swift
public let metadata: ExtractDocumentMetaData -
The detailed document data
Declaration
Swift
public let detailedData: [String : [FormXData]] -
Declaration
Swift
public init(from decoder: Decoder) throws
ExtractDocument Structure Reference