{
  "id": "<root>",
  "type": "ROOT",
  "entryPoint": {
    "id": "check-if-sale20",
    "then": {
      "id": "apply-discount-sale20",
      "type": "APPLY_DISCOUNT",
      "title": "20% off sale20",
      "value": {
        "type": "PERCENTAGE",
        "percentage": "20"
      }
    },
    "type": "CHECK_IF",
    "matchType": "AND",
    "otherwise": {
      "id": "check-if-sale15",
      "then": {
        "id": "apply-discount-sale15",
        "type": "APPLY_DISCOUNT",
        "title": "15% off sale15",
        "value": {
          "type": "PERCENTAGE",
          "percentage": "15"
        }
      },
      "type": "CHECK_IF",
      "matchType": "AND",
      "otherwise": {
        "id": "check-if-sale10",
        "then": {
          "id": "apply-discount-sale10",
          "type": "APPLY_DISCOUNT",
          "title": "10% off sale10",
          "value": {
            "type": "PERCENTAGE",
            "percentage": "10"
          }
        },
        "type": "CHECK_IF",
        "matchType": "AND",
        "otherwise": null,
        "conditions": [
          {
            "type": "PRODUCT_ELIGIBILITY",
            "eligibility": {
              "type": "SPECIFIC_COLLECTIONS",
              "asListOfIds": "sale10",
              "selectedCollections": []
            },
            "includeOrExclude": "INCLUDE"
          }
        ]
      },
      "conditions": [
        {
          "type": "PRODUCT_ELIGIBILITY",
          "eligibility": {
            "type": "SPECIFIC_COLLECTIONS",
            "asListOfIds": "sale15",
            "selectedCollections": []
          },
          "includeOrExclude": "INCLUDE"
        }
      ]
    },
    "conditions": [
      {
        "type": "PRODUCT_ELIGIBILITY",
        "eligibility": {
          "type": "SPECIFIC_COLLECTIONS",
          "asListOfIds": "sale20",
          "selectedCollections": []
        },
        "includeOrExclude": "INCLUDE"
      }
    ]
  }
}
