{
  "id": "<root>",
  "type": "ROOT",
  "entryPoint": {
    "id": "check-if-collection",
    "then": {
      "id": "apply-discount-0",
      "type": "APPLY_DISCOUNT",
      "title": "40% off this collection",
      "value": {
        "type": "PERCENTAGE",
        "percentage": "40"
      }
    },
    "type": "CHECK_IF",
    "matchType": "AND",
    "otherwise": null,
    "conditions": [
      {
        "type": "PRODUCT_ELIGIBILITY",
        "eligibility": {
          "type": "SPECIFIC_COLLECTIONS",
          "asListOfIds": "eligible-collection",
          "selectedCollections": []
        },
        "includeOrExclude": "INCLUDE"
      }
    ]
  }
}
