syntax = "proto3";

import "LayoutEngine.proto";
import "NodeType.proto";

message EntryData {
  // Type of the semantic node.
  NodeType type = 1;

  // Specifies the position in the parsed tree structure.
  repeated int32 treeId = 2;

  // Specifies the text block IDs associated with this semantic node.
  repeated int64 atomicBlockIds = 3;

  // Specifies the pages this semantic node appears on.
  repeated int64 pageNumbers = 4;

  // Some semantic nodes have additional information, this information is stored in this Map.
  map<string, string> properties = 5;

  // All child Entries of this Entry.
  repeated EntryData children = 6;

  // Describes the origin of the semantic node.
  repeated LayoutEngine engines = 7;
}
