ValidationCondition

webhook_api.v1.ConsideringContractPrevalidation.ValidationCondition

type ValidationCondition

webhook_api.v1.ValidationCondition

FieldTypeDescription
targetValidationTarget enum
FieldNumberDescription
VALIDATION_TARGET_UNSPECIFIED0Validation Target.Validation target unspecified.
VALIDATION_TARGET_RECIPIENT_BALANCE1Validation Target.Balance of the account receiving the assets.
VALIDATION_TARGET_RECIPIENT_CREDENTIALS2Validation Target.Targets the verifiable credentials the recipient possesses
operatorValidationOperator enum
FieldNumberDescription
VALIDATION_OPERATOR_UNSPECIFIED0Validation Operator.Validation Operator Unspecified.
VALIDATION_OPERATOR_EQUAL1Validation Operator.Validation Operator Equal (=).
VALIDATION_OPERATOR_GREATER_THAN2Validation Operator.Validation Operator Greater Than (&rt;).
VALIDATION_OPERATOR_GREATER_THAN_OR_EQUAL3Validation Operator.Validation Operator Greater Than or Equal (&rt;=).
VALIDATION_OPERATOR_LESS_THAN4Validation Operator.Validation Operator Less Than (<).
VALIDATION_OPERATOR_LESS_THAN_OR_EQUAL5Validation Operator.Validation Operator Less Than or Equal (<=).
VALIDATION_OPERATOR_NOT_EQUAL6Validation Operator.Validation Operator Not Equal (!=).
valueoneof
FieldTypeDescription
amount_valueAmountNumerical Value.
string_valuestringString Value.
{
  "target": 1,
  "operator": 1,
  "value": {
    "amount_value": {
      "currency_code": "USD",
      "amount": 100,
      "decimals": 2
    }
  }
}