//flynt-disable renamed-field-breaking-change

syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wixpress.loyalty.rewards.v1;

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

message CustomRewardProviderConfig {
  option (.wix.api.decomposite_of) = "com.wixpress.loyalty.reward.spi.CustomRewardProviderConfig";
  // URI where the SPI Implementer is deployed
  .wix.common.spi.SpiBaseUri deployment_uri = 1;

  // User-friendly name of the custom reward
  string reward_name = 2 [(.wix.api.maxLength) = 100, (wix.api.translatable) = {
    type: SHORT_TEXT
  }];

  // User-friendly description of the custom reward
  string reward_description = 3 [(.wix.api.maxLength) = 500, (wix.api.translatable) = {
    type: SHORT_TEXT
  }];
}
