> For the complete documentation index, see [llms.txt](https://fredhopper.gitbook.io/product-discovery/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fredhopper.gitbook.io/product-discovery/sending-and-managing-product-data/what-is-the-items-api/working-with-items/item-schema/nested-item-schema.md).

# Nested Item Schemas

The **nestedItemSchemas** field allows you to create a type of item that is nested with another (parent) item.

The name of each schema is unique, as are its attributes.\
A nested item schema cannot have attributes in common with one of his parents.

Here is the basic structure of a nested item schema:

| **Name**          | type   | **Description**                                                                                                                           |
| ----------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| name              | string | name of the item type                                                                                                                     |
| attributes        | list   | see [Attributes](/product-discovery/sending-and-managing-product-data/what-is-the-items-api/working-with-items/item-schema/attributes.md) |
| nestedItemSchemas | list   | nested item schema for this schema                                                                                                        |

The fields are similar to those in the parent item schema.

{% hint style="warning" %}
A nested item schema can itself have other nested item schemas, but an **item schema cannot have more than 3 levels of nesting.**
{% endhint %}
