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 "google/protobuf/wrappers.proto";
import "wix/api/annotations.proto";


message NumberType {
    option (.wix.api.decomposite_of) = "wix.forms.templates.v2.validation.NumberType";
  reserved 4;
  // Inclusive maximum value.
  google.protobuf.DoubleValue maximum = 1;

  // Inclusive minimum value.
  google.protobuf.DoubleValue minimum = 2;

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

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