syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.forms.templates.v2.validation;
option java_package = "com.wixpress.appservice.api.upstream.wix.forms.templates.v2.validation";

import "wix/api/validations.proto";
import "wix/api/annotations.proto";
import "google/protobuf/wrappers.proto";

message IntegerType {
  reserved 4;

  // Maximum value.
  google.protobuf.Int32Value maximum = 1;

  // Minimum value.
  google.protobuf.Int32Value minimum = 2;

  // Multiple of value.
  google.protobuf.Int32Value multiple_of = 3;

  // List of allowed values.
  repeated google.protobuf.Int32Value enum = 5 [(.wix.api.maxSize) = 500];
}
