# Attribute

`import { Attribute } from "destack:schema";`

Schema attribute.

```ds title="Attribute"
export struct Attribute {
    name: string;
    value: null | boolean | float64 | string | bigint | [AttributeValue] | { readonly [key: string]: AttributeValue };
}
```

[language/library/src/schema/constraint.ds:16:22](https://github.com/destack-sh/destack/blob/main/language/library/src/schema/constraint.ds#L16-L22)

## Members

### `name: string`

Attribute name.

### `value: null | boolean | float64 | string | bigint | [AttributeValue] | { readonly [key: string]: AttributeValue }`

Attribute value when present.
