{
  "metaReportId": 1,
  "metaReportName": "Trial Balance",
  "description": "Trial Balance report with multiple aspects and variants",
  "variants": [
    { "variantId": 1, "variantName": "TB AsOn Schedule", "menuid": -1399999886, "reportid": -1399967378 },
    { "variantId": 2, "variantName": "TB AsOn Group", "menuid": -1399999885, "reportid": -1399967378 },
    { "variantId": 3, "variantName": "TB AsOn Account", "menuid": -1399999884, "reportid": -1399967378 },
    { "variantId": 4, "variantName": "TB AsOn SubAccount", "menuid": -1399999883, "reportid": -1399967378 },
    { "variantId": 5, "variantName": "TB Detail Schedule", "menuid": -1399999880, "reportid": -1399967378 },
    { "variantId": 6, "variantName": "TB Detail Group", "menuid": -1399999879, "reportid": -1399967378 },
    { "variantId": 7, "variantName": "TB Detail Account", "menuid": -1399999878, "reportid": -1399967378 },
    { "variantId": 8, "variantName": "TB Detail SubAccount", "menuid": -1399999877, "reportid": -1399967378 }
  ],
  "aspects": [
    {
      "aspectId": 1,
      "aspectName": "Type",
      "aspectType": "radio",
      "isMandatory": true,
      "displayOrder": 1,
      "options": [
        { "optionId": 1, "label": "AsOn", "value": "ASON", "applicableVariants": [1,2,3,4] },
        { "optionId": 2, "label": "Detail", "value": "DETAIL", "applicableVariants": [5,6,7,8] },
        { "optionId": 3, "label": "Periodic", "value": "PERIODIC", "applicableVariants": [] }
      ],
      "tooltip": "Select the type of report"
    },
    {
      "aspectId": 2,
      "aspectName": "Level",
      "aspectType": "button",
      "isMandatory": true,
      "displayOrder": 2,
      "options": [
        { "optionId": 11, "label": "Schedule", "value": "ACCOUNTSCHEDULE", "applicableVariants": [1,5] },
        { "optionId": 12, "label": "Group", "value": "ACCOUNTGROUP", "applicableVariants": [2,6] },
        { "optionId": 13, "label": "Account", "value": "ACCOUNT", "applicableVariants": [3,7] },
        { "optionId": 14, "label": "SubAccount", "value": "SUBACCOUNT", "applicableVariants": [4,8] }
      ],
      "tooltip": "Select the report level"
    },
    {
      "aspectId": 3,
      "aspectName": "PeriodType",
      "aspectType": "select",
      "isMandatory": false,
      "displayOrder": 3,
      "options": [
        { "optionId": 21, "label": "Year", "value": 0, "applicableVariants": [3,4] },
        { "optionId": 22, "label": "Quarter", "value": 1, "applicableVariants": [3,4] },
        { "optionId": 23, "label": "Month", "value": 2, "applicableVariants": [3,4] },
        { "optionId": 24, "label": "Week", "value": 3, "applicableVariants": [3,4] },
        { "optionId": 25, "label": "Day", "value": 4, "applicableVariants": [3,4] }
      ],
      "tooltip": "Select the period type (enabled only for applicable types)"
    },
    {
      "aspectId": 7,
      "aspectName": "Include Dimension",
      "aspectType": "checkbox",
      "isMandatory": false,
      "displayOrder": 4,
      "options": [
        { "optionId": 41, "label": "Include", "value": true, "applicableVariants": [3,4,7,8] },
        { "optionId": 42, "label": "Exclude", "value": false, "applicableVariants": [1,2,5,6] }
      ],
      "tooltip": "Include or exclude dimension data"
    }
  ]
}
