syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wixpress.functions.functionsshop.v1;

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

message FunctionsShopPriceSpiConfig {
    option (.wix.api.decomposite_of) = "com.wixpress.functions.functionsshop.v1.FunctionsShopPriceSpiConfig";
  // Uri config
  .wix.common.spi.SpiBaseUri uri_config = 1;
  // function shop id
  google.protobuf.StringValue function_shop_id = 2 [(.wix.api.format) = GUID];
  // Namespace
  Namespace namespace = 3;
  // Repeated namespace case
  repeated Namespace namespaces = 4 [(.wix.api.maxSize) = 100];
  // String name
  google.protobuf.StringValue shop_name = 5 [(.wix.api.maxLength) = 100];
  // Simple double
  google.protobuf.DoubleValue shop_number = 6;

  message Namespace {
        option (.wix.api.decomposite_of) = "com.wixpress.functions.functionsshop.v1.FunctionsShopPriceSpiConfig.Namespace";
    // Namespace name
    google.protobuf.StringValue name = 1 [(.wix.api.maxLength) = 100];
    // Additional function shop id
    google.protobuf.StringValue function_shop_id = 2 [(.wix.api.format) = GUID];
  }
}
