[
  {
    "chunk_id": 4,
    "chunk_type": "variables_group",
    "human_description": "These are variable definitions for report 'ProductReport' (resetType=Group), total 3 variables. Variables: QuantityProductSum(java.lang.Float, Sum), PriceProductSum(java.lang.Float, Sum), ProductCount(java.lang.Integer, System).",
    "raw_xml": "<variable name=\"QuantityProductSum\" resetType=\"Group\" calculation=\"Sum\" resetGroup=\"ProductGroup\" class=\"java.lang.Float\">\n\t\t<expression>$F{Quantity}</expression>\n\t</variable>\n\t\n<variable name=\"PriceProductSum\" resetType=\"Group\" calculation=\"Sum\" resetGroup=\"ProductGroup\" class=\"java.lang.Float\">\n\t\t<expression>$F{Price}</expression>\n\t</variable>\n\t\n<variable name=\"ProductCount\" resetType=\"Group\" calculation=\"System\" resetGroup=\"ProductGroup\" class=\"java.lang.Integer\">\n\t\t<initialValueExpression>$V{ProductCount} == null ? 1 : ($V{ProductCount} + 1)</initialValueExpression>\n\t</variable>\n\t",
    "context": "Report 'ProductReport' variable definitions (Group level reset)",
    "metadata": {
      "variable_names": [
        "QuantityProductSum",
        "PriceProductSum",
        "ProductCount"
      ],
      "variable_types": {
        "QuantityProductSum": "java.lang.Float",
        "PriceProductSum": "java.lang.Float",
        "ProductCount": "java.lang.Integer"
      },
      "variable_calculations": {
        "QuantityProductSum": "Sum",
        "PriceProductSum": "Sum",
        "ProductCount": "System"
      },
      "reset_type": "Group",
      "expressions": {
        "QuantityProductSum": {
          "type": "expression",
          "value": "$F{Quantity}"
        },
        "PriceProductSum": {
          "type": "expression",
          "value": "$F{Price}"
        },
        "ProductCount": {
          "type": "initialValue",
          "value": "$V{ProductCount} == null ? 1 : ($V{ProductCount} + 1)"
        }
      },
      "count": 3
    }
  },
  {
    "chunk_id": 4,
    "chunk_type": "variables_group",
    "human_description": "These are variable definitions for report 'ProductReport' (resetType=Group), total 3 variables. Variables: QuantityProductSum(java.lang.Float, Sum), PriceProductSum(java.lang.Float, Sum), ProductCount(java.lang.Integer, System).",
    "raw_xml": "<variable name=\"QuantityProductSum\" resetType=\"Group\" calculation=\"Sum\" resetGroup=\"ProductGroup\" class=\"java.lang.Float\">\n\t\t<expression>$F{Quantity}</expression>\n\t</variable>\n\t\n<variable name=\"PriceProductSum\" resetType=\"Group\" calculation=\"Sum\" resetGroup=\"ProductGroup\" class=\"java.lang.Float\">\n\t\t<expression>$F{Price}</expression>\n\t</variable>\n\t\n<variable name=\"ProductCount\" resetType=\"Group\" calculation=\"System\" resetGroup=\"ProductGroup\" class=\"java.lang.Integer\">\n\t\t<initialValueExpression>$V{ProductCount} == null ? 1 : ($V{ProductCount} + 1)</initialValueExpression>\n\t</variable>\n\t",
    "context": "Report 'ProductReport' variable definitions (Group level reset)",
    "metadata": {
      "variable_names": [
        "QuantityProductSum",
        "PriceProductSum",
        "ProductCount"
      ],
      "variable_types": {
        "QuantityProductSum": "java.lang.Float",
        "PriceProductSum": "java.lang.Float",
        "ProductCount": "java.lang.Integer"
      },
      "variable_calculations": {
        "QuantityProductSum": "Sum",
        "PriceProductSum": "Sum",
        "ProductCount": "System"
      },
      "reset_type": "Group",
      "expressions": {
        "QuantityProductSum": {
          "type": "expression",
          "value": "$F{Quantity}"
        },
        "PriceProductSum": {
          "type": "expression",
          "value": "$F{Price}"
        },
        "ProductCount": {
          "type": "initialValue",
          "value": "$V{ProductCount} == null ? 1 : ($V{ProductCount} + 1)"
        }
      },
      "count": 3
    }
  }
]