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

# Categories

The **Categories** store maps books to categories.
It is indexed by **AsOfDate** and **Book**.

This store is only created if the property `categories-hierarchy.enabled=true` is set.
It is built from the [CategoriesSource](https://docs.activeviam.com/solutions/frtb/6.0/datastore/global/categoriessource.md) and [BookParentChild](https://docs.activeviam.com/solutions/frtb/6.0/datastore/global/bookparentchild.md) stores.

| Store Field | Key | CanBeNull | Type (+Default Value - if applicable) | Cube Field | Description |
| - | - | - | - | - | - |
| AsOfDate | Y | | LOCALDATE\[yyyy-mm-dd] | | Timestamp (at close of business) for the data. |
| Book | Y | | String | See field in referencing store ([TradeMapping](https://docs.activeviam.com/solutions/frtb/6.0/datastore/global/trademapping.md)) | Name of the book. |
| Category | | | String | [Categories](https://docs.activeviam.com/solutions/frtb/6.0/cube/dimensions/organization.md#categories-optional) | The category of the book. |
