ClassifyReturn
public struct ClassifyReturn : Codable, Equatable
The analysis of objects returned by the Element classification method.
-
Basic information about the input document.
Declaration
Swift
public var document: Document?
-
The analysis model used to classify the input document. For the Element classification method, the only valid value is
contracts
.Declaration
Swift
public var modelID: String?
-
The version of the analysis model identified by the value of the
model_id
key.Declaration
Swift
public var modelVersion: String?
-
Document elements identified by the service.
Declaration
Swift
public var elements: [Element]?
-
The date or dates on which the document becomes effective.
Declaration
Swift
public var effectiveDates: [EffectiveDates]?
-
The monetary amounts that identify the total amount of the contract that needs to be paid from one party to another.
Declaration
Swift
public var contractAmounts: [ContractAmts]?
-
The dates on which the document is to be terminated.
Declaration
Swift
public var terminationDates: [TerminationDates]?
-
The contract type as declared in the document.
Declaration
Swift
public var contractTypes: [ContractTypes]?
-
The durations of the contract.
Declaration
Swift
public var contractTerms: [ContractTerms]?
-
The document’s payment durations.
Declaration
Swift
public var paymentTerms: [PaymentTerms]?
-
The contract currencies as declared in the document.
Declaration
Swift
public var contractCurrencies: [ContractCurrencies]?
-
Definition of tables identified in the input document.
Declaration
Swift
public var tables: [Tables]?
-
The structure of the input document.
Declaration
Swift
public var documentStructure: DocStructure?
-
Definitions of the parties identified in the input document.
Declaration
Swift
public var parties: [Parties]?