eBay · Schema

ValueConstraint

This type contains a list of the dependencies that identify when a particular value is available for a given aspect of a given category. Each dependency specifies the values of another aspect of the same category (the control aspect), for which the given value of the given aspect can also be selected by the seller. This container consists of constraint information for the corresponding product aspect value.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
applicableForLocalizedAspectName string The name of the control aspect on which the current aspect value depends.
applicableForLocalizedAspectValues array Contains a list of the values of the control aspect on which this aspect's value depends. When the control aspect has any of the specified values, the current value of the current aspect will also be
View JSON Schema on GitHub

JSON Schema

ebay-valueconstraint-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ValueConstraint",
  "title": "ValueConstraint",
  "type": "object",
  "properties": {
    "applicableForLocalizedAspectName": {
      "type": "string",
      "description": "The name of the control aspect on which the current aspect value depends."
    },
    "applicableForLocalizedAspectValues": {
      "type": "array",
      "description": "Contains a list of the values of the control aspect on which this aspect's value depends. When the control aspect has any of the specified values, the current value of the current aspect will also be available.",
      "items": {
        "type": "string"
      }
    }
  },
  "description": "This type contains a list of the dependencies that identify when a particular value is available for a given aspect of a given category. Each dependency specifies the values of another aspect of the same category (the <i>control</i> aspect), for which the given value of the given aspect can also be selected by the seller. This container consists of constraint information for the corresponding product aspect value."
}