{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-promotion-compatibility-schema.json",
  "title": "PromotionCompatibility",
  "description": "The compatibility (stacking / exclusivity) document for a promotion, managed as a sub-resource at\n /promotions/{id}/compatibility. It controls how this promotion combines with other promotions of the same class.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-promotions-api-openapi.yml#/components/schemas/PromotionCompatibility",
  "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."
  },
  "type": "object",
  "properties": {
    "exclusivity": {
      "description": "Determines if the promotion can be combined with other promotions of the same promotion class, cannot be\n combined with any other promotion, or has no exclusivity restriction.",
      "enum": [
        "no",
        "class",
        "global"
      ],
      "type": "string"
    },
    "exclusivityGroup": {
      "maxLength": 256,
      "description": "The ID of the exclusivity group this promotion belongs to. Only meaningful when exclusivity restricts\n combination to promotions within the same group.",
      "type": "string"
    },
    "combinablePromotions": {
      "description": "The set of promotion or promotion-group IDs this promotion can be combined with.",
      "type": "array",
      "items": {
        "maxLength": 256,
        "type": "string"
      }
    },
    "mutuallyExclusivePromotions": {
      "description": "The set of promotion or promotion-group IDs this promotion cannot be combined with.",
      "type": "array",
      "items": {
        "maxLength": 256,
        "type": "string"
      }
    }
  }
}