{
  "documentInfo": {
    "documentType": "https://xbrl.org/PWD/2026-09-01/module",
    "namespaces": {
      "exp8": "http://example.com/taxonomy",
      "lei": "http://standards.iso.org/iso/17442",
      "xbrl": "https://xbrl.org/PWD/2026-09-01",
      "xbrla": "https://xbrl.org/PWD/2026-09-01/accounting",
      "xbrlm": "https://xbrl.org/PWD/2026-09-01/model",
      "iso4217": "http://www.xbrl.org/2003/iso4217",
      "utr": "https://xbrl.org/PWD/2026-09-01/utr",
      "xbrlr": "https://xbrl.org/PWD/2026-09-01/report",
      "xs": "http://www.w3.org/2001/XMLSchema",
      "ref": "https://xbrl.org/PWD/2026-09-01/ref",
      "dei": "http://xbrl.sec.gov/dei/2025",
      "mini2": "http://example.com/mini2"
    },
    "description": "Example8: Demonstrates how to define tables (table linkbases) using data tables to source data and apply cubes to the data. The cubes also show how to restrict data for a given period to a cube using the period Constraint object",
    "documentNamespacePrefix": "exp8",
    "sourceMappings": [
      {
        "sourceName": "exp8:IncomeStatementTable",
        "url": "../examples/IncomeStatementTable.csv"
      }
    ],
    "importMapping": {
      "mini2:MiniTaxonomy2": "../examples/copilot-mini2.json"
    }
  },
  "xbrlModel": {
    "name": "exp8:SampleTaxonomy",
    "frameworkName": "us-gaap",
    "version": "2024",
    "importedTaxonomies": [
      {
        "xbrlModelName": "xbrlm:base"
      },
      {
        "xbrlModelName": "xbrla:accountingModule"
      }
    ],
    "headings": [
      {
        "name": "exp8:StatementOfIncome"
      }
    ],
    "concepts": [
      {
        "name": "exp8:Revenue",
        "dataType": "xbrlr:monetary",
        "periodType": "duration",
        "nillable": true,
        "properties": [
          {
            "property": "xbrla:balance",
            "value": "credit"
          }
        ]
      },
      {
        "name": "exp8:CostOfGoodsSold",
        "dataType": "xbrlr:monetary",
        "periodType": "duration",
        "properties": [
          {
            "property": "xbrla:balance",
            "value": "debit"
          }
        ],
        "nillable": true
      },
      {
        "name": "exp8:GrossProfit",
        "dataType": "xbrlr:monetary",
        "periodType": "duration",
        "properties": [
          {
            "property": "xbrla:balance",
            "value": "credit"
          }
        ],
        "nillable": true
      },
      {
        "name": "exp8:NetIncome",
        "dataType": "xbrlr:monetary",
        "periodType": "duration",
        "properties": [
          {
            "property": "xbrla:balance",
            "value": "credit"
          }
        ],
        "nillable": true
      },
      {
        "name": "exp8:OperatingExpenses",
        "dataType": "xbrlr:monetary",
        "periodType": "duration",
        "properties": [
          {
            "property": "xbrla:balance",
            "value": "debit"
          }
        ],
        "nillable": true
      },
      {
        "name": "exp8:Country",
        "dataType": "xs:QName",
        "periodType": "none",
        "enumerationDomain": "exp8:DomainOfCountries",
        "nillable": true
      },
      {
        "name": "exp8:ReportDate",
        "dataType": "xs:dateTime",
        "periodType": "duration",
        "nillable": true,
        "properties": [
          {
            "property": "xbrl:reportAttribute",
            "value": "reportDate"
          }
        ]
      },
      {
        "name": "exp8:PeakGridElectricityDemandMax",
        "dataType": "xbrlr:power",
        "periodType": "none",
        "nillable": true,
        "properties": [
          {
            "property": "xbrl:aggregation",
            "value": "max"
          }
        ]
      },
      {
        "name": "exp8:MyStringCollectionConcept",
        "dataType": "exp8:myStringCollection",
        "periodType": "instant",
        "nillable": true
      }
    ],
    "members": [
      {
        "name": "exp8:Country_USA",
        "domainClasses": [
          "exp8:DomainOfCountriesRoot"
        ]
      },
      {
        "name": "exp8:Country_Canada",
        "domainClasses": [
          "exp8:DomainOfCountriesRoot"
        ]
      },
      {
        "name": "exp8:Country_UK",
        "domainClasses": [
          "exp8:DomainOfCountriesRoot"
        ]
      },
      {
        "name": "exp8:Country_Mexico",
        "domainClasses": [
          "exp8:DomainOfCountriesRoot"
        ]
      },
      {
        "name": "exp8:RevenueMember"
      },
      {
        "name": "exp8:ExpenseMember"
      }
    ],
    "dimensions": [
      {
        "name": "exp8:CountryDimension",
        "domainClass": "exp8:DomainOfCountriesRoot"
      }
    ],
    "entities": [
      {
        "name": "exp8:00EHHQ2ZHDCFXJCPCL46"
      }
    ],
    "groups": [
      {
        "name": "exp8:CountryGroup",
        "groupURI": "http://example.com/groups/country"
      },
      {
        "name": "exp8:IncomeStatementGroup",
        "groupURI": "http://example.com/groups/income-statement"
      }
    ],
    "groupContents": [
      {
        "groupName": "exp8:CountryGroup",
        "forObject": "exp8:GeographicCube",
        "order": 1
      },
      {
        "groupName": "exp8:CountryGroup",
        "forObject": "exp8:GeographyTable3",
        "order": 4
      },
      {
        "groupName": "exp8:IncomeStatementGroup",
        "forObject": "exp8:IncomeStatementCube",
        "order": 1
      },
      {
        "groupName": "exp8:IncomeStatementGroup",
        "forObject": "exp8:Network2",
        "order": 2
      },
      {
        "groupName": "exp8:IncomeStatementGroup",
        "forObject": "exp8:Network3",
        "order": 3
      },
      {
        "groupName": "exp8:IncomeStatementGroup",
        "forObject": "exp8:IncomeStatementTable4",
        "order": 6
      }
    ],
    "groupTree": {
      "name": "exp8:SampleTaxonomyGroupTree",
      "relationships": [
        {
          "source": "xbrl:rootSource",
          "target": "exp8:IncomeStatementGroup",
          "order": 1
        },
        {
          "source": "xbrl:rootSource",
          "target": "exp8:CountryGroup",
          "order": 2
        }
      ]
    },
    "cubes": [
      {
        "name": "exp8:GeographicCube",
        "cubeType": "xbrl:reportCube",
        "cubeDimensions": [
          {
            "domainNetwork": "exp8:DomainOfCountries",
            "optional": true,
            "dimension": "exp8:CountryDimension"
          },
          {
            "domainNetwork": "exp8:PrimaryCountryDomain",
            "dimension": "xbrl:concept"
          },
          {
            "optional": true,
            "dimension": "xbrl:unit"
          },
          {
            "dimension": "xbrl:entity"
          },
          {
            "optional": true,
            "dimension": "xbrl:period"
          }
        ]
      },
      {
        "name": "exp8:IncomeStatementCube",
        "cubeType": "exp8:myIncomeStatementCube",
        "cubeDimensions": [
          {
            "domainNetwork": "exp8:PrimaryIncomeStatementDomain",
            "dimension": "xbrl:concept"
          },
          {
            "periodConstraints": [
              {
                "periodType": "duration",
                "timeSpan": "P1Y",
                "endDate": {
                  "conceptName": "exp8:ReportDate"
                }
              },
              {
                "periodType": "duration",
                "timeSpan": "P1Y",
                "endDate": {
                  "conceptName": "exp8:ReportDate",
                  "timeShift": "-P1Y"
                }
              },
              {
                "periodType": "duration",
                "periodPattern": "YYYY-04-01T00:00:00/YYYY-07-01T00:00:00"
              },
              {
                "periodType": "instant",
                "endDate": {
                  "context": "exp8:ReportDate@end"
                }
              },
              {
                "periodType": "instant",
                "endDate": {
                  "value": "2025-12-31"
                }
              }
            ],
            "dimension": "xbrl:period"
          },
          {
            "domainNetwork": "exp8:IncomeStatementUnitDomain",
            "optional": true,
            "dimension": "xbrl:unit"
          },
          {
            "dimension": "xbrl:entity"
          }
        ],
        "cubeNetworks": [
          "exp8:Network3",
          "exp8:Network2"
        ]
      },
      {
        "name": "exp8:MyDefaultCube",
        "cubeDimensions": [
          {
            "dimension": "xbrl:concept"
          },
          {
            "optional": true,
            "dimension": "xbrl:period"
          },
          {
            "optional": true,
            "dimension": "xbrl:entity"
          },
          {
            "optional": true,
            "dimension": "xbrl:unit"
          }
        ]
      }
    ],
    "networks": [
      {
        "name": "exp8:Network2",
        "relationshipTypeName": "xbrl:parent-child",
        "relationships": [
          {
            "source": "xbrl:rootSource",
            "target": "exp8:StatementOfIncome"
          },
          {
            "source": "exp8:StatementOfIncome",
            "target": "exp8:Revenue",
            "order": 1
          },
          {
            "source": "exp8:StatementOfIncome",
            "target": "exp8:CostOfGoodsSold",
            "order": 2
          },
          {
            "source": "exp8:StatementOfIncome",
            "target": "exp8:GrossProfit",
            "order": 3
          },
          {
            "source": "exp8:StatementOfIncome",
            "target": "exp8:OperatingExpenses",
            "order": 4
          },
          {
            "source": "exp8:StatementOfIncome",
            "target": "exp8:NetIncome",
            "order": 5
          }
        ]
      },
      {
        "name": "exp8:Network3",
        "relationshipTypeName": "xbrl:summation-item",
        "relationships": [
          {
            "source": "xbrl:rootSource",
            "target": "exp8:NetIncome"
          },
          {
            "source": "exp8:NetIncome",
            "target": "exp8:OperatingExpenses",
            "properties": [
              {
                "property": "xbrl:weight",
                "value": -1
              }
            ]
          },
          {
            "source": "exp8:NetIncome",
            "target": "exp8:GrossProfit",
            "properties": [
              {
                "property": "xbrl:weight",
                "value": 1
              }
            ]
          },
          {
            "source": "exp8:GrossProfit",
            "target": "exp8:Revenue",
            "properties": [
              {
                "property": "xbrl:weight",
                "value": 1
              }
            ]
          },
          {
            "source": "exp8:GrossProfit",
            "target": "exp8:CostOfGoodsSold",
            "properties": [
              {
                "property": "xbrl:weight",
                "value": -1
              }
            ]
          }
        ]
      }
    ],
    "domainNetworks": [
      {
        "name": "exp8:DomainOfCountries",
        "root": "exp8:DomainOfCountriesRoot",
        "relationships": [
          {
            "source": "exp8:DomainOfCountriesRoot",
            "target": "exp8:Country_USA",
            "order": 1
          },
          {
            "source": "exp8:DomainOfCountriesRoot",
            "target": "exp8:Country_Canada",
            "order": 2
          },
          {
            "source": "exp8:DomainOfCountriesRoot",
            "target": "exp8:Country_UK",
            "order": 3
          }
        ]
      },
      {
        "name": "exp8:DomainOfCanada",
        "root": "exp8:DomainOfCountriesRoot",
        "isExtensible": false,
        "relationships": [
          {
            "source": "exp8:DomainOfCountriesRoot",
            "target": "exp8:Country_Canada",
            "order": 1
          }
        ]
      },
      {
        "name": "exp8:PrimaryCountryDomain",
        "root": "xbrl:conceptDomain",
        "relationships": [
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:Country"
          },
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:GrossProfit"
          }
        ]
      },
      {
        "name": "exp8:PrimaryIncomeStatementDomain",
        "root": "xbrl:conceptDomain",
        "relationships": [
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:StatementOfIncome"
          },
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:Revenue"
          },
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:CostOfGoodsSold"
          },
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:GrossProfit"
          },
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:OperatingExpenses"
          },
          {
            "source": "xbrl:conceptDomain",
            "target": "exp8:NetIncome"
          }
        ]
      },
      {
        "name": "exp8:IncomeStatementUnitDomain",
        "root": "xbrl:unitDomain",
        "relationships": [
          {
            "source": "xbrl:unitDomain",
            "target": "iso4217:USD"
          }
        ]
      },
      {
        "name": "exp8:UnitsDomain",
        "root": "xbrl:unitDomain",
        "relationships": [
          {
            "source": "xbrl:unitDomain",
            "target": "utr:acre"
          },
          {
            "source": "xbrl:unitDomain",
            "target": "utr:MMcf"
          },
          {
            "source": "xbrl:unitDomain",
            "target": "iso4217:BHD"
          }
        ]
      }
    ],
    "domainClasses": [
      {
        "name": "exp8:DomainOfCountriesRoot",
        "allowedDomainItem": "xbrl:memberObject"
      }
    ],
    "labels": [
      {
        "forObject": "exp8:DomainOfCountriesRoot",
        "language": "en",
        "value": "🌏",
        "labelType": "xbrl:iconLabel"
      },
      {
        "forObject": "exp8:Country_Canada",
        "language": "en",
        "value": "🇨🇦",
        "labelType": "xbrl:iconLabel"
      },
      {
        "forObject": "exp8:StatementOfIncome",
        "language": "en",
        "value": "Statement of Income",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:CountryGroup",
        "language": "en",
        "value": "Country Group",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:StatementOfIncome",
        "language": "en",
        "value": "The Statement of Income includes the total revenue and total expenses for a reporting period.",
        "labelType": "xbrl:documentation"
      },
      {
        "forObject": "exp8:Revenue",
        "language": "en",
        "value": "Total Revenue",
        "labelType": "xbrl:totalLabel"
      },
      {
        "forObject": "exp8:CostOfGoodsSold",
        "language": "en",
        "value": "Cost of Goods Sold",
        "labelType": "xbrl:totalLabel"
      },
      {
        "forObject": "exp8:GeographicCube",
        "language": "en",
        "value": "Geographic Information Cube",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:CountryDimension",
        "language": "en",
        "value": "Country Dimension",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:DomainOfCountries",
        "language": "en",
        "value": "Country Domain",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Country_USA",
        "language": "en",
        "value": "United States",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Country_Canada",
        "language": "en",
        "value": "Canada",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Country_UK",
        "language": "en",
        "value": "United Kingdom",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Country_Mexico",
        "language": "en",
        "value": "Mexico",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Country",
        "language": "en",
        "value": "Country",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:GrossProfit",
        "language": "en",
        "value": "Gross Profit",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:NetIncome",
        "language": "en",
        "value": "Net Income",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:OperatingExpenses",
        "language": "en",
        "value": "Operating Expenses",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:PeakGridElectricityDemandMax",
        "language": "en",
        "value": "Peak Grid Electricity Demand Maximum",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:ReportDate",
        "language": "en",
        "value": "Report Date",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Revenue",
        "language": "en",
        "value": "Revenue",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:IncomeStatementCube",
        "language": "en",
        "value": "Income Statement",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:IncomeStatementTable1",
        "language": "en",
        "value": "Income Statement 4",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:GeographyTable3",
        "language": "en",
        "value": "Geographic Information 1",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:Network2",
        "language": "en",
        "value": "Income Statement Parent-Child Network",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:IncomeStatementGroup",
        "language": "en",
        "value": "Income Statement Group",
        "labelType": "xbrl:label"
      },
      {
        "forObject": "exp8:MyDefaultCube",
        "language": "en",
        "value": "Cube Captures Report Date",
        "labelType": "xbrl:label"
      }
    ],
    "facts": [
      {
        "name": "exp8:f12347",
        "factValues": [
          {
            "name": "exp8:fV3",
            "value": "333333",
            "decimals": 2
          }
        ],
        "factDimensions": {
          "xbrl:concept": "exp8:GrossProfit",
          "exp8:CountryDimension": "exp8:Country_USA",
          "xbrl:unit": "iso4217:USD",
          "xbrl:entity": "lei:00EHHQ2ZHDCFXJCPCL46",
          "xbrl:period": "2025-01-01T00:00:00/2026-01-01T00:00:00"
        }
      },
      {
        "name": "exp8:f12348",
        "factValues": [
          {
            "name": "exp8:fV4",
            "value": "6666666",
            "decimals": 2
          }
        ],
        "factDimensions": {
          "xbrl:concept": "exp8:GrossProfit",
          "exp8:CountryDimension": "exp8:Country_USA",
          "xbrl:unit": "iso4217:USD",
          "xbrl:entity": "lei:52990053Z17ZYM1KFV27",
          "xbrl:period": "2025-01-01T00:00:00/2026-01-01T00:00:00"
        }
      },
      {
        "name": "exp8:f12349",
        "factValues": [
          {
            "name": "exp8:fV5",
            "value": "9999999",
            "decimals": 2
          }
        ],
        "factDimensions": {
          "xbrl:concept": "exp8:GrossProfit",
          "xbrl:unit": "iso4217:USD",
          "xbrl:entity": "lei:52990053Z17ZYM1KFV27",
          "xbrl:period": "2025-01-01T00:00:00/2026-01-01T00:00:00"
        }
      },
      {
        "name": "exp8:f12351",
        "factValues": [
          {
            "name": "exp8:fV7",
            "value": "2026-01-01T00:00:00"
          }
        ],
        "factDimensions": {
          "xbrl:concept": "exp8:ReportDate",
          "xbrl:period": "2025-01-01T00:00:00/2026-01-01T00:00:00"
        }
      }
    ],
    "footnotes": [
      {
        "name": "exp8:FN1",
        "forObjects": [
          "exp8:f12351"
        ],
        "content": "This fact is a cool one",
        "language": "en"
      }
    ],
    "factSources": [
      {
        "name": "exp8:IncomeStatementTable",
        "factMapName": "exp8:IncomeStatementCSVFactMap",
        "cubeName": "exp8:IncomeStatementCube"
      }
    ],
    "tableTemplates": [
      {
        "name": "exp8:IncomeStatementTemplate",
        "columns": [
          {
            "columnName": "PeriodCol"
          },
          {
            "columnName": "UnitCol"
          },
          {
            "columnName": "EntityCol"
          },
          {
            "columnName": "Revenue",
            "decimals": 3,
            "factDimensions": {
              "xbrl:concept": "exp8:Revenue"
            }
          },
          {
            "columnName": "CostOfGoodsSold",
            "decimals": 3,
            "factDimensions": {
              "xbrl:concept": "exp8:CostOfGoodsSold"
            }
          },
          {
            "columnName": "GrossProfit",
            "decimals": 3,
            "factDimensions": {
              "xbrl:concept": "exp8:GrossProfit"
            }
          },
          {
            "columnName": "OperatingExpenses",
            "decimals": 3,
            "factDimensions": {
              "xbrl:concept": "exp8:OperatingExpenses"
            }
          },
          {
            "columnName": "NetIncome",
            "decimals": 3,
            "factDimensions": {
              "xbrl:concept": "exp8:NetIncome"
            }
          }
        ],
        "factDimensions": {
          "xbrl:period": "$PeriodCol",
          "xbrl:entity": "$EntityCol",
          "xbrl:unit": "$UnitCol"
        }
      }
    ],
    "factMaps": [
      {
        "name": "exp8:IncomeStatementCSVFactMap",
        "templateName": "exp8:IncomeStatementTemplate"
      }
    ],
    "collectionTypes": [
      {
        "name": "exp8:myStringCollection",
        "dataType": "xs:string",
        "uniqueValues": true,
        "orderedValues": false
      }
    ],
    "cubeTypes": [
      {
        "name": "exp8:myIncomeStatementCube",
        "baseCubeType": "xbrl:reportCube"
      },
      {
        "name": "exp8:restrictedCube",
        "baseCubeType": "xbrl:reportCube",
        "cubeNetworkConstraints": {
          "closed": true,
          "cubeNetworks": [
            {
              "relationshipType": "xbrl:parent-child",
              "minNetworks": 1
            },
            {
              "relationshipType": "xbrl:parent-child",
              "source": {
                "qname": "exp8:StatementOfIncome"
              },
              "minNetworks": 1
            },
            {
              "relationshipType": "xbrl:summation-item"
            }
          ]
        }
      }
    ],
    "layouts": [
      {
        "name": "exp8:IncomeStatementTable4",
        "dataTables": [
          {
            "name": "exp8:IncomeStatementCubeTable4",
            "cubeName": "exp8:IncomeStatementCube",
            "tableType": "cubeLayout",
            "xAxis": {
              "axisHeaders": [
                {
                  "dimensionName": "xbrl:unit"
                },
                {
                  "dimensionName": "xbrl:entity"
                },
                {
                  "dimensionName": "xbrl:concept",
                  "labelType": "xbrl:label",
                  "axisNetwork": "exp8:Network2"
                }
              ],
              "axisLabelsGroup": {
                "range": {
                  "interval": "10",
                  "startValue": "10",
                  "order": "ascending"
                }
              }
            },
            "yAxis": {
              "axisHeaders": [
                {
                  "dimensionName": "xbrl:period"
                }
              ],
              "axisLabelsGroup": {
                "range": {
                  "interval": "10",
                  "startValue": "10",
                  "order": "ascending"
                }
              }
            }
          }
        ]
      },
      {
        "name": "exp8:GeographyTable3",
        "dataTables": [
          {
            "name": "exp8:GeographyCubeTable3",
            "tableType": "cubeLayout",
            "cubeName": "exp8:GeographicCube",
            "xAxis": {
              "axisHeaders": [
                {
                  "dimensionName": "xbrl:period",
                  "dimensionOptional": true,
                  "totalLocation": "end"
                },
                {
                  "dimensionName": "exp8:CountryDimension",
                  "labelType": "xbrl:label",
                  "axisNetwork": "exp8:DomainOfCountries",
                  "dimensionOptional": true,
                  "totalLocation": "end"
                }
              ]
            },
            "yAxis": {
              "axisHeaders": [
                {
                  "dimensionName": "xbrl:concept",
                  "labelType": "xbrl:label",
                  "axisNetwork": "exp8:PrimaryCountryDomain"
                }
              ]
            },
            "zAxis": {
              "axisHeaders": [
                {
                  "dimensionName": "xbrl:entity"
                }
              ]
            }
          }
        ]
      }
    ],
    "properties": [
      {
        "property": "xbrl:reportDate",
        "value": "2025-12-31"
      }
    ]
  }
}