syntax = "proto3";

package wix.devcenter.apps.components.enricher;

import "wix/spi/definitions.proto";
import "wix/api/validations.proto";
import "com/wixpress/appservice/api/components_catalog_type.proto";

// SPI config - defines the relation between implementer URL and which types it is validates
message ComponentEnricherConfig {
  // URI where the SPI Implementer is deployed
  string deployment_uri = 1 [(.wix.spi.base_uri) = true, (.wix.api.maxLength) = 400];
  // Component types that will be enriched
  repeated com.wixpress.appservice.api.ComponentType component_enrichment_types = 2 [(.wix.api.minSize) = 1, (.wix.api.maxSize) = 100];
}