syntax = "proto3";

package com.wix.ecommerce.platform_common.api;

import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";
import "com/wix/ecommerce/platform_common/api/address.proto";
import "wix/api/annotations.proto";

message Location {
  // Location ID.
  // Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
  string id = 1 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.locations.v1.location"];
  // Location name.
  string name = 2 [(.wix.api.minLength) = 1, (.wix.api.maxLength) = 500, (.wix.api.readOnly) = true];
}