> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cube schema (reference implementation)

The following table lists the levels and hierarchies in the [Cube schema](../../../../../../cube/index) that are used in the FX [data model](../data-model-core).

| Data Model Field      | Cube Level          | Notes                                             |
| --------------------- | ------------------- | ------------------------------------------------- |
| As-Of Date            | AsOfDate            | Slicing Hierarchy                                 |
| Trade ID              | TradeId             |                                                   |
| Risk Class            | Risk Class          | "FX"                                              |
| Risk Measure          | Risk Measure        | "Delta", "Vega", "Curvature"                      |
| Bucket                | FX Bucket           |                                                   |
| Risk Factor Name      | Risk Factor         |                                                   |
| Option Maturity       | Vertex              | Analysis Hierarchy                                |
| Risk Factory Currency | Underlying          |                                                   |
| Counter Currency      | FX Counter Currency |                                                   |
|                       |                     | Levels for the Delta Double Sums and Correlations |
|                       |                     | Levels for the Vega Double Sums and Correlations  |
