package com.knecon.fforesight.service.layoutparser.internal.api.data.taas;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@Schema(description = "Object containing information about a Table Row.")
public class RowData {

    @Schema(description = "Boolean indicating whether this table row is classified as a header row.")
    boolean header;
    @Schema(description = "A list of Objects containing information about the text in each cell of this row.")
    List<ParagraphData> cellText;
    @Schema(description = "The bounding box of this StructureObject. Is always exactly 4 values representing x, y, w, h, where x, y specify the lower left corner.")
    float[] bBox;
}
