eBay · Schema

TargetLocation

The type that defines the fields for the distance between the item location and the buyer's location.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
unitOfMeasure string This value shows the unit of measurement used to measure the distance between the location of the item and the buyer's location. This value is typically mi or km.
value string This value indicates the distance (measured in the measurement unit in the unitOfMeasure field) between the item location and the buyer's location.
View JSON Schema on GitHub

JSON Schema

ebay-targetlocation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TargetLocation",
  "title": "TargetLocation",
  "type": "object",
  "properties": {
    "unitOfMeasure": {
      "type": "string",
      "description": "This value shows the unit of measurement used to measure the distance between the location of the item and the buyer's location. This value is typically <code> mi</code> or <code> km</code>."
    },
    "value": {
      "type": "string",
      "description": "This value indicates the distance (measured in the measurement unit in the <b> unitOfMeasure</b>  field) between the item location and the buyer's location."
    }
  },
  "description": "The type that defines the fields for the distance between the item location and the buyer's location. "
}