> ## 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.

# Standardised approach datastore definition

The SA Cube Schema starts with the [SaSensitivities](./sa-sensitivities) store, which is an index to all the facts in the SA Cube.

## Trade Description

The [TradeMapping](../global/trademapping) store places each trade in the organisational hierarchy.
See [Global](../global) section for more details.

The [SATradeDescription](./sa-trade-description) store provides trade-level data.

## Risk Factor Descriptions

The **SASensitivities** store references the risk-factor descriptions for all SA facts.

The risk-factor description starts with the [RiskFactorDescription](./risk-factor-desc) store
which contains the description of risk-factor (independent of the underlying).

The RiskFactorDescription contains references to the follow stores:

| Risk Class                                                                        | Underlying Store                           |
| --------------------------------------------------------------------------------- | ------------------------------------------ |
| GIRR, CSR non-Sec, CSR Sec non-CTP, CSR Sec CTP, Equity, Commodity, FX, Crypto 2a | [UnderlyingDescription](./underlying-desc) |
| DRC non-Sec                                                                       | [Obligor](./obligor)                       |
| DRC Sec non-CTP                                                                   | [Tranche](./tranche)                       |
| RRAO                                                                              | [RRAO](./rrao)                             |

### Buckets

The isolated bucket stores allow the bucket to be determined in the ETL if it is not provided.  These stores are:

| Risk Class      | Bucket Store                                   |
| --------------- | ---------------------------------------------- |
| Equity          | [EquityBuckets](./equity-buckets)              |
| CSR non-Sec     | [CSRNonSecBucket](./csr-non-sec-bucket)        |
| CSR Sec non-CTP | [CSRSecNonCTPBucket](./csr-sec-non-ctp-bucket) |
| CSR Sec CTP     | [CSRSecCTPBucket](./csr-sec-ctp-bucket)        |
| Commodity       | [CommodityBuckets](./commodity-buckets)        |

## Sensitivities

The [SaSensitivities](./sa-sensitivities) store holds all the sensitivities.

## Imports

The isolated [Legal Entity Imports](./legal-entity-imports) store contains pre-calculated values
that are imported by date, legal entity, parameter set, and measure name.

## Overrides

The underlying description stores reference by the RiskFactorDescription store have counterparts that allow the descriptions to be overridden per parameter set.
These stores are:

| Risk Class                                                   | Underlying Store                           | Override Store                                               |
| ------------------------------------------------------------ | ------------------------------------------ | ------------------------------------------------------------ |
| CSR non-Sec, CSR Sec non-CTP, CSR Sec CTP, Equity, Commodity | [UnderlyingDescription](./underlying-desc) | [UnderlyingDescriptionOverride](./underlying-desc-overrides) |
| DRC non-Sec                                                  | [Obligor](./obligor)                       | [ObligorOverride](./obligor-overrides)                       |
| DRC Sec non-CTP                                              | [Tranche](./tranche)                       | [TrancheOverride](./tranche-overrides)                       |
| RRAO                                                         | [RRAO](./rrao)                             | [RRAOOveride](./rrao-overrides)                              |
