[
  {
    "value": 1,
    "actionTypes": [
      {
        "value": 1,
        "actions": [
          {
            "name": "Earn Points Action",
            "description": "Earn Points Action",
            "className": "com.skava.loyalty.action.AddRewardsAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "formulaClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              },
              {
                "name": "formula",
                "displayName": "Formula",
                "type": "text"
              }
            ]
          },
          {
            "name": "Approve Points Action",
            "description": "Approve Points Action",
            "className": "com.skava.loyalty.action.ApproveCurrentCyclePendingRewards",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              },
              {
                "name": "minEligiblePV",
                "displayName": "Minimum eligible PV",
                "type": "text"
              }
            ]
          },
          {
            "name": "Earn Voucher Action",
            "description": "Earn Voucher Action",
            "className": "com.skava.loyalty.action.AddVoucherAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "type": "VOUCHER",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              },
              {
                "name": "formula",
                "displayName": "Formula",
                "type": "text"
              },
              {
                "name": "voucherName",
                "displayName": "Voucher Name",
                "type": "select",
                "options": [
                  {
                    "displayName": "Bounse Voucher",
                    "name": "Bounse Voucher",
                    "description": "Bounse Voucher"
                  },
                  {
                    "displayName": "Birthday Voucher",
                    "name": "Birthday Voucher",
                    "description": "Birthday Voucher"
                  }
                ]
              }
            ]
          },
          {
            "name": "Loyalty OptIn / OptOut Action",
            "description": "Loyalty OptIn / OptOut Action",
            "className": "com.skava.loyalty.action.LoyaltyOptInOptOutAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              },
              {
                "name": "optInStatus",
                "displayName": "Status",
                "type": "select",
                "options": [
                  {
                    "displayName": "True",
                    "name": "true",
                    "description": "OptIn Status as True"
                  },
                  {
                    "displayName": "False",
                    "name": "false",
                    "description": "OptIn Status as False"
                  }
                ]
              }
            ]
          },
          {
            "name": "Cycle Transaction Action",
            "description": "Cycle Transaction Action",
            "className": "com.skava.loyalty.action.CycleTransactionAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              }
            ]
          },
          {
            "name": "Loyalty Partial Forfeit Action",
            "description": "Loyalty Partial Forfeit Action",
            "className": "com.skava.loyalty.action.LoyaltyPartialForfeitAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "formulaClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              },
              {
                "name": "formula",
                "displayName": "Formula",
                "type": "text"
              }
            ]
          },
          {
            "name": "Update Profile Property",
            "description": "Update Profile Property",
            "className": "com.skava.loyalty.action.UpdateProfilePropertyAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "formulaClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "propertyName",
                "displayName": "Property Name",
                "type": "select",
                "options": [
                  {
                    "name": "numOrdersThisYear",
                    "displayName": "Number of Orders this Year",
                    "description": "NumericIncrement",
                    "timeBasis": "Yearly"
                  },
                  {
                    "name": "numOrdersThisMonth",
                    "displayName": "Number of Orders this month",
                    "description": "NumericIncrement",
                    "timeBasis": "Monthly"
                  },
                  {
                    "name": "numOrdersThisWeek",
                    "displayName": "Number of Orders this week",
                    "description": "NumericIncrement",
                    "timeBasis": "Weekly"
                  },
                  {
                    "name": "numOrdersThisDay",
                    "displayName": "Number of Orders this Day",
                    "description": "NumericIncrement",
                    "timeBasis": "Daily"
                  },
                  {
                    "name": "referenceID",
                    "displayName": "Account reference Id",
                    "description": "NumericIncrement"
                  },
                  {
                    "name": "numOfSubscription",
                    "displayName": "Number of Subscription",
                    "description": "NumericIncrement"
                  },
                  {
                    "name": "orderTotalValue",
                    "displayName": "Order Total Value",
                    "description": "NumericIncrement"
                  }
                ]
              },
              {
                "name": "formula",
                "displayName": "Formula",
                "type": "text"
              }
            ]
          },
          {
            "name": "Update RewardBank Property",
            "description": "Update RewardBank Property",
            "className": "com.skava.loyalty.action.UpdateRewardsBankPropertyAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "formulaClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "propertyName",
                "displayName": "Property name",
                "type": "select",
                "options": [
                  {
                    "name": "MONTHLY_1",
                    "displayName": "subscriptionMonthly1",
                    "description": "NumericIncrement",
                    "timeBasis": "Monthly"
                  },
                  {
                    "name": "MONTHLY_2",
                    "displayName": "subscriptionMonthly2",
                    "description": "NumericIncrement",
                    "timeBasis": "Monthly"
                  },
                  {
                    "name": "MONTHLY_3",
                    "displayName": "subscriptionMonthly3",
                    "description": "NumericIncrement",
                    "timeBasis": "Monthly"
                  },
                  {
                    "name": "Numberofordersgreaterthan50dollars",
                    "displayName": "Numberofordersgreaterthan50dollars",
                    "description": "NumericIncrement"
                  },
                  {
                    "name": "pointsCapfor100dollarsorder",
                    "displayName": "pointsCapfor100dollarsorder",
                    "description": "pointsCapfor100dollarsorder"
                  },
                  {
                    "name": "numOrdersCustomDuration",
                    "displayName": "numOrdersCustomDuration",
                    "description": "numOrdersCustomDuration"
                  }
                ]
              },
              {
                "name": "formula",
                "displayName": "Formula",
                "type": "text"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "value": 2,
    "actionTypes": [
      {
        "value": 1,
        "actions": [
          {
            "name": "Loyalty Forfeit Action",
            "description": "Loyalty Forfeit Action",
            "className": "com.skava.loyalty.action.LoyaltyForfeitAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "rewardType",
                "displayName": "Reward Type",
                "type": "select"
              }
            ]
          },
          {
            "name": "Order Total Value",
            "description": "Order Total Value",
            "className": "com.skava.loyalty.action.SetOrderTotalValuePropertyAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "formulaClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "propertyName",
                "displayName": "Property Name",
                "type": "select",
                "options": [
                  {
                    "name": "orderTotalValue",
                    "displayName": "Order Total Value",
                    "description": "Order Total Value"
                  }
                ]
              },
              {
                "name": "formula",
                "displayName": "Cycle Months Count",
                "type": "text"
              }
            ]
          }
        ]
      }
    ]
  },
  {
    "value": 3,
    "actionTypes": [
      {
        "value": 1,
        "actions": [
          {
            "name": "Set Tier Action",
            "description": "Set Tier Action",
            "className": "com.skava.loyalty.action.TierUpdateAction",
            "conditionClasses": "com.skava.loyalty.action.model.CustomEvent",
            "params": [
              {
                "name": "tier",
                "displayName": "Tier Value",
                "type": "select",
                "options": [
                  {
                    "displayName": "T1 Discount-5",
                    "name": "T1",
                    "description": "Tier 1"
                  },
                  {
                    "displayName": "T2 Discount-10",
                    "name": "T2",
                    "description": "Tier 2"
                  },
                  {
                    "displayName": "T3 Discount-20",
                    "name": "T3",
                    "description": "Tier 3"
                  },
                  {
                    "displayName": "Tier 4",
                    "name": "T4",
                    "description": "Tier 4"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
]