[
  {
    "id": "161ed56d-9631-48e9-a9fd-03e3c01a7691",
    "created_at": "2023-01-30 15:56:15.939218",
    "created_by": "admin",
    "updated_at": "2023-01-30 15:56:15.939209",
    "updated_by": "admin",
    "version": null,
    "definition": "package nhl_1674469575;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1674469575\nwhen\n$rule : RuleRequest((currentEventObjEventType == \"goal\") && (currentEventObjStrength == \"powerplay\") && (attributionTeamObjId != pmStorePenalizedTeamId))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Other Team Name} score a power play goal during this penalty?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The {Other Team Name} scored a power play goal during the penalty\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_penalty_1674469575",
    "packages": "nhl_1674469575",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "22e66fc8-bc29-4714-81bd-ee1973c09a45",
    "created_at": "2023-01-30 16:18:34.615281",
    "created_by": "admin",
    "updated_at": "2023-01-30 16:18:34.615261",
    "updated_by": "admin",
    "version": null,
    "definition": "package nhl_1674470913;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1674470913\nwhen\n$rule : RuleRequest((currentEventObjEventType == \"faceoff\") && (attributionTeamObjId == pmStoreRandomTeamId))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Random Team Name} win the next face off?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The {Random Team Name} won the face off\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The {Random Team Name} lost the face off\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_stoppage_1674470913",
    "packages": "nhl_1674470913",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "4e859a93-dd6b-46b9-9097-1aa7d875e1f7",
    "created_at": "2023-02-13 06:40:44.893164",
    "created_by": "admin",
    "updated_at": "2023-04-19 13:12:55.241074",
    "updated_by": null,
    "version": null,
    "definition": "package nhl_1676270444;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_170_sec_and_stoppage_1676270444\nwhen\n$rule : RuleRequest((currentEventObjEventType == \"penalty\") && (attributionTeamObjId == pmStoreRandomTeamId))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Random Team Name} get a penalty in the next 5 minutes?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The {Random Team Name} got a penalty in the past 5 minutes\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_170_sec_and_stoppage_1676270444",
    "packages": "nhl_1676270444",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "50940ca3-8c2c-4462-8fa5-2947e75d49b4",
    "created_at": "2023-02-13 07:34:35.612297",
    "created_by": "admin",
    "updated_at": "2023-04-19 13:12:56.247385",
    "updated_by": null,
    "version": null,
    "definition": "package nhl_1676273675;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1676273675\nwhen\n$rule : RuleRequest(pmStoreStartTime - curEventObjClock > 300)\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Random Team Name} score a goal in the next 5 minutes?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The {Random Team Name} didn't score a goal in the past 5 minutes\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_1676273675",
    "packages": "nhl_1676273675",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "6f48483b-9485-4214-bcdf-b9890561d21b",
    "created_at": "2023-01-30 15:02:43.289596",
    "created_by": "admin",
    "updated_at": "2023-04-19 13:12:57.123094",
    "updated_by": null,
    "version": null,
    "definition": "package nhl_1674466362;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1674466362\nwhen\n$rule : RuleRequest(currentEventObjStrength == \"even\")\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Team Name} give up a power play goal during this penalty kill?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The {Team Name} didn't give up a power play goal during the penalty kill\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_1674466362",
    "packages": "nhl_1674466362",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "720f3479-8f0b-4bde-8e2b-e9e058d5a30e",
    "created_at": "2023-01-30 15:37:54.035517",
    "created_by": "admin",
    "updated_at": "2023-01-30 15:37:54.035505",
    "updated_by": "admin",
    "version": null,
    "definition": "package nhl_1674468473;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1674468473\nwhen\n$rule : RuleRequest(currentEventObjStrength == \"even\")\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Team Name} be successful in killing off the penalty?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The {Team Name} successfully killed the penalty\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_penalty_1674468473",
    "packages": "nhl_1674468473",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "9df6bb7c-d625-49f0-a77e-cd041464b2c2",
    "created_at": "2023-01-30 15:37:17.944854",
    "created_by": "admin",
    "updated_at": "2023-01-30 15:37:17.944851",
    "updated_by": "admin",
    "version": null,
    "definition": "package nhl_1674468436;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1674468436\nwhen\n$rule : RuleRequest((currentEventObjEventType == \"goal\") && (currentEventObjStrength == \"powerplay\") && (attributionTeamObjId != pmStorePenalizedTeamId))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Team Name} be successful in killing off the penalty?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The {Team Name} did not successfully kill the penalty\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_1674468436",
    "packages": "nhl_1674468436",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "b9a4854c-764f-4af3-8ead-839f8cd60986",
    "created_at": "2023-01-30 15:55:45.183918",
    "created_by": "admin",
    "updated_at": "2023-01-30 15:55:45.183913",
    "updated_by": "admin",
    "version": null,
    "definition": "package nhl_1674469543;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1674469543\nwhen\n$rule : RuleRequest(currentEventObjStrength == \"even\")\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Other Team Name} score a power play goal during this penalty?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The {Other Team Name} didn't score a power play goal during the penalty\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_1674469543",
    "packages": "nhl_1674469543",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "bccc0b88-3458-4180-8d1a-d160aa51dec6",
    "created_at": "2023-02-13 07:35:23.113932",
    "created_by": "admin",
    "updated_at": "2023-04-19 13:12:56.542193",
    "updated_by": null,
    "version": null,
    "definition": "package nhl_1676273723;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_170_sec_and_stoppage_1676273723\nwhen\n$rule : RuleRequest((currentEventObjEventType == \"goal\") && (attributionTeamObjId == pmStoreRandomTeamId))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Random Team Name} score a goal in the next 5 minutes?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The {Random Team Name} scored a goal in the past 5 minutes\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_170_sec_and_stoppage_1676273723",
    "packages": "nhl_1676273723",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "cdc3ebf1-309c-43b1-85aa-9bce45d5b3c3",
    "created_at": "2023-01-30 15:03:08.019912",
    "created_by": "admin",
    "updated_at": "2023-04-19 13:12:56.841029",
    "updated_by": null,
    "version": null,
    "definition": "package nhl_1674466387;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_penalty_1674466387\nwhen\n$rule : RuleRequest((currentEventObjEventType == \"goal\") && (currentEventObjStrength == \"powerplay\") && (attributionTeamObjId != pmStorePenalizedTeamId))\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Team Name} give up a power play goal during this penalty kill?\");\n$pmQuestion.setOutcomeMessageDidIt(\"The {Team Name} gave up a power play goal during the penalty kill\");\n$pmQuestion.setOutcomeMessageMissedIt(\"\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_penalty_1674466387",
    "packages": "nhl_1674466387",
    "path": "src/main/resources",
    "active": true
  },
  {
    "id": "cebbc255-5cb9-4014-8c5c-5d72f310d00e",
    "created_at": "2023-02-13 06:39:58.5428",
    "created_by": "admin",
    "updated_at": "2023-04-19 13:12:54.923026",
    "updated_by": null,
    "version": null,
    "definition": "package nhl_1676270397;\nimport com.nextsport.model.RuleRequest;\nimport com.nextsport.model.RuleResponse;\nimport java.util.*;\nglobal RuleRequest ruleGame;\ndialect \"mvel\"\nrule rule_nhl_1676270397\nwhen\n$rule : RuleRequest(pmStoreStartTime - curEventObjClock > 300)\nthen\nRuleResponse $pmQuestion = new RuleResponse();\n$pmQuestion.setQuestion(\"Will {Random Team Name} get a penalty in the next 5 minutes?\");\n$pmQuestion.setOutcomeMessageDidIt(\"\");\n$pmQuestion.setOutcomeMessageMissedIt(\"The {Random Team Name} didn't get a penalty in the past 5 minutes\");\n$rule.setPmQuestion($pmQuestion);\nend",
    "definition_type": "drl",
    "engine_name": "drool",
    "name": "nhl_1676270397",
    "packages": "nhl_1676270397",
    "path": "src/main/resources",
    "active": true
  }
]
