syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.forms.v4;
import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";
import "wix/api/annotations.proto";
import "wix/rich_content/v1/rich_content.proto";
import "google/api/annotations.proto";
import "wix/spi/definitions.proto";
import "wix/common/spi.proto";
import "wix/api/entity.proto";
import "google/protobuf/struct.proto";
import "wix/api/permissions.proto";

message FormSpiExtensionConfig {
    option (.wix.api.decomposite_of) = "wix.forms.v4.FormSpiExtensionConfig";
  /*
  Deployment URI where the endpoints are called. Wix Forms appends the endpoint path to the deployment URI.
  For example, to call the Override Form endpoint at `https://my-form.com/v4/forms/override`,
  the `deploymentUri` you provide here is `https://my-form.com/`.
  */
  .wix.common.spi.SpiBaseUri deployment_uri = 1;
  /*
  The app which the form belongs to. For example, the namespace for the Wix Forms app is `wix.form_app.form`.

  Call `Get Form` to retrieve the namespace.
  */
  string namespace = 2 [(.wix.api.minLength) = 10, (.wix.api.maxLength) = 50];
  // The IDs of the specific forms that will trigger the defined methods when a form is requested on the API.
  // This field is optional. If empty, requests for all forms will trigger the methods.
  repeated string form_ids = 3 [(.wix.api.maxSize) = 100, (.wix.api.format) = GUID];
}
