> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# v1.AttributeHierarchy

- Package: [@gooddata/sdk-code-schemas](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-schemas/src/v1/metadata.ts

**Signature:**

```typescript
export interface AttributeHierarchy 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [attributes](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributehierarchy/index.md#v1attributehierarchyattributes) |  | [[AttributeIdentifier6](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributeidentifier6/index.md), ...[AttributeIdentifier6](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributeidentifier6/index.md)[]] | A list of sorted attributes use in attribute hierarchy. The first attribute is the top level attribute. |
| [description?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributehierarchy/index.md#v1attributehierarchydescription) |  | string | _(Optional)_ An optional description of the attribute hierarchy. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributehierarchy/index.md#v1attributehierarchyid) |  | [Id19](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.id19/index.md) |  |
| [tags?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributehierarchy/index.md#v1attributehierarchytags) |  | [Tags12](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.tags12/index.md) | _(Optional)_ |
| [title?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributehierarchy/index.md#v1attributehierarchytitle) |  | string | _(Optional)_ An optional human readable title for the attribute hierarchy. Will be derived from id if not provided explicitly. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.attributehierarchy/index.md#v1attributehierarchytype) |  | "attribute\_hierarchy" |  |

## Property details

### v1.AttributeHierarchy.attributes

A list of sorted attributes use in attribute hierarchy. The first attribute is the top level attribute.

**Signature:**

```typescript
attributes: [AttributeIdentifier6, ...AttributeIdentifier6[]];
```

### v1.AttributeHierarchy.description

An optional description of the attribute hierarchy.

**Signature:**

```typescript
description?: string;
```

### v1.AttributeHierarchy.id

**Signature:**

```typescript
id: Id19;
```

### v1.AttributeHierarchy.tags

**Signature:**

```typescript
tags?: Tags12;
```

### v1.AttributeHierarchy.title

An optional human readable title for the attribute hierarchy. Will be derived from id if not provided explicitly.

**Signature:**

```typescript
title?: string;
```

### v1.AttributeHierarchy.type

**Signature:**

```typescript
type: "attribute_hierarchy";
```
