syntax = "proto3";
message RevId {
    int64 value = 1;
}
message Revision {
    int64 base_rev_id = 1;
    int64 rev_id = 2;
    bytes delta_data = 3;
    string md5 = 4;
    string doc_id = 5;
    RevType ty = 6;
}
message RevisionRange {
    string doc_id = 1;
    int64 start = 2;
    int64 end = 3;
}
enum RevType {
    Local = 0;
    Remote = 1;
}
