[
  {
    "chunk_id": 1,
    "chunk_type": "dataset",
    "human_description": "This is dataset 'Country_Orders' definition for report 'SubDatasetChartReport'. Contains 2 fields: OrderDate, Freight. Contains 1 parameters: Country. Query (sql): SELECT OrderDate, Freight\n\t\t\tFROM Orders\n\t\t\tWHERE\n\t\t\t\tShipCountry = $P{Country} AND\n\t\t\t\tOrderDate IS NOT NULL\n\t\t\tORDER BY OrderDate",
    "raw_xml": "<dataset name=\"Country_Orders\" uuid=\"d89be355-eac7-43cd-971d-21b8bf0bb71e\">\n\t\t<parameter name=\"Country\" class=\"java.lang.String\" />\n\t\t<query language=\"sql\">SELECT OrderDate, Freight\n\t\t\tFROM Orders\n\t\t\tWHERE\n\t\t\t\tShipCountry = $P{Country} AND\n\t\t\t\tOrderDate IS NOT NULL\n\t\t\tORDER BY OrderDate</query>\n\t\t<field name=\"OrderDate\" class=\"java.sql.Timestamp\" />\n\t\t<field name=\"Freight\" class=\"java.lang.Double\" />\n\t\t<variable name=\"OrderMonth\" class=\"java.util.Date\">\n\t\t\t<expression>net.sf.jasperreports.samples.charts.ChartsApp.truncateToMonth($F{OrderDate})</expression>\n\t\t</variable>\n\t\t<variable name=\"FreightSum\" resetType=\"Group\" calculation=\"Sum\" resetGroup=\"MonthGroup\" class=\"java.lang.Double\">\n\t\t\t<expression>$F{Freight}</expression>\n\t\t</variable>\n\t\t<group name=\"MonthGroup\">\n\t\t\t<expression>$V{OrderMonth}</expression>\n\t\t</group>\n\t</dataset>\n\t",
    "context": "Report 'SubDatasetChartReport' dataset 'Country_Orders'",
    "metadata": {
      "dataset_name": "Country_Orders",
      "field_names": [
        "OrderDate",
        "Freight"
      ],
      "parameter_names": [
        "Country"
      ],
      "query": "SELECT OrderDate, Freight\n\t\t\tFROM Orders\n\t\t\tWHERE\n\t\t\t\tShipCountry = $P{Country} AND\n\t\t\t\tOrderDate IS NOT NULL\n\t\t\tORDER BY OrderDate",
      "query_language": "sql",
      "properties": {}
    }
  },
  {
    "chunk_id": 1,
    "chunk_type": "dataset",
    "human_description": "This is dataset 'Country_Orders' definition for report 'SubDatasetChartReport'. Contains 2 fields: OrderDate, Freight. Contains 1 parameters: Country. Query (sql): SELECT OrderDate, Freight\n\t\t\tFROM Orders\n\t\t\tWHERE\n\t\t\t\tShipCountry = $P{Country} AND\n\t\t\t\tOrderDate IS NOT NULL\n\t\t\tORDER BY OrderDate",
    "raw_xml": "<dataset name=\"Country_Orders\" uuid=\"d89be355-eac7-43cd-971d-21b8bf0bb71e\">\n\t\t<parameter name=\"Country\" class=\"java.lang.String\" />\n\t\t<query language=\"sql\">SELECT OrderDate, Freight\n\t\t\tFROM Orders\n\t\t\tWHERE\n\t\t\t\tShipCountry = $P{Country} AND\n\t\t\t\tOrderDate IS NOT NULL\n\t\t\tORDER BY OrderDate</query>\n\t\t<field name=\"OrderDate\" class=\"java.sql.Timestamp\" />\n\t\t<field name=\"Freight\" class=\"java.lang.Double\" />\n\t\t<variable name=\"OrderMonth\" class=\"java.util.Date\">\n\t\t\t<expression>net.sf.jasperreports.samples.charts.ChartsApp.truncateToMonth($F{OrderDate})</expression>\n\t\t</variable>\n\t\t<variable name=\"FreightSum\" resetType=\"Group\" calculation=\"Sum\" resetGroup=\"MonthGroup\" class=\"java.lang.Double\">\n\t\t\t<expression>$F{Freight}</expression>\n\t\t</variable>\n\t\t<group name=\"MonthGroup\">\n\t\t\t<expression>$V{OrderMonth}</expression>\n\t\t</group>\n\t</dataset>\n\t",
    "context": "Report 'SubDatasetChartReport' dataset 'Country_Orders'",
    "metadata": {
      "dataset_name": "Country_Orders",
      "field_names": [
        "OrderDate",
        "Freight"
      ],
      "parameter_names": [
        "Country"
      ],
      "query": "SELECT OrderDate, Freight\n\t\t\tFROM Orders\n\t\t\tWHERE\n\t\t\t\tShipCountry = $P{Country} AND\n\t\t\t\tOrderDate IS NOT NULL\n\t\t\tORDER BY OrderDate",
      "query_language": "sql",
      "properties": {}
    }
  }
]