syntax = "proto3";

package com.wixpress.items_selection.spi.v1;

import "google/protobuf/struct.proto";
import "wix/api/validations.proto";

message EcomCatalogData {
  // ID of the app that owns the order.
  string app_id = 1 [(.wix.api.format) = GUID];

  // ID of the catalog item associated with the order.
  string catalog_item_id = 2 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 36];

  // Price of the item associated with the order.
  string price = 3 [(.wix.api.decimalValue) = { gte: "0" lte: "1000000000000000"}];

  // Additional options associated with the order.
  google.protobuf.Struct options = 4;
}