Files
docconv/iWork/pb-schema/TSPDatabaseMessages.proto
Jonathan Ingram 93312f47fc v2: initial commit (#153)
- Some methods have been changed to return an error as their last
  argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00

30 lines
648 B
Protocol Buffer
Executable File

syntax = "proto2";
option go_package = "code.sajari.com/docconv/v2/tsp";
import "TSPMessages.proto";
package TSP;
message DatabaseData {
required .TSP.DataReference data = 1;
}
message DatabaseDataArchive {
optional .TSP.Reference data = 1;
optional string app_relative_path = 2;
required string display_name = 3;
optional uint64 length = 4;
optional uint32 hash = 5;
required bool sharable = 6 [default = true];
}
message DatabaseImageDataArchive {
enum ImageType {
unknown = 0;
bitmap = 1;
pdf = 2;
}
required .TSP.DatabaseDataArchive super = 1;
required .TSP.DatabaseImageDataArchive.ImageType type = 2;
}