rule page in the validation client
This commit is contained in:
@@ -219,6 +219,7 @@ message ReplaceTableValidationResponse {
|
||||
}
|
||||
|
||||
message ValidationRuleDefinition {
|
||||
optional int64 id = 4;
|
||||
string name = 1;
|
||||
optional string description = 2;
|
||||
|
||||
@@ -226,12 +227,28 @@ message ValidationRuleDefinition {
|
||||
FieldValidation validation = 3;
|
||||
}
|
||||
|
||||
message ValidationSetRuleItem {
|
||||
int32 position = 1;
|
||||
optional string name = 2;
|
||||
optional string description = 3;
|
||||
|
||||
oneof source {
|
||||
string global_rule_name = 10;
|
||||
FieldValidation inline_validation = 11;
|
||||
int64 global_rule_id = 12;
|
||||
}
|
||||
}
|
||||
|
||||
message ValidationSetDefinition {
|
||||
reserved 3;
|
||||
|
||||
string name = 1;
|
||||
optional string description = 2;
|
||||
repeated string ruleNames = 3;
|
||||
|
||||
// Server-resolved snapshot of all rules in ruleNames order.
|
||||
// Ordered set items.
|
||||
repeated ValidationSetRuleItem ruleItems = 5;
|
||||
|
||||
// Server-resolved snapshot of all set items in order.
|
||||
FieldValidation resolvedValidation = 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user