Skip to content

Commit

Permalink
rename ID to Term in the protobuf schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Sep 12, 2021
1 parent 040c204 commit 6c9f12d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions schema.proto
Expand Up @@ -47,27 +47,27 @@ message CheckV2 {

message PredicateV2 {
required uint64 name = 1;
repeated IDV2 ids = 2;
repeated TermV2 terms = 2;
}

message IDV2 {
message TermV2 {
oneof Content {
uint32 variable = 1;
int64 integer = 2;
uint64 string = 3;
uint64 date = 4;
bytes bytes = 5;
bool bool = 6;
IDSet set = 7;
TermSet set = 7;
}
}

message IDSet {
repeated IDV2 set = 1;
message TermSet {
repeated TermV2 set = 1;
}

message ConstraintV2 {
required uint32 id = 1;
required uint32 term = 1;

oneof Constraint {
IntConstraintV2 int = 2;
Expand Down Expand Up @@ -133,7 +133,7 @@ message ExpressionV2 {

message Op {
oneof Content {
IDV2 value = 1;
TermV2 value = 1;
OpUnary unary = 2;
OpBinary Binary = 3;
}
Expand Down

0 comments on commit 6c9f12d

Please sign in to comment.