syntax = "proto3";

// flynt-disable package-matches-structure
package com.wixpress.appservice.api.upstream.wix.forms.v4;
option java_package = "com.wixpress.appservice.api.upstream.wix.forms.v4";

import "wix/api/validations.proto";
import "wix/api/annotations.proto";

message RequiredIndicatorProperties{
    option (.wix.api.decomposite_of) = "wix.forms.v4.RequiredIndicatorProperties";
  // Required indicator.
  RequiredIndicator required_indicator = 1;
  // Required indicator placement.
  RequiredIndicatorPlacement required_indicator_placement = 2;

  enum RequiredIndicator {
    // Unknown required indicator.
    UNKNOWN_INDICATOR = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
    // Asterisk (*).
    ASTERISK = 1;
    // Text (default: "Required").
    TEXT = 2;
    // None.
    NONE = 3;
  }

  enum RequiredIndicatorPlacement {
    // Unknown required indicator placement.
    UNKNOWN_PLACEMENT = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
    // After field title.
    AFTER_FIELD_TITLE = 1;
    // Before field title.
    BEFORE_FIELD_TITLE = 2;
  }
}
