Skip to main content
Version: Beta

DocumentImage

description

DocumentImage type represents an image inside a document. To uniquely identity a document image it would require imageId and documentVersion. So used compound key for DocumentImage entity

type DocumentImage {
id: ID!
document: Document!
relevanceScore: Float
types: [DocumentImageType!]
}

Fields

DocumentImage.id ● ID! non-null scalar

Document Image id @exposed

DocumentImage.document ● Document! non-null object

Document data containing the image @exposed

DocumentImage.relevanceScore ● Float scalar

Shows how relevant the image is for the search parameters. A float value between 0 (least relevant) and 100 (most relevant). @exposed

DocumentImage.types ● [DocumentImageType!] list enum

Represents the types of image (chart/table/other) One image can have multiple types. For example an image can be a chart as well as a table. @exposed

Member of

Document object ● SearchDocumentImageResponse object