> ## 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](./categoriessource) and [BookParentChild](./bookparentchild) 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](./trademapping)) | Name of the book.                              |
| Category    |     |           | String                                | [Categories](../../cube/categories--dimensions-organization)    | The category of the book.                      |
