{
  "id": "<root>",
  "type": "ROOT",
  "entryPoint": {
    "id": "check-exclusions",
    "then": {
      "id": "check-subtotal-over-150",
      "then": {
        "id": "apply-15-off-over-150",
        "type": "APPLY_DISCOUNT",
        "title": "15% off over $150",
        "value": {
          "type": "PERCENTAGE",
          "percentage": "15"
        }
      },
      "type": "CHECK_IF",
      "matchType": "AND",
      "otherwise": {
        "id": "apply-10-off",
        "type": "APPLY_DISCOUNT",
        "title": "10% off",
        "value": {
          "type": "PERCENTAGE",
          "percentage": "10"
        }
      },
      "conditions": [
        {
          "type": "PURCHASE_REQUIREMENTS",
          "minOrMax": "MIN",
          "requirements": {
            "quantity": "0",
            "subtotal": "150",
            "appliesTo": "ELIGIBLE_LINE_ITEMS",
            "requirementType": "SUBTOTAL",
            "disableCurrencyConversion": false
          }
        }
      ]
    },
    "type": "CHECK_IF",
    "matchType": "AND",
    "otherwise": null,
    "conditions": [
      {
        "type": "PRODUCT_ELIGIBILITY",
        "eligibility": {
          "type": "VENDOR_MATCH",
          "vendors": [
            "Excluded Brand A",
            "Excluded Brand B",
            "Excluded Brand C"
          ]
        },
        "includeOrExclude": "EXCLUDE"
      },
      {
        "type": "PRODUCT_ELIGIBILITY",
        "eligibility": {
          "type": "SPECIFIC_PRODUCTS",
          "asListOfIds": "excluded-product-1,excluded-product-2",
          "selectedProducts": []
        },
        "includeOrExclude": "EXCLUDE"
      }
    ]
  }
}
