{
  "id": "<root>",
  "type": "ROOT",
  "entryPoint": {
    "id": "check-if-0",
    "then": {
      "id": "apply-discount-0",
      "type": "APPLY_DISCOUNT",
      "title": "Extra 30% off at specific retail locations",
      "value": {
        "type": "PERCENTAGE",
        "percentage": "30"
      }
    },
    "type": "CHECK_IF",
    "matchType": "AND",
    "otherwise": null,
    "conditions": [
      {
        "type": "RETAIL_LOCATION_ELIGIBILITY",
        "eligibility": {
          "ids": [
            "retail-location-1"
          ],
          "type": "SPECIFIC_RETAIL_LOCATIONS"
        },
        "includeOrExclude": "INCLUDE"
      },
      {
        "type": "PRODUCT_ELIGIBILITY",
        "eligibility": {
          "type": "ALL_PRODUCTS"
        },
        "includeOrExclude": "INCLUDE"
      }
    ]
  }
}
