{
  "ldm": {
    "datasets": [
      {
        "id": "area_practices",
        "title": "Area Practices",
        "grain": [
          {
            "id": "area_practice_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "area_practice_date",
            "title": "Area Practice Date",
            "description": "",
            "labels": [],
            "tags": [
              "Area Practices"
            ],
            "sourceColumn": "area_practice_date",
            "sourceColumnDataType": "TIMESTAMP"
          },
          {
            "id": "area_practice_id",
            "title": "Area Practice ID",
            "description": "",
            "labels": [],
            "tags": [
              "Area Practices"
            ],
            "sourceColumn": "area_practice_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "area_practice_name",
            "title": "Area Practice Name",
            "description": "",
            "labels": [],
            "tags": [
              "Area Practices"
            ],
            "sourceColumn": "area_practice_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Area Practices"
        ],
        "dataSourceTableId": {
          "id": "vw_area_practice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_area_practice"
          ]
        }
      },
      {
        "id": "bmif_area_practices",
        "title": "Bmif Area Practices",
        "grain": [
          {
            "id": "bmif_area_practice_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "bmif_area_practice_id",
            "title": "Bmif Area Practice ID",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Area Practices"
            ],
            "sourceColumn": "bmif_area_practice_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "bmif_area_practice_name",
            "title": "Bmif Area Practice Name",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Area Practices"
            ],
            "sourceColumn": "bmif_area_practice_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Bmif Area Practices"
        ],
        "dataSourceTableId": {
          "id": "vw_bmif_area_practice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_bmif_area_practice"
          ]
        }
      },
      {
        "id": "bmif_specialims",
        "title": "Bmif Specialims",
        "grain": [
          {
            "id": "bmif_specialism_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "bmif_specialism_bar_mutual_area_practice",
            "title": "Bmif Specialism Bar Mutual Area Practice",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Specialims"
            ],
            "sourceColumn": "bmif_specialism_bar_mutual_area_practice",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "bmif_specialism_bar_mutual_code",
            "title": "Bmif Specialism Bar Mutual Code",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Specialims"
            ],
            "sourceColumn": "bmif_specialism_bar_mutual_code",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "bmif_specialism_code",
            "title": "Bmif Specialism Code",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Specialims"
            ],
            "sourceColumn": "bmif_specialism_code",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "bmif_specialism_id",
            "title": "Bmif Specialism ID",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Specialims"
            ],
            "sourceColumn": "bmif_specialism_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "bmif_specialism_name",
            "title": "Bmif Specialism Name",
            "description": "",
            "labels": [],
            "tags": [
              "Bmif Specialims"
            ],
            "sourceColumn": "bmif_specialism_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Bmif Specialims"
        ],
        "dataSourceTableId": {
          "id": "vw_bmif_specialism",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_bmif_specialism"
          ]
        }
      },
      {
        "id": "booking_area_practices",
        "title": "Booking Area Practices",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "area_practices",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "area_practice_id",
                "dataType": "INT",
                "target": {
                  "id": "area_practice_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "bookings",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "booking_id",
                "dataType": "INT",
                "target": {
                  "id": "booking_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Booking Area Practices"
        ],
        "dataSourceTableId": {
          "id": "vw_booking_area_practice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_booking_area_practice"
          ]
        }
      },
      {
        "id": "booking_barristers",
        "title": "Booking Barristers",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "bookings",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "booking_id",
                "dataType": "INT",
                "target": {
                  "id": "booking_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Booking Barristers"
        ],
        "dataSourceTableId": {
          "id": "vw_booking_barrister",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_booking_barrister"
          ]
        }
      },
      {
        "id": "booking_contacts",
        "title": "Booking Contacts",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "bookings",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "booking_id",
                "dataType": "INT",
                "target": {
                  "id": "booking_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "contacts",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "contact_id",
                "dataType": "INT",
                "target": {
                  "id": "contact_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Booking Contacts"
        ],
        "dataSourceTableId": {
          "id": "vw_booking_contact",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_booking_contact"
          ]
        }
      },
      {
        "id": "bookings",
        "title": "Bookings",
        "grain": [
          {
            "id": "booking_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "booking_description",
            "title": "Booking Description",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_description",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "booking_id",
            "title": "Booking ID",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "booking_is_draft",
            "title": "Booking Is Draft",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_is_draft",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "booking_status",
            "title": "Booking Status",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_status",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "booking_sub_type",
            "title": "Booking Sub Type",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_sub_type",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "booking_title",
            "title": "Booking Title",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_title",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "booking_type",
            "title": "Booking Type",
            "description": "",
            "labels": [],
            "tags": [
              "Bookings"
            ],
            "sourceColumn": "booking_type",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "booking_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "booking_created_date",
                "dataType": "TIMESTAMP",
                "target": {
                  "id": "booking_date",
                  "type": "date"
                }
              }
            ]
          }
        ],
        "tags": [
          "Bookings"
        ],
        "dataSourceTableId": {
          "id": "vw_booking",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_booking"
          ]
        }
      },
      {
        "id": "contact_role_types",
        "title": "Contact Role Types",
        "grain": [
          {
            "id": "contact_role_type_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "contact_role_type_id",
            "title": "Contact Role Type ID",
            "description": "",
            "labels": [],
            "tags": [
              "Contact Role Types"
            ],
            "sourceColumn": "contact_role_type_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "contact_role_type_name",
            "title": "Contact Role Type Name",
            "description": "",
            "labels": [],
            "tags": [
              "Contact Role Types"
            ],
            "sourceColumn": "contact_role_type_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Contact Role Types"
        ],
        "dataSourceTableId": {
          "id": "vw_contact_role_type",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_contact_role_type"
          ]
        }
      },
      {
        "id": "contact_roles",
        "title": "Contact Roles",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "contact_role_types",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "contact_role_type_id",
                "dataType": "INT",
                "target": {
                  "id": "contact_role_type_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "contacts",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "contact_id",
                "dataType": "INT",
                "target": {
                  "id": "contact_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Contact Roles"
        ],
        "dataSourceTableId": {
          "id": "vw_contact_role",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_contact_role"
          ]
        }
      },
      {
        "id": "contacts",
        "title": "Contacts",
        "grain": [
          {
            "id": "contact_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "contact_company_name",
            "title": "Contact Company Name",
            "description": "",
            "labels": [],
            "tags": [
              "Contacts"
            ],
            "sourceColumn": "contact_company_name",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "contact_full_name",
            "title": "Contact Full Name",
            "description": "",
            "labels": [],
            "tags": [
              "Contacts"
            ],
            "sourceColumn": "contact_full_name",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "contact_id",
            "title": "Contact ID",
            "description": "",
            "labels": [],
            "tags": [
              "Contacts"
            ],
            "sourceColumn": "contact_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "contact_is_archived",
            "title": "Contact Is Archived",
            "description": "",
            "labels": [],
            "tags": [
              "Contacts"
            ],
            "sourceColumn": "contact_is_archived",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "contact_subtype",
            "title": "Contact Subtype",
            "description": "",
            "labels": [],
            "tags": [
              "Contacts"
            ],
            "sourceColumn": "contact_subtype",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "contact_type",
            "title": "Contact Type",
            "description": "",
            "labels": [],
            "tags": [
              "Contacts"
            ],
            "sourceColumn": "contact_type",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "contact_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "contact_date",
                "dataType": "TIMESTAMP",
                "target": {
                  "id": "contact_date",
                  "type": "date"
                }
              }
            ]
          }
        ],
        "tags": [
          "Contacts"
        ],
        "dataSourceTableId": {
          "id": "vw_contact",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_contact"
          ]
        }
      },
      {
        "id": "courts",
        "title": "Courts",
        "grain": [
          {
            "id": "court_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "court_id",
            "title": "Court ID",
            "description": "",
            "labels": [],
            "tags": [
              "Courts"
            ],
            "sourceColumn": "court_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "court_name",
            "title": "Court Name",
            "description": "",
            "labels": [],
            "tags": [
              "Courts"
            ],
            "sourceColumn": "court_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Courts"
        ],
        "dataSourceTableId": {
          "id": "vw_court",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_court"
          ]
        }
      },
      {
        "id": "expenses",
        "title": "Expenses",
        "grain": [],
        "attributes": [
          {
            "id": "expense_category",
            "title": "Expense Category",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "expense_category",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "expense_description",
            "title": "Expense Description",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "expense_description",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "expense_id",
            "title": "Expense ID",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "expense_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "expense_invoice_status",
            "title": "Expense Invoice Status",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "invoice_status",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "expense_is_void",
            "title": "Expense Is Void",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "expense_is_void",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "expense_subtype",
            "title": "Expense Subtype",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "expense_subtype",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "expense_type",
            "title": "Expense Type",
            "description": "",
            "labels": [],
            "tags": [
              "Expenses"
            ],
            "sourceColumn": "expense_type",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [
          {
            "id": "expense_amount_collected",
            "title": "Expense Amount Collected",
            "description": "",
            "sourceColumn": "expense_amount_collected",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_amount_excl_gst",
            "title": "Expense Amount Excl Gst",
            "description": "",
            "sourceColumn": "expense_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_amount_gst",
            "title": "Expense Amount Gst",
            "description": "",
            "sourceColumn": "expense_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_amount_incl_gst",
            "title": "Expense Amount Incl Gst",
            "description": "",
            "sourceColumn": "expense_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_outstanding_excl_gst",
            "title": "Expense Total Outstanding Excl Gst",
            "description": "",
            "sourceColumn": "expense_total_outstanding_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_outstanding_gst",
            "title": "Expense Total Outstanding Gst",
            "description": "",
            "sourceColumn": "expense_total_outstanding_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_outstanding_incl_gst",
            "title": "Expense Total Outstanding Incl Gst",
            "description": "",
            "sourceColumn": "expense_total_outstanding_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_received_excl_gst",
            "title": "Expense Total Received Excl Gst",
            "description": "",
            "sourceColumn": "expense_total_received_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_received_gst",
            "title": "Expense Total Received Gst",
            "description": "",
            "sourceColumn": "expense_total_received_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_received_incl_gst",
            "title": "Expense Total Received Incl Gst",
            "description": "",
            "sourceColumn": "expense_total_received_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_write_off_excl_gst",
            "title": "Expense Total Write Off Excl Gst",
            "description": "",
            "sourceColumn": "expense_total_write_off_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_write_off_gst",
            "title": "Expense Total Write Off Gst",
            "description": "",
            "sourceColumn": "expense_total_write_off_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          },
          {
            "id": "expense_total_write_off_incl_gst",
            "title": "Expense Total Write Off Incl Gst",
            "description": "",
            "sourceColumn": "expense_total_write_off_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Expenses"
            ]
          }
        ],
        "references": [
          {
            "identifier": {
              "id": "date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "expense_date",
                "dataType": "DATE",
                "target": {
                  "id": "date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "expense_collected_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "expense_collected_date",
                "dataType": "STRING",
                "target": {
                  "id": "expense_collected_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Expenses"
        ],
        "dataSourceTableId": {
          "id": "vw_expense",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_expense"
          ]
        }
      },
      {
        "id": "groups",
        "title": "Groups",
        "grain": [
          {
            "id": "group_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "group_date",
            "title": "Group Date",
            "description": "",
            "labels": [],
            "tags": [
              "Groups"
            ],
            "sourceColumn": "group_date",
            "sourceColumnDataType": "TIMESTAMP"
          },
          {
            "id": "group_description",
            "title": "Group Description",
            "description": "",
            "labels": [],
            "tags": [
              "Groups"
            ],
            "sourceColumn": "group_description",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "group_id",
            "title": "Group ID",
            "description": "",
            "labels": [],
            "tags": [
              "Groups"
            ],
            "sourceColumn": "group_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "group_name",
            "title": "Group Name",
            "description": "",
            "labels": [],
            "tags": [
              "Groups"
            ],
            "sourceColumn": "group_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Groups"
        ],
        "dataSourceTableId": {
          "id": "vw_group",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_group"
          ]
        }
      },
      {
        "id": "invoices",
        "title": "Invoices",
        "grain": [
          {
            "id": "invoice_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "invoice_discount_type",
            "title": "Invoice Discount Type",
            "description": "",
            "labels": [],
            "tags": [
              "Invoices"
            ],
            "sourceColumn": "invoice_discount_type",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "invoice_id",
            "title": "Invoice ID",
            "description": "",
            "labels": [],
            "tags": [
              "Invoices"
            ],
            "sourceColumn": "invoice_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "invoice_is_draft",
            "title": "Invoice Is Draft",
            "description": "",
            "labels": [],
            "tags": [
              "Invoices"
            ],
            "sourceColumn": "invoice_is_draft",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "invoice_number",
            "title": "Invoice Number",
            "description": "",
            "labels": [],
            "tags": [
              "Invoices"
            ],
            "sourceColumn": "invoice_number",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "invoice_status",
            "title": "Invoice Status",
            "description": "",
            "labels": [],
            "tags": [
              "Invoices"
            ],
            "sourceColumn": "invoice_status",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [
          {
            "id": "invoice_amount_excl_gst",
            "title": "Invoice Amount Excl Gst",
            "description": "",
            "sourceColumn": "invoice_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_amount_gst",
            "title": "Invoice Amount Gst",
            "description": "",
            "sourceColumn": "invoice_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_amount_incl_gst",
            "title": "Invoice Amount Incl Gst",
            "description": "",
            "sourceColumn": "invoice_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_discount_excl_gst",
            "title": "Invoice Discount Excl Gst",
            "description": "",
            "sourceColumn": "invoice_discount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_discount_gst",
            "title": "Invoice Discount Gst",
            "description": "",
            "sourceColumn": "invoice_discount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_discount_incl_gst",
            "title": "Invoice Discount Incl Gst",
            "description": "",
            "sourceColumn": "invoice_discount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_outstanding_amount_excl_gst",
            "title": "Invoice Outstanding Amount Excl Gst",
            "description": "",
            "sourceColumn": "invoice_outstanding_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_outstanding_amount_gst",
            "title": "Invoice Outstanding Amount Gst",
            "description": "",
            "sourceColumn": "invoice_outstanding_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_outstanding_amount_incl_gst",
            "title": "Invoice Outstanding Amount Incl Gst",
            "description": "",
            "sourceColumn": "invoice_outstanding_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_received_amount_excl_gst",
            "title": "Invoice Received Amount Excl Gst",
            "description": "",
            "sourceColumn": "invoice_received_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_received_amount_gst",
            "title": "Invoice Received Amount Gst",
            "description": "",
            "sourceColumn": "invoice_received_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_received_amount_incl_gst",
            "title": "Invoice Received Amount Incl Gst",
            "description": "",
            "sourceColumn": "invoice_received_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_total_amount_excl_gst",
            "title": "Invoice Total Amount Excl Gst",
            "description": "",
            "sourceColumn": "invoice_total_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_total_amount_gst",
            "title": "Invoice Total Amount Gst",
            "description": "",
            "sourceColumn": "invoice_total_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_total_amount_incl_gst",
            "title": "Invoice Total Amount Incl Gst",
            "description": "",
            "sourceColumn": "invoice_total_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_write_off_amount_excl_gst",
            "title": "Invoice Write Off Amount Excl Gst",
            "description": "",
            "sourceColumn": "invoice_write_off_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_write_off_amount_gst",
            "title": "Invoice Write Off Amount Gst",
            "description": "",
            "sourceColumn": "invoice_write_off_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          },
          {
            "id": "invoice_write_off_amount_incl_gst",
            "title": "Invoice Write Off Amount Incl Gst",
            "description": "",
            "sourceColumn": "invoice_write_off_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Invoices"
            ]
          }
        ],
        "references": [
          {
            "identifier": {
              "id": "date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "invoice_date",
                "dataType": "DATE",
                "target": {
                  "id": "date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "invoice_due_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "invoice_due_date",
                "dataType": "DATE",
                "target": {
                  "id": "invoice_due_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "invoice_hold_until_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "invoice_hold_until_date",
                "dataType": "DATE",
                "target": {
                  "id": "invoice_hold_until_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "invoice_last_statement_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "invoice_last_statement_date",
                "dataType": "TIMESTAMP",
                "target": {
                  "id": "invoice_last_statement_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "invoice_void_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "invoice_void_date",
                "dataType": "DATE",
                "target": {
                  "id": "invoice_void_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Invoices"
        ],
        "dataSourceTableId": {
          "id": "vw_invoice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_invoice"
          ]
        }
      },
      {
        "id": "matter_area_practices",
        "title": "Matter Area Practices",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "area_practices",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "area_practice_id",
                "dataType": "INT",
                "target": {
                  "id": "area_practice_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Matter Area Practices"
        ],
        "dataSourceTableId": {
          "id": "vw_matter_area_practice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_matter_area_practice"
          ]
        }
      },
      {
        "id": "matter_barristers",
        "title": "Matter Barristers",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "barrister_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Matter Barristers"
        ],
        "dataSourceTableId": {
          "id": "vw_matter_barrister",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_matter_barrister"
          ]
        }
      },
      {
        "id": "matter_contacts",
        "title": "Matter Contacts",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "contacts",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "contact_id",
                "dataType": "INT",
                "target": {
                  "id": "contact_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Matter Contacts"
        ],
        "dataSourceTableId": {
          "id": "vw_matter_contact",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_matter_contact"
          ]
        }
      },
      {
        "id": "matters",
        "title": "Matters",
        "grain": [
          {
            "id": "matter_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "matter_code",
            "title": "Matter Code",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_code",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "matter_id",
            "title": "Matter ID",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "matter_is_archived",
            "title": "Matter Is Archived",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_is_archived",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "matter_is_deleted",
            "title": "Matter Is Deleted",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_is_deleted",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "matter_is_draft",
            "title": "Matter Is Draft",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_is_draft",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "matter_status",
            "title": "Matter Status",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_status",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "matter_tax",
            "title": "Matter Tax",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_tax",
            "sourceColumnDataType": "NUMERIC"
          },
          {
            "id": "matter_title",
            "title": "Matter Title",
            "description": "",
            "labels": [],
            "tags": [
              "Matters"
            ],
            "sourceColumn": "matter_title",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [
          {
            "id": "matter_fixed_fee_excl_gst",
            "title": "Matter Fixed Fee Excl Gst",
            "description": "",
            "sourceColumn": "matter_fixed_fee_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_fixed_fee_gst",
            "title": "Matter Fixed Fee Gst",
            "description": "",
            "sourceColumn": "matter_fixed_fee_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_fixed_fee_incl_gst",
            "title": "Matter Fixed Fee Incl Gst",
            "description": "",
            "sourceColumn": "matter_fixed_fee_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_invoices_overdue",
            "title": "Matter Invoices Overdue",
            "description": "",
            "sourceColumn": "matter_invoices_overdue",
            "sourceColumnDataType": "INT",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_outstanding_invoices_incl_gst",
            "title": "Matter Outstanding Invoices Incl Gst",
            "description": "",
            "sourceColumn": "matter_outstanding_invoices_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_total_hours",
            "title": "Matter Total Hours",
            "description": "",
            "sourceColumn": "matter_total_hours",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_total_value_incl_gst",
            "title": "Matter Total Value Incl Gst",
            "description": "",
            "sourceColumn": "matter_total_value_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          },
          {
            "id": "matter_unbilled_work_incl_gst",
            "title": "Matter Unbilled Work Incl Gst",
            "description": "",
            "sourceColumn": "matter_unbilled_work_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Matters"
            ]
          }
        ],
        "references": [
          {
            "identifier": {
              "id": "bmif_area_practices",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_bmif_area_practice_id",
                "dataType": "INT",
                "target": {
                  "id": "bmif_area_practice_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "bmif_specialims",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_bmif_specialism_id",
                "dataType": "INT",
                "target": {
                  "id": "bmif_specialism_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "courts",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_court_id",
                "dataType": "INT",
                "target": {
                  "id": "court_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matter_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_date",
                "dataType": "DATE",
                "target": {
                  "id": "matter_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_funding",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_funding_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_funding_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_sources",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_source_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_source_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_types",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_type_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_type_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Matters"
        ],
        "dataSourceTableId": {
          "id": "vw_matter",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_matter"
          ]
        }
      },
      {
        "id": "opportunities",
        "title": "Opportunities",
        "grain": [
          {
            "id": "opportunity_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "opportunity_code",
            "title": "Opportunity Code",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunities"
            ],
            "sourceColumn": "opportunity_code",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "opportunity_id",
            "title": "Opportunity ID",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunities"
            ],
            "sourceColumn": "opportunity_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "opportunity_is_archived",
            "title": "Opportunity Is Archived",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunities"
            ],
            "sourceColumn": "opportunity_is_archived",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "opportunity_is_draft",
            "title": "Opportunity Is Draft",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunities"
            ],
            "sourceColumn": "opportunity_is_draft",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "opportunity_representation",
            "title": "Opportunity Representation",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunities"
            ],
            "sourceColumn": "opportunity_representation",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "opportunity_title",
            "title": "Opportunity Title",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunities"
            ],
            "sourceColumn": "opportunity_title",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "bmif_area_practices",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "opportunity_bmif_area_practice_id",
                "dataType": "INT",
                "target": {
                  "id": "bmif_area_practice_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "bmif_specialims",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "opportunity_bmif_specialism_id",
                "dataType": "INT",
                "target": {
                  "id": "bmif_specialism_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "opportunity_date",
                "dataType": "DATE",
                "target": {
                  "id": "opportunity_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_funding",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "opportunity_funding_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_funding_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_sources",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "opportunity_source_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_source_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunity_types",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "opportunity_type_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_type_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Opportunities"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity"
          ]
        }
      },
      {
        "id": "opportunity_area_practices",
        "title": "Opportunity Area Practices",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "area_practices",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "area_practice_id",
                "dataType": "INT",
                "target": {
                  "id": "area_practice_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunities",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "opportunity_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Opportunity Area Practices"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity_area_practice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity_area_practice"
          ]
        }
      },
      {
        "id": "opportunity_barristers",
        "title": "Opportunity Barristers",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "opportunities",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "opportunity_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Opportunity Barristers"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity_barrister",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity_barrister"
          ]
        }
      },
      {
        "id": "opportunity_contacts",
        "title": "Opportunity Contacts",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "contacts",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "contact_id",
                "dataType": "INT",
                "target": {
                  "id": "contact_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "opportunities",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "opportunity_id",
                "dataType": "INT",
                "target": {
                  "id": "opportunity_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Opportunity Contacts"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity_contact",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity_contact"
          ]
        }
      },
      {
        "id": "opportunity_funding",
        "title": "Opportunity Funding",
        "grain": [
          {
            "id": "opportunity_funding_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "opportunity_funding_id",
            "title": "Opportunity Funding ID",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunity Funding"
            ],
            "sourceColumn": "opportunity_funding_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "opportunity_funding_name",
            "title": "Opportunity Funding Name",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunity Funding"
            ],
            "sourceColumn": "opportunity_funding_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Opportunity Funding"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity_funding",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity_funding"
          ]
        }
      },
      {
        "id": "opportunity_sources",
        "title": "Opportunity Sources",
        "grain": [
          {
            "id": "opportunity_source_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "opportunity_source_id",
            "title": "Opportunity Source ID",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunity Sources"
            ],
            "sourceColumn": "opportunity_source_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "opportunity_source_name",
            "title": "Opportunity Source Name",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunity Sources"
            ],
            "sourceColumn": "opportunity_source_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Opportunity Sources"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity_source",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity_source"
          ]
        }
      },
      {
        "id": "opportunity_types",
        "title": "Opportunity Types",
        "grain": [
          {
            "id": "opportunity_type_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "opportunity_type_id",
            "title": "Opportunity Type ID",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunity Types"
            ],
            "sourceColumn": "opportunity_type_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "opportunity_type_name",
            "title": "Opportunity Type Name",
            "description": "",
            "labels": [],
            "tags": [
              "Opportunity Types"
            ],
            "sourceColumn": "opportunity_type_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Opportunity Types"
        ],
        "dataSourceTableId": {
          "id": "vw_opportunity_type",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_opportunity_type"
          ]
        }
      },
      {
        "id": "receipt_allocation",
        "title": "Receipt Allocations",
        "grain": [],
        "attributes": [
          {
            "id": "receipt_allocation_id",
            "title": "Receipt Allocation ID",
            "description": "",
            "labels": [],
            "tags": [
              "Receipt Allocation"
            ],
            "sourceColumn": "receipt_allocation_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "receipt_is_cancelled",
            "title": "Receipt Is Cancelled",
            "description": "",
            "labels": [],
            "tags": [
              "Receipt Allocation"
            ],
            "sourceColumn": "receipt_is_cancelled",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "receipt_number",
            "title": "Receipt Number",
            "description": "",
            "labels": [],
            "tags": [
              "Receipt Allocation"
            ],
            "sourceColumn": "receipt_number",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "receipt_payment_method_type",
            "title": "Receipt Payment Method Type",
            "description": "",
            "labels": [],
            "tags": [
              "Receipt Allocation"
            ],
            "sourceColumn": "receipt_payment_method_type",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "receipt_sub_type",
            "title": "Receipt Sub Type",
            "description": "",
            "labels": [],
            "tags": [
              "Receipt Allocation"
            ],
            "sourceColumn": "receipt_sub_type",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "receipt_type",
            "title": "Receipt Type",
            "description": "",
            "labels": [],
            "tags": [
              "Receipt Allocation"
            ],
            "sourceColumn": "receipt_type",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [
          {
            "id": "receipt_amount_excl_gst",
            "title": "Receipt Amount Excl Gst",
            "description": "",
            "sourceColumn": "receipt_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Receipt Allocation"
            ]
          },
          {
            "id": "receipt_amount_gst",
            "title": "Receipt Amount Gst",
            "description": "",
            "sourceColumn": "receipt_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Receipt Allocation"
            ]
          },
          {
            "id": "receipt_amount_incl_gst",
            "title": "Receipt Amount Incl Gst",
            "description": "",
            "sourceColumn": "receipt_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Receipt Allocation"
            ]
          },
          {
            "id": "receipt_unallocated_amount_excl_gst",
            "title": "Receipt Unallocated Amount Excl Gst",
            "description": "",
            "sourceColumn": "receipt_unallocated_amount_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Receipt Allocation"
            ]
          },
          {
            "id": "receipt_unallocated_amount_gst",
            "title": "Receipt Unallocated Amount Gst",
            "description": "",
            "sourceColumn": "receipt_unallocated_amount_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Receipt Allocation"
            ]
          },
          {
            "id": "receipt_unallocated_amount_incl_gst",
            "title": "Receipt Unallocated Amount Incl Gst",
            "description": "",
            "sourceColumn": "receipt_unallocated_amount_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Receipt Allocation"
            ]
          }
        ],
        "references": [
          {
            "identifier": {
              "id": "date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "receipt_date",
                "dataType": "DATE",
                "target": {
                  "id": "date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "receipt_paid_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "receipt_paid_date",
                "dataType": "DATE",
                "target": {
                  "id": "receipt_paid_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Receipt Allocation"
        ],
        "dataSourceTableId": {
          "id": "vw_receipt_allocation",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_receipt_allocation"
          ]
        }
      },
      {
        "id": "seniority",
        "title": "Seniority",
        "grain": [
          {
            "id": "level_experise_type_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "level_experise_type_id",
            "title": "Level Experise Type ID",
            "description": "",
            "labels": [],
            "tags": [
              "Seniority"
            ],
            "sourceColumn": "level_experise_type_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "level_experise_type_name",
            "title": "Level Experise Type Name",
            "description": "",
            "labels": [],
            "tags": [
              "Seniority"
            ],
            "sourceColumn": "level_experise_type_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "Seniority"
        ],
        "dataSourceTableId": {
          "id": "vw_level_expertise_type",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_level_expertise_type"
          ]
        }
      },
      {
        "id": "tasks",
        "title": "Tasks",
        "grain": [],
        "attributes": [
          {
            "id": "task_description",
            "title": "Task Description",
            "description": "",
            "labels": [],
            "tags": [
              "Tasks"
            ],
            "sourceColumn": "task_description",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "task_id",
            "title": "Task ID",
            "description": "",
            "labels": [],
            "tags": [
              "Tasks"
            ],
            "sourceColumn": "task_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "task_invoice_status",
            "title": "Task Invoice Status",
            "description": "",
            "labels": [],
            "tags": [
              "Tasks"
            ],
            "sourceColumn": "invoice_status",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "task_is_void",
            "title": "Task Is Void",
            "description": "",
            "labels": [],
            "tags": [
              "Tasks"
            ],
            "sourceColumn": "task_is_void",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "task_status",
            "title": "Task Status",
            "description": "",
            "labels": [],
            "tags": [
              "Tasks"
            ],
            "sourceColumn": "task_status",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [
          {
            "id": "task_total_fees_excl_gst",
            "title": "Task Total Fees Excl Gst",
            "description": "",
            "sourceColumn": "task_total_fees_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_fees_gst",
            "title": "Task Total Fees Gst",
            "description": "",
            "sourceColumn": "task_total_fees_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_fees_incl_gst",
            "title": "Task Total Fees Incl Gst",
            "description": "",
            "sourceColumn": "task_total_fees_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_outstanding_excl_gst",
            "title": "Task Total Outstanding Excl Gst",
            "description": "",
            "sourceColumn": "task_total_outstanding_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_outstanding_gst",
            "title": "Task Total Outstanding Gst",
            "description": "",
            "sourceColumn": "task_total_outstanding_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_outstanding_incl_gst",
            "title": "Task Total Outstanding Incl Gst",
            "description": "",
            "sourceColumn": "task_total_outstanding_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_received_excl_gst",
            "title": "Task Total Received Excl Gst",
            "description": "",
            "sourceColumn": "task_total_received_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_received_gst",
            "title": "Task Total Received Gst",
            "description": "",
            "sourceColumn": "task_total_received_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_received_incl_gst",
            "title": "Task Total Received Incl Gst",
            "description": "",
            "sourceColumn": "task_total_received_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_write_off_excl_gst",
            "title": "Task Total Write Off Excl Gst",
            "description": "",
            "sourceColumn": "task_total_write_off_excl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_write_off_gst",
            "title": "Task Total Write Off Gst",
            "description": "",
            "sourceColumn": "task_total_write_off_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          },
          {
            "id": "task_total_write_off_incl_gst",
            "title": "Task Total Write Off Incl Gst",
            "description": "",
            "sourceColumn": "task_total_write_off_incl_gst",
            "sourceColumnDataType": "NUMERIC",
            "tags": [
              "Tasks"
            ]
          }
        ],
        "references": [
          {
            "identifier": {
              "id": "date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "task_date",
                "dataType": "DATE",
                "target": {
                  "id": "date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "matters",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "matter_id",
                "dataType": "INT",
                "target": {
                  "id": "matter_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Tasks"
        ],
        "dataSourceTableId": {
          "id": "vw_task",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_task"
          ]
        }
      },
      {
        "id": "user_area_practices",
        "title": "User Area Practices",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "area_practices",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "area_practice_id",
                "dataType": "INT",
                "target": {
                  "id": "area_practice_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "User Area Practices"
        ],
        "dataSourceTableId": {
          "id": "vw_user_area_practice",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_user_area_practice"
          ]
        }
      },
      {
        "id": "user_groups",
        "title": "User Groups",
        "grain": [],
        "attributes": [],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "groups",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "group_id",
                "dataType": "INT",
                "target": {
                  "id": "group_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": true,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "User Groups"
        ],
        "dataSourceTableId": {
          "id": "vw_user_group",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_user_group"
          ]
        }
      },
      {
        "id": "user_seniority",
        "title": "User Seniority",
        "grain": [
          {
            "id": "user_seniority_period_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "user_seniority_period_id",
            "title": "User Seniority Period ID",
            "description": "",
            "labels": [],
            "tags": [
              "User Seniority"
            ],
            "sourceColumn": "user_seniority_period_id",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "barrister_seniority_group_id",
            "title": "Barrister Seniority Group ID",
            "description": "",
            "labels": [],
            "tags": [
              "User Seniority"
            ],
            "sourceColumn": "barrister_seniority_group_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "barrister_seniority_group_name",
            "title": "Barrister Seniority Group Name",
            "description": "",
            "labels": [],
            "tags": [
              "User Seniority"
            ],
            "sourceColumn": "barrister_seniority_group_name",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "seniority_period_year",
            "title": "Seniority Period Year",
            "description": "",
            "labels": [],
            "tags": [
              "User Seniority"
            ],
            "sourceColumn": "period_year",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "seniority_period_month",
            "title": "Seniority Period Month",
            "description": "",
            "labels": [],
            "tags": [
              "User Seniority"
            ],
            "sourceColumn": "period_month",
            "sourceColumnDataType": "INT"
          }
        ],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "users",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_id",
                "dataType": "INT",
                "target": {
                  "id": "user_id",
                  "type": "attribute"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "seniority_period_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "period_end_date",
                "dataType": "DATE",
                "target": {
                  "id": "seniority_period_date",
                  "type": "date"
                }
              }
            ]
          }
        ],
        "tags": [
          "User Seniority"
        ],
        "dataSourceTableId": {
          "id": "vw_user_level_expertise",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_user_level_expertise"
          ]
        }
      },
      {
        "id": "user_types",
        "title": "User types",
        "grain": [
          {
            "id": "user_type_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "user_type_id",
            "title": "User Type ID",
            "description": "",
            "labels": [],
            "tags": [
              "User types"
            ],
            "sourceColumn": "user_type_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "user_type_name",
            "title": "User Type Name",
            "description": "",
            "labels": [],
            "tags": [
              "User types"
            ],
            "sourceColumn": "user_type_name",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [],
        "tags": [
          "User types"
        ],
        "dataSourceTableId": {
          "id": "vw_user_type",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_user_type"
          ]
        }
      },
      {
        "id": "users",
        "title": "Users",
        "grain": [
          {
            "id": "user_id",
            "type": "attribute"
          }
        ],
        "attributes": [
          {
            "id": "user_email",
            "title": "User Email",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_email",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "user_gender",
            "title": "User Gender",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_gender",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "user_id",
            "title": "User ID",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_id",
            "sourceColumnDataType": "INT"
          },
          {
            "id": "user_is_active",
            "title": "User Is Active",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_is_active",
            "sourceColumnDataType": "BOOLEAN"
          },
          {
            "id": "user_mobile",
            "title": "User Mobile",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_mobile",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "user_name",
            "title": "User Name",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_name",
            "sourceColumnDataType": "STRING"
          },
          {
            "id": "user_title",
            "title": "User Title",
            "description": "",
            "labels": [],
            "tags": [
              "Users"
            ],
            "sourceColumn": "user_title",
            "sourceColumnDataType": "STRING"
          }
        ],
        "facts": [],
        "references": [
          {
            "identifier": {
              "id": "user_date",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_created_date",
                "dataType": "TIMESTAMP",
                "target": {
                  "id": "user_date",
                  "type": "date"
                }
              }
            ]
          },
          {
            "identifier": {
              "id": "user_types",
              "type": "dataset"
            },
            "multivalue": false,
            "sources": [
              {
                "column": "user_type_id",
                "dataType": "INT",
                "target": {
                  "id": "user_type_id",
                  "type": "attribute"
                }
              }
            ]
          }
        ],
        "tags": [
          "Users"
        ],
        "dataSourceTableId": {
          "id": "vw_user",
          "dataSourceId": "6723f179-cb1c-40af-9d28-5fb045635d52",
          "type": "dataSource",
          "path": [
            "demo",
            "vw_user"
          ]
        }
      }
    ],
    "dateInstances": [
      {
        "id": "booking_date",
        "title": "Booking Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Booking Date"
        ]
      },
      {
        "id": "contact_date",
        "title": "Contact date",
        "description": "",
        "granularities": [
          "MINUTE",
          "HOUR",
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR",
          "MINUTE_OF_HOUR",
          "HOUR_OF_DAY",
          "DAY_OF_WEEK",
          "DAY_OF_MONTH",
          "DAY_OF_YEAR",
          "WEEK_OF_YEAR",
          "MONTH_OF_YEAR",
          "QUARTER_OF_YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Contact date"
        ]
      },
      {
        "id": "date",
        "title": "Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Date"
        ]
      },
      {
        "id": "expense_collected_date",
        "title": "Expense Collected Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Expense Collected Date"
        ]
      },
      {
        "id": "invoice_due_date",
        "title": "Invoice Due Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Invoice Due Date"
        ]
      },
      {
        "id": "invoice_hold_until_date",
        "title": "Invoice Hold Until Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Invoice Hold Until Date"
        ]
      },
      {
        "id": "invoice_last_statement_date",
        "title": "Invoice Last Statement Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Invoice Last Statement Date"
        ]
      },
      {
        "id": "invoice_void_date",
        "title": "Invoice Void Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Invoice Void Date"
        ]
      },
      {
        "id": "matter_date",
        "title": "Matter Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Matter Date"
        ]
      },
      {
        "id": "opportunity_date",
        "title": "Opportunity Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Opportunity Date"
        ]
      },
      {
        "id": "receipt_paid_date",
        "title": "Receipt Paid Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Receipt Paid Date"
        ]
      },
      {
        "id": "user_date",
        "title": "User Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "User Date"
        ]
      },
      {
        "id": "seniority_period_date",
        "title": "Seniority Period Date",
        "description": "",
        "granularities": [
          "DAY",
          "WEEK",
          "MONTH",
          "QUARTER",
          "YEAR"
        ],
        "granularitiesFormatting": {
          "titleBase": "",
          "titlePattern": "%titleBase - %granularityTitle"
        },
        "tags": [
          "Seniority Period Date"
        ]
      }
    ]
  },
  "layout": {
    "objects": [
      {
        "identifier": {
          "id": "area_practices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2565,
        "y": -868
      },
      {
        "identifier": {
          "id": "bmif_area_practices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2883,
        "y": -1345
      },
      {
        "identifier": {
          "id": "bmif_specialims",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2849,
        "y": -1125
      },
      {
        "identifier": {
          "id": "booking_area_practices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1930,
        "y": -1504
      },
      {
        "identifier": {
          "id": "booking_barristers",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1094,
        "y": -2979
      },
      {
        "identifier": {
          "id": "booking_contacts",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1635,
        "y": -1484
      },
      {
        "identifier": {
          "id": "bookings",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1927,
        "y": -1891
      },
      {
        "identifier": {
          "id": "contact_role_types",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1952,
        "y": -721
      },
      {
        "identifier": {
          "id": "contact_roles",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1953,
        "y": -910
      },
      {
        "identifier": {
          "id": "contacts",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2250,
        "y": -907
      },
      {
        "identifier": {
          "id": "courts",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2196,
        "y": -1704
      },
      {
        "identifier": {
          "id": "expenses",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2138,
        "y": -2975
      },
      {
        "identifier": {
          "id": "groups",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2370,
        "y": -4021
      },
      {
        "identifier": {
          "id": "invoices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2686,
        "y": -3009
      },
      {
        "identifier": {
          "id": "matter_area_practices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2555,
        "y": -1109
      },
      {
        "identifier": {
          "id": "matter_barristers",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1365,
        "y": -2977
      },
      {
        "identifier": {
          "id": "matter_contacts",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2249,
        "y": -1110
      },
      {
        "identifier": {
          "id": "matters",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2437,
        "y": -1896
      },
      {
        "identifier": {
          "id": "opportunities",
          "type": "dataset"
        },
        "collapse": false,
        "x": 3279,
        "y": -1913
      },
      {
        "identifier": {
          "id": "opportunity_area_practices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 3021,
        "y": -720
      },
      {
        "identifier": {
          "id": "opportunity_barristers",
          "type": "dataset"
        },
        "collapse": false,
        "x": 3835,
        "y": -2929
      },
      {
        "identifier": {
          "id": "opportunity_contacts",
          "type": "dataset"
        },
        "collapse": false,
        "x": 3227,
        "y": -492
      },
      {
        "identifier": {
          "id": "opportunity_funding",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2880,
        "y": -1530
      },
      {
        "identifier": {
          "id": "opportunity_sources",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2887,
        "y": -1713
      },
      {
        "identifier": {
          "id": "opportunity_types",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2896,
        "y": -1912
      },
      {
        "identifier": {
          "id": "receipt_allocation",
          "type": "dataset"
        },
        "collapse": false,
        "x": 3302,
        "y": -2978
      },
      {
        "identifier": {
          "id": "seniority",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2975,
        "y": -3510
      },
      {
        "identifier": {
          "id": "tasks",
          "type": "dataset"
        },
        "collapse": false,
        "x": 1809,
        "y": -2914
      },
      {
        "identifier": {
          "id": "user_area_practices",
          "type": "dataset"
        },
        "collapse": false,
        "x": 4508,
        "y": -892
      },
      {
        "identifier": {
          "id": "user_groups",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2370,
        "y": -3765
      },
      {
        "identifier": {
          "id": "user_seniority",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2710,
        "y": -3509
      },
      {
        "identifier": {
          "id": "user_types",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2593,
        "y": -3766
      },
      {
        "identifier": {
          "id": "users",
          "type": "dataset"
        },
        "collapse": false,
        "x": 2463,
        "y": -3512
      },
      {
        "identifier": {
          "id": "booking_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 1943,
        "y": -2016
      },
      {
        "identifier": {
          "id": "contact_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 2261,
        "y": -575
      },
      {
        "identifier": {
          "id": "date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 2483,
        "y": -3079
      },
      {
        "identifier": {
          "id": "expense_collected_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 2483,
        "y": -2836
      },
      {
        "identifier": {
          "id": "invoice_due_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 3036,
        "y": -2830
      },
      {
        "identifier": {
          "id": "invoice_hold_until_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 3039,
        "y": -2508
      },
      {
        "identifier": {
          "id": "invoice_last_statement_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 3031,
        "y": -2615
      },
      {
        "identifier": {
          "id": "invoice_void_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 3045,
        "y": -2717
      },
      {
        "identifier": {
          "id": "matter_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 2501,
        "y": -2015
      },
      {
        "identifier": {
          "id": "opportunity_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 3305,
        "y": -2030
      },
      {
        "identifier": {
          "id": "receipt_paid_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 3638,
        "y": -2838
      },
      {
        "identifier": {
          "id": "user_date",
          "type": "templateDataset"
        },
        "collapse": true,
        "x": 2267,
        "y": -3519
      }
    ]
  }
}