{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-product-result-schema.json",
  "title": "ProductResult",
  "description": "Result document containing an array of products.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-shopper-products-api-openapi.yml#/components/schemas/ProductResult",
  "properties": {
    "limit": {
      "format": "int32",
      "description": "The number of returned documents.",
      "type": "integer"
    },
    "data": {
      "description": "The array of product documents.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Product"
      }
    },
    "total": {
      "format": "int32",
      "description": "The total number of documents.",
      "type": "integer"
    }
  },
  "required": [
    "limit",
    "data",
    "total"
  ],
  "type": "object",
  "$defs": {
    "BundledProduct": {
      "description": "A bundle of products that can be bought together (all or nothing). Each product in the bundle can itself be bought independently, but this is outside of the context of the bundle. A bundle is a purchasing convenience. *Product bundle has a SKU and price.*",
      "properties": {
        "id": {
          "type": "string"
        },
        "product": {
          "description": "The product being bundled.",
          "allOf": [
            {
              "$ref": "#/$defs/Product"
            }
          ]
        },
        "quantity": {
          "format": "double",
          "description": "For the product being bundled, the quantity added to the bundle.",
          "type": "number"
        }
      },
      "required": [
        "id",
        "product",
        "quantity"
      ],
      "type": "object"
    },
    "CurrencyCode": {
      "description": "A three letter uppercase currency code conforming to the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard, or the string `N/A` indicating that a currency is not applicable.",
      "pattern": "^([A-Z][A-Z][A-Z]|N/A)$",
      "type": "string"
    },
    "Image": {
      "description": "Product image",
      "properties": {
        "alt": {
          "description": "The localized alternative text of the image.",
          "type": "string"
        },
        "disBaseLink": {
          "description": "Base URL for the Dynamic Image Service (DIS) address. This is only shown if the image is stored on the server and DIS is enabled.",
          "type": "string"
        },
        "link": {
          "minLength": 1,
          "description": "The URL of the actual image.",
          "type": "string"
        },
        "title": {
          "description": "The localized title of the image.",
          "type": "string"
        }
      },
      "required": [
        "link"
      ],
      "type": "object"
    },
    "ImageGroup": {
      "description": "Document representing an image group containing a list of images for a particular view type and an optional variation value.",
      "properties": {
        "images": {
          "description": "The images of the image group.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Image"
          }
        },
        "variationAttributes": {
          "description": "Returns a list of variation attributes applying to this image group.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/VariationAttribute"
          }
        },
        "viewType": {
          "description": "The image view type.",
          "type": "string"
        }
      },
      "required": [
        "images",
        "viewType"
      ],
      "type": "object"
    },
    "Inventory": {
      "description": "Document representing inventory information of the current product for a particular inventory list.",
      "properties": {
        "ats": {
          "format": "double",
          "description": "The Available To Sell (ATS) of the product. If it is infinity, the return value is 999999. The value can be overwritten by the\n OCAPI setting 'product.inventory.ats.max_threshold'.",
          "type": "number"
        },
        "backorderable": {
          "description": "A flag indicating whether the product is backorderable.",
          "type": "boolean"
        },
        "id": {
          "$ref": "#/$defs/InventoryId"
        },
        "inStockDate": {
          "description": "A flag indicating the date when the product will be in stock.",
          "type": "string",
          "format": "date-time"
        },
        "orderable": {
          "description": "A flag indicating whether at least one of the products is available to sell.",
          "type": "boolean"
        },
        "preorderable": {
          "description": "A flag indicating whether the product is preorderable.",
          "type": "boolean"
        },
        "stockLevel": {
          "format": "double",
          "description": "The stock level of the product. If it is infinity, the return value is 999999. The value can be overwritten by the\n OCAPI setting 'product.inventory.stock_level.max_threshold'.",
          "type": "number"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "InventoryId": {
      "description": "The inventory ID.",
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "Master": {
      "description": "The master product is a representation of a group of variant products. This is a non-buyable entity, provides inheritable attributes for its product variants, and is used for navigation. *Doesn't have a SKU.*",
      "properties": {
        "masterId": {
          "description": "The ID (SKU) of the master product.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "orderable": {
          "description": "A flag indicating whether at least one of the variants can be ordered.",
          "type": "boolean"
        },
        "price": {
          "description": "The minimum sales price of the related variants.",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "priceMax": {
          "description": "The maximum sales price of the related variants.",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "prices": {
          "description": "List of sale prices.",
          "type": "object",
          "additionalProperties": {
            "format": "double",
            "type": "number"
          }
        }
      },
      "required": [
        "masterId"
      ],
      "type": "object"
    },
    "Option": {
      "description": "Product options enable you to sell configurable products that have optional accessories, upgrades, or additional services. Options are always purchased with a product and can't be purchased separately. *Product Option has a SKU and a price associated with it.*",
      "properties": {
        "description": {
          "description": "The localized description of the option.",
          "type": "string"
        },
        "id": {
          "description": "The ID of the option.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "image": {
          "description": "The URL to the option image.",
          "type": "string"
        },
        "name": {
          "description": "The localized name of the option.",
          "type": "string"
        },
        "values": {
          "description": "The array of option values. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/OptionValue"
          }
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "OptionValue": {
      "description": "Document representing an option value.",
      "properties": {
        "default": {
          "description": "A flag indicating whether this option value is the default one.",
          "type": "boolean"
        },
        "id": {
          "description": "The ID of the option value.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "name": {
          "description": "The localized name of the option value.",
          "type": "string"
        },
        "price": {
          "description": "The effective price of the option value.",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "PageMetaTag": {
      "description": "Document representing a Page Meta Tag object.",
      "properties": {
        "id": {
          "description": "The ID of the Page Meta Tag.",
          "type": "string"
        },
        "value": {
          "description": "Locale-specific value of the Page Meta Tag, evaluated by resolving the rule set for the given Business Manager ID.",
          "type": "string"
        },
        "type": {
          "description": "The kind of Page Meta Tag, indicating how the storefront should render the value.\nDocumented values are `name`, `property`, `title`, and `jsonld`:\n  * `name` — render as `<meta name=\"...\">`.\n  * `property` — render as `<meta property=\"...\">` (e.g. Open Graph tags).\n  * `title` — render as the HTML `<title>` element.\n  * `jsonld` — JSON-LD structured data, intended for rendering inside `<script type=\"application/ld+json\">`.\nThe field may be absent when the kind cannot be determined. Clients should treat unknown values as opaque so additional kinds can be introduced without breaking the contract.",
          "type": "string",
          "maxLength": 64
        }
      }
    },
    "Price": {
      "type": "number",
      "description": "Document representing a price for a product",
      "format": "double"
    },
    "PriceRange": {
      "description": "Document representing price ranges for a product which happens to be a master product (per Pricebook)",
      "properties": {
        "maxPrice": {
          "description": "Maximum price for the given pricebook (usually for a master Product would be the price for the Variant which has the highest price out of all Variants in that pricebook)",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "minPrice": {
          "description": "Minimum price for the given pricebook (usually for a master Product would be the price for the Variant which has the least price out of all Variants in that pricebook)",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "pricebook": {
          "description": "The active pricebook from which the min and the max prices are calculated. The pricebook is based on the site context of the request as defined in ECOM.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Product": {
      "description": "Any product that is sold, shown alone, and does not have variations such as different sizes or colors. A product has no reliance on any other product for inheritance. *A product has a SKU and can have a product option, which has a different SKU*.",
      "properties": {
        "brand": {
          "description": "The product's brand.",
          "type": "string"
        },
        "bundledProducts": {
          "description": "The array of all bundled products of this product.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/BundledProduct"
          }
        },
        "currency": {
          "$ref": "#/$defs/CurrencyCode"
        },
        "ean": {
          "description": "The European Article Number of the product.",
          "type": "string"
        },
        "fetchDate": {
          "format": "int32",
          "type": "integer"
        },
        "id": {
          "$ref": "#/$defs/ProductId"
        },
        "imageGroups": {
          "description": "The array of product image groups.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ImageGroup"
          }
        },
        "inventories": {
          "description": "The array of product inventories explicitly requested via the 'inventory_ids' query parameter. This property\n is only returned in context of the 'availability' expansion.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Inventory"
          }
        },
        "inventory": {
          "description": "The site default inventory information. This property is only\n returned in context of the 'availability' expansion.",
          "allOf": [
            {
              "$ref": "#/$defs/Inventory"
            }
          ]
        },
        "longDescription": {
          "description": "The localized product's long description.",
          "type": "string"
        },
        "manufacturerName": {
          "description": "The product's manufacturer name.",
          "type": "string"
        },
        "manufacturerSku": {
          "description": "The product's manufacturer SKU.",
          "type": "string"
        },
        "master": {
          "description": "The master product information, only for types: master, variation group, and variant.",
          "allOf": [
            {
              "$ref": "#/$defs/Master"
            }
          ]
        },
        "minOrderQuantity": {
          "format": "double",
          "description": "The minimum order quantity for this product.",
          "type": "number"
        },
        "name": {
          "description": "The localized product name.",
          "type": "string"
        },
        "options": {
          "description": "The array of product options, only for type option. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Option"
          }
        },
        "pageDescription": {
          "description": "The localized product's page description.",
          "type": "string"
        },
        "pageKeywords": {
          "description": "The localized product's page description.",
          "type": "string"
        },
        "pageTitle": {
          "description": "The localized product's page title.",
          "type": "string"
        },
        "pageMetaTags": {
          "description": "Page Meta tags associated with the given product.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PageMetaTag"
          }
        },
        "price": {
          "format": "double",
          "description": "The sales price of the product. In case of complex products, like master or set, this is the minimum price of\n related child products.",
          "type": "number"
        },
        "pricePerUnit": {
          "format": "double",
          "description": "The price per unit if defined for the product",
          "type": "number"
        },
        "pricePerUnitMax": {
          "format": "double",
          "description": "The max price per unit typically for a master product's variant.",
          "type": "number"
        },
        "priceMax": {
          "format": "double",
          "description": "The maximum sales of related child products in complex products like master or set.",
          "type": "number"
        },
        "priceRanges": {
          "description": "Array of one or more price range objects representing one or more Pricebooks in context for the site.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/PriceRange"
          }
        },
        "prices": {
          "description": "The prices map with pricebook IDs and their values.",
          "type": "object",
          "additionalProperties": {
            "format": "double",
            "type": "number"
          }
        },
        "primaryCategoryId": {
          "description": "The ID of the products primary category.",
          "type": "string"
        },
        "primaryCategory": {
          "description": "The primary category of the product, including its full ancestor breadcrumb path (root to leaf,\nroot category node excluded). Only present when the primary_category expand is requested.",
          "type": "object",
          "properties": {
            "id": {
              "description": "The ID of the primary category.",
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "name": {
              "description": "The localized name of the primary category.",
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "slug": {
              "description": "SEO path persisted for the primary category. This property is omitted when no category URL mapping exists for the requested locale.",
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "parentCategoryTree": {
              "description": "The list of ancestor categories from root to the primary category (root category node excluded).",
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "description": "The ID of the ancestor category.",
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "name": {
                    "description": "The name of the ancestor category.",
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "slug": {
                    "description": "SEO path persisted for the primary category. This property is omitted when no category URL mapping exists for the requested locale.",
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  }
                }
              }
            }
          }
        },
        "productLinks": {
          "description": "The array of source and target product links information.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductLink"
          }
        },
        "productPromotions": {
          "description": "An array of active customer product promotions for this product, sorted by promotion priority\nusing SORT_BY_EXCLUSIVITY ordering (exclusivity → rank → promotion class → discount type →\nbest discount → ID). This array can be empty. Coupon promotions are not returned in this array.\nSee [PromotionPlan.SORT_BY_EXCLUSIVITY](https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/current/scriptapi/html/index.html?target=class_dw_campaign_PromotionPlan.html) for more details.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductPromotion"
          }
        },
        "recommendations": {
          "description": "Returns a list of recommendations.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Recommendation"
          }
        },
        "setProducts": {
          "description": "The array of set products of this product.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Product"
          }
        },
        "shortDescription": {
          "description": "The localized product short description.",
          "type": "string"
        },
        "slug": {
          "description": "The SEO URL slug for the product. Only present when the slug expand is requested and the slug feature is enabled.",
          "type": "string",
          "maxLength": 256
        },
        "slugUrl": {
          "description": "The complete link to this product's storefront page.",
          "type": "string"
        },
        "stepQuantity": {
          "format": "double",
          "description": "The steps in which the order amount of the product can be\n increased.",
          "type": "number"
        },
        "tieredPrices": {
          "description": "The document represents list of tiered prices if the product is a variant",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductPriceTable"
          }
        },
        "type": {
          "description": "The product type information. Can be one or more of the following values: item, master, variation_group, variant, bundle, and set.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductType"
            }
          ]
        },
        "unit": {
          "description": "The sales unit of the product.",
          "type": "string"
        },
        "upc": {
          "description": "The Universal Product Code (UPC).",
          "type": "string"
        },
        "validFrom": {
          "description": "The time a product is valid from.",
          "type": "string",
          "format": "date-time"
        },
        "validTo": {
          "description": "The time a product is valid to.",
          "type": "string",
          "format": "date-time"
        },
        "variants": {
          "description": "The array of actual variants. Only for master, variation group, and variant types. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Variant"
          }
        },
        "variationAttributes": {
          "description": "Sorted array of variation attributes information. Only for master,\n variation group, and variant types. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/VariationAttribute"
          }
        },
        "variationGroups": {
          "description": "The array of actual variation groups. Only for master, variation group, and variant types. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/VariationGroup"
          }
        },
        "variationValues": {
          "description": "The actual variation attribute ID - value pairs. Only for variant and\n variation group types.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "shippingMethods": {
          "description": "The array of applicable shipping methods for this product. This array can be empty.\nThis property is only returned in context of the 'shipping_methods' expansion.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ShippingMethod"
          }
        }
      },
      "required": [
        "id"
      ],
      "type": "object",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "ProductId": {
      "minLength": 1,
      "maxLength": 100,
      "type": "string",
      "description": "The id (SKU) of the product."
    },
    "ProductLink": {
      "description": "Document representing a link between two products. It contains the ID of the source and target products, the type of\n product link, and the URLs to retrieve product data.",
      "properties": {
        "sourceProductId": {
          "description": "The semantic ID of the product this product link is coming from.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "sourceProductLink": {
          "description": "The URL addressing the product this product link is coming from.",
          "type": "string"
        },
        "targetProductId": {
          "description": "The semantic ID of the product this product link is pointing to.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "targetProductLink": {
          "description": "The URL addressing the product this product link is pointing to.",
          "type": "string"
        },
        "type": {
          "description": "The type of product link.",
          "enum": [
            "cross_sell",
            "replacement",
            "up_sell",
            "accessory",
            "newer_version",
            "alt_orderunit",
            "spare_part",
            "other"
          ],
          "type": "string"
        }
      },
      "required": [
        "sourceProductId",
        "sourceProductLink",
        "targetProductId",
        "targetProductLink",
        "type"
      ],
      "type": "object"
    },
    "ProductPriceTable": {
      "description": "Tiered Price Level Object",
      "properties": {
        "price": {
          "description": "Price for the product for the specified tier for the specified pricebook",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "pricebook": {
          "description": "The active pricebook for which this price is defined",
          "type": "string"
        },
        "quantity": {
          "format": "double",
          "description": "Quantity tier for which the price is defined.",
          "type": "number"
        }
      },
      "type": "object"
    },
    "ProductPromotion": {
      "description": "Document representing a product promotion.",
      "properties": {
        "calloutMsg": {
          "description": "The localized call-out message of the promotion.",
          "type": "string"
        },
        "promotionId": {
          "description": "The unique ID of the promotion.",
          "type": "string"
        },
        "promotionalPrice": {
          "description": "The promotional price for this product.",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        }
      },
      "required": [
        "calloutMsg",
        "promotionId",
        "promotionalPrice"
      ],
      "type": "object"
    },
    "ProductType": {
      "description": "Document representing a product type.",
      "properties": {
        "bundle": {
          "description": "A flag indicating whether the product is a bundle.",
          "type": "boolean"
        },
        "item": {
          "description": "A flag indicating whether the product is a standard item.",
          "type": "boolean"
        },
        "master": {
          "description": "A flag indicating whether the product is a master.",
          "type": "boolean"
        },
        "option": {
          "description": "A flag indicating whether the product is an option.",
          "type": "boolean"
        },
        "set": {
          "description": "A flag indicating whether the product is a set.",
          "type": "boolean"
        },
        "variant": {
          "description": "A flag indicating whether the product is a variant.",
          "type": "boolean"
        },
        "variationGroup": {
          "description": "A flag indicating whether the product is a variation group.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "Recommendation": {
      "description": "Document representing a product recommendation.",
      "properties": {
        "calloutMsg": {
          "description": "The localized callout message of the recommendation.",
          "type": "string"
        },
        "image": {
          "$ref": "#/$defs/Image"
        },
        "longDescription": {
          "description": "The localized long description of the recommendation.",
          "type": "string"
        },
        "name": {
          "description": "The localized name of the recommendation.",
          "type": "string"
        },
        "recommendationType": {
          "$ref": "#/$defs/RecommendationType"
        },
        "recommendedItemId": {
          "description": "The recommended item ID of the recommendation.",
          "type": "string"
        },
        "shortDescription": {
          "description": "The localized short description of the recommendation.",
          "type": "string"
        }
      },
      "required": [
        "recommendationType"
      ],
      "type": "object"
    },
    "RecommendationType": {
      "description": "Document representing a recommendation type.",
      "properties": {
        "displayValue": {
          "description": "The localized display value of the recommendation type.",
          "type": "string"
        },
        "value": {
          "format": "int32",
          "description": "The value of the recommendation type.",
          "type": "integer"
        }
      },
      "required": [
        "displayValue",
        "value"
      ],
      "type": "object"
    },
    "ShippingMethod": {
      "description": "Document representing a shipping method.",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      },
      "properties": {
        "description": {
          "description": "The localized description of the shipping method.",
          "type": "string"
        },
        "externalShippingMethod": {
          "description": "The external shipping method.",
          "type": "string"
        },
        "id": {
          "maxLength": 256,
          "description": "The shipping method ID.",
          "type": "string"
        },
        "name": {
          "description": "The localized name of the shipping method.",
          "type": "string"
        },
        "price": {
          "format": "double",
          "description": "The shipping cost total, including shipment level costs,\nproduct level fix, and surcharge costs. It is read only.",
          "type": "number"
        },
        "shippingPromotions": {
          "description": "The array of active customer shipping promotions for this shipping\nmethod. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ShippingPromotion"
          }
        }
      },
      "type": "object",
      "required": [
        "id"
      ]
    },
    "ShippingPromotion": {
      "description": "Document representing a shipping promotion.",
      "properties": {
        "calloutMsg": {
          "description": "The localized callout message of the promotion.",
          "type": "string"
        },
        "promotionId": {
          "description": "The unique ID of the promotion.",
          "type": "string"
        },
        "promotionName": {
          "description": "The localized promotion name.",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": {
        "title": "Additional Property Support",
        "description": "This type supports additional properties passed along with the defined properties of this API.\nTo indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a `c_`.\nThe type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix."
      }
    },
    "Variant": {
      "description": "A product which is a variation within a master product that describes different colors, sizes, or other variation attributes. *Has a SKU.*",
      "properties": {
        "orderable": {
          "description": "A flag indicating whether the variant is orderable.",
          "type": "boolean"
        },
        "price": {
          "description": "The sales price of the variant.",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "productId": {
          "description": "The ID (SKU) of the variant.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "tieredPrices": {
          "description": "List of tiered prices if the product is a variant",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductPriceTable"
          }
        },
        "variationValues": {
          "description": "The actual variation attribute ID - value pairs.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "productId"
      ],
      "type": "object"
    },
    "VariationAttribute": {
      "description": "Document representing a variation attribute.",
      "properties": {
        "id": {
          "minLength": 1,
          "description": "The ID of the variation attribute.",
          "type": "string"
        },
        "name": {
          "description": "The localized display name of the variation attribute.",
          "type": "string"
        },
        "values": {
          "description": "The sorted array of variation values. This array can be empty.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/VariationAttributeValue"
          }
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "VariationAttributeValue": {
      "description": "Document representing a variation attribute value.",
      "properties": {
        "description": {
          "description": "The localized description of the variation value.",
          "type": "string"
        },
        "image": {
          "description": "The first product image for the configured viewtype and this variation value.",
          "allOf": [
            {
              "$ref": "#/$defs/Image"
            }
          ]
        },
        "imageSwatch": {
          "description": "The first product image for the configured viewtype and this variation value (typically the swatch image).",
          "allOf": [
            {
              "$ref": "#/$defs/Image"
            }
          ]
        },
        "name": {
          "description": "The localized display name of the variation value.",
          "type": "string"
        },
        "orderable": {
          "description": "A flag indicating whether at least one variant with this variation attribute value is available to sell.",
          "type": "boolean"
        },
        "value": {
          "minLength": 1,
          "description": "The actual variation value.",
          "type": "string"
        }
      },
      "required": [
        "value"
      ],
      "type": "object"
    },
    "VariationGroup": {
      "description": "Representation of a group of variant products by an attribute. This is a non-buyable entity, provides inheritable attributes for its product variants, and is used for navigation. *Doesn't have a SKU.*",
      "properties": {
        "orderable": {
          "description": "A flag indicating whether the variation group is orderable.",
          "type": "boolean"
        },
        "price": {
          "description": "The sales price of the variation group.",
          "allOf": [
            {
              "$ref": "#/$defs/Price"
            }
          ]
        },
        "productId": {
          "description": "The ID (SKU) of the variation group.",
          "allOf": [
            {
              "$ref": "#/$defs/ProductId"
            }
          ]
        },
        "variationValues": {
          "description": "The actual variation attribute ID - value pairs.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "orderable",
        "price",
        "productId",
        "variationValues"
      ],
      "type": "object"
    }
  }
}