syntax = "proto3";

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

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

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

  // Name of the reward that will be visible to the end users
  string reward_name = 2 [(.wix.api.maxLength) = 100];

  // Description of the reward that will be visible to the end users, describing how the reward works
  string reward_description = 3 [(.wix.api.maxLength) = 500];
}
